*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0b1220;
  --ink-2: #101a2c;
  --ink-3: #16223a;
  --gold: #c9a227;
  --gold-bright: #e4c256;
  --gold-dim: #8a6f1c;
  --paper: #e8e2d3;
  --text: #cfc8b6;
  --text-dim: #948c7c;
  --line: rgba(201, 162, 39, 0.22);
  --line-soft: rgba(232, 226, 211, 0.1);
  --font: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(201, 162, 39, 0.09), transparent 62%),
    radial-gradient(900px 500px at 92% 4%, rgba(35, 62, 110, 0.28), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0c1424 40%, #0a111d 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol, dl { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2 { font-weight: 600; line-height: 1.25; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px clamp(12px, 3vw, 30px);
  background: rgba(9, 15, 26, 0.86);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
a[data-contract="site-name"].site-brand {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding-left: 2px;
  border-left: 3px solid var(--gold);
  padding-left: 9px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 26px) clamp(12px, 3vw, 30px) 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.4vw, 40px);
}
.section-heading {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
  padding-left: 13px;
  margin-bottom: 12px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
}
.hero-poster {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 7vw, 54px) clamp(14px, 4vw, 40px) clamp(14px, 3vw, 26px);
  padding-top: clamp(60px, 22vw, 150px);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 0%, rgba(11, 18, 32, 0.62) 48%, rgba(11, 18, 32, 0.95) 100%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(22px, 5vw, 40px);
  letter-spacing: 0.14em;
  color: #f3ecd9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}
