*, *::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%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --ink: #0c1016;
  --ink-2: #141a23;
  --panel: #1a212c;
  --panel-2: #202834;
  --line: #2c3644;
  --muted: #8b97a8;
  --muted-2: #6a7585;
  --paper: #d9d4c6;
  --paper-dim: #b3ada0;
  --blue: #7d93ad;
  --blue-deep: #4a5c73;
  --red: #8e2b32;
  --red-bright: #b23a42;
  --gap: 10px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  font-stretch: condensed;
  overflow-x: hidden;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; }
h2 { font-size: 15px; }
a { transition: color .18s ease, background-color .18s ease, opacity .18s ease; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid var(--red-bright);
  outline-offset: 2px;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 9px 16px;
  background: linear-gradient(180deg, #0d1219, #0b0f15);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__brand { display: flex; align-items: baseline; }
.site-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-transform: uppercase;
}
.site-name:hover { color: var(--red-bright); }
.categories-bar { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(125,147,173,0.05);
}
.categories-bar .runtime-category:hover {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}
.page-main {
  display: block;
  padding: 12px 16px 22px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 2fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: -12px -16px auto -16px;
  height: 300px;
  background:
    repeating-linear-gradient(180deg, rgba(125,147,173,0.10) 0 3px, rgba(12,16,22,0) 3px 11px),
    radial-gradient(120% 80% at 78% 0%, rgba(74,92,115,0.42), rgba(12,16,22,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-visual, .hero-copy { position: relative; z-index: 1; }
.hero-visual { display: flex; flex-direction: column; gap: 7px; max-width: 320px; }
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  background: #05080c;
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(8,11,16,0) 0 5px, rgba(8,11,16,0.55) 5px 10px);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.05) brightness(0.92);
}
.poster-caption {
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--red-bright);
  text-align: right;
  padding-right: 2px;
}
.hero-copy { display: flex; flex-direction: column; gap: 12px; }
.movie-title {
  font-size: clamp(24px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: #e6e1d5;
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--blue);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-dim);
  max-width: 68ch;
}
.player-shell {
  width: 100%;
  background: #05080c;
  border: 1px solid var(--line);
  padding: 0;
}
.player-shell video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: #0f141c;
  border-top: 1px solid var(--line);
}
.player-btn {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 3px 8px;
  background: #151c26;
  white-space: nowrap;
}
.player-btn:hover { color: var(--paper); border-color: var(--blue-deep); background: #1b2431; }
.player-btn.click, .player-btn:active { color: #fff; background: var(--red); border-color: var(--red); }
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--line);
  flex: 1 1 90px;
  min-width: 70px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--red-bright);
  border-radius: 0;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--red-bright);
  border-radius: 0;
}
.player-range.input { background: var(--blue-deep); }
.player-range.progress, .player-range.timeupdate { background: var(--blue); }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 7px 10px;
  border-left: 2px solid var(--red);
  background: var(--panel);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
}
.episode-status__item { white-space: nowrap; }
.episode-status__item:last-child { color: var(--paper); }
.cast-strip { display: flex; flex-direction: column; gap: 7px; }
.cast-strip__heading {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.cast-strip__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cast-card__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(150deg, #2a3441 0%, #1a212c 55%, #10161e 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cast-card__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(8,11,16,0) 0 4px, rgba(8,11,16,0.5) 4px 8px);
  mix-blend-mode: multiply;
}
.cast-card__name {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block { display: flex; flex-direction: column; gap: 7px; }
.synopsis-block__heading {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.synopsis-block__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  counter-reset: syn;
}
.synopsis-block__item {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--paper-dim);
  padding-left: 22px;
  position: relative;
  counter-increment: syn;
}
.synopsis-block__item::before {
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--blue-deep);
}
.details-strip {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.details-strip__heading {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.details-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.details-item {
  background: var(--panel);
  padding: 6px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.details-item dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.details-item dd {
  font-size: 12.5px;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-section__heading {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--paper);
  text-transform: uppercase;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 96px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), var(--red), var(--line));
}
.timeline-node {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 5px 0 5px 18px;
  border-bottom: 1px dashed rgba(44,54,68,0.85);
  position: relative;
  counter-increment: none;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 11px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--blue);
  transform: rotate(45deg);
}
.timeline-node:nth-child(odd) { margin-left: -46px; }
.timeline-node:nth-child(even) { margin-left: 0; }
.timeline-node:nth-child(odd)::before { left: 18px; }
.timeline-node:nth-child(odd) { padding-left: 46px; }
.timeline-node__timecode {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  min-width: 48px;
}
.timeline-node__label {
  font-size: 12.5px;
  color: var(--paper-dim);
  line-height: 1.4;
}
.episodes-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episodes-section__heading {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--paper);
  text-transform: uppercase;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-deep);
  padding: 9px 11px 8px 62px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 84px;
}
.episode-card__number {
  position: absolute;
  left: 9px;
  top: 6px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(125,147,173,0.20);
  pointer-events: none;
}
.episode-card__title {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.episode-card__summary {
  font-size: 12px;
  line-height: 1.42;
  color: var(--muted);
}
.episode-card__duration {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  margin-top: auto;
}
.comments-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comments-section__heading {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--paper);
  text-transform: uppercase;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.comment-stack .comment-card:nth-child(2n) { background: #1c242f; transform: translateY(6px); }
.comment-stack .comment-card:nth-child(3n) { border-top-color: var(--blue-deep); }
.comment-card__nickname {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.comment-card__text {
  font-size: 12.5px;
  line-height: 1.44;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.recommend-region__heading {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.recommend-grid { display: grid; gap: var(--gap); align-items: start; }
.recommend-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 7px;
  color: var(--paper-dim);
  min-width: 0;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--red);
  background: #1d2531;
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #05080c;
  filter: saturate(0.7) brightness(0.9);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  color: var(--paper);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 24px;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(0deg, #0a0e14, #0d1219);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-bottom-color: var(--red);
}
.footer-links__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-right: 4px;
}
.site-footer nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--muted-2);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--blue); text-decoration: underline; }
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: #4d5766;
  max-width: 92ch;
}
body.lights-off { background: #05080c; }
body.lights-off .hero-shell::before { opacity: 0.25; }
body.theater-mode .player-shell {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 1px rgba(125,147,173,0.25), 0 18px 50px -28px #000;
}
body.theater-mode .poster-frame img { filter: saturate(0.5) brightness(0.6); }
.data-player-action { cursor: pointer; }
@media (max-width: 1080px) {.hero-shell { grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr); }
.details-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-shell { grid-template-columns: minmax(0, 1fr); }
.hero-visual { max-width: 260px; }
.synopsis-block__list { grid-template-columns: minmax(0, 1fr); }
.details-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-strip__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { padding-left: 70px; }
.timeline-list::before { left: 52px; }
.timeline-node:nth-child(odd) { margin-left: -30px; }
.timeline-node:nth-child(odd) { padding-left: 30px; }
.timeline-node:nth-child(odd)::before { left: 12px; }}
@media (max-width: 620px) {.page-main { padding: 10px 12px 18px; }
.site-header { padding: 8px 12px; }
.hero-visual { max-width: 210px; }
.cast-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-card__name { font-size: 11px; }
.details-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-card { padding-left: 54px; }
.episode-card__number { font-size: 34px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-stack .comment-card:nth-child(2n) { transform: none; }
.recommend-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { padding-left: 0; }
.timeline-list::before { left: 6px; }
.timeline-node { padding-left: 22px; }
.timeline-node:nth-child(odd) { margin-left: 0; padding-left: 22px; }
.timeline-node:nth-child(odd)::before { left: 2px; }
.timeline-node::before { left: 2px; }
.timeline-node__timecode { min-width: 42px; font-size: 11.5px; }
.timeline-node__label { font-size: 12px; }
.player-controls { gap: 4px; }
.player-btn { font-size: 11px; padding: 3px 6px; }}
@media (max-width: 420px) {.cast-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid--three { grid-template-columns: minmax(0, 1fr); }
.details-strip__grid { grid-template-columns: minmax(0, 1fr); }
.hero-visual { max-width: 100%; }
.movie-title { font-size: 22px; }}

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}
