*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #070b14;
  background-image:
    linear-gradient(180deg, rgba(11, 18, 32, 0.92) 0%, rgba(7, 11, 20, 0.96) 40%, rgba(5, 8, 15, 1) 100%),
    radial-gradient(120% 80% at 82% 6%, rgba(58, 106, 148, 0.22) 0%, rgba(7, 11, 20, 0) 58%),
    radial-gradient(90% 70% at 8% 22%, rgba(122, 36, 36, 0.18) 0%, rgba(7, 11, 20, 0) 62%);
  background-attachment: fixed;
  color: #c9d3e0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: #9fb6cc;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] {
  font: inherit;
}
a[data-contract="site-name"] {
  color: #eaf1f8;
  text-decoration: none;
}
a.runtime-category {
  color: #b9c9da;
  text-decoration: none;
}
a.recommendation-card {
  color: #cfdae6;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: #9fb0c2;
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: #9fb0c2;
  text-decoration: none;
}
a.runtime-friend-link {
  color: #7f95ab;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 13, 23, 0.96) 0%, rgba(8, 13, 23, 0.82) 100%);
  border-bottom: 1px solid rgba(120, 152, 184, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-left: 12px;
  color: #eef4fa;
  white-space: nowrap;
}
.site-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 18px;
  transform: translateY(-50%) skewY(-14deg);
  background: linear-gradient(180deg, #d34a3c 0%, #6e1f1c 100%);
  box-shadow: 0 0 8px rgba(211, 74, 60, 0.55);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  padding: 4px 11px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #b9c9da;
  background: rgba(23, 36, 55, 0.72);
  border: 1px solid rgba(120, 152, 184, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.runtime-category:hover, .runtime-category:focus-visible {
  color: #f0f5fa;
  background: rgba(34, 52, 76, 0.85);
  border-color: rgba(211, 74, 60, 0.5);
}
.movie-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 16px 34px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas: "info figure";
  align-items: start;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(120, 152, 184, 0.18);
}
.hero-figure {
  grid-area: figure;
  position: relative;
  display: block;
}
.poster-frame {
  position: relative;
  display: block;
  align-self: start;
  background: #0a101c;
  border: 1px solid rgba(120, 152, 184, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(211, 74, 60, 0.08) inset;
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08) brightness(0.92);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(58, 106, 148, 0.20) 0%, rgba(7, 11, 20, 0) 42%),
    linear-gradient(0deg, rgba(7, 11, 20, 0.72) 0%, rgba(7, 11, 20, 0) 46%);
}
.hero-info-panel {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(14, 23, 38, 0.86) 0%, rgba(10, 17, 29, 0.78) 100%);
  border: 1px solid rgba(120, 152, 184, 0.20);
  border-left: 2px solid rgba(211, 74, 60, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.movie-title {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f2f7fc;
  text-shadow: 0 0 18px rgba(90, 140, 190, 0.35);
}
.movie-tagline {
  position: relative;
  padding-left: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #df8a7c;
}
.movie-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, #d34a3c, rgba(211, 74, 60, 0.1));
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: #9db0c5;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 2px;
  background: #04070d;
  border: 1px solid rgba(120, 152, 184, 0.24);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(211, 74, 60, 0.5), 0 22px 60px rgba(0, 0, 0, 0.8);
}
.player-frame {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(13, 21, 35, 0.96) 0%, rgba(8, 13, 23, 0.96) 100%);
  border-top: 1px solid rgba(120, 152, 184, 0.18);
}
.control-btn {
  padding: 4px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #b8c8da;
  background: rgba(25, 39, 59, 0.8);
  border: 1px solid rgba(120, 152, 184, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.control-btn:hover, .control-btn:focus-visible {
  color: #f0f5fa;
  border-color: rgba(211, 74, 60, 0.55);
  background: rgba(38, 56, 82, 0.9);
}
.control-btn.is-active, .control-btn.active, .control-btn.play.is-active, .control-btn.pause.is-active, .control-btn.mute.is-active, .control-btn.theater.is-active, .control-btn.light.is-active, .control-btn.fullscreen.is-active, .control-btn.pip.is-active, .control-btn.speed.is-active {
  color: #ffe9e4;
  background: rgba(122, 36, 36, 0.62);
  border-color: rgba(211, 74, 60, 0.7);
  box-shadow: 0 0 10px rgba(211, 74, 60, 0.28);
}
.control-range {
  flex: 1 1 90px;
  min-width: 64px;
  height: 4px;
  margin: 0 2px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #d34a3c 0%, #4a6a8c 0%, rgba(74, 106, 140, 0.35) 100%);
  border-radius: 0;
  outline: none;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: #e7eef6;
  border: 1px solid #7f2b24;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.control-range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: #e7eef6;
  border: 1px solid #7f2b24;
  border-radius: 0;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #cdd9e6;
  background: rgba(22, 34, 52, 0.86);
  border: 1px solid rgba(120, 152, 184, 0.24);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.status-chip:first-child {
  color: #ffd9d2;
  border-color: rgba(211, 74, 60, 0.6);
  background: rgba(96, 28, 26, 0.55);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(20, 32, 50, 0.9) 0%, rgba(14, 23, 38, 0.9) 100%);
  border: 1px solid rgba(120, 152, 184, 0.18);
  border-top: 2px solid rgba(211, 74, 60, 0.42);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  border-top-color: rgba(211, 74, 60, 0.85);
  transform: translateY(-2px);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8eff7;
}
.cast-role {
  font-size: 11.5px;
  line-height: 1.5;
  color: #8ea3b8;
}
.synopsis-block {
  display: block;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 152, 184, 0.16);
}
.block-heading {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #dfe8f2;
}
.block-heading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  vertical-align: 1px;
  background: #d34a3c;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
.synopsis-text {
  margin-bottom: 7px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #9db0c5;
  text-align: justify;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.details-panel {
  padding-top: 10px;
  border-top: 1px solid rgba(120, 152, 184, 0.16);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(120, 152, 184, 0.14);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #7f95ab;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  text-align: right;
  color: #cbd6e3;
}
.timeline-section, .episodes-section, .comments-section, .recommendations-region {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(120, 152, 184, 0.16);
}
.section-heading {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #e6eef7;
}
.section-heading::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  vertical-align: 1px;
  background: linear-gradient(135deg, #d34a3c 0%, #5f1c18 100%);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 2px;
  background: linear-gradient(90deg, rgba(211, 74, 60, 0.85) 0%, rgba(90, 130, 170, 0.5) 55%, rgba(90, 130, 170, 0.14) 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  padding: 10px 9px 9px;
  background: rgba(14, 23, 38, 0.7);
  border: 1px solid rgba(120, 152, 184, 0.16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -14px;
  width: 3px;
  height: 10px;
  background: #d34a3c;
  transform: skewX(-22deg);
  box-shadow: 0 0 8px rgba(211, 74, 60, 0.6);
}
.timeline-timecode {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #e0806f;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: #a9bccf;
}
.episodes-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  align-items: start;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "number title duration"
    "summary summary summary";
  gap: 2px 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(120, 152, 184, 0.16);
}
.episode-item:last-child {
  border-bottom: 0;
}
.episode-number {
  grid-area: number;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #e0806f;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e4ecf5;
}
.episode-duration {
  grid-area: duration;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #728aa1;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.65;
  color: #93a8bd;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(120, 152, 184, 0.13);
}
.comment-item:last-child {
  border-bottom: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d5e0ec;
}
.comment-nickname::before {
  content: "／";
  margin-right: 4px;
  color: #d34a3c;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #9db0c5;
}
.recommendation-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommendations-region[data-recommendation-region="2"] .recommendation-track, .recommendations-region[data-recommendation-region="3"] .recommendation-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 7px;
  background: linear-gradient(180deg, rgba(19, 30, 47, 0.92) 0%, rgba(12, 20, 33, 0.92) 100%);
  border: 1px solid rgba(120, 152, 184, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.recommendation-card:hover, .recommendation-card:focus-visible {
  border-color: rgba(211, 74, 60, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.recommendation-card[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
}
.recommendation-poster {
  display: block;
  background: #0a101c;
}
.recommendation-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #e2eaf3;
}
.recommendation-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: #8ea3b8;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(120, 152, 184, 0.18);
  background: linear-gradient(180deg, rgba(9, 14, 24, 0.9) 0%, rgba(5, 8, 15, 1) 100%);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 26px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 16px 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.footer-link {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(120, 152, 184, 0.3);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-link:hover, .footer-link:focus-visible {
  color: #e6eef7;
  border-color: rgba(211, 74, 60, 0.8);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: #6d8299;
}
.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
  color: #d9e3ee;
}
.footer-disclaimer {
  flex: 1 1 100%;
  padding-top: 12px;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #62768c;
  border-top: 1px dashed rgba(120, 152, 184, 0.14);
}
body.lights-off {
  background-image: linear-gradient(180deg, rgba(2, 4, 8, 1) 0%, rgba(1, 2, 5, 1) 100%);
}
body.lights-off .movie-main {
  opacity: 0.86;
}
body.lights-off .player-shell {
  box-shadow: 0 0 0 1px rgba(211, 74, 60, 0.45), 0 26px 70px rgba(0, 0, 0, 0.9);
}
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-track::before {
    display: none;
  }
.timeline-node::before {
    top: -12px;
  }
.recommendation-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "info";
    gap: 14px;
  }
.poster-frame {
    max-width: 460px;
    margin: 0 auto;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-track, .recommendations-region[data-recommendation-region="2"] .recommendation-track, .recommendations-region[data-recommendation-region="3"] .recommendation-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.movie-main {
    padding: 14px 12px 26px;
  }
.header-inner {
    padding: 8px 12px;
  }
.movie-title {
    font-size: 22px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-columns, .comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 14px 12px 20px;
  }}
@media (max-width: 520px) {.hero-info-panel {
    padding: 13px 12px 15px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-track, .recommendations-region[data-recommendation-region="2"] .recommendation-track, .recommendations-region[data-recommendation-region="3"] .recommendation-track {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.control-btn {
    padding: 4px 7px;
    font-size: 11.5px;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