.hero-tagline {
  margin-top: 7px;
  max-width: 30ch;
  font-size: clamp(12px, 2.4vw, 15px);
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}
.player-shell {
  width: 100%;
  position: relative;
  border: 1px solid var(--line);
  background: #060b14;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.9), rgba(11, 18, 32, 0.95));
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 11px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(232, 226, 211, 0.05);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--ink);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold-bright);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 100px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 96px;
  min-width: 64px;
  height: 18px;
  accent-color: var(--gold-dim);
  cursor: pointer;
}
.player-shell.theater-mode {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), 0 18px 46px rgba(0, 0, 0, 0.6);
}
.player-shell.lights-down {
  background: #000;
}
.player-shell.lights-down .player-controls {
  background: #000;
  border-top-color: rgba(201, 162, 39, 0.35);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 9px 14px;
  background: rgba(201, 162, 39, 0.06);
  border-left: 3px solid var(--gold);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.status-current {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.status-total {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.cast-panel { width: 100%; }
.cast-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-track::-webkit-scrollbar { height: 6px; }
.cast-track::-webkit-scrollbar-track { background: rgba(232, 226, 211, 0.06); }
.cast-track::-webkit-scrollbar-thumb { background: var(--gold-dim); }
.cast-card {
  flex: 0 0 auto;
  width: clamp(148px, 22vw, 186px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 12px 13px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-dim);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  border-top-color: var(--gold-bright);
  transform: translateY(-2px);
}
.cast-name {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #efe8d6;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.cast-role {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.synopsis-panel {
  position: relative;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.55), rgba(11, 18, 32, 0.5));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold-dim);
}
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text);
  text-indent: 2em;
  letter-spacing: 0.03em;
}
.synopsis-text + .synopsis-text {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
.details-panel {
  padding: 14px 16px 16px;
  background: rgba(16, 26, 44, 0.5);
  border: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.detail-row dt {
  flex: 0 0 auto;
  min-width: 5.2em;
  color: var(--text-dim);
  letter-spacing: 0.14em;
}
.detail-row dd {
  flex: 1 1 auto;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.timeline-panel {
  padding: 14px 16px 16px;
  background: rgba(16, 26, 44, 0.42);
  border: 1px solid var(--line-soft);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px 30px;
  padding-left: 20px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 162, 39, 0.12));
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.timeline-dot {
  position: absolute;
  left: -20px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--gold);
}
.timeline-item:first-child .timeline-dot, .timeline-item:last-child .timeline-dot {
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(228, 194, 86, 0.6);
}
.timeline-time {
  flex: 0 0 auto;
  min-width: 4.4em;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.timeline-label {
  flex: 1 1 auto;
  color: var(--text);
  letter-spacing: 0.04em;
}
.episodes-panel {
  padding: 14px 16px 16px;
  background: rgba(16, 26, 44, 0.42);
  border: 1px solid var(--line-soft);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  align-content: start;
  gap: 3px 10px;
  padding: 9px 11px 10px;
  background: rgba(11, 18, 32, 0.6);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(201, 162, 39, 0.3);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.episode-card:hover {
  background: rgba(22, 34, 58, 0.72);
  border-left-color: var(--gold-bright);
}
.episode-number {
  grid-area: num;
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  color: #efe8d6;
  letter-spacing: 0.06em;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 4px;
}
.comments-panel {
  padding: 14px 16px 18px;
  background: rgba(16, 26, 44, 0.34);
  border: 1px solid var(--line-soft);
}
.comment-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-note {
  padding: 11px 13px 13px;
  background: linear-gradient(180deg, rgba(28, 40, 66, 0.62), rgba(20, 30, 50, 0.62));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-dim);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.28);
}
.comment-note:nth-child(2n) { transform: rotate(-0.4deg); }
.comment-note:nth-child(3n) { transform: rotate(0.5deg); }
.comment-nickname {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-text {
  font-size: 14px;
  line-height: 1.62;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.recommend-region {
  padding: 13px 15px 15px;
  background: rgba(11, 18, 32, 0.5);
  border: 1px solid var(--line-soft);
}
.region-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  margin-bottom: 11px;
}
.region-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(22, 34, 58, 0.55);
  border: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--gold);
  background: rgba(30, 44, 72, 0.7);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #060b14;
  filter: saturate(0.9);
}
.recommend-name {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #efe8d6;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(12px, 3vw, 30px) 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.footer-link:hover, a.footer-link:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}
a[data-contract="footer-home"] { color: var(--gold); }
a[data-contract="footer-sitemap"] { color: var(--text-dim); text-decoration: none; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.friend-label {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(207, 200, 182, 0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--gold-bright);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(148, 140, 124, 0.82);
  letter-spacing: 0.03em;
  max-width: 90ch;
}
.data-player-action { cursor: pointer; }
.click .ctrl-btn:active, .ctrl-btn.click:active { transform: translateY(1px); }
.input { outline: none; }
.input:focus-visible { outline: 1px solid var(--gold); }
.play.is-active { background: var(--gold); color: var(--ink); }
.mute.is-active { background: var(--gold-dim); color: var(--ink); }
.timeupdate { accent-color: var(--gold); }
.progress { accent-color: var(--gold); }
.volume { accent-color: var(--gold-dim); }
.player.fullscreen { background: #000; }
.player.pip { box-shadow: 0 0 0 1px var(--gold); }
.player.theater { width: 100%; }
.player.light { box-shadow: 0 0 22px rgba(201, 162, 39, 0.35); }
.speed.is-active { background: var(--gold); color: var(--ink); }
.fullscreen.is-active { background: var(--gold); color: var(--ink); }
.pip.is-active { background: var(--gold); color: var(--ink); }
.theater.is-active { background: var(--gold); color: var(--ink); }
.light.is-active { background: var(--gold); color: var(--ink); }
@media (max-width: 900px) {.detail-list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.comment-notes { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }}
@media (max-width: 720px) {body { font-size: 13.5px; }
.site-header { gap: 10px; padding: 8px 12px; }
a[data-contract="site-name"].site-brand { font-size: 15px; letter-spacing: 0.16em; }
.page-main { gap: 20px; padding: 12px 12px 30px; }
.episode-grid { grid-template-columns: 1fr; }
.timeline-list { grid-template-columns: 1fr; }
.comment-note:nth-child(2n), .comment-note:nth-child(3n) { transform: none; }
.cast-card { width: 138px; }
.hero-overlay { padding-top: 90px; }}
@media (max-width: 420px) {.ctrl-btn { padding: 3px 8px; font-size: 11px; }
.ctrl-progress { flex-basis: 120px; }
.detail-list { grid-template-columns: 1fr; }
.recommend-row { grid-template-columns: 1fr; }
.comment-notes { grid-template-columns: 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}
