*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li, article, section, nav, header, footer, main { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --bg: #0e141c;
  --bg-2: #131b26;
  --bg-3: #0a0f16;
  --ink: #d6dee8;
  --ink-dim: #8c9aa9;
  --ink-faint: #5c6a7a;
  --line: #2a3644;
  --line-soft: #1e2833;
  --red: #7d2230;
  --red-bright: #b8384c;
  --red-deep: #4a1420;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 15, 22, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--red-bright); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: baseline;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 2px 9px;
  border-right: 1px solid var(--line-soft);
}
a.runtime-category:last-child { border-right: 0; }
a.runtime-category:hover { color: var(--red-bright); }
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--ink);
  padding: 0 0 7px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 26px;
  height: 1px;
  background: var(--red-bright);
}
.movie-overview {
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-top: 12px;
  padding: 0 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "hero hero"
    "details details"
    "status status"
    "body body"
    "cast cast"
    "player player";
}
.hero {
  grid-area: hero;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: end;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.poster-shell {
  position: relative;
  margin: 0;
  align-self: start;
  background: #05080c;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35) contrast(1.05) brightness(0.9);
}
.hero-overlay {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px 18px 20px 22px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 82% 18%, rgba(184,56,76,0.16), transparent 58%),
    linear-gradient(180deg, rgba(10,15,22,0.2), rgba(10,15,22,0.88));
}
.timecode-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  width: min(34%, 210px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  font-family: "Courier New", "PingFang SC", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(214, 222, 232, 0.5);
  text-shadow: 0 0 6px rgba(184,56,76,0.4);
  mix-blend-mode: screen;
  pointer-events: none;
}
.timecode-line { white-space: nowrap; display: block; }
.timecode-line:first-child { color: var(--red-bright); }
.hero-slogan {
  position: relative;
  max-width: 34em;
}
.movie-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: #eef3f9;
  text-shadow: 0 2px 22px rgba(0,0,0,0.85);
}
.tagline {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--ink-dim);
  max-width: 26em;
}
.detail-strip {
  grid-area: details;
  border-bottom: 1px solid var(--line);
}
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 14px 8px 0;
  margin-right: 14px;
  border-right: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-item:last-child { border-right: 0; margin-right: 0; }
.detail-key {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}
.episode-status {
  grid-area: status;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(125,34,48,0.22), transparent 70%);
}
.status-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}
.status-value {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
}
.overview-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0 26px;
  padding: 18px 16px 4px;
  border-bottom: 1px solid var(--line);
}
.synopsis-block { min-width: 0; }
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-dim);
  margin-bottom: 9px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.synopsis-paragraph:first-of-type { color: var(--ink); }
.seo-description {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ink-faint);
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
  align-self: start;
}
.cast-row {
  grid-area: cast;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 12px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
  min-width: 0;
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.cast-role {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--red-bright);
}
.player-shell {
  grid-area: player;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 16px 0;
}
.player-video {
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  display: block;
}
.player-shell.is-theater .player-video {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red-deep), 0 12px 44px rgba(0,0,0,0.7);
}
.player-shell.is-light { background: rgba(214,222,232,0.06); }
.player-shell.is-fullscreen .player-video { border-color: var(--red-bright); }
.player-shell.is-playing .player-button[data-player-action="play"] { color: var(--red-bright); border-color: var(--red); }
.player-shell.is-muted .player-button[data-player-action="mute"] { color: var(--red-bright); border-color: var(--red); }
.player-shell.is-speed .player-button[data-player-action="speed"] { color: var(--red-bright); border-color: var(--red); }
.player-shell.is-pip .player-button[data-player-action="pip"] { color: var(--red-bright); border-color: var(--red); }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 9px 0 2px;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
}
.player-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
}
.player-button:hover { color: var(--red-bright); border-color: var(--red); }
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 2px;
  background: var(--line);
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  background: var(--red-bright);
}
.player-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  background: var(--red-bright);
}
.timeline-section {
  margin-top: 26px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  min-width: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
}
.timeline-time {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  padding-left: 14px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding-left: 14px;
}
.episodes-section { margin-top: 26px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-card {
  background: var(--bg-2);
  padding: 12px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: background 0.16s ease;
}
.episode-card:hover { background: var(--red-deep); }
.episode-number {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.episode-card:hover .episode-number { color: var(--red-bright); }
.episode-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-top: 2px;
}
.episode-card:hover .episode-duration { color: var(--ink-dim); }
.comments-section { margin-top: 26px; }
.comment-stack {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line-soft);
}
.comment-item {
  break-inside: avoid;
  padding: 10px 0 11px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.recommendation-region { margin-top: 26px; }
.recommendation-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommendation-rail::-webkit-scrollbar { height: 5px; }
.recommendation-rail::-webkit-scrollbar-track { background: var(--line-soft); }
.recommendation-rail::-webkit-scrollbar-thumb { background: var(--red); }
a.recommendation-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, background 0.16s ease;
}
a.recommendation-card:hover { border-color: var(--red); background: var(--red-deep); }
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: grayscale(0.4) brightness(0.88);
}
a.recommendation-card:hover img { filter: grayscale(0.1) brightness(1); }
.recommendation-name {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.recommendation-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-3);
  padding: 20px 16px 30px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 70em;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-bottom: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--red-bright); }
@media (max-width: 1024px) {.movie-overview { grid-template-columns: minmax(0, 1fr); }
.overview-body { grid-template-columns: minmax(0, 1fr); gap: 14px 0; }
.seo-description { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { padding: 0 10px 30px; }
.header-inner { padding: 7px 10px; gap: 6px 12px; }
.hero { grid-template-columns: minmax(0, 1fr); }
.poster-shell { max-width: 62%; }
.hero-overlay { padding: 14px 12px 16px; }
.timecode-overlay { width: auto; max-width: 46%; top: 10px; right: 10px; font-size: 9px; }
.movie-title { font-size: clamp(26px, 9vw, 38px); }
.tagline { letter-spacing: 0.2em; }
.detail-item { padding-right: 10px; margin-right: 10px; }
.overview-body { padding: 14px 12px 4px; }
.cast-row { padding: 14px 12px 12px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-shell { padding: 14px 12px 0; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stack { columns: 1; column-rule: 0; }
a.recommendation-card { flex-basis: 148px; }
.player-controls { gap: 5px 6px; }
.player-button { font-size: 10.5px; padding: 4px 7px; }
.site-footer { padding: 16px 12px 26px; }}
@media (max-width: 420px) {.poster-shell { max-width: 74%; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.player-range { flex-basis: 100%; }
a.recommendation-card { flex-basis: 132px; }}

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}
