:root {
  --bg-deep: #0e1620;
  --bg-panel: #14202e;
  --bg-panel-2: #182736;
  --bg-cell: #1c2c3d;
  --ink: #e8edf3;
  --ink-dim: #9fb0c2;
  --ink-faint: #6d8093;
  --amber: #e0a53c;
  --amber-soft: #f0c674;
  --amber-deep: #b07c1e;
  --line: #26384b;
  --line-soft: #1e2e3f;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--ink);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 22, 32, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 20px;
}
a[data-contract="site-name"].brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="site-name"].brand:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
}
a.runtime-category:hover {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
  background: var(--bg-panel-2);
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 0 28px;
}
.block {
  margin-top: 22px;
}
.block-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 20px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  position: relative;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 3px;
  height: 15px;
  background: var(--amber);
}
.block-title {
  padding-left: 12px;
}
.hero-section {
  padding: 0 20px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0 6px;
}
.hero-figures {
  position: relative;
  display: block;
  min-height: 340px;
}
.figure-role {
  position: absolute;
  margin: 0;
}
.figure-lu {
  left: 0;
  top: 0;
  width: 58%;
  z-index: 3;
}
.figure-lu img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: saturate(0.92) contrast(1.04);
}
.figure-zhu {
  left: 38%;
  top: 16%;
  width: 46%;
  z-index: 2;
}
.figure-ke {
  right: 0;
  bottom: 0;
  width: 42%;
  z-index: 4;
}
.figure-zhu .figure-caption, .figure-ke .figure-caption {
  display: block;
  background: var(--bg-panel-2);
  border-left: 3px solid var(--amber-deep);
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-dim);
  box-shadow: var(--shadow);
}
.figure-ke .figure-caption {
  border-left-color: var(--amber);
  color: var(--ink);
}
.figure-caption {
  font-size: 12px;
  color: var(--ink-faint);
}
.figure-lu .figure-caption {
  margin-top: 6px;
  padding-left: 2px;
  letter-spacing: 0.04em;
}
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.movie-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
}
.movie-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-soft);
  letter-spacing: 0.05em;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn-primary, .btn-ghost {
  border-radius: 2px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: #10161e;
}
.btn-primary:hover {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.btn-ghost:hover {
  border-color: var(--amber-deep);
  color: var(--amber-soft);
}
.btn-primary.is-active, .btn-ghost.is-active {
  background: var(--bg-panel-2);
  border-color: var(--amber);
  color: var(--amber-soft);
}
.player-shell {
  margin-top: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}
.player-frame {
  width: 100%;
  background: #000;
  line-height: 0;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-panel-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  background: var(--bg-cell);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.ctrl-btn:hover {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
}
.ctrl-btn.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #10161e;
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
.ctrl-select {
  background: var(--bg-cell);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.synopsis-body {
  margin: 0 20px;
  padding: 12px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber-deep);
  border-radius: 3px;
  columns: 2;
  column-gap: 26px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 9px;
  break-inside: avoid;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 20px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}
.cast-avatar {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, var(--amber-soft) 0%, var(--amber-deep) 42%, var(--bg-cell) 78%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px var(--bg-deep);
}
.cast-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  text-align: center;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 20px;
  align-items: stretch;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  flex: 0 1 auto;
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-soft);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 18px;
  margin: 0 20px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
  margin: 0;
}
.block-timeline {
  margin-top: 24px;
}
.filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 20px 18px;
  margin: 0;
  background:
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 14px),
    var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) var(--bg-panel);
}
.filmstrip::-webkit-scrollbar {
  height: 8px;
}
.filmstrip::-webkit-scrollbar-track {
  background: var(--bg-panel-2);
}
.filmstrip::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
  border-radius: 4px;
}
.film-cell {
  flex: 0 0 auto;
  width: 152px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  background: var(--bg-cell);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
}
.film-cell::before, .film-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(224, 165, 60, 0.55) 0 5px, transparent 5px 11px);
  opacity: 0.5;
}
.film-cell::before {
  top: 0;
}
.film-cell::after {
  bottom: 0;
}
.film-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
}
.film-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-dim);
}
.film-cell-active, .film-cell.is-current {
  background: var(--bg-panel-2);
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 6px 18px rgba(224, 165, 60, 0.16);
}
.film-cell-active .film-timecode, .film-cell.is-current .film-timecode {
  color: var(--amber);
}
.film-cell-active .film-label, .film-cell.is-current .film-label {
  color: var(--ink);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 20px;
}
.episode-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 2px;
  padding: 8px 11px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-left-color: var(--amber-deep);
  background: var(--bg-panel-2);
}
.episode-heading {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-faint);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary, .episode-card-active .episode-summary, .episode-card.is-open .episode-summary {
  max-height: 130px;
  opacity: 1;
  margin-top: 6px;
}
.episode-card-active, .episode-card.is-open {
  border-left-color: var(--amber);
  background: var(--bg-panel-2);
}
.episode-card-active .episode-heading, .episode-card.is-open .episode-heading {
  color: var(--amber-soft);
}
.comment-masonry {
  columns: 2;
  column-gap: 10px;
  margin: 0 20px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
.comment-card:nth-child(odd) {
  transform: translateY(10px);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 800;
  color: var(--amber-soft);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.comment-nickname::before {
  content: "▍";
  color: var(--amber-deep);
  margin-right: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.block-recommend {
  margin-top: 24px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 20px;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  height: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--amber-deep);
  background: var(--bg-panel-2);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: var(--bg-cell);
  filter: saturate(0.9);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
.block-recommend-1 .block-title::before {
  background: var(--amber);
}
.block-recommend-2 .block-title::before {
  background: var(--ink-dim);
}
.block-recommend-3 .block-title::before {
  background: var(--amber-deep);
}
.site-footer {
  margin-top: 26px;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber-soft);
  text-decoration: none;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  border-bottom-color: var(--amber-deep);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 90ch;
}
body.is-theater .player-shell {
  width: 100%;
  margin-left: 0;
}
body.is-theater .hero-figures {
  opacity: 0.4;
}
body.is-lights-off {
  background: #070b11;
}
body.is-lights-off .hero-section, body.is-lights-off .block {
  opacity: 0.88;
}
body.is-lights-off .player-shell {
  box-shadow: 0 0 0 1px var(--amber-deep), 0 10px 40px rgba(0, 0, 0, 0.8);
}
video.is-playing {
  outline: 1px solid var(--amber-deep);
}
video.is-muted {
  opacity: 0.96;
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figures {
    min-height: 300px;
  }
.synopsis-body {
    columns: 1;
  }
.comment-masonry {
    columns: 2;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.header-inner {
    padding: 8px 14px;
    gap: 12px;
  }
.hero-section, .block-title, .synopsis-body, .cast-row, .status-list, .details-grid, .episode-grid, .comment-masonry, .recommend-list {
    margin-left: 14px;
    margin-right: 14px;
  }
.filmstrip {
    padding-left: 14px;
    padding-right: 14px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-card:nth-child(odd) {
    transform: none;
  }
.movie-title {
    font-size: 24px;
  }}
@media (max-width: 560px) {body {
    font-size: 14px;
  }
.hero-figures {
    min-height: 250px;
  }
.figure-lu {
    width: 62%;
  }
.figure-zhu {
    left: 40%;
    width: 48%;
  }
.figure-ke {
    width: 46%;
  }
.player-controls {
    gap: 6px;
    padding: 7px 8px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
.ctrl-range {
    flex: 1 1 100%;
    order: 5;
  }
.cast-avatar {
    width: 46px;
    height: 46px;
  }
.comment-masonry {
    columns: 1;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 14px 14px 20px;
  }}

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}
