*, *::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, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #070b14;
  --ink-2: #0c1220;
  --ink-3: #111a2c;
  --blue: #16233d;
  --silver: #c3cbd8;
  --silver-dim: #7c8798;
  --silver-deep: #4a5468;
  --gold: #b08a3e;
  --gold-soft: #d9b46a;
  --flame: #e8561f;
  --flame-hot: #ff7a33;
  --flame-dim: #7a2c10;
  --rule: rgba(195, 203, 216, 0.14);
  --rule-strong: rgba(195, 203, 216, 0.26);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
html {
  background: var(--ink);
  color-scheme: dark;
}
body {
  font-family: var(--font);
  background:
    radial-gradient(120% 60% at 82% -8%, rgba(232, 86, 31, 0.10), transparent 60%),
    radial-gradient(90% 50% at 10% 4%, rgba(195, 203, 216, 0.10), transparent 62%),
    linear-gradient(180deg, #060a12 0%, #070b14 45%, #05080f 100%);
  color: var(--silver);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lights-off {
  background: #010204;
}
body.lights-off .overview-media {
  filter: brightness(1.12) contrast(1.06);
}
body.lights-off .site-header, body.lights-off .cast-block, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-shelf, body.lights-off .site-footer {
  opacity: 0.55;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.96), rgba(6, 10, 18, 0.78));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 16px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--gold-soft);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.30em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(217, 180, 106, 0.28);
}
a[data-contract="site-name"]:hover {
  color: #f2d79b;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--silver-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(195, 203, 216, 0.03);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--flame-hot);
  border-color: rgba(232, 86, 31, 0.55);
  background: rgba(232, 86, 31, 0.08);
  text-decoration: none;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--gold-soft);
  text-transform: uppercase;
  padding-left: 12px;
  position: relative;
  margin-bottom: 10px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 13px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--flame-hot), var(--flame-dim));
  box-shadow: 0 0 10px rgba(232, 86, 31, 0.7);
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 14px 20px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 46% at 24% 30%, rgba(195, 203, 216, 0.07), transparent 70%),
    radial-gradient(52% 40% at 88% 82%, rgba(232, 86, 31, 0.13), transparent 72%);
  z-index: 0;
}
.movie-overview > * {
  position: relative;
  z-index: 1;
}
.overview-media {
  grid-column: 1;
  grid-row: 1 / span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  align-self: start;
}
.overview-poster {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  align-self: flex-start;
  filter: saturate(0.9) contrast(1.05) brightness(0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 40px rgba(0, 0, 0, 0.75);
}
.overview-poster::after {
  content: none;
}
.overview-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-width: 0;
  background: #000;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(232, 86, 31, 0.10), 0 18px 44px rgba(0, 0, 0, 0.7);
}
.overview-media.is-theater, .overview-media.is-theater.is-active {
  grid-column: 1 / -1;
  grid-row: auto;
}
.overview-media.is-theater .overview-poster {
  display: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.9), rgba(7, 11, 20, 0.9));
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.btn-play, .btn-progress, .btn-volume, .btn-mute, .btn-speed, .btn-pip, .btn-fullscreen, .btn-theater, .btn-light {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver-dim);
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(195, 203, 216, 0.04);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.btn-play:hover, .btn-progress:hover, .btn-volume:hover, .btn-mute:hover, .btn-speed:hover, .btn-pip:hover, .btn-fullscreen:hover, .btn-theater:hover, .btn-light:hover {
  color: var(--flame-hot);
  border-color: rgba(232, 86, 31, 0.55);
  background: rgba(232, 86, 31, 0.09);
}
.btn-play.is-active, .btn-progress.is-active, .btn-volume.is-active, .btn-mute.is-active, .btn-speed.is-active, .btn-pip.is-active, .btn-fullscreen.is-active, .btn-theater.is-active, .btn-light.is-active, .click .btn-play, .click .btn-theater, .click .btn-light, .play .btn-play, .progress .btn-progress, .volume .btn-volume, .mute .btn-mute, .speed .btn-speed, .pip .btn-pip, .fullscreen .btn-fullscreen, .theater .btn-theater, .light .btn-light {
  color: var(--flame-hot);
  border-color: var(--flame);
  background: rgba(232, 86, 31, 0.14);
  box-shadow: inset 0 0 12px rgba(232, 86, 31, 0.28);
}
.overview-heading {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  align-self: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.movie-title {
  font-size: clamp(20px, 3.1vw, 34px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.16;
  color: #eef2f8;
  text-shadow: 0 0 26px rgba(195, 203, 216, 0.22), 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  margin-top: 7px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--flame-hot);
  text-shadow: 0 0 18px rgba(232, 86, 31, 0.35);
}
.episode-status {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  align-self: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.status-line {
  font-size: 13px;
  letter-spacing: 0.10em;
  color: var(--silver);
}
.status-line::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--flame);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--flame);
  vertical-align: middle;
}
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.status-actions .btn-play, .status-actions .btn-theater, .status-actions .btn-light {
  font-size: 11.5px;
  padding: 6px 13px;
}
.status-actions .btn-play {
  color: #20120a;
  background: linear-gradient(180deg, var(--flame-hot), var(--flame));
  border-color: var(--flame-hot);
  font-weight: 800;
  letter-spacing: 0.16em;
}
.status-actions .btn-play:hover {
  color: #180d06;
  background: linear-gradient(180deg, #ff9250, var(--flame-hot));
  border-color: #ff9250;
}
.details-strip {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  align-self: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 5px 8px;
  background: var(--ink-2);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--silver-deep);
  text-transform: uppercase;
}
.detail-key::after {
  content: "·";
  margin-left: 5px;
  color: var(--flame-dim);
}
.detail-value {
  min-width: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--silver);
  overflow-wrap: break-word;
  word-break: break-word;
}
.synopsis-block {
  grid-column: 2;
  grid-row: 4;
  min-width: 0;
  align-self: start;
  padding-top: 12px;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(22, 35, 61, 0.42), rgba(12, 18, 32, 0.55));
  border: 1px solid var(--rule);
  border-left: 2px solid var(--flame-dim);
  border-radius: 2px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  letter-spacing: 0.02em;
  color: #aeb8c7;
  text-align: justify;
}
.synopsis-paragraph::first-letter {
  color: var(--gold-soft);
  font-weight: 800;
}
.cast-block {
  grid-column: 1 / -1;
  grid-row: 5;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.cast-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.cast-rail::-webkit-scrollbar {
  height: 5px;
}
.cast-rail::-webkit-scrollbar-thumb {
  background: var(--silver-deep);
  border-radius: 3px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  background: linear-gradient(180deg, rgba(22, 35, 61, 0.5), rgba(12, 18, 32, 0.6));
  border: 1px solid var(--rule);
  border-radius: 2px;
  scroll-snap-align: start;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  border-color: rgba(232, 86, 31, 0.5);
  transform: translateY(-2px);
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(232, 86, 31, 0.5), transparent 58%),
    linear-gradient(150deg, #2a3category 0%, #1b2740 46%, #0b1120 100%);
  background-color: #1b2740;
  border: 1px solid var(--rule-strong);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.7), 0 0 12px rgba(232, 86, 31, 0.14);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--silver);
  text-align: center;
}
.cast-role {
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--gold);
  text-align: center;
}
.timeline-section {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.timeline-list {
  position: relative;
  display: block;
  max-width: 780px;
  padding-left: 18px;
  border-left: 1px solid var(--rule-strong);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(195, 203, 216, 0.08);
}
.timeline-node:last-child {
  border-bottom: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--silver-deep);
  transform: rotate(45deg);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: -23px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: transparent;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  transform: rotate(45deg);
  pointer-events: none;
}
.timeline-node:hover::before {
  background: var(--flame);
  border-color: var(--flame-hot);
  box-shadow: 0 0 12px rgba(232, 86, 31, 0.8);
}
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #a9b4c4;
  overflow-wrap: break-word;
}
.episodes-section {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 9px 10px;
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.72), rgba(10, 15, 26, 0.72));
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(195, 203, 216, 0.16);
  border-radius: 2px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-color: rgba(195, 203, 216, 0.36);
  border-left-color: var(--flame);
  background: linear-gradient(180deg, rgba(24, 36, 60, 0.8), rgba(12, 18, 32, 0.8));
  transform: translateY(-1px);
}
.episode-card-active {
  border-left-color: var(--flame);
  background: linear-gradient(180deg, rgba(38, 24, 20, 0.72), rgba(14, 12, 18, 0.78));
  box-shadow: inset 0 0 24px rgba(232, 86, 31, 0.12);
}
.episode-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--flame-hot);
  white-space: nowrap;
}
.episode-title {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #dde3ec;
  overflow-wrap: break-word;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8d97a8;
  overflow-wrap: break-word;
}
.episode-duration {
  align-self: flex-start;
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--silver-deep);
  padding-top: 4px;
  border-top: 1px solid rgba(195, 203, 216, 0.1);
}
.comments-section {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.comments-columns {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 8px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.6), rgba(10, 15, 26, 0.6));
  border: 1px solid var(--rule);
  border-radius: 2px;
  vertical-align: top;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(195, 203, 216, 0.4), transparent 60%),
    linear-gradient(150deg, #24334f, #0c1220);
  border: 1px solid var(--rule-strong);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.7);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comment-text {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: #9aa5b6;
  overflow-wrap: break-word;
}
.recommend-shelf {
  padding: 16px 0 4px;
  border-bottom: 1px solid var(--rule);
}
.recommend-shelf:last-of-type {
  border-bottom: 0;
}
.shelf-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  align-items: start;
}
a.shelf-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 7px;
  color: var(--silver);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.62), rgba(10, 15, 26, 0.62));
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.shelf-card:hover {
  color: var(--silver);
  text-decoration: none;
  border-color: rgba(232, 86, 31, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6), 0 0 18px rgba(232, 86, 31, 0.14);
}
[data-runtime="recommendation"] img, .shelf-thumb {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0f1a;
  border: 1px solid var(--rule);
  border-radius: 2px;
  filter: saturate(0.88) brightness(0.92);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1);
}
.shelf-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: #dce2eb;
  overflow-wrap: break-word;
}
.shelf-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #8690a1;
  overflow-wrap: break-word;
}
.site-footer {
  border-top: 1px solid var(--rule-strong);
  background: linear-gradient(180deg, rgba(10, 15, 26, 0.9), rgba(4, 7, 12, 0.98));
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--silver-deep);
  max-width: 720px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--flame-hot);
  border-bottom-color: var(--flame);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.20em;
  color: var(--silver-deep);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #6f7a8c;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-soft);
  text-decoration: none;
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.overview-media, .overview-heading, .episode-status, .details-strip, .synopsis-block, .cast-block {
    grid-column: 1;
    grid-row: auto;
  }
.overview-media {
    align-items: stretch;
  }
.overview-poster {
    max-width: 220px;
  }
.comments-columns {
    column-count: 1;
  }}
@media (max-width: 620px) {.header-inner {
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.overview-poster {
    max-width: 180px;
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px;
  }
.shelf-row {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }
.cast-rail {
    grid-auto-columns: minmax(88px, 1fr);
  }}
@media (max-width: 400px) {.shelf-row {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 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}
