:root {
  --ink: #0a0c14;
  --ink-2: #10131f;
  --ink-3: #161a29;
  --indigo: #34406b;
  --indigo-deep: #1c2444;
  --mist: #8d97b4;
  --mist-soft: #b6bed4;
  --paper: #e8e6df;
  --paper-dim: #cfcdc5;
  --wound: #8c2f33;
  --wound-soft: #6d2429;
  --line: rgba(141, 151, 180, 0.22);
  --line-soft: rgba(141, 151, 180, 0.12);
  --font-title: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  --font-body: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--ink);
  color: var(--mist-soft);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.97), rgba(10, 12, 20, 0.9));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--mist);
}
.category-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(52, 64, 107, 0.18);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--mist);
  background: rgba(52, 64, 107, 0.42);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "breath figure"
    "copy   figure"
    "player player"
    "status status"
    "cast   cast"
    "syn    det";
  gap: 14px 18px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
}
.hero-stage {
  display: contents;
}
.hero-figure {
  grid-area: figure;
  position: relative;
  align-self: start;
  width: 100%;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.06) brightness(0.82);
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(28, 36, 68, 0.55) 0%, rgba(10, 12, 20, 0) 45%),
    linear-gradient(0deg, rgba(10, 12, 20, 0.72) 0%, rgba(10, 12, 20, 0) 38%);
  mix-blend-mode: multiply;
}
.hero-breath {
  grid-area: breath;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
  border-left: 1px solid var(--line-soft);
  padding-left: 10px;
}
.breath-line {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.5;
  color: var(--mist);
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.breath-line:nth-child(4), .breath-line:nth-child(8) {
  color: var(--wound);
  opacity: 0.95;
}
.hero-copy {
  grid-area: copy;
  align-self: end;
  padding-right: 4px;
}
.movie-title {
  font-size: 26px;
  color: var(--paper);
  margin-bottom: 6px;
}
.movie-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mist-soft);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--wound);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  max-width: 46ch;
}
.player-shell {
  grid-area: player;
  width: 100%;
  min-width: 0;
  background: #05060b;
  border: 1px solid var(--line);
  padding: 6px;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid var(--line-soft);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.player-btn {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--mist-soft);
  background: rgba(52, 64, 107, 0.28);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.player-btn:hover {
  background: rgba(52, 64, 107, 0.6);
  color: var(--paper);
}
.player-btn.is-active {
  color: var(--paper);
  border-color: var(--wound);
  background: rgba(140, 47, 51, 0.32);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--wound);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  accent-color: var(--indigo);
  cursor: pointer;
}
.player-speed {
  font-family: var(--font-title);
  font-size: 11px;
  background: rgba(52, 64, 107, 0.28);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 4px;
  cursor: pointer;
}
.player-speed option {
  background: var(--ink-2);
  color: var(--mist-soft);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: baseline;
  padding: 6px 10px;
  background: rgba(52, 64, 107, 0.2);
  border-left: 2px solid var(--indigo);
}
.status-line {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--mist-soft);
  letter-spacing: 0.06em;
}
.cast-panel {
  grid-area: cast;
  align-self: start;
  padding-top: 4px;
}
.panel-heading {
  font-size: 12px;
  color: var(--paper);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 1px;
  background: var(--wound);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  background: rgba(22, 26, 41, 0.72);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--indigo);
  min-width: 0;
}
.cast-name {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.cast-label {
  font-size: 10px;
  color: var(--mist);
  line-height: 1.35;
}
.synopsis-panel {
  grid-area: syn;
  align-self: start;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.62;
  color: var(--mist-soft);
  margin-bottom: 7px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-panel {
  grid-area: det;
  align-self: start;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 8px;
  background: var(--ink-2);
  min-width: 0;
}
.detail-row dt {
  font-family: var(--font-title);
  font-size: 10px;
  color: var(--mist);
  white-space: nowrap;
  flex: 0 0 auto;
  letter-spacing: 0.06em;
}
.detail-row dd {
  font-size: 12px;
  color: var(--paper);
  flex: 1 1 auto;
  min-width: 0;
}
.section-heading {
  font-size: 15px;
  color: var(--paper);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: var(--wound);
}
.timeline-section {
  padding: 4px 0 6px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.timeline-node {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 6px 0 6px 14px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--indigo);
  border: 1px solid var(--mist);
  transform: rotate(45deg);
}
.timeline-node:nth-child(5)::before, .timeline-node:nth-child(6)::before {
  background: var(--wound);
  border-color: var(--mist-soft);
}
.timeline-code {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  color: var(--mist-soft);
  line-height: 1.5;
}
.episodes-section {
  padding: 4px 0 6px;
}
.episode-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px;
  background: var(--ink-2);
  min-width: 0;
  position: relative;
}
.episode-number {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.02em;
  line-height: 1;
}
.episode-title {
  font-size: 12px;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.episode-title::before {
  content: "— ";
  color: var(--wound);
  font-weight: 400;
}
.episode-summary {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--mist);
  flex: 1 1 auto;
}
.episode-duration {
  font-family: var(--font-title);
  font-size: 10px;
  color: var(--mist);
  opacity: 0.7;
  padding-top: 3px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  padding: 4px 0 6px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--indigo);
  min-width: 0;
}
.comment-note:nth-child(2n) {
  transform: translateY(9px) rotate(-0.5deg);
  border-left-color: var(--wound-soft);
}
.comment-note:nth-child(3n) {
  transform: translateY(-5px) rotate(0.4deg);
  border-left-color: var(--mist);
}
.comment-note:nth-child(5n) {
  transform: translateY(5px) rotate(-0.3deg);
}
.comment-nick {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--paper);
  letter-spacing: 0.03em;
}
.comment-nick::before {
  content: "▍";
  color: var(--wound);
  margin-right: 4px;
  font-size: 9px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--mist-soft);
}
.rec-region {
  padding: 4px 0 6px;
}
.rec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.rec-head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: var(--indigo);
}
.rec-title {
  font-size: 14px;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.rec-count {
  font-family: var(--font-title);
  font-size: 11px;
  color: var(--mist);
  white-space: nowrap;
  flex: 0 0 auto;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--mist-soft);
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  padding: 5px;
  min-width: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}
