*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
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%;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --night: #060a14;
  --night-2: #0b1222;
  --night-3: #111a2e;
  --headlight: #ffc247;
  --headlight-soft: #ffd97a;
  --headlight-glow: rgba(255, 194, 71, 0.55);
  --ink: #1b1f26;
  --ink-soft: #4a525e;
  --paper: #e9e7e2;
  --paper-2: #dfdcd6;
  --paper-3: #f4f2ee;
  --line: rgba(255, 194, 71, 0.28);
  --line-dark: rgba(27, 31, 38, 0.14);
  --radius: 10px;
  --cut: 14px;
  --gap: 10px;
}
html {
  background: var(--night);
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--night);
  overflow-x: hidden;
}
h1, h2, h3, .brand, .movie-title, .section-heading, .block-heading, .region-title, .episode-title {
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"], .brand {
  font-size: 18px;
  color: var(--headlight);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(255, 194, 71, 0.35);
}
.brand:hover, .brand:focus-visible {
  color: var(--headlight-soft);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  color: #c7d2e0;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid rgba(199, 210, 224, 0.28);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--night);
  background: var(--headlight);
  border-color: var(--headlight);
}
.page-main {
  display: block;
  background: var(--night);
}
.movie-overview {
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(255, 194, 71, 0.16), transparent 55%),
    linear-gradient(180deg, var(--night-2), var(--night) 70%);
  color: #e8edf5;
  padding: 14px 16px 16px;
  border-bottom: 1px solid var(--line);
}
.overview-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}
.poster-visual {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  background: #050810;
}
.poster-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  border-radius: var(--radius);
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 194, 71, 0.25), 0 18px 44px rgba(0, 0, 0, 0.6);
}
.headlight-trails {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 44%, rgba(255, 194, 71, 0.55) 47%, transparent 50%),
    linear-gradient(100deg, transparent 55%, rgba(255, 217, 122, 0.35) 58%, transparent 62%),
    linear-gradient(100deg, transparent 30%, rgba(255, 194, 71, 0.22) 33%, transparent 37%),
    linear-gradient(100deg, transparent 68%, rgba(255, 255, 255, 0.16) 71%, transparent 75%);
  filter: blur(1.4px);
  opacity: 0.9;
  mix-blend-mode: screen;
}
.lesson-paper-texture {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  width: 26%;
  pointer-events: none;
  opacity: 0.5;
  background:
    repeating-linear-gradient(180deg, rgba(244, 242, 238, 0.92) 0 1px, transparent 1px 22px),
    linear-gradient(90deg, rgba(244, 242, 238, 0.86), rgba(244, 242, 238, 0.42) 60%, rgba(244, 242, 238, 0.1));
  border-left: 1px solid rgba(255, 194, 71, 0.4);
  mix-blend-mode: soft-light;
}
.overview-lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.overview-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--headlight);
  text-transform: uppercase;
}
.movie-title {
  font-size: clamp(28px, 4.4vw, 46px);
  color: #ffffff;
  text-shadow: 0 0 26px rgba(255, 194, 71, 0.3);
}
.movie-tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--headlight-soft);
  padding-left: 10px;
  border-left: 3px solid var(--headlight);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.62;
  color: #a9b6c9;
  max-width: 68ch;
}
.player-shell {
  margin-top: 4px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.95), rgba(6, 10, 20, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px rgba(255, 194, 71, 0.06);
}
.player-shell video {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  font-size: 12px;
  font-weight: 700;
  color: #dbe4f0;
  padding: 5px 10px;
  border: 1px solid rgba(219, 228, 240, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--night);
  background: var(--headlight);
  border-color: var(--headlight);
}
.ctrl-btn.is-active {
  color: var(--night);
  background: var(--headlight-soft);
  border-color: var(--headlight-soft);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--headlight);
  box-shadow: 0 0 10px var(--headlight-glow);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--headlight);
  box-shadow: 0 0 10px var(--headlight-glow);
  cursor: pointer;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 1440px;
  margin: 16px auto 0;
}
.block-heading {
  font-size: 15px;
  color: var(--headlight);
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.08em;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: #bcc7d6;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-block {
  grid-column: 2;
  margin-top: 4px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 92px;
  text-align: center;
}
.cast-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 217, 122, 0.9), rgba(255, 194, 71, 0.25) 60%, transparent 72%),
    linear-gradient(160deg, #1c2740, #0a1020);
  border: 2px solid rgba(255, 194, 71, 0.5);
  box-shadow: 0 0 16px rgba(255, 194, 71, 0.22);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.cast-role {
  font-size: 10.5px;
  line-height: 1.35;
  color: #91a0b6;
}
.episode-status {
  grid-column: 2;
  min-width: 0;
}
.status-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: baseline;
}
.status-key, .detail-key {
  font-size: 11.5px;
  font-weight: 700;
  color: #8e9cb2;
  white-space: nowrap;
}
.status-val, .detail-val {
  font-size: 12.5px;
  color: #e2e8f1;
  min-width: 0;
}
.details-block {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 5px 12px;
  align-items: baseline;
}
.timeline-section {
  background:
    linear-gradient(180deg, rgba(255, 194, 71, 0.06), transparent 40%),
    var(--night);
  color: #e8edf5;
  padding: 18px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  font-size: 17px;
  color: var(--headlight);
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.timeline-road {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  align-items: start;
}
.timeline-road::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 10px;
  width: 2px;
  background-image: linear-gradient(180deg, #ffffff 0 12px, transparent 12px 24px);
  background-size: 2px 24px;
  background-repeat: repeat-y;
  opacity: 0.75;
}
.timeline-node {
  position: relative;
  min-width: 0;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.92), rgba(8, 13, 24, 0.92));
  border: 1px solid rgba(255, 194, 71, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 16px;
  left: -26px;
  width: 12px;
  height: 2px;
  background: rgba(255, 194, 71, 0.4);
}
.timeline-headlight {
  position: absolute;
  top: 10px;
  left: -22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6d8, var(--headlight) 55%, #b8791a 100%);
  box-shadow: 0 0 12px 3px var(--headlight-glow);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--headlight);
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.58;
  color: #b9c5d6;
}
.episodes-section {
  background: var(--paper);
  color: var(--ink);
  padding: 18px 16px 20px;
  border-bottom: 1px solid var(--line-dark);
}
.episodes-section .section-heading {
  color: var(--ink);
  border-bottom-color: var(--line-dark);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
.episode-card {
  position: relative;
  min-width: 0;
  padding: 11px 12px 9px;
  background: var(--paper-3);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}
.episode-card:hover {
  box-shadow: 0 8px 20px rgba(27, 31, 38, 0.14);
  transform: translateY(-1px);
}
.episode-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 26px;
  padding: 3px 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  color: var(--headlight);
  background: var(--ink);
  border-bottom-left-radius: 7px;
  letter-spacing: 0.04em;
}
.episode-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding-right: 30px;
  margin-bottom: 4px;
}
.episode-title {
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.episode-duration {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.58;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cast-block .block-heading {
  color: var(--headlight);
}
.comments-section {
  background: var(--paper-2);
  color: var(--ink);
  padding: 18px 16px 20px;
  border-bottom: 1px solid var(--line-dark);
}
.comments-section .section-heading {
  color: var(--ink);
  border-bottom-color: var(--line-dark);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
.comment-card {
  position: relative;
  display: flex;
  gap: 9px;
  min-width: 0;
  padding: 9px 11px 9px 12px;
  background: var(--paper-3);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.comment-stripe {
  flex: 0 0 4px;
  align-self: stretch;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--headlight), #c8801a);
}
.comment-card:nth-child(2n) .comment-stripe {
  background: linear-gradient(180deg, #3f6fa8, #1d3a5c);
}
.comment-card:nth-child(3n) .comment-stripe {
  background: linear-gradient(180deg, #a8453f, #5c1d1d);
}
.comment-body {
  min-width: 0;
}
.comment-author {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.recommend-region {
  background: var(--night);
  color: #e8edf5;
  padding: 16px 16px 18px;
  border-bottom: 1px solid var(--line);
}
.recommend-region:last-of-type {
  border-bottom: 0;
}
.region-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--headlight);
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  margin-bottom: 12px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.region-title::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--headlight);
  box-shadow: 0 0 10px 2px var(--headlight-glow);
}
.region-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
a.rec-item, a.rec-item.rec-item-tall {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px 7px 9px;
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.94), rgba(8, 13, 24, 0.94));
  border: 1px solid rgba(255, 194, 71, 0.16);
  border-radius: var(--radius);
  text-decoration: none;
  color: #dfe7f2;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.rec-item:hover, a.rec-item:focus-visible, a.rec-item.rec-item-tall:hover, a.rec-item.rec-item-tall:focus-visible {
  border-color: var(--headlight);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  background: #050810;
}
.rec-item-tall img {
  aspect-ratio: 3 / 4;
}
.rec-name {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #93a1b6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #04070f;
  color: #8c99ad;
  border-top: 1px solid var(--line);
  padding: 16px 16px 22px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--headlight);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:focus-visible {
  text-decoration: underline;
  color: var(--headlight-soft);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6f7d92;
  max-width: 100ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 194, 71, 0.14);
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #9fb0c6;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7f8ea4;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid rgba(127, 142, 164, 0.24);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--headlight);
  border-color: rgba(255, 194, 71, 0.5);
}
.player-shell.player, .player-shell.fullscreen {
  border-color: var(--headlight);
}
body.theater-mode .movie-overview {
  padding-left: 0;
  padding-right: 0;
}
body.theater-mode .overview-stage {
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
}
body.theater-mode .poster-visual {
  display: none;
}
body.lights-off {
  background: #000;
}
body.lights-off .site-header, body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .recommend-region, body.lights-off .site-footer {
  filter: brightness(0.62);
}
body.lights-off .player-shell {
  filter: none;
  border-color: var(--headlight);
}
.player-shell .input, .player-shell .click {
  outline: 2px solid var(--headlight);
  outline-offset: 1px;
}
.ctrl-btn.play, .ctrl-btn.mute, .ctrl-btn.speed {
  border-color: rgba(255, 194, 71, 0.4);
}
.player .progress, .player .volume, .player .timeupdate {
  accent-color: var(--headlight);
}
@media (max-width: 1100px) {.region-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }}
@media (max-width: 900px) {.overview-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-visual {
    max-width: 320px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-block, .episode-status, .details-block {
    grid-column: 1;
  }
.timeline-road {
    grid-template-columns: minmax(0, 1fr);
  }
.region-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.header-inner {
    gap: 10px;
    padding: 7px 12px;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommend-region, .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
.episodes-grid, .comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.region-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: auto minmax(0, 1fr);
  }
.cast-item {
    width: 78px;
  }
.cast-avatar {
    width: 46px;
    height: 46px;
  }}
@media (max-width: 480px) {.region-body {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-visual {
    max-width: 100%;
  }
.timeline-road {
    padding-left: 26px;
  }
.ctrl-progress {
    flex-basis: 100%;
  }}

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}
