*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #05070a;
  --bg-2: #0a0f14;
  --surface: #0c1319;
  --surface-2: #101a22;
  --line: #1d2c36;
  --line-soft: #16232c;
  --teal: #1f6f74;
  --teal-bright: #2fa8ad;
  --silver: #b9c6cd;
  --silver-dim: #7d8d96;
  --warm: #ff8a3d;
  --warm-glow: rgba(255, 138, 61, 0.55);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --clip: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--silver);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100%;
  background-image:
    radial-gradient(1100px 600px at 15% -8%, rgba(31, 111, 116, 0.18), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(47, 168, 173, 0.08), transparent 55%);
  background-attachment: fixed;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ol, ul { list-style: none; }
.page-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 24px) clamp(28px, 4vw, 48px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.82) 70%, rgba(5, 7, 10, 0));
  backdrop-filter: blur(8px);
  padding: 10px 0 8px;
  margin-bottom: 4px;
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--teal-bright);
  background: var(--surface);
  clip-path: var(--clip-sm);
}
.site-brand {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px 3px 0;
  border-right: 1px solid var(--line);
  margin-right: 4px;
  color: var(--silver);
  white-space: nowrap;
}
.site-brand:hover, .site-brand:focus-visible {
  color: var(--warm);
  text-shadow: 0 0 12px var(--warm-glow);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  color: var(--silver-dim);
  border: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--bg);
  background: var(--teal-bright);
  border-color: var(--teal-bright);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding: 0 2px;
}
.runtime-category {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  color: var(--teal-bright);
  border: 1px solid rgba(47, 168, 173, 0.4);
  background: rgba(31, 111, 116, 0.1);
  clip-path: var(--clip-sm);
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.runtime-category:hover, .runtime-category:focus-visible {
  color: #eaf6f8;
  background: var(--teal);
  border-color: var(--teal-bright);
}
.hero-section { margin-bottom: clamp(14px, 2vw, 22px); }
.hero-stage {
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
  background:
    linear-gradient(150deg, rgba(31, 111, 116, 0.12), transparent 45%),
    var(--bg-2);
  clip-path: var(--clip);
  padding: clamp(12px, 2vw, 22px);
}
.hero-overlay {
  display: block;
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
  grid-template-areas:
    "poster title"
    "poster tagline"
    "poster actions"
    "poster player"
    "poster epstatus"
    "poster details"
    "poster cast"
    "poster synopsis";
  column-gap: clamp(14px, 2.4vw, 32px);
  row-gap: 12px;
  align-items: start;
}
.hero-media {
  grid-area: poster;
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  padding: 6px;
  background: #070b0f;
  clip-path: var(--clip);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.06), 0 18px 44px rgba(0, 0, 0, 0.6);
}
.hero-media::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: var(--warm);
  box-shadow: 0 0 10px 2px var(--warm-glow);
  z-index: 2;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.movie-title {
  grid-area: title;
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.06;
  color: #e8f1f4;
  text-shadow: 0 0 26px rgba(47, 168, 173, 0.28);
}
.movie-tagline {
  grid-area: tagline;
  font-size: clamp(12.5px, 1.5vw, 15px);
  font-weight: 300;
  color: var(--silver-dim);
  border-left: 2px solid var(--warm);
  padding-left: 10px;
  letter-spacing: 0.04em;
}
.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-play, .btn-theater, .btn-light {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border: 1px solid var(--teal-bright);
  color: var(--teal-bright);
  background: rgba(31, 111, 116, 0.12);
  clip-path: var(--clip-sm);
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.btn-play {
  color: var(--bg);
  background: var(--teal-bright);
  border-color: var(--teal-bright);
}
.btn-play:hover, .btn-play:focus-visible {
  background: var(--warm);
  border-color: var(--warm);
  color: #120a04;
  box-shadow: 0 0 18px var(--warm-glow);
}
.btn-theater:hover, .btn-theater:focus-visible, .btn-light:hover, .btn-light:focus-visible {
  color: var(--bg);
  background: var(--silver);
  border-color: var(--silver);
}
.player-panel {
  grid-area: player;
  position: relative;
  border: 1px solid var(--line);
  background: #04070a;
  clip-path: var(--clip-sm);
  padding: 6px;
  min-width: 0;
}
.player-panel video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid var(--line-soft);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.ctl-play, .ctl-mute, .ctl-speed, .ctl-pip, .ctl-fullscreen, .ctl-theater, .ctl-light {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  color: var(--silver-dim);
  border: 1px solid var(--line);
  background: var(--surface-2);
  clip-path: var(--clip-sm);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.ctl-play:hover, .ctl-mute:hover, .ctl-speed:hover, .ctl-pip:hover, .ctl-fullscreen:hover, .ctl-theater:hover, .ctl-light:hover, .ctl-play:focus-visible, .ctl-mute:focus-visible, .ctl-speed:focus-visible, .ctl-pip:focus-visible, .ctl-fullscreen:focus-visible, .ctl-theater:focus-visible, .ctl-light:focus-visible {
  color: var(--teal-bright);
  border-color: var(--teal);
}
.ctl-play.is-active, .ctl-mute.is-active, .ctl-speed.is-active, .ctl-pip.is-active, .ctl-fullscreen.is-active, .ctl-theater.is-active, .ctl-light.is-active {
  color: #120a04;
  background: var(--warm);
  border-color: var(--warm);
  box-shadow: 0 0 14px var(--warm-glow);
}
.ctl-progress, .ctl-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 0;
  cursor: pointer;
  min-width: 0;
}
.ctl-progress { flex: 1 1 120px; }
.ctl-volume { flex: 0 1 80px; }
.ctl-progress::-webkit-slider-thumb, .ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--teal-bright);
  border: none;
  cursor: pointer;
}
.ctl-progress::-moz-range-thumb, .ctl-volume::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: var(--teal-bright);
  border: none;
  cursor: pointer;
}
.ctl-progress::-moz-range-track, .ctl-volume::-moz-range-track {
  height: 4px;
  background: var(--line);
}
.player-panel.lights-off {
  background: #000;
  border-color: var(--teal);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
}
.player-panel.lights-off .player-controls {
  opacity: 0.55;
}
.player-panel.theater-mode {
  grid-column: 1 / -1;
  border-color: var(--teal-bright);
}
.episode-status {
  grid-area: epstatus;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  color: var(--silver);
  border: 1px solid var(--line);
  border-left: 2px solid var(--teal-bright);
  background: var(--surface);
  white-space: nowrap;
}
.detail-panel, .cast-panel, .synopsis-panel {
  grid-area: details;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 10px 12px;
}
.cast-panel { grid-area: cast; }
.synopsis-panel { grid-area: synopsis; }
.detail-panel { grid-area: details; }
.panel-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 14px;
  align-content: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(29, 44, 54, 0.7);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--silver-dim);
  letter-spacing: 0.08em;
}
.detail-row dd {
  flex: 1 1 auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--silver);
  text-align: right;
  min-width: 0;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 62px;
  flex: 0 0 auto;
}
.cast-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--teal);
  background:
    radial-gradient(circle at 35% 30%, rgba(47, 168, 173, 0.4), transparent 60%),
    var(--surface-2);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
}
.cast-name {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--silver-dim);
  text-align: center;
  white-space: nowrap;
}
.synopsis-lead {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.7;
  color: #d5e2e7;
  padding-left: 10px;
  border-left: 2px solid var(--teal);
  margin-bottom: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--silver-dim);
  margin-bottom: 6px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #d9e6ea;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--warm);
  box-shadow: 0 0 10px var(--warm-glow);
  flex: 0 0 auto;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.timeline-section {
  margin-bottom: clamp(14px, 2vw, 22px);
}
.timeline-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  position: relative;
  padding-top: 18px;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-bright) 8%, var(--teal-bright) 92%, transparent);
  box-shadow: 0 0 8px rgba(47, 168, 173, 0.5);
}
.timeline-node {
  position: relative;
  border: 1px solid var(--line-soft);
  border-top: 1px solid transparent;
  background: var(--surface);
  padding: 8px 9px 9px;
  clip-path: var(--clip-sm);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 9px;
  width: 7px;
  height: 7px;
  background: var(--teal-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(47, 168, 173, 0.7);
}
.node-time {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-bright);
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--silver-dim);
}
.episodes-section {
  margin-bottom: clamp(14px, 2vw, 22px);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--teal);
  background: var(--surface);
  padding: 8px 10px 9px;
  clip-path: var(--clip-sm);
  transition: border-color 0.18s, background 0.18s;
  min-width: 0;
}
.episode-card:hover {
  border-left-color: var(--warm);
  background: var(--surface-2);
}
.episode-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.episode-number {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-bright);
  white-space: nowrap;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--silver-dim);
  white-space: nowrap;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #dfeaee;
  margin-bottom: 3px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--silver-dim);
}
.comments-section {
  margin-bottom: clamp(18px, 3vw, 34px);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-card {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 9px 11px;
  clip-path: var(--clip-sm);
  min-width: 0;
}
.comment-card:nth-child(odd) { margin-top: 0; }
.comment-card:nth-child(even) { margin-top: 14px; }
.comment-nick {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--teal-bright);
  padding-bottom: 4px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-nick::before {
  content: "// ";
  color: var(--warm);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--silver-dim);
}
.rec-region {
  margin-bottom: clamp(14px, 2vw, 22px);
}
.rec-row {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-row-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-row-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-row-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rec-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  clip-path: var(--clip-sm);
  padding: 6px;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.rec-card:hover, .rec-card:focus-visible {
  border-color: var(--teal-bright);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.rec-card[data-runtime="recommendation"] img, .rec-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line-soft);
  margin-bottom: 6px;
}
.rec-name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #dbe7eb;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  color: var(--silver-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--silver-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-bright);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--teal-bright);
  padding-right: 8px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: var(--silver-dim);
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
  color: #eaf6f8;
  border-color: var(--teal);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #4f5f68;
  max-width: 72ch;
  padding-top: 4px;
  border-top: 1px dotted var(--line-soft);
}
@media (max-width: 1024px) {.hero-copy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
.rec-row-five { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-rail::before { display: none; }
.timeline-node::before { display: none; }}
@media (max-width: 820px) {.hero-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "title"
      "tagline"
      "actions"
      "player"
      "epstatus"
      "details"
      "cast"
      "synopsis";
  }
.hero-media { max-width: 300px; }
.rec-row-four, .rec-row-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-row-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card:nth-child(even) { margin-top: 0; }}
@media (max-width: 600px) {body { font-size: 13px; }
.header-bar { gap: 8px; }
.site-brand { font-size: 13px; }
.nav-link { padding: 4px 9px; font-size: 12px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-row-four, .rec-row-five, .rec-row-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.hero-media { max-width: 240px; }
.player-controls { gap: 5px; }
.ctl-progress { flex: 1 1 100%; order: -1; }}
@media (max-width: 380px) {.timeline-rail { grid-template-columns: minmax(0, 1fr); }
.rec-row-four, .rec-row-five, .rec-row-three { grid-template-columns: minmax(0, 1fr); }
.cast-card { width: 56px; }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after { transition: none !important; animation: none !important; }
html { scroll-behavior: auto; }}

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}
