*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, 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; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #070b14;
  --ink-2: #0c1322;
  --ink-3: #131c2e;
  --rule: #22304a;
  --tungsten: #e6a94a;
  --tungsten-dim: #8a6524;
  --bone: #e8e2d4;
  --bone-dim: #b9b2a2;
  --muted: #7d879c;
  --muted-2: #566079;
  --gap: 10px;
  --pad: 12px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--bone-dim);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  background: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 14px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand-mark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--tungsten);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--tungsten);
  text-decoration: none;
}
a[data-contract="site-name"]:hover { color: #f5c877; text-decoration: underline; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--tungsten);
  border-color: var(--tungsten);
  text-decoration: none;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 16px;
  align-items: start;
}
.hero-portrait {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.poster-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--ink-3);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.82) contrast(1.04);
}
.hero-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  border-left: 2px solid var(--tungsten-dim);
  background: rgba(230, 169, 74, 0.045);
}
.hero-caption-line {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-caption-line:last-child {
  color: var(--bone-dim);
  letter-spacing: 0.06em;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--bone);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--tungsten);
  letter-spacing: 0.05em;
  border-left: 2px solid var(--tungsten);
  padding-left: 8px;
}
.movie-seo {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 74ch;
}
.panel-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.detail-panel { min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(34, 48, 74, 0.7);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 62px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--bone-dim);
}
.cast-panel { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  background: var(--ink-2);
  border-left: 2px solid var(--rule);
  align-self: start;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.episode-status { min-width: 0; }
.status-line {
  font-size: 12px;
  color: var(--bone-dim);
  padding: 3px 0;
  border-bottom: 1px dotted rgba(34, 48, 74, 0.7);
  letter-spacing: 0.04em;
}
.synopsis-panel { min-width: 0; }
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 7px;
  max-width: 76ch;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}
.player-video {
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  padding: 7px 8px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
}
.ctl-btn {
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctl-btn:hover, .ctl-btn:focus-visible {
  color: var(--tungsten);
  border-color: var(--tungsten-dim);
}
.ctl-range {
  flex: 1 1 110px;
  min-width: 80px;
  height: 16px;
  accent-color: var(--tungsten);
  background: transparent;
  cursor: pointer;
}
.ctl-select {
  padding: 3px 6px;
  font-size: 11px;
  color: var(--muted);
  background: var(--ink-3);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.is-playing .player-controls { border-color: var(--tungsten-dim); }
.player-shell.is-playing .ctl-btn[data-player-action="play"] { color: var(--tungsten); border-color: var(--tungsten-dim); }
.player-shell.is-muted .ctl-btn[data-player-action="mute"] { color: var(--tungsten); border-color: var(--tungsten-dim); }
.player-shell.is-speed-changed .ctl-select { color: var(--tungsten); border-color: var(--tungsten-dim); }
.player-shell.is-pip .ctl-btn[data-player-action="pip"], .player-shell.is-fullscreen .ctl-btn[data-player-action="fullscreen"], .player-shell.is-theater .ctl-btn[data-player-action="theater"], .player-shell.is-lights-off .ctl-btn[data-player-action="light"] {
  color: var(--ink);
  background: var(--tungsten);
  border-color: var(--tungsten);
}
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { background: #05070d; border-color: #1a2233; }
.player-shell.is-theater { width: 100%; }
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--bone);
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 3px solid var(--tungsten);
  line-height: 1.2;
}
.timeline-section { min-width: 0; }
.timeline-band {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.timeline-node {
  position: relative;
  flex: 0 0 186px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 9px 9px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  scroll-snap-align: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -9px;
  width: 8px;
  height: 1px;
  background: var(--rule);
}
.timeline-node:first-child::before { display: none; }
.node-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--tungsten-dim);
  box-shadow: 0 0 0 3px rgba(230, 169, 74, 0.08);
  flex: none;
}
.node-timecode {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.timeline-node-active {
  background: rgba(230, 169, 74, 0.07);
  border-color: var(--tungsten-dim);
}
.timeline-node-active .node-dot {
  background: var(--tungsten);
  border-color: var(--tungsten);
  box-shadow: 0 0 0 4px rgba(230, 169, 74, 0.18);
}
.timeline-node-active .node-timecode { color: var(--tungsten); }
.timeline-node-active .node-label { color: var(--bone-dim); }
.episodes-section { min-width: 0; }
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 5px;
  align-items: start;
}
.episode-item {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--rule);
  align-self: start;
}
.episode-item-active {
  border-left-color: var(--tungsten);
  background: rgba(230, 169, 74, 0.06);
}
.episode-details { min-width: 0; }
.episode-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 9px;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}
.episode-summary::-webkit-details-marker { display: none; }
.episode-summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted-2);
}
.episode-details[open] .episode-summary::after { content: "−"; color: var(--tungsten); }
.episode-number {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--tungsten-dim);
}
.episode-item-active .episode-number { color: var(--tungsten); }
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}
.episode-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 0 9px 9px;
  border-top: 1px solid var(--rule);
  padding-top: 7px;
}
.comments-section { min-width: 0; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-slip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--tungsten-dim);
  align-self: start;
}
.comment-slip-offset {
  transform: translateY(10px);
}
.comment-nick {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tungsten);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--bone-dim);
}
.rec-region {
  min-width: 0;
  padding-top: 4px;
}
.rec-region + .rec-region { border-top: 1px solid var(--rule); padding-top: 12px; }
.rec-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--bone);
  margin-bottom: 8px;
}
.rec-title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 7px;
  vertical-align: middle;
  background: var(--tungsten);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  text-decoration: none;
  align-self: start;
  min-width: 0;
}
.rec-card:hover {
  border-color: var(--tungsten-dim);
  background: var(--ink-3);
}
[data-runtime="recommendation"] img, .rec-card img.rec-thumb {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--ink-3);
  border: 1px solid var(--rule);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.03em;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.rec-region-1 .rec-card { border-top: 2px solid var(--tungsten-dim); }
