:root {
  --bg: #12171a;
  --bg-deep: #0d1113;
  --panel: #161c20;
  --panel-dark: #10161a;
  --line: #263036;
  --line-soft: #1e262b;
  --glow: #e8b961;
  --glow-dim: #b98d3d;
  --text: #d4d9dc;
  --text-soft: #8d989e;
  --text-dim: #6b757b;
  --font-title: "FZLanTingHeiS-DB-GB", "FZHei-B01", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --gap-tight: 8px;
  --gap: 12px;
  --gap-wide: 20px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
video {
  display: block;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 19, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap);
  padding: 8px 16px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--glow);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 17px;
  letter-spacing: 0.16em;
  font-weight: 700;
  border-left: 3px solid var(--glow-dim);
  padding-left: 8px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f4d089;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--glow);
  border-color: var(--glow-dim);
  background: rgba(232, 185, 97, 0.06);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.page-main.lights-off {
  background: linear-gradient(180deg, #080b0d, #0d1113 60%);
}
.page-main.lights-off .hero-section::after {
  opacity: 0.55;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text);
  padding-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 13px;
  background: var(--glow);
  flex: none;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: var(--gap-wide) 28px;
  align-items: start;
  padding-top: 20px;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  right: -16px;
  height: 320px;
  background:
    radial-gradient(120% 90% at 78% 0%, rgba(232, 185, 97, 0.11), transparent 62%),
    linear-gradient(180deg, rgba(38, 48, 54, 0.55), transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(212, 217, 220, 0.16) 0 22px,
    transparent 22px 46px
  );
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.hero-poster-wrap {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: var(--panel-dark);
  padding: 5px;
  align-self: start;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-poster-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  padding: 7px 3px 2px;
  border-top: 1px solid var(--line-soft);
  margin-top: 6px;
}
.hero-caption-year {
  font-family: var(--font-title);
  color: var(--glow);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.hero-caption-genre {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: start;
  min-width: 0;
  padding-top: 6px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #eef1f2;
  font-weight: 700;
}
.hero-tagline {
  position: relative;
  margin: 12px 0 0 34px;
  max-width: 30em;
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--glow);
  padding-left: 12px;
  border-left: 2px solid var(--glow-dim);
}
.hero-seo {
  margin-top: 12px;
  max-width: 46em;
  color: var(--text-soft);
  font-size: 13px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--panel-dark);
  width: fit-content;
  max-width: 100%;
}
.status-current {
  font-family: var(--font-title);
  color: var(--glow);
  font-size: 16px;
  letter-spacing: 0.08em;
}
.status-sep {
  color: var(--text-dim);
}
.status-total {
  color: var(--text-soft);
  font-size: 12px;
}
.status-mode {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-actions button {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.014);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.hero-actions .btn-play {
  color: #16191b;
  background: var(--glow);
  border-color: var(--glow);
}
.hero-actions .btn-play:hover, .hero-actions .btn-play.is-active {
  background: #f4d089;
  border-color: #f4d089;
}
.hero-actions .btn-theater:hover, .hero-actions .btn-light:hover, .hero-actions .btn-theater.is-active, .hero-actions .btn-light.is-active {
  color: var(--glow);
  border-color: var(--glow-dim);
  background: rgba(232, 185, 97, 0.07);
}
.synopsis-section {
  grid-column: 2 / -1;
  min-width: 0;
}
.synopsis-body {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
}
.synopsis-para {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.78;
  text-align: justify;
}
.synopsis-para::first-letter {
  color: var(--glow);
}
.cast-section {
  grid-column: 1 / -1;
  min-width: 0;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--panel-dark);
  padding: 8px;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(80% 80% at 50% 28%, rgba(232, 185, 97, 0.16), transparent 62%),
    linear-gradient(160deg, #232c31, #151a1e);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(13, 17, 19, 0.85));
}
.cast-name {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.details-section {
  grid-column: 1 / -1;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  background: var(--panel-dark);
  min-width: 0;
}
.detail-key {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  flex: none;
}
.detail-value {
  margin: 0;
  font-size: 12.5px;
  color: var(--text);
  min-width: 0;
}
.detail-item:first-child .detail-value, .detail-item:nth-child(9) .detail-value {
  color: var(--glow);
}
.player-section {
  padding-top: 20px;
}
.player-shell {
  border: 1px solid var(--line);
  background: #000;
  padding: 1px;
  min-width: 0;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-soft);
  padding-top: 1px;
}
.player-controls button {
  flex: 1 1 auto;
  min-width: 74px;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 7px 10px;
  background: var(--panel-dark);
  color: var(--text-soft);
  transition: color 0.16s, background 0.16s;
}
.player-controls button:hover {
  color: var(--glow);
  background: #171e23;
}
.player-controls button.is-active, .player-controls button.is-muted {
  color: var(--glow);
  background: rgba(232, 185, 97, 0.09);
}
.player-section.is-theater {
  background: var(--bg-deep);
  margin-left: -16px;
  margin-right: -16px;
  padding: 20px 16px 12px;
}
.timeline-section {
  min-width: 0;
}
.timeline-list {
  position: relative;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  margin-left: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 26px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 10px;
  padding: 7px 0 7px 12px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.timeline-node {
  position: absolute;
  left: -21px;
  top: 13px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--glow-dim);
  background: var(--bg);
  border-radius: 0;
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--glow);
  white-space: nowrap;
}
.timeline-label {
  color: var(--text-soft);
  font-size: 12.5px;
  min-width: 0;
}
.timeline-item:hover .timeline-node {
  border-color: var(--glow);
  background: rgba(232, 185, 97, 0.25);
}
.timeline-item:hover .timeline-label {
  color: var(--text);
}
.episodes-section {
  min-width: 0;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel-dark);
  padding: 9px 12px 10px;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover {
  border-color: var(--glow-dim);
  background: #171e23;
}
.episode-number {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--glow);
  border: 1px solid var(--line);
  padding: 1px 7px;
  display: inline-block;
}
.episode-title {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-top: 6px;
  font-weight: 700;
}
.episode-summary {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 4;
  color: var(--text-soft);
}
.episode-duration {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
}
.comments-section {
  min-width: 0;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  background: var(--panel-dark);
  padding: 8px 12px 9px;
  min-width: 0;
  transition: border-color 0.18s;
}
.comment-card:hover {
  border-left-color: var(--glow-dim);
}
.comment-nickname {
  display: block;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--glow);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.64;
}
.rec-region {
  min-width: 0;
}
.rec-title {
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  padding-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rec-title::before {
  content: "";
  width: 3px;
  height: 13px;
  background: var(--glow);
  flex: none;
}
.rec-strip {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-strip::-webkit-scrollbar {
  height: 6px;
}
.rec-strip::-webkit-scrollbar-track {
  background: var(--panel-dark);
}
.rec-strip::-webkit-scrollbar-thumb {
  background: var(--line);
}
.rec-strip::-webkit-scrollbar-thumb:hover {
  background: var(--glow-dim);
}
a.rec-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--panel-dark);
  padding: 6px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s;
}
a.rec-card:hover {
  border-color: var(--glow-dim);
  background: #171e23;
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line-soft);
  filter: saturate(0.85) brightness(0.95);
}
.rec-name {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.rec-card:hover .rec-name {
  color: var(--glow);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 18px 16px 26px;
  font-size: 12px;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-soft);
  text-decoration: none;
  font-family: var(--font-title);
  letter-spacing: 0.14em;
  font-size: 12px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--glow);
  border-bottom-color: var(--glow-dim);
  text-decoration: none;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  flex: none;
}
a.runtime-friend-link {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--glow);
  border-bottom-color: var(--glow-dim);
  text-decoration: none;
}
.site-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.7;
}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: var(--gap-wide) 20px;
  }
.hero-title {
    font-size: 28px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
a.rec-card {
    flex: 0 0 152px;
  }}
@media (max-width: 720px) {.header-inner {
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-poster-wrap {
    max-width: 240px;
  }
.hero-title {
    font-size: 25px;
  }
.hero-tagline {
    margin-left: 0;
  }
.synopsis-section, .cast-section, .details-section {
    grid-column: 1 / -1;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls button {
    min-width: 60px;
    flex: 1 1 30%;
  }
.player-section.is-theater {
    margin-left: -12px;
    margin-right: -12px;
  }}
@media (max-width: 480px) {.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-title {
    font-size: 22px;
  }
.hero-actions button {
    flex: 1 1 46%;
    text-align: center;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
a.rec-card {
    flex: 0 0 138px;
  }
.player-controls button {
    min-width: 0;
    flex: 1 1 40%;
  }}

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}
