:root {
  --ink: #0b1416;
  --ink-2: #101d1f;
  --ink-3: #16282a;
  --line: #24413f;
  --line-soft: #1c3332;
  --mist: #cfd9d4;
  --mist-dim: #97a8a2;
  --mist-faint: #6d8079;
  --warm: #f3ead7;
  --warm-2: #e7d9b4;
  --glow: #f0d99a;
  --glow-soft: rgba(240, 217, 154, 0.14);
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    linear-gradient(180deg, #0a1214 0%, #0c1618 40%, #0a1315 100%);
  color: var(--mist);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 17, 19, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.header-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(240, 217, 154, 0.18);
}
a[data-contract="site-name"]:hover {
  color: var(--glow);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--mist-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--glow);
  border-color: var(--glow-soft);
  background: rgba(240, 217, 154, 0.06);
}
.movie-detail {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 44px;
  display: block;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas:
    "figure copy details"
    "figure synopsis details"
    "cast cast cast";
  grid-template-rows: auto auto auto;
  gap: 14px 18px;
  padding: 22px 0 26px;
  align-items: start;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 12px 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      102deg,
      rgba(207, 217, 212, 0.055) 0 1px,
      transparent 1px 7px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}
.hero-figure {
  grid-area: figure;
  position: relative;
  align-self: start;
}
.poster-column {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.9);
}
.poster-column img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.02) brightness(0.94);
}
.poster-column::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(240, 217, 154, 0.07), transparent 42%),
    linear-gradient(0deg, rgba(6, 12, 13, 0.55), transparent 46%);
}
.hero-copy {
  grid-area: copy;
  min-width: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm);
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist-dim);
  letter-spacing: 0.04em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.player-frame {
  position: relative;
  width: 100%;
  background: #050c0d;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px -24px rgba(0, 0, 0, 0.95);
}
.player-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #04090a;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(18, 33, 35, 0.95), rgba(11, 20, 22, 0.98));
  border-top: 1px solid var(--line-soft);
}
.player-controls button, .player-controls select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--mist-dim);
  font-size: 12px;
  line-height: 1.3;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-controls button:hover, .player-controls select:hover {
  color: var(--glow);
  border-color: var(--glow-soft);
  background: rgba(240, 217, 154, 0.07);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 120px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--glow-soft), var(--line));
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 64px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glow);
  border: none;
  box-shadow: 0 0 8px rgba(240, 217, 154, 0.5);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--glow);
}
.ctrl-speed {
  padding-right: 4px;
}
.player-frame.is-theater {
  box-shadow: 0 0 0 1px var(--glow-soft), 0 24px 50px -30px rgba(0, 0, 0, 1);
}
.player-frame.is-lights-off {
  background: #000;
}
.player-frame.is-lights-off video {
  filter: brightness(1.06);
}
.ctrl-play.is-playing {
  color: var(--glow);
  border-color: var(--glow-soft);
}
.ctrl-mute.is-muted {
  color: var(--warm-2);
  border-color: var(--glow-soft);
}
.ctrl-theater.is-active, .ctrl-light.is-active, .ctrl-fullscreen.is-fullscreen {
  color: var(--glow);
  border-color: var(--glow-soft);
  background: rgba(240, 217, 154, 0.08);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding-top: 2px;
}
.status-current, .status-total {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: 2px;
}
.status-current {
  color: var(--glow);
  background: rgba(240, 217, 154, 0.08);
  border: 1px solid var(--glow-soft);
}
.status-total {
  color: var(--mist-faint);
  border: 1px solid var(--line-soft);
}
.detail-strip {
  grid-area: details;
  align-self: start;
  min-width: 0;
  padding: 12px 13px;
  background: linear-gradient(180deg, rgba(22, 40, 42, 0.85), rgba(14, 26, 28, 0.9));
  border: 1px solid var(--line);
}
.strip-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-2);
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 8px;
  padding: 3.5px 0;
  font-size: 12.5px;
  line-height: 1.5;
  border-bottom: 1px dashed rgba(36, 65, 63, 0.55);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row dt {
  color: var(--mist-faint);
  letter-spacing: 0.08em;
}
.detail-row dd {
  color: var(--mist);
  min-width: 0;
  word-break: break-word;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  align-self: start;
}
.block-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--warm-2);
  padding-bottom: 6px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
}
.synopsis-lead {
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
  padding-left: 11px;
  border-left: 2px solid rgba(240, 217, 154, 0.35);
  margin-bottom: 9px;
}
.synopsis-paragraphs {
  display: grid;
  gap: 6px;
}
.synopsis-paragraphs p {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--mist-dim);
  text-indent: 2em;
}
.cast-block {
  grid-area: cast;
  min-width: 0;
  padding-top: 4px;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 9px;
  background: rgba(22, 40, 42, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.cast-card::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--glow);
  opacity: 0.55;
  flex: none;
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
}
.section-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--warm-2);
  padding-bottom: 7px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 1px;
  background: var(--glow);
  opacity: 0.7;
}
.timeline-section {
  padding: 30px 0 26px;
  border-top: 1px solid var(--line-soft);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 4%, var(--line) 96%, transparent);
}
.timeline-node {
  position: relative;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--glow);
  box-shadow: 0 0 10px rgba(240, 217, 154, 0.35);
}
.node-timecode {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--glow);
}
.node-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  color: var(--mist-dim);
  max-height: 15em;
  padding: 2px 0;
  transition: color 0.2s ease;
}
.timeline-node:nth-child(even) .node-label {
  margin-top: 14px;
}
.timeline-node:nth-child(3n) .node-label {
  margin-top: 6px;
}
.timeline-node:hover .node-label {
  color: var(--warm);
}
.episodes-section {
  padding: 8px 0 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title duration"
    "num summary summary";
  column-gap: 10px;
  row-gap: 2px;
  align-items: baseline;
  padding: 8px 11px;
  background: rgba(19, 34, 36, 0.55);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(240, 217, 154, 0.22);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  background: rgba(26, 45, 47, 0.72);
  border-left-color: var(--glow);
}
.episode-number {
  grid-area: num;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--glow);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: duration;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--mist-faint);
  white-space: nowrap;
}
.comments-section {
  padding: 8px 0 26px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.comment-item {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(36, 65, 63, 0.5);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-nickname {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--glow);
  margin-bottom: 2px;
}
.comment-nickname::after {
  content: " ·";
  color: var(--line);
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist-dim);
}
.rec-strip {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line-soft);
}
.rec-strip:first-of-type {
  border-top: none;
}
.rec-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-2);
  text-align: left;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid rgba(240, 217, 154, 0.5);
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 11px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
  background: rgba(19, 34, 36, 0.5);
  border: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover {
  border-color: var(--glow-soft);
  background: rgba(28, 48, 50, 0.72);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a1315;
  filter: saturate(0.75) brightness(0.92);
}
.rec-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--warm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mist-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 20, 22, 0.6), #070f10);
}
.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: grid;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mist-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--glow);
  border-bottom-color: var(--glow-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(36, 65, 63, 0.6);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--warm-2);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mist-faint);
  opacity: 0.85;
  max-width: 72ch;
}
.play.is-active, .pause.is-active, .mute.is-active, .volume.is-active, .progress.is-active, .speed.is-active, .pip.is-active, .theater.is-active, .light.is-active, .fullscreen.is-active, .click.is-active, .change.is-active, .input.is-active, .timeupdate.is-active {
  outline: none;
}
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    grid-template-areas:
      "figure copy"
      "details details"
      "synopsis synopsis"
      "cast cast";
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
.rec-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 820px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "copy"
      "details"
      "synopsis"
      "cast";
    gap: 14px;
  }
.poster-column {
    max-width: 260px;
  }
.movie-title {
    font-size: 25px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    padding-top: 0;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    padding-top: 16px;
  }
.node-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
    letter-spacing: 0.06em;
  }
.timeline-node:nth-child(even) .node-label, .timeline-node:nth-child(3n) .node-label {
    margin-top: 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.rec-row {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }}
@media (max-width: 560px) {.header-shell {
    padding: 8px 12px;
    gap: 10px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.movie-detail {
    padding: 0 12px 34px;
  }
.hero-stage {
    padding: 16px 0 20px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 22px;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.player-controls button, .player-controls select {
    font-size: 11.5px;
    padding: 4px 7px;
  }
.ctrl-progress {
    order: -1;
    flex: 1 1 100%;
    min-width: 0;
  }
.ctrl-volume {
    flex: 1 1 90px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num duration"
      "summary summary";
  }
.episode-duration {
    white-space: normal;
  }
.rec-row {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 9px;
  }
.footer-shell {
    padding: 16px 12px 22px;
  }}
@media (max-width: 400px) {.rec-row {
    grid-template-columns: minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    aspect-ratio: 16 / 9;
  }}

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}