.rec-region-2 .rec-card { border-top: 2px solid var(--bone-dim); }
.rec-region-3 .rec-card { border-top: 2px solid var(--muted-2); }
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}
.footer-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--tungsten);
  border-bottom-color: var(--tungsten-dim);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--muted-2);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted var(--rule);
}
a.runtime-friend-link:hover {
  color: var(--tungsten);
  border-bottom-color: var(--tungsten-dim);
  text-decoration: none;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
  border-top: 1px solid var(--rule);
  padding-top: 9px;
  max-width: 110ch;
}
@media (max-width: 1100px) {.hero-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); }
.movie-title { font-size: 24px; }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-portrait { max-width: 360px; }
.page-main { padding: 10px 12px 18px; gap: 14px; }
.movie-title { font-size: 22px; }
.comment-slip-offset { transform: translateY(6px); }}
@media (max-width: 620px) {body { font-size: 12.5px; }
.header-bar { padding: 7px 10px; gap: 6px 10px; }
.brand-mark { font-size: 13.5px; }
.page-main { padding: 9px 10px 16px; gap: 12px; }
.hero-portrait { max-width: none; }
.movie-title { font-size: 20px; }
.movie-tagline { font-size: 11.5px; }
.movie-seo { font-size: 11.5px; }
.hero-caption-line { white-space: normal; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.cast-grid { grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); gap: 7px; }
.comment-slip-offset { transform: none; }
.rec-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ctl-range { flex: 1 1 100%; }
.timeline-node { flex: 0 0 168px; }
.site-footer { padding: 12px 10px; gap: 9px 16px; }}
@media (max-width: 420px) {.movie-title { font-size: 18px; }
.cast-grid { grid-template-columns: minmax(0, 1fr); }
.rec-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-node { flex: 0 0 152px; }
.episode-summary { flex-wrap: wrap; gap: 4px 8px; }
.episode-title { white-space: normal; }}

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}
