*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:root {
  --bg: #10151c;
  --surface: #161d26;
  --surface-2: #1b232e;
  --line: #2a3542;
  --line-soft: #212b36;
  --ink: #cdd6e0;
  --ink-dim: #8a97a6;
  --ink-faint: #5d6a78;
  --warm: #d9762e;
  --warm-soft: #b25a1e;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 21, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #eef3f8;
  white-space: nowrap;
}
a[data-contract="site-name"] { color: #eef3f8; text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--warm); }
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
a.nav-link {
  display: inline-block;
  padding: 3px 9px;
  font-size: 13px;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
a.nav-link:hover, a.nav-link:focus-visible {
  color: #eef3f8;
  border-color: var(--line);
  background: var(--surface);
}
.category-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 6px;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  white-space: nowrap;
}
a.runtime-category:hover {
  color: var(--warm);
  border-color: var(--warm-soft);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-left: 3px solid var(--warm);
  padding-left: 8px;
  margin-bottom: 8px;
}
.hero-panel { position: relative; }
.hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0b0e13;
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}
.hero-image {
  width: 100%;
  height: clamp(280px, 52vw, 520px);
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.08) saturate(0.72) brightness(0.92);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 13, 18, 0.92) 0%, rgba(9, 13, 18, 0.32) 34%, rgba(9, 13, 18, 0) 62%),
    linear-gradient(to right, rgba(9, 13, 18, 0.55) 0%, rgba(9, 13, 18, 0) 45%);
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 96px;
  z-index: 2;
}
.hero-tagline {
  font-size: clamp(13px, 2.2vw, 17px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #e6edf4;
  max-width: 34em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.hero-title {
  margin-top: 5px;
  font-size: clamp(20px, 4.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #f2f6fa;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.hero-timeline-marker {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: rgba(20, 27, 36, 0.72);
  border: 1px solid rgba(217, 118, 46, 0.5);
  backdrop-filter: blur(3px);
}
.marker-dot {
  width: 7px;
  height: 7px;
  background: var(--warm);
  box-shadow: 0 0 0 3px rgba(217, 118, 46, 0.18);
}
.marker-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #e2b48a;
  white-space: nowrap;
}
.player-shell {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-frame {
  width: 100%;
  background: #05070a;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.player-shell .player-frame video { display: block; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ctrl-btn {
  padding: 4px 9px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.ctrl-btn:hover { color: #eef3f8; border-color: #3c4a5a; }
.ctrl-btn.is-active {
  color: #f2e6da;
  border-color: var(--warm-soft);
  background: rgba(217, 118, 46, 0.14);
}
.player-shell.theater-mode {
  background: #0a0e13;
  border-color: #3a4654;
}
.player-shell.lights-off {
  background: #000;
  border-color: #000;
}
.player-shell.lights-off .player-controls { opacity: 0.4; }
.movie-overview {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 12px;
  display: grid;
  gap: 14px;
}
.overview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.poster-column {
  align-self: start;
  width: 100%;
  max-width: 220px;
}
.poster-column img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  filter: saturate(0.75) contrast(1.05);
}
.overview-intro { min-width: 0; }
.overview-title {
  font-size: clamp(19px, 3.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f2f6fa;
}
.overview-tagline {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--warm);
  letter-spacing: -0.01em;
}
.overview-lead {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
.status-item {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  white-space: nowrap;
}
.details-panel, .synopsis-panel, .cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.details-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.detail-key {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.synopsis-paragraph:first-child { color: var(--ink); }
.cast-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--warm-soft);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
  align-self: start;
}
.cast-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #eef3f8;
}
.cast-note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.timeline-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 12px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 10px;
  padding: 7px 0;
  align-items: start;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--warm-soft);
}
.timeline-item:first-child::before { background: var(--warm); border-color: var(--warm); }
.timeline-timecode {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--warm);
  margin-bottom: 2px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-dim);
}
.timeline-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  background: #0d1219;
  border: 1px solid var(--line);
  text-align: center;
}
.timeline-timecode, .timeline-label { grid-column: 1; }
.timeline-thumb { grid-column: 2; grid-row: 1 / span 2; }
.episodes-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  align-self: start;
}
.episode-card:hover { border-left-color: var(--warm); }
.episode-number {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--warm);
}
.episode-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #eef3f8;
  line-height: 1.2;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.episode-duration {
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.comments-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 12px;
}
.comment-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
  align-self: start;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--warm);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.recommend-region {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.region-heading {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  padding: 4px 8px;
  border: 1px solid var(--line);
  align-self: flex-start;
}
.region-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
  transition: border-color 0.12s, transform 0.12s;
}
.recommend-card:hover {
  border-color: var(--warm-soft);
  transform: translate(-1px, -1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  filter: saturate(0.72) contrast(1.05);
}
.recommend-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #eef3f8;
  line-height: 1.25;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-faint);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 8px; flex-wrap: wrap; }
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  border-bottom-color: var(--warm-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--warm);
  border-color: var(--warm-soft);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  max-width: 70em;
}
@media (min-width: 520px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack .comment-card:nth-child(even) { transform: translateY(10px); }
.comment-stack .comment-card:nth-child(odd) { transform: translateY(0); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }}
@media (min-width: 700px) {.overview-head { grid-template-columns: 200px minmax(0, 1fr); }
.poster-column { max-width: none; }
.cast-track { grid-auto-columns: minmax(180px, 1fr); }
.timeline-item { grid-template-columns: 60px minmax(0, 1fr) 82px; align-items: center; }
.timeline-timecode { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.timeline-label { grid-column: 2; grid-row: 1; }
.timeline-thumb { grid-column: 3; grid-row: 1; }}
@media (min-width: 900px) {.page-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }
.hero-panel { grid-column: 1 / -1; }
.player-shell { grid-column: 1 / -1; }
.movie-overview { grid-column: 1 / -1; }
.timeline-panel { grid-column: 1; }
.episodes-panel { grid-column: 2; }
.comments-panel { grid-column: 1 / -1; }
.recommend-region { grid-column: auto; }
.page-main {
    grid-template-areas:
      "hero hero"
      "player player"
      "overview overview"
      "timeline episodes"
      "comments comments"
      "rec1 rec2"
      "rec3 rec4";
  }
.hero-panel { grid-area: hero; }
.player-shell { grid-area: player; }
.movie-overview { grid-area: overview; }
.timeline-panel { grid-area: timeline; }
.episodes-panel { grid-area: episodes; }
.comments-panel { grid-area: comments; }
.recommend-region:nth-of-type(1) { grid-area: rec1; }
.recommend-region:nth-of-type(2) { grid-area: rec2; }
.recommend-region:nth-of-type(3) { grid-area: rec3; }
.recommend-region:nth-of-type(4) { grid-area: rec4; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (min-width: 1120px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 480px) {.hero-caption { right: 12px; bottom: 46px; }
.hero-timeline-marker { right: 8px; bottom: 8px; }
.timeline-item { grid-template-columns: minmax(0, 1fr) 64px; }
.timeline-timecode, .timeline-label { grid-column: 1; }
.timeline-thumb { grid-column: 2; grid-row: 1 / span 2; }
.header-bar { padding: 7px 10px; }
.category-strip { padding: 0 10px 6px; }
.page-main { padding: 10px 10px 22px; }
.site-footer { padding: 12px 10px; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }
.comment-stack .comment-card { transform: none !important; }}

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}
