:root {
  --ink: #0c0d0f;
  --ink-2: #121317;
  --ink-3: #17181d;
  --line: #2a2b31;
  --line-soft: #202127;
  --gold: #b8944d;
  --gold-dim: #7d6633;
  --gold-bright: #d8b566;
  --text: #d6d3cc;
  --text-dim: #8e8b84;
  --text-faint: #63615c;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li, figure, figcaption {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 13, 15, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 18px;
}
.site-brand {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.32em;
  color: var(--gold-bright);
  white-space: nowrap;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f0d698;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: var(--ink-2);
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: #1b1a16;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading, .panel-heading, .rec-heading {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.3em;
  line-height: 1.3;
}
.section-heading {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 58px;
  height: 1px;
  background: var(--gold);
}
.panel-heading {
  font-size: 14px;
  margin-bottom: 10px;
}
.rec-heading {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--gold);
}
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(184, 148, 77, 0.09), transparent 55%),
    linear-gradient(180deg, var(--ink-2), #0e0f12);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to top, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0) 62%),
    repeating-linear-gradient(
      90deg,
      transparent 0 34px,
      rgba(0, 0, 0, 0.55) 34px 40px,
      transparent 40px 42px
    );
  background-size: 100% 100%, 260px 100%;
  background-position: 0 100%, 0 100%;
  opacity: 0.5;
  z-index: 0;
}
.hero-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  background:
    linear-gradient(to top, #08090b 0%, rgba(8, 9, 11, 0.82) 40%, transparent 100%),
    conic-gradient(from 200deg at 22% 100%, rgba(0,0,0,.85) 0 12%, transparent 12% 100%);
  z-index: 0;
}
.hero-media, .hero-copy {
  position: relative;
  z-index: 1;
}
.hero-media {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 8px;
  align-self: start;
  width: 100%;
  max-width: 340px;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  display: block;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
}
.hero-media-caption {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  text-align: center;
  padding: 2px 0 4px;
  border-top: 1px solid var(--line-soft);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-kicker {
  font-size: 11.5px;
  letter-spacing: 0.34em;
  color: var(--gold);
  padding-left: 12px;
  border-left: 2px solid var(--gold-dim);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.22;
  color: #ece7dc;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.hero-tagline {
  position: relative;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  line-height: 2;
  padding-left: 14px;
  border-left: 1px solid var(--gold-dim);
  max-width: 30em;
}
.hero-seo {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 46em;
  text-align: justify;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
a.btn-primary {
  display: inline-block;
  padding: 8px 22px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #14120c;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
  text-decoration: none;
  transition: filter .18s, transform .18s;
}
a.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
a.btn-ghost {
  display: inline-block;
  padding: 8px 22px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold-dim);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
a.btn-ghost:hover {
  background: rgba(184, 148, 77, 0.12);
  border-color: var(--gold);
  color: #f0d698;
}
.hero-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  margin-top: 4px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(18, 19, 23, 0.86);
  font-size: 12.5px;
  min-width: 0;
}
.detail-item dt {
  color: var(--text-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-item dd {
  color: var(--text);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.status-current, .status-total, .status-progress {
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--text-dim);
  white-space: nowrap;
}
.status-current {
  color: #14120c;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-color: var(--gold);
  font-weight: 600;
}
.status-total {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.player-panel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #08090b;
  border: 1px solid var(--line);
  transition: background .25s;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--ink-3);
  border: 1px solid var(--line);
  cursor: pointer;
  white-space: nowrap;
  transition: color .16s, border-color .16s, background .16s;
}
.ctrl-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.ctrl-btn.is-active {
  color: #14120c;
  background: var(--gold);
  border-color: var(--gold-bright);
}
.ctrl-btn.is-playing {
  color: #14120c;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.ctrl-btn.is-muted {
  color: #c96a5a;
  border-color: #6d3a33;
}
.ctrl-range {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 0;
  cursor: pointer;
  accent-color: var(--gold);
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: var(--gold-bright);
  border: none;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--gold-bright);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.ctrl-select {
  padding: 5px 8px;
  font-size: 12px;
  color: var(--text-dim);
  background: var(--ink-3);
  border: 1px solid var(--line);
  cursor: pointer;
}
.player-panel.theater-mode {
  background: #000;
}
.player-panel.lights-off {
  background: #000;
}
.player-panel.lights-off .player-controls {
  opacity: 0.28;
  transition: opacity .3s;
}
.player-panel.lights-off:hover .player-controls {
  opacity: 1;
}
.player-panel .play, .player-panel .pause, .player-panel .mute, .player-panel .volume, .player-panel .progress, .player-panel .speed, .player-panel .pip, .player-panel .fullscreen, .player-panel .theater, .player-panel .light, .player-panel .timeupdate, .player-panel .input, .player-panel .click, .player-panel .change, .player-panel .center, .player-panel .smooth, .player-panel .A {
  font-variant-numeric: tabular-nums;
}
.synopsis-panel {
  padding: 14px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-dim);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  text-align: justify;
}
.synopsis-para:first-child {
  color: var(--text);
}
.cast-panel {
  padding: 14px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  min-width: 0;
  transition: border-color .18s, background .18s;
}
.cast-card:hover {
  border-color: var(--gold-dim);
  background: #1a1a1f;
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 34% 30%, rgba(216, 181, 102, 0.42), transparent 58%),
    linear-gradient(160deg, #33343c, #1b1c21);
  border: 1px solid var(--gold-dim);
}
.cast-name {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.timeline-section {
  padding: 14px 16px 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding-top: 18px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 8%, var(--gold-dim) 92%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding: 0 2px;
  min-width: 0;
}
.node-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--ink-2);
}
.timeline-node:nth-child(3) .node-dot {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px var(--ink-2), 0 0 12px rgba(216, 181, 102, 0.85);
}
.node-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.episodes-section {
  padding: 14px 16px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--line);
  min-width: 0;
  transition: border-color .18s, background .18s;
}
.episode-card:hover {
  border-color: var(--gold-dim);
  border-top-color: var(--gold);
  background: #1a1a1f;
}
.episode-number {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.episode-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #e6e1d6;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding-top: 5px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  padding: 14px 16px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comment-card {
  padding: 9px 11px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  min-width: 0;
  transition: border-left-color .18s, background .18s;
}
.comment-card:hover {
  border-left-color: var(--gold);
  background: #1a1a1f;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.comment-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: radial-gradient(circle at 32% 30%, var(--gold-dim), #24252b 70%);
  border: 1px solid var(--gold-dim);
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-section {
  padding: 12px 14px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color .18s, background .18s, transform .18s;
}
a.rec-card:hover {
  border-color: var(--gold-dim);
  background: #1a1a1f;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  background: #101116;
  filter: saturate(0.85) brightness(0.92);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1);
}
.rec-name {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #e2ddd2;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #0a0b0d;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  max-width: 62em;
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
.rec-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    max-width: 300px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 14px;
    gap: 14px 8px;
  }
.timeline-track::before {
    display: none;
  }
.rec-grid-4, .rec-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {.page-main {
    padding: 12px 12px 26px;
    gap: 18px;
  }
.header-inner {
    padding: 9px 12px;
    gap: 12px;
  }
.hero-shell, .synopsis-panel, .cast-panel, .timeline-section, .episodes-section, .comments-section, .rec-section {
    padding: 12px;
  }
.hero-media {
    max-width: none;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid-3, .rec-grid-4, .rec-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.ctrl-volume {
    flex: 1 1 40%;
  }
.footer-inner {
    padding: 14px 12px 20px;
  }}
@media (max-width: 420px) {.hero-title {
    font-size: 22px;
  }
.episode-grid, .rec-grid-3, .rec-grid-4, .rec-grid-5 {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}

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}
