*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #1a1008;
  --lacquer: #2a160e;
  --lacquer-deep: #1c0e07;
  --lacquer-mid: #3a1f13;
  --silk: #4a2a18;
  --gold: #b08d4f;
  --gold-dim: #7a6234;
  --gold-bright: #d8b877;
  --gold-pale: #c9a961;
  --paper: #d8c9a4;
  --paper-dark: #b8a67e;
  --red-line: #6b1d1a;
  --red-deep: #4a1310;
  --silver: #c8c4bc;
  --text-main: #c9b998;
  --text-dim: #8a7a5e;
  --text-faint: #6a5c44;
  --gap: 14px;
  --gap-tight: 8px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(90, 50, 20, 0.18), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(60, 30, 12, 0.22), transparent 55%),
    linear-gradient(180deg, #1a1008 0%, #140c06 100%);
  color: var(--text-main);
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--gold-bright); }
button, input { font: inherit; color: inherit; }
ul { list-style: none; }
dl, dd, dt { margin: 0; }
h1, h2, h3 { font-weight: normal; }
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-tight) var(--gap);
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(42, 22, 14, 0.96), rgba(28, 14, 7, 0.92));
  border-bottom: 1px solid var(--gold-dim);
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0.55;
}
.brand-bar { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.site-brand {
  color: var(--gold-bright);
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(176, 141, 79, 0.4);
}
.site-brand:hover { color: var(--gold-pale); text-decoration: none; }
.site-tagline {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.runtime-category {
  color: var(--text-dim);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid rgba(122, 98, 52, 0.45);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(122, 98, 52, 0.12);
  text-decoration: none;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 14px 18px 20px;
  max-width: 100%;
}
.section-heading {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 15px;
  color: var(--gold-pale);
  letter-spacing: 0.22em;
  padding-left: 10px;
  border-left: 2px solid var(--gold);
  margin-bottom: 10px;
  line-height: 1.3;
}
.ledger-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--gap);
  align-items: start;
  margin-bottom: 6px;
}
.ledger-paper {
  position: relative;
  background:
    linear-gradient(135deg, rgba(216, 201, 164, 0.06) 0%, transparent 40%),
    linear-gradient(180deg, #4a2a18 0%, #3a1f13 50%, #2a160e 100%);
  border: 1px solid var(--gold-dim);
  padding: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55), 0 4px 20px rgba(0, 0, 0, 0.5);
}
.ledger-paper::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(122, 98, 52, 0.3);
  pointer-events: none;
}
.ledger-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(107, 29, 26, 0.18) 26px, rgba(107, 29, 26, 0.18) 27px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(107, 29, 26, 0.08) 80px, rgba(107, 29, 26, 0.08) 81px);
  pointer-events: none;
  opacity: 0.7;
}
.ledger-closeup {
  position: relative;
  width: 78%;
  z-index: 2;
}
.ledger-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: sepia(0.35) brightness(0.82) contrast(1.08);
  border: 1px solid rgba(122, 98, 52, 0.5);
}
.ledger-silver-stud {
  position: absolute;
  right: 10%;
  bottom: 12%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  z-index: 3;
  background:
    radial-gradient(circle at 38% 32%, #f2efe8 0%, #c8c4bc 22%, #8a8680 48%, #5c5854 72%, #3a3733 100%);
  box-shadow:
    0 0 18px rgba(200, 196, 188, 0.35),
    inset -3px -3px 8px rgba(0, 0, 0, 0.55),
    inset 3px 3px 6px rgba(255, 255, 255, 0.35);
}
.ledger-silver-stud::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.5), rgba(60,55,50,0.9));
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
}
.ledger-figure-caption {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  right: 14px;
  top: 14px;
  height: auto;
}
.ledger-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 26px;
  color: var(--gold-bright);
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-shadow: 0 0 20px rgba(176, 141, 79, 0.3);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122, 98, 52, 0.3);
}
.movie-seo {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.75;
  text-align: justify;
}
.movie-synopsis { margin-top: 4px; }
.synopsis-para {
  font-size: 12.8px;
  line-height: 1.78;
  color: var(--text-main);
  text-align: justify;
  text-indent: 2em;
  margin-bottom: 5px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: linear-gradient(180deg, rgba(58, 31, 19, 0.5), rgba(42, 22, 14, 0.3));
  border: 1px solid rgba(122, 98, 52, 0.25);
}
.cast-silhouette {
  width: 100%;
  height: 52px;
  display: block;
  background:
    radial-gradient(ellipse 40% 55% at 50% 30%, rgba(122, 98, 52, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(74, 42, 24, 0.6), rgba(28, 14, 7, 0.8));
  border-radius: 50% 50% 12% 12% / 60% 60% 15% 15%;
  border-bottom: 1px solid rgba(176, 141, 79, 0.3);
  position: relative;
}
.cast-silhouette::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 55%;
  background: radial-gradient(ellipse at 50% 100%, rgba(176, 141, 79, 0.28), transparent 75%);
}
.cast-name {
  font-size: 12.5px;
  color: var(--gold-pale);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.cast-relation {
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(42, 22, 14, 0.5);
  border-left: 2px solid var(--gold);
}
.status-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}
.status-value {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 16px;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}
.status-total {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(122, 98, 52, 0.18);
  border: 1px solid rgba(122, 98, 52, 0.18);
}
.detail-row {
  display: flex;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(28, 14, 7, 0.7);
  align-items: baseline;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  min-width: 3.6em;
}
.detail-value {
  font-size: 12px;
  color: var(--text-main);
  letter-spacing: 0.04em;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0a0603;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-shell.is-theater {
  box-shadow: 0 0 40px rgba(176, 141, 79, 0.3);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off video {
  filter: brightness(1.15) contrast(1.05);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(28, 14, 7, 0.95), rgba(20, 12, 6, 0.98));
  border-top: 1px solid rgba(122, 98, 52, 0.35);
}
.player-btn {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid rgba(122, 98, 52, 0.5);
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.player-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(122, 98, 52, 0.15);
}
.player-btn.play, .player-btn.click {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.player-btn.fullscreen, .player-btn.theater, .player-btn.pip, .player-btn.speed {
  font-family: "Songti SC", serif;
}
.player-range {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--gold-dim), rgba(122, 98, 52, 0.25));
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(216, 184, 119, 0.6);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(216, 184, 119, 0.6);
  cursor: pointer;
}
.player-range.progress, .player-range.volume {
  background: linear-gradient(90deg, var(--gold), rgba(122, 98, 52, 0.25));
}
.timeline-band {
  position: relative;
  padding: 14px 0 6px;
  margin-top: 10px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding-top: 24px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  opacity: 0.75;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(216, 184, 119, 0.7);
  border: 1px solid var(--lacquer-deep);
}
.timeline-timecode {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 11.5px;
  color: var(--gold-pale);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 100%;
}
.episode-stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(58, 31, 19, 0.6), rgba(28, 14, 7, 0.85));
  border: 1px solid rgba(122, 98, 52, 0.3);
  border-left: 2px solid var(--gold-dim);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-left-color: var(--gold-bright);
  transform: translateX(2px);
}
.episode-number {
  flex: 0 0 auto;
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 15px;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  padding: 2px 0;
  text-shadow: 0 0 12px rgba(216, 184, 119, 0.5);
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.episode-title {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  color: var(--gold-pale);
  letter-spacing: 0.08em;
}
.episode-summary {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.65;
  text-align: justify;
}
.episode-duration {
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.comments-band { padding-top: 4px; }
.comment-columns {
  columns: 2;
  column-gap: 18px;
}
.comment-item {
  break-inside: avoid;
  position: relative;
  padding: 10px 12px 10px 12px;
  margin-bottom: 12px;
  background: rgba(42, 22, 14, 0.42);
  border-bottom: 1px solid rgba(122, 98, 52, 0.4);
  border-left: 1px solid rgba(122, 98, 52, 0.25);
}
.comment-seal {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: var(--red-line);
  border: 1px solid var(--red-deep);
  box-shadow: 0 0 8px rgba(107, 29, 26, 0.6), inset 0 0 4px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}
.comment-seal::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(216, 184, 119, 0.5);
}
.comment-text {
  font-size: 12.8px;
  line-height: 1.75;
  color: var(--text-main);
  text-align: justify;
  padding-right: 24px;
}
.comment-nickname {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
}
.comment-nickname::before {
  content: "—— ";
  color: var(--text-faint);
}
.rec-region {
  padding-top: 4px;
}
.rec-heading {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  color: var(--gold-pale);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--gold-dim);
}
.rec-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px dashed rgba(122, 98, 52, 0.35);
}
.rec-root {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 9px 4px;
  border-bottom: 1px dashed rgba(122, 98, 52, 0.35);
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.18s ease;
}
.rec-root:hover {
  background: rgba(122, 98, 52, 0.08);
  text-decoration: none;
}
.rec-root img, [data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 72px;
  height: 96px;
  object-fit: cover;
  filter: sepia(0.2) brightness(0.85);
  border: 1px solid rgba(122, 98, 52, 0.4);
}
.rec-root:hover img {
  filter: sepia(0.05) brightness(1);
  border-color: var(--gold);
}
.rec-name {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--gold-pale);
  letter-spacing: 0.08em;
  align-self: end;
}
.rec-blurb {
  grid-column: 2;
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
  align-self: start;
  padding-right: 8px;
}
.rec-root:hover .rec-name { color: var(--gold-bright); }
.rec-root:hover .rec-blurb { color: var(--text-main); }
.site-footer {
  margin-top: 18px;
  padding: 14px 18px 20px;
  background: linear-gradient(180deg, rgba(28, 14, 7, 0.6), rgba(16, 9, 4, 0.95));
  border-top: 1px solid var(--gold-dim);
  font-size: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122, 98, 52, 0.25);
}
.footer-nav a {
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a[data-contract="footer-home"], .footer-nav a[data-contract="footer-sitemap"] {
  color: var(--gold-pale);
}
.footer-nav a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.15em;
  flex: 0 0 auto;
}
.runtime-friend-link {
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.7;
  text-align: justify;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {.ledger-hero {
    grid-template-columns: 1fr;
  }
.ledger-closeup { width: 62%; }
.episode-stream { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
.timeline-track::before { display: none; }
.timeline-node::before { top: -14px; }}
@media (max-width: 640px) {body { font-size: 14px; }
.site-header { padding: 8px 12px; }
.site-brand { font-size: 17px; }
.site-tagline { font-size: 11px; }
.page-main { padding: 10px 12px 16px; gap: 12px; }
.movie-title { font-size: 21px; }
.ledger-closeup { width: 72%; }
.ledger-silver-stud { width: 48px; height: 48px; }
.ledger-figure-caption { font-size: 10px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-list { grid-template-columns: 1fr; }
.player-controls { gap: 5px 6px; padding: 6px 8px; }
.player-btn { font-size: 10.5px; padding: 3px 7px; }
.player-range { flex: 1 1 100%; }
.episode-stream { grid-template-columns: 1fr; }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { columns: 1; }
.rec-root { grid-template-columns: 60px minmax(0, 1fr); }
.rec-root img, [data-runtime="recommendation"] img { max-width: 60px; height: 80px; }
.footer-nav { gap: 6px 12px; }}
@media (max-width: 400px) {.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: 1fr; }
.ledger-closeup { width: 82%; }}
.player-shell .player-btn.mute, .player-shell .player-btn.light, .player-shell .player-btn.is-theater {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(122, 98, 52, 0.18);
}
.data-value {
  font-family: "Courier New", monospace;
  color: var(--gold-pale);
}
.player-shell .volume, .player-shell .speed {
  accent-color: var(--gold-bright);
}
.player-shell.fullscreen {
  width: 100vw;
  height: 100vh;
}
.player-shell.fullscreen video {
  height: calc(100vh - 44px);
  object-fit: contain;
}
.player-shell.theater {
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
}
.player-shell.play .player-btn.play {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.player-shell.mute .player-btn.mute {
  color: var(--red-line);
  border-color: var(--red-line);
}
.player-shell.light .player-btn.light {
  color: var(--gold-bright);
  background: rgba(216, 184, 119, 0.12);
}

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}
