*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, li, dl, dt, dd { margin: 0; padding: 0; }
ul { 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: #0b1114;
  --ink-2: #111a1e;
  --slate: #1b262b;
  --cold: #7fa6ad;
  --cold-bright: #c9e2e4;
  --bone: #e6ecec;
  --ash: #93a3a6;
  --blood: #7c1f26;
  --blood-bright: #a8282f;
  --line: rgba(201, 226, 228, 0.14);
  --line-strong: rgba(201, 226, 228, 0.28);
  --font: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--bone);
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(127, 166, 173, 0.16), transparent 60%),
    radial-gradient(90% 70% at 100% 0%, rgba(124, 31, 38, 0.12), transparent 55%),
    linear-gradient(180deg, #0b1114 0%, #0d1518 40%, #090d10 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
body.lights-out {
  background: #040607;
}
body.theater-mode .site-header, body.theater-mode .site-footer {
  opacity: 0.35;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 14, 17, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-brand {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--cold-bright);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="site-name"] {
  color: var(--cold-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #ffffff;
  border-bottom-color: var(--blood-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ash);
  border: 1px solid var(--line);
  background: rgba(127, 166, 173, 0.05);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #ffffff;
  border-color: var(--blood-bright);
  background: rgba(124, 31, 38, 0.22);
}
.movie-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 28px;
  display: block;
}
section[data-fragment] {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
section[data-fragment]:first-of-type {
  border-top: 0;
  padding-top: 14px;
}
h2 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--cold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.movie-overview {
  position: relative;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-shell {
  position: relative;
  align-self: start;
  background: #060a0c;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(201, 226, 228, 0.28) 0%, rgba(201, 226, 228, 0.02) 44%, rgba(0, 0, 0, 0.86) 70%),
    linear-gradient(200deg, rgba(124, 31, 38, 0.28) 0%, transparent 34%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.poster-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.14) brightness(0.92);
}
.overview-lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.02;
  color: #f2f7f7;
  align-self: flex-start;
  margin-left: clamp(0px, 6vw, 68px);
  margin-top: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  text-shadow: 0 0 22px rgba(127, 166, 173, 0.35);
}
.movie-tagline {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ash);
  margin-left: clamp(0px, 6vw, 68px);
  position: relative;
  padding-left: 14px;
}
.movie-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--blood-bright);
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  background: #05080a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 34px -22px rgba(127, 166, 173, 0.6);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  filter: saturate(0.85) contrast(1.05);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 5px;
  background: linear-gradient(180deg, rgba(27, 38, 43, 0.9), rgba(9, 14, 17, 0.9));
  border-top: 1px solid var(--line);
}
.player-btn {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  color: var(--ash);
  border: 1px solid var(--line);
  background: rgba(127, 166, 173, 0.04);
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.player-btn:hover {
  color: var(--cold-bright);
  border-color: var(--line-strong);
}
.player-btn.is-active, .player-btn.play.is-active, .player-btn.mute.is-active, .player-btn.speed.is-active, .player-btn.pip.is-active, .player-btn.fullscreen.is-active, .player-btn.theater.is-active, .player-btn.light.is-active, .player-btn.volume.is-active {
  color: #ffffff;
  border-color: var(--blood-bright);
  background: rgba(124, 31, 38, 0.42);
}
.cast-section {
  margin-top: 22px;
}
.cast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--slate) transparent;
}
.cast-strip::-webkit-scrollbar {
  height: 4px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--slate);
}
.cast-card {
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(27, 38, 43, 0.45);
  border: 1px solid var(--line);
}
.cast-face {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(70% 55% at 34% 32%, rgba(201, 226, 228, 0.5), transparent 62%),
    linear-gradient(165deg, #24343a 0%, #0d1518 62%, #05080a 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cast-face::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 10, 0.92));
}
.cast-name {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cold-bright);
  padding: 4px 6px 5px;
  text-align: left;
  background: rgba(9, 14, 17, 0.85);
}
.synopsis-section {
  margin-top: 22px;
}
.synopsis-body {
  column-count: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: #c8d4d5;
  margin-bottom: 9px;
  break-inside: avoid;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 18px;
  align-items: start;
}
.episode-status-heading {
  grid-column: 1 / -1;
}
.episode-status-line {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cold-bright);
  padding: 5px 9px;
  background: rgba(127, 166, 173, 0.07);
  border-left: 2px solid var(--blood-bright);
}
.details-section {
  margin-top: 22px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.details-key {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ash);
  padding: 4px 8px 0;
  border-bottom: 0;
}
.details-value {
  font-size: 12.5px;
  color: var(--bone);
  padding: 0 8px 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.timeline-section {
  margin-top: 22px;
}
.timeline-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(201, 226, 228, 0.05) 0 1px, transparent 1px 28px);
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--blood);
}
.timeline-node {
  flex: 0 0 auto;
  width: 168px;
  position: relative;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 13px;
  background: var(--cold);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 13px;
  height: 1px;
  background: var(--cold);
}
.timeline-timecode {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cold);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.45;
  color: #c2cfd0;
  display: block;
}
.timeline-node:nth-child(6), .timeline-node:nth-child(6)::before, .timeline-node:nth-child(6)::after {
  color: var(--blood-bright);
}
.timeline-node:nth-child(6)::before, .timeline-node:nth-child(6)::after {
  background: var(--blood-bright);
}
.timeline-node:nth-child(6) .timeline-label {
  color: #e2c6c8;
}
.timeline-node:nth-child(6) .timeline-timecode {
  color: var(--blood-bright);
}
.timeline-node.is-active::before, .timeline-node.is-active::after {
  background: var(--blood-bright);
}
.timeline-node.is-active .timeline-timecode {
  color: var(--blood-bright);
}
.timeline-node.is-active .timeline-label {
  color: #e8d2d4;
}
.episodes-section {
  margin-top: 22px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.episode-card {
  background: rgba(13, 21, 24, 0.92);
  padding: 8px 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
}
.episode-card:hover {
  background: rgba(27, 38, 43, 0.92);
}
.episode-card.click, .episode-card.is-active {
  background: rgba(124, 31, 38, 0.2);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cold);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #eef4f4;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.52;
  color: #a9b8ba;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px dashed var(--line-strong);
}
.comments-section {
  margin-top: 22px;
}
.comments-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comment-card {
  background: linear-gradient(160deg, rgba(27, 38, 43, 0.96), rgba(11, 17, 20, 0.96));
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--blood);
  padding: 7px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.95);
  transition: transform 0.18s, border-color 0.18s;
}
.comment-card:nth-child(odd) {
  margin-left: 0;
  margin-right: 42px;
}
.comment-card:nth-child(even) {
  margin-left: 42px;
  margin-right: 0;
  margin-top: -12px;
}
.comment-card:nth-child(1) { margin-top: 0; }
.comment-card:nth-child(2) { margin-top: -12px; }
.comment-card:nth-child(3) { margin-top: -12px; }
.comment-card:nth-child(4) { margin-top: -12px; }
.comment-card:nth-child(5) { margin-top: -12px; }
.comment-card:nth-child(6) { margin-top: -12px; }
.comment-card:hover {
  transform: translateY(-2px);
  border-color: var(--cold);
}
.comment-nickname {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--cold-bright);
  display: flex;
  align-items: center;
  gap: 6px;
}
.comment-nickname::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--blood-bright);
  flex: 0 0 auto;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #bcc9ca;
}
.recommend-region {
  margin-top: 22px;
}
.recommend-heading {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--cold);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  writing-mode: horizontal-tb;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: rgba(13, 21, 24, 0.92);
  color: var(--bone);
  text-decoration: none;
  transition: background 0.15s;
  align-self: start;
}
a.recommend-item:hover {
  background: rgba(27, 38, 43, 0.95);
}
[data-runtime="recommendation"] img, .recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  background: #05080a;
  filter: saturate(0.7) contrast(1.1);
  border: 1px solid var(--line);
}
.recommend-name {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #eef4f4;
  line-height: 1.3;
  margin-top: 3px;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: #97a7a9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 14px 26px;
  border-top: 1px solid var(--line-strong);
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #7f8f92;
  max-width: 74ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffffff;
  border-bottom-color: var(--blood-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ash);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #869699;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--cold-bright);
  text-decoration: underline;
  text-decoration-color: var(--blood-bright);
}
body.theater-mode .movie-overview {
  max-width: 100%;
}
body.theater-mode .overview-hero {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .poster-shell {
  max-width: 220px;
}
body.lights-out .player-shell {
  box-shadow: 0 0 0 1px rgba(124, 31, 38, 0.5), 0 0 40px -10px rgba(124, 31, 38, 0.45);
}
@media (max-width: 900px) {.synopsis-body {
    column-count: 1;
    column-rule: 0;
  }}
@media (max-width: 760px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-shell {
    max-width: 210px;
  }
.movie-title, .movie-tagline {
    margin-left: 0;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(odd), .comment-card:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }
.comment-card:nth-child(2), .comment-card:nth-child(3), .comment-card:nth-child(4), .comment-card:nth-child(5), .comment-card:nth-child(6) {
    margin-top: -6px;
  }
.cast-card {
    width: 96px;
  }
.timeline-node {
    width: 150px;
  }}
@media (max-width: 520px) {body {
    font-size: 13.5px;
  }
.header-inner {
    gap: 8px;
    padding: 7px 10px;
  }
.movie-main, .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }
.poster-shell {
    max-width: 172px;
  }
.player-btn {
    font-size: 11px;
    padding: 3px 6px;
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 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}
