:root {
  --ink: #0b0d10;
  --ink-soft: #12151a;
  --panel: #161a20;
  --panel-2: #1c2129;
  --line: #2a3038;
  --line-strong: #3a424d;
  --gold: #c9a24a;
  --gold-bright: #e6c476;
  --gold-deep: #8a6c28;
  --jade: #6f8b8f;
  --jade-deep: #3d5357;
  --text: #e8e4da;
  --text-dim: #a8a294;
  --text-mute: #726d63;
  --warm: #d8b98a;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, figure, figcaption, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(201, 162, 74, 0.10), transparent 62%),
    radial-gradient(900px 520px at 8% 12%, rgba(111, 139, 143, 0.10), transparent 60%),
    var(--ink);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold-bright); text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid var(--gold-deep);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #fff; border-bottom-color: var(--gold-bright); }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--line-strong);
  background: var(--panel);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.block-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
  line-height: 1.3;
}
.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink-soft) 100%);
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 340px at 18% 20%, rgba(201, 162, 74, 0.18), transparent 70%),
    radial-gradient(480px 300px at 86% 12%, rgba(111, 139, 143, 0.20), transparent 72%),
    linear-gradient(115deg, rgba(138, 108, 40, 0.10) 0%, transparent 45%, rgba(61, 83, 87, 0.16) 100%);
  opacity: 0.9;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 162, 74, 0.07) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(111, 139, 143, 0.05) 0 1px, transparent 1px 46px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-column { min-width: 0; }
