*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0c1220;
  --ink-2: #111a2c;
  --ink-3: #16203a;
  --slate: #1d2740;
  --line: rgba(160, 180, 215, 0.16);
  --line-strong: rgba(170, 190, 225, 0.3);
  --text: #d6dded;
  --text-dim: #8e9bb6;
  --text-faint: #5f6c88;
  --red: #b8322a;
  --red-bright: #d2453a;
  --red-deep: #7d211c;
  --font: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 64px),
    radial-gradient(120% 60% at 82% -6%, rgba(184,50,42,0.10), transparent 60%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 18, 32, 0.94);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 7px 18px;
}
.site-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #eef2fa;
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
a[data-contract="site-name"] { color: #eef2fa; text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--red-bright); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid var(--line);
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(184, 50, 42, 0.14);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 18px 22px;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 16px 0 14px;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
  max-width: 300px;
  position: relative;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  padding: 4px;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid rgba(184, 50, 42, 0.32);
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.poster-stamp {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 3px 7px;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.stamp-label { color: var(--text-faint); text-transform: uppercase; }
.stamp-value { color: var(--red-bright); font-weight: 700; letter-spacing: 0.14em; }
.overview-lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.overview-eyebrow {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.overview-title {
  font-size: clamp(24px, 3.6vw, 46px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #f2f5fc;
  font-stretch: condensed;
}
.overview-tagline {
  position: relative;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0e6e6;
  padding: 3px 10px 4px;
  background: linear-gradient(90deg, rgba(184,50,42,0.9), rgba(125,33,28,0.55) 70%, transparent);
  border-left: 2px solid var(--red-bright);
}
.overview-seo {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 62ch;
  border-top: 1px dashed var(--line);
  padding-top: 7px;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.overview-actions button {
  cursor: pointer;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 6px 13px;
  text-transform: uppercase;
}
.overview-actions button:hover { border-color: var(--red); color: #fff; }
.action-play { background: var(--red-deep); border-color: var(--red) !important; color: #fff !important; }
.action-play:hover { background: var(--red) !important; }
.action-play.is-playing { background: var(--ink-3) !important; color: var(--text) !important; border-color: var(--line-strong) !important; }
.action-theater.is-active, .action-light.is-active {
  background: rgba(184,50,42,0.28) !important;
  border-color: var(--red-bright) !important;
  color: #fff !important;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #000;
  margin-top: 2px;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px 5px;
  background: #0a0f1a;
  border-top: 1px solid var(--line);
}
.ctrl {
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl:hover { color: #fff; border-color: var(--red); }
.ctrl.is-active, .ctrl.is-muted, .ctrl.is-playing {
  color: #fff;
  border-color: var(--red-bright);
  background: rgba(184,50,42,0.22);
}
.ctrl-progress {
  flex: 1 1 90px;
  min-width: 0;
  height: 4px;
  accent-color: var(--red);
  background: transparent;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  height: 4px;
  accent-color: var(--red);
  padding: 0;
  border: 0;
  cursor: pointer;
}
.ctrl-speed { appearance: none; padding-right: 6px; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.status-item {
  flex: 1 1 auto;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border-right: 1px solid var(--line);
}
.status-item:last-child { border-right: 0; }
.status-current {
  color: #fff;
  background: rgba(184,50,42,0.16);
  border-right-color: rgba(184,50,42,0.4);
  font-weight: 700;
}
.status-total { color: var(--text); }
.status-runtime { color: var(--text-faint); }
.detail-panel, .synopsis-panel, .cast-panel, .timeline-panel, .episodes-panel, .comments-panel {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 9px 11px 11px;
}
.detail-heading, .synopsis-heading, .cast-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-heading::after, .synopsis-heading::after, .cast-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after {
  content: "";
  flex: 0 0 26px;
  height: 2px;
  background: var(--red);
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 10px 4px 0;
  border-bottom: 1px solid rgba(160,180,215,0.08);
  font-size: 11.5px;
}
.detail-row dt {
  flex: 0 0 62px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.detail-row dd { color: var(--text); min-width: 0; }
.detail-score {
  color: var(--red-bright) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.cast-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
}
.cast-card {
  flex: 0 0 auto;
  width: 108px;
  min-height: 116px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-deep);
  background: var(--ink-3);
  padding: 8px 8px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.cast-card:hover { border-color: var(--line-strong); border-top-color: var(--red-bright); }
.cast-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #eaeef8;
  writing-mode: horizontal-tb;
}
.cast-role {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  border-top: 1px dashed var(--line);
  padding-top: 5px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0 10px;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 12%, var(--red-bright) 55%, var(--red-deep));
}
.timeline-node {
  position: relative;
  padding: 14px 0 4px;
  border-left: 1px solid var(--line);
  padding-left: 9px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -3.5px;
  width: 6px;
  height: 20px;
  background: var(--red);
}
.timeline-time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.episode-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(160,180,215,0.09);
  align-items: start;
}
.episode-number {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.episode-body { min-width: 0; }
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #edf1fa;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 1px 6px;
}
.comments-wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.comment-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-strong);
  background: var(--ink-3);
  padding: 6px 9px 7px;
}
.comments-short .comment-card { border-left-color: var(--red-deep); }
.comments-long .comment-card { border-left-color: var(--red-bright); }
.comment-nick {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red-bright);
  margin-bottom: 3px;
}
.comments-long .comment-nick { color: #c9a24a; }
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.recommend-region {
  border-top: 1px solid var(--line-strong);
  padding: 9px 0 11px;
}
.recommend-region + .recommend-region { border-top: 1px solid var(--line); }
.recommend-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: left;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recommend-heading::before {
  content: "";
  flex: 0 0 18px;
  height: 2px;
  background: var(--red);
}
.recommend-grid {
  display: grid;
  gap: 8px;
}
.recommend-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 5px;
  align-self: start;
}
.recommend-item:hover {
  border-color: var(--red);
  background: var(--ink-3);
}
.recommend-item img, [data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #000;
  display: block;
}
.recommend-name {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #e9eefa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  display: block;
}
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #090e18;
  padding: 12px 18px 18px;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.friends-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 10.5px;
  color: var(--text-dim);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  text-decoration: underline;
}
.player-shell.is-theater {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(184,50,42,0.5);
}
body.lights-on { background-color: #05080f; }
body.lights-on .movie-overview { opacity: 0.9; }
.light.is-active, .lights-on .action-light { border-color: var(--red-bright); }
@media (max-width: 980px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-column { max-width: 220px; }
.synopsis-body { columns: 1; column-rule: 0; }
.comments-wall { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.recommend-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 760px) {.page-main { padding: 8px 12px 18px; }
.header-inner { padding: 6px 12px; gap: 8px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-status .status-item { flex: 1 1 45%; }
.status-item:nth-child(2) { border-right: 0; }
.status-item:nth-child(1), .status-item:nth-child(2) { border-bottom: 1px solid var(--line); }
.recommend-grid-4, .recommend-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }}
@media (max-width: 480px) {.poster-column { max-width: 160px; }
.overview-title { font-size: 22px; }
.overview-tagline { font-size: 12.5px; }
.recommend-grid-3, .recommend-grid-4, .recommend-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-card { width: 96px; min-height: 104px; }
.episode-number { font-size: 18px; }
.ctrl { font-size: 9px; padding: 3px 6px; }
.timeline-track { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }}

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}