a.rec-item:hover {
  border-color: var(--indigo);
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.88);
  background: var(--ink-3);
}
a.rec-item [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 11.5px;
  color: var(--paper);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
a.rec-item [data-runtime="blurb"] {
  font-size: 10px;
  line-height: 1.45;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 11.5px;
  color: var(--mist-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-bottom-color: var(--wound);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
  padding: 7px 9px;
  background: rgba(22, 26, 41, 0.6);
  border: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 10.5px;
  color: var(--mist);
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--wound);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(141, 151, 180, 0.7);
  max-width: 92ch;
}
body.is-lights-off {
  background: #030409;
}
body.is-lights-off .hero-poster, body.is-lights-off [data-runtime="recommendation"] img {
  filter: brightness(0.62) saturate(0.6);
}
.player-shell.is-theater {
  border-color: var(--wound);
  box-shadow: 0 0 0 1px rgba(140, 47, 51, 0.4);
}
.player-shell.is-theater .main-player {
  max-height: 78vh;
}
@media (max-width: 1024px) {.episode-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "copy"
      "breath"
      "player"
      "status"
      "cast"
      "syn"
      "det";
    gap: 12px;
  }
.hero-figure {
    max-width: 340px;
  }
.hero-breath {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px 12px;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding-left: 0;
    padding-top: 7px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-panel, .details-panel {
    max-width: none;
  }}
@media (max-width: 600px) {.page-main {
    padding: 0 11px 22px;
    gap: 18px;
  }
.header-inner {
    padding: 7px 11px;
    gap: 10px;
  }
.hero-section {
    padding: 12px 0 16px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(5n) {
    transform: none;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 20px;
  }
.site-footer {
    padding: 12px 11px 20px;
  }}
@media (max-width: 420px) {.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.player-progress {
    flex: 1 1 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}
