:root {
  --bg-deep: #12161d;
  --bg-panel: #1a2029;
  --bg-panel-2: #202733;
  --bg-light: #262e3a;
  --ink: #d6dbe3;
  --ink-dim: #8b95a4;
  --ink-faint: #5d6774;
  --amber: #f2b544;
  --amber-soft: #c8922f;
  --amber-glow: rgba(242, 181, 68, 0.18);
  --line: #2c3542;
  --gap: 8px;
  --gap-s: 5px;
  --radius: 3px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, dl, dd, dt, ol, li {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 18, 24, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7px 12px;
}
a[data-contract="site-name"] {
  color: var(--amber);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ffd072;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #171d25;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
  background: #1f2530;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-room {
  position: relative;
  margin-top: 10px;
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 66% 42%, #2a3340 0%, #1b222c 42%, #10141a 100%);
}
.hero-glow {
  position: absolute;
  top: 24%;
  left: 62%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 181, 68, 0.55) 0%, rgba(242, 181, 68, 0.16) 38%, rgba(242, 181, 68, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 2;
}
.hero-reflection {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.reflection-figure {
  position: absolute;
  bottom: 34px;
  width: 46px;
  border-radius: 50% 50% 4px 4px / 22% 22% 3px 3px;
  background: linear-gradient(to bottom, #3a4453 0%, #232b36 62%, #171d25 100%);
  filter: blur(5px);
  opacity: 0.75;
}
.figure-a { left: 15%; height: 148px; }
.figure-b { left: 26%; height: 158px; }
.figure-c { left: 37%; height: 138px; }
.figure-d { left: 47%; height: 152px; }
.figure-e { left: 57%; height: 142px; }
.reflection-lamp {
  position: absolute;
  bottom: 30px;
  left: 64%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow:
    0 0 14px rgba(242, 181, 68, 0.9),
    0 0 42px rgba(242, 181, 68, 0.5),
    0 0 90px rgba(242, 181, 68, 0.28);
  z-index: 3;
}
.hero-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 4;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: rgba(12, 15, 20, 0.78);
  border-left: 2px solid var(--amber);
}
.overview-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.overview-lead {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.poster-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0e1218;
  overflow: hidden;
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.lead-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.movie-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #eef1f6;
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.movie-seo {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.65;
}
.episode-status {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 9px;
  font-size: 11.5px;
  color: var(--amber);
  background: var(--amber-glow);
  border: 1px solid var(--amber-soft);
  border-radius: 999px;
  white-space: nowrap;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0e13;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  padding: 7px 8px;
  background: var(--bg-panel-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  color: var(--ink);
  background: #2a323f;
  border: 1px solid #37404f;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: #10141a;
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  accent-color: var(--amber);
  background: #39424f;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  accent-color: var(--amber);
  background: #39424f;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-speed {
  padding: 3px 6px;
  font-size: 11.5px;
  color: var(--ink);
  background: #2a323f;
  border: 1px solid #37404f;
  border-radius: var(--radius);
  cursor: pointer;
}
.player-shell.is-playing {
  border-color: var(--amber-soft);
}
.player-shell.is-playing .ctrl-btn[data-player-action="play"] {
  color: #10141a;
  background: var(--amber);
  border-color: var(--amber);
}
.player-shell.is-muted .ctrl-btn[data-player-action="mute"] {
  color: #10141a;
  background: var(--amber);
  border-color: var(--amber);
}
.player-shell.speed-changed .ctrl-speed {
  border-color: var(--amber);
  color: var(--amber);
}
.player-shell.is-theater {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber-glow), 0 0 26px rgba(242, 181, 68, 0.16);
}
.player-shell.is-fullscreen {
  border-radius: 0;
  border: none;
}
.player-shell.is-dimmed {
  box-shadow: 0 0 0 1px rgba(242, 181, 68, 0.35);
}
body.lights-off .page-main {
  background: #080a0e;
}
body.lights-off .hero-room {
  filter: brightness(0.62);
}
.block-heading, .rec-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e8ecf2;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.heading-dash {
  display: inline-block;
  width: 16px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--amber);
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cast-media {
  flex: 1 1 auto;
  min-height: 96px;
  background:
    linear-gradient(160deg, #38414f 0%, #232b36 55%, #161c24 100%);
  position: relative;
}
.cast-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(242, 181, 68, 0.16), transparent 55%);
}
.cast-name {
  flex: 0 0 auto;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--ink);
  padding: 8px 5px;
  border-left: 1px solid var(--line);
  background: #1b212b;
  text-align: center;
}
.cast-card:hover .cast-media::after {
  background: linear-gradient(to top, rgba(242, 181, 68, 0.34), transparent 62%);
}
.cast-card:hover .cast-name {
  color: var(--amber);
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-body {
  columns: 2;
  column-gap: 16px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-dim);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-para:first-child {
  color: var(--ink);
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  background: var(--bg-panel-2);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.detail-value {
  min-width: 0;
  font-size: 12px;
  color: var(--ink);
  word-break: break-word;
}
.timeline-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 22px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-soft) #1a2029;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #1a2029;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--amber-soft);
  border-radius: 999px;
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: max-content;
  padding-top: 8px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 6%, var(--line) 94%, transparent);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 152px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 9px 10px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
  background: #222a35;
  border-top: 2px solid #39424f;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 1px;
  height: 8px;
  background: var(--line);
}
.timeline-node:hover {
  background: #2a3340;
}
.timeline-node.is-active {
  background: linear-gradient(to bottom, #3a3018, #2a2413);
  border-top-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(242, 181, 68, 0.35), 0 0 20px rgba(242, 181, 68, 0.16);
}
.timeline-node.is-active::before {
  background: var(--amber);
}
.node-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.timeline-node.is-active .node-timecode {
  color: var(--amber);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.timeline-node.is-active .node-label {
  color: #f0e2c2;
}
.episodes-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 8px 9px 9px;
  background: var(--bg-panel-2);
  min-width: 0;
  transition: background 0.15s ease;
}
.episode-card:hover {
  background: #2a3340;
}
.episode-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--amber-soft);
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #e6eaf1;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.episode-duration {
  margin-top: auto;
  padding-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.comments-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap-s);
  min-width: 0;
}
.column-right {
  padding-top: 16px;
}
.comment-card {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-left: 2px solid #3a4453;
  border-radius: var(--radius);
}
.comment-card.tone-light {
  background: #232b36;
}
.comment-card.tone-light .comment-nickname {
  color: #aeb8c6;
}
.comment-card.tone-dark {
  background: #171d25;
}
.comment-card.tone-dark .comment-nickname {
  color: var(--amber-soft);
}
.comment-card.tone-dark {
  border-left-color: var(--amber-soft);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
}
.rec-region {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rec-title {
  font-size: 13px;
}
.rec-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: flex-start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 0 152px;
  width: 152px;
  padding: 5px;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.15s ease, border-color 0.15s ease;
}
a.rec-card:hover {
  background: #2a3340;
  border-color: var(--amber-soft);
}
[data-runtime="recommendation"] img, .rec-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #10141a;
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: #e6eaf1;
  line-height: 1.4;
}
a.rec-card:hover .rec-name {
  color: var(--amber);
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 12px;
  padding: 12px;
  background: #0d1116;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7d8794;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-lead {
    grid-template-columns: 140px minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 0 8px 8px;
    gap: 8px;
  }
.header-inner {
    padding: 6px 8px;
    gap: 8px;
  }
.hero-room {
    height: 190px;
  }
.figure-a { left: 8%; height: 106px; }
.figure-b { left: 21%; height: 114px; }
.figure-c { left: 34%; height: 100px; }
.figure-d { left: 47%; height: 110px; }
.figure-e { left: 60%; height: 104px; }
.hero-glow {
    left: 56%;
    width: 150px;
    height: 150px;
  }
.reflection-lamp {
    left: 58%;
  }
.overview-block {
    padding: 8px;
  }
.overview-lead {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 9px;
  }
.movie-title {
    font-size: 16px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-media {
    min-height: 84px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.column-right {
    padding-top: 0;
  }
.timeline-scroll {
    padding: 8px 12px 10px;
  }
.timeline-node {
    width: 138px;
  }
a.rec-card {
    flex: 0 0 140px;
    width: 140px;
  }}
@media (max-width: 400px) {.cast-row {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-media {
    min-height: 72px;
  }
a.rec-card {
    flex: 1 1 100%;
    width: auto;
  }}

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}