.poster-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(201, 162, 74, 0.14);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.04);
}
.poster-caption {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-align: center;
  padding: 6px 4px;
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.10), transparent);
  border-top: 1px solid var(--line);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: #f3ecdc;
  text-shadow: 0 2px 18px rgba(201, 162, 74, 0.25);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 4px 10px;
  border-left: 2px solid var(--gold-deep);
  background: linear-gradient(90deg, rgba(201, 162, 74, 0.10), transparent);
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-dim);
  text-align: justify;
  max-width: 78ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.episode-status span {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text-dim);
  white-space: nowrap;
}
.status-current {
  color: var(--ink) !important;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold)) !important;
  border-color: var(--gold-deep) !important;
  font-weight: 700;
}
.status-total { color: var(--text) !important; }
.status-platform {
  color: var(--jade) !important;
  border-color: var(--jade-deep) !important;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.hero-actions button {
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .12s ease;
}
.hero-actions button:hover { border-color: var(--gold); color: var(--gold-bright); }
.hero-actions button:active { transform: translateY(1px); }
.btn-play {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold)) !important;
  border-color: var(--gold-deep) !important;
  color: #17130a !important;
  font-weight: 700;
}
.btn-play:hover { filter: brightness(1.08); }
.btn-theater {
  border-color: var(--jade-deep) !important;
  color: var(--jade) !important;
}
.btn-theater:hover { color: #eaf3f3 !important; background: var(--jade-deep) !important; }
.btn-light.is-active, .btn-theater.is-active, .hero-actions button.is-active {
  border-color: var(--gold) !important;
  color: var(--gold-bright) !important;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.35);
}
.player-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.player-shell video {
  width: 100%;
  height: auto;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--ink-soft);
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .14s ease, border-color .14s ease;
}
.player-controls button:hover { color: var(--gold-bright); border-color: var(--gold); }
.player-controls button.is-active { color: var(--gold-bright); border-color: var(--gold); background: rgba(201, 162, 74, 0.12); }
.player-controls button.play { color: var(--gold-bright); }
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  flex: 1 1 120px;
  min-width: 90px;
  cursor: pointer;
}
.player-controls input[type="range"]:first-of-type { flex: 3 1 180px; }
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid var(--gold-deep);
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--gold-bright);
}
.player-shell.is-theater { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.4), 0 18px 44px rgba(0, 0, 0, 0.6); }
.player-shell.is-playing .player-controls { border-top-color: var(--gold-deep); }
body.lights-off .site-header, body.lights-off .site-footer { opacity: 0.42; }
body.lights-off .hero-backdrop { opacity: 0.35; }
body.lights-off .player-shell { box-shadow: 0 0 0 1px var(--gold), 0 0 60px rgba(201, 162, 74, 0.22); }
.cast-block { position: relative; z-index: 1; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-deep);
  border-radius: 2px;
  background: var(--panel);
  min-width: 0;
}
.cast-card:hover { border-left-color: var(--gold-bright); background: var(--panel-2); }
.cast-avatar {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.cast-name {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0e9da;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-tag {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block { position: relative; z-index: 1; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-dim);
  text-align: justify;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.synopsis-para:first-child { border-top: none; padding-top: 0; }
.synopsis-para:nth-child(2) { border-top: none; padding-top: 0; }
.synopsis-para::first-letter { color: var(--gold); font-weight: 700; }
.details-block { position: relative; z-index: 1; }
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
  overflow: hidden;
}
.detail-key, .detail-value {
  padding: 7px 11px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  color: var(--text-mute);
  letter-spacing: 0.1em;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}
.detail-value {
  color: var(--text);
  border-right: 1px solid var(--line);
}
.detail-value:nth-of-type(3n) { border-right: none; }
.timeline-section {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--panel), var(--ink-soft));
  padding: 14px 14px 16px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar { height: 7px; }
.timeline-scroll::-webkit-scrollbar-track { background: var(--ink); }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 100%;
  width: max-content;
  padding: 4px 2px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 158px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px 0 0;
}
.node-time {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}
.node-line {
  position: relative;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--line-strong));
  margin: 2px 0 4px;
}
.node-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  background: var(--gold-bright);
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.18);
}
.node-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  padding-right: 6px;
}
.episodes-section {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  padding: 14px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-soft);
  min-width: 0;
}
.episode-row:hover { border-color: var(--line-strong); background: var(--panel-2); }
.episode-number {
  grid-row: 1 / 3;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.1em;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border-radius: 2px;
  padding: 4px 3px;
  min-width: 22px;
}
.episode-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #efe7d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-column: 2 / 3;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-mute);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.episode-duration {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--jade);
  white-space: nowrap;
  border: 1px solid var(--jade-deep);
  border-radius: 2px;
  padding: 1px 6px;
}
.dual-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.comments-section, .recommend-region {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  padding: 14px;
}
.comment-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.comment-card {
  padding: 8px 10px;
  border-left: 2px solid var(--jade-deep);
  border-radius: 2px;
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.comment-card:hover { border-left-color: var(--gold); }
.comment-nick {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.recommend-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.recommend-region { padding: 12px; }
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ink-soft);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color .16s ease, background .16s ease, transform .14s ease;
}
a.recommend-card:hover {
  border-color: var(--gold);
  background: var(--panel-2);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--ink);
  filter: saturate(0.94);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ece4d4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-mute);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.breath-space {
  height: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.05), transparent 70%);
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-mute);
  max-width: 74ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-mute);
  text-decoration: none;
  white-space: nowrap;
  transition: color .14s ease;
}
a.runtime-friend-link:hover { color: var(--gold-bright); text-decoration: underline; }
@media (max-width: 1024px) {.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-value:nth-of-type(3n) { border-right: 1px solid var(--line); }
.detail-value:nth-of-type(2n) { border-right: none; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.episode-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 860px) {.hero-grid { grid-template-columns: minmax(0, 1fr); }
.poster-frame { max-width: 260px; }
.dual-column { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 14px; }
.page-main { padding: 12px 10px 0; gap: 18px; }
.hero-shell { padding: 12px; gap: 14px; }
.header-inner { padding: 8px 10px; }
a[data-contract="site-name"] { font-size: 17px; }
.block-title { font-size: 16px; margin-bottom: 9px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.detail-key, .detail-value { border-right: none; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls button { padding: 5px 8px; font-size: 11.5px; }
.player-controls input[type="range"] { flex: 1 1 100%; }
.breath-space { height: 22px; }
.timeline-node { width: 142px; }}
@media (max-width: 420px) {.cast-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.hero-actions button { flex: 1 1 auto; text-align: center; }}
@media (min-width: 1180px) {.page-main { padding-top: 22px; }}

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}
