*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink: #06080d;
  --ink-2: #0b0f16;
  --ink-3: #111722;
  --surface: #0d131d;
  --surface-2: #131b28;
  --line: rgba(140, 170, 210, 0.16);
  --line-strong: rgba(140, 170, 210, 0.32);
  --neon: #35c8ff;
  --neon-soft: rgba(53, 200, 255, 0.55);
  --gold: #c8a45c;
  --gold-dim: rgba(200, 164, 92, 0.5);
  --warm: #ff8a3d;
  --warm-soft: rgba(255, 138, 61, 0.6);
  --text: #cfd8e6;
  --text-dim: #8b98ab;
  --text-mute: #5f6c7e;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --gap: 24px;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-off {
  background: #000;
}
body.lights-off .hero-panel, body.lights-off .page-main > *:not(.hero-panel) {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}
button {
  cursor: pointer;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: #f0d18a;
}
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
a.runtime-category:hover {
  color: var(--neon);
  border-color: var(--neon-soft);
  background: rgba(53, 200, 255, 0.08);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: var(--gap) 20px 40px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--gap);
  align-items: start;
  background: linear-gradient(140deg, #05070b 0%, #0a0f18 55%, #0d1420 100%);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.hero-figure {
  position: relative;
  overflow: hidden;
  background: #04060a;
  align-self: start;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 10, 0.85) 0%, rgba(4, 6, 10, 0.25) 40%, rgba(4, 6, 10, 0.9) 100%);
  pointer-events: none;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) brightness(0.82);
}
.hero-contract-text {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 16%;
  z-index: 2;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255, 138, 61, 0.72);
  text-align: right;
  text-shadow: 0 0 12px rgba(255, 138, 61, 0.35);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 32px 32px 0;
  position: relative;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.34em;
  color: var(--neon);
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  left: -18px;
  top: 36px;
  height: 70%;
  max-height: 260px;
  text-shadow: 0 0 14px rgba(53, 200, 255, 0.5);
  pointer-events: none;
}
.work-title {
  font-size: 34px;
  line-height: 1.2;
  color: #f2f6fb;
  letter-spacing: 0.06em;
  padding-left: 34px;
  text-shadow: 0 0 24px rgba(53, 200, 255, 0.28);
}
.hero-lead {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-dim);
  padding-left: 34px;
  max-width: 62ch;
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.strip-heading {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 32%, rgba(53, 200, 255, 0.22), transparent 62%),
    linear-gradient(160deg, #17202e 0%, #0b1018 100%);
  border-bottom: 1px solid var(--line);
}
.cast-card:nth-child(1) .cast-avatar {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 138, 61, 0.32), transparent 60%),
    linear-gradient(160deg, #23170e 0%, #0b1018 100%);
}
.cast-card:nth-child(2) .cast-avatar {
  background:
    radial-gradient(circle at 50% 30%, rgba(53, 200, 255, 0.3), transparent 60%),
    linear-gradient(160deg, #10222e 0%, #0b1018 100%);
}
.cast-card:nth-child(3) .cast-avatar {
  background:
    radial-gradient(circle at 50% 30%, rgba(140, 170, 210, 0.28), transparent 60%),
    linear-gradient(160deg, #151c28 0%, #0b1018 100%);
}
.cast-card:nth-child(4) .cast-avatar {
  background:
    radial-gradient(circle at 50% 30%, rgba(200, 164, 92, 0.3), transparent 60%),
    linear-gradient(160deg, #221c10 0%, #0b1018 100%);
}
.cast-card:nth-child(5) .cast-avatar {
  background:
    radial-gradient(circle at 50% 30%, rgba(53, 200, 255, 0.2), transparent 60%),
    linear-gradient(160deg, #1a1f2b 0%, #0b1018 100%);
}
.cast-name {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #e8eef7;
  padding: 8px 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding: 2px 10px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--neon);
  padding: 5px 12px;
  border: 1px solid var(--neon-soft);
  background: rgba(53, 200, 255, 0.06);
  white-space: nowrap;
}
.status-chip:nth-child(2) {
  color: var(--warm);
  border-color: var(--warm-soft);
  background: rgba(255, 138, 61, 0.08);
}
.status-chip:nth-child(3) {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(200, 164, 92, 0.07);
}
.panel-heading {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.synopsis-panel, .details-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-dim);
  max-width: 88ch;
}
.synopsis-paragraph::first-letter {
  font-family: var(--serif);
  color: var(--gold);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  border-top: 1px solid var(--line);
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.detail-value {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #04060a;
  border: 1px solid var(--line);
  width: 100%;
}
.hero-player video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  background: transparent;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.player-controls button:hover {
  color: var(--neon);
  border-color: var(--neon-soft);
  background: rgba(53, 200, 255, 0.08);
}
.player-controls button.active {
  color: var(--warm);
  border-color: var(--warm-soft);
  background: rgba(255, 138, 61, 0.1);
}
.player-progress-wrap {
  flex: 1 1 180px;
  min-width: 120px;
  display: flex;
  align-items: center;
}
.player-controls input[type="range"] {
  width: 100%;
  height: 3px;
  background: rgba(140, 170, 210, 0.22);
  border-radius: 0;
  position: relative;
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(53, 200, 255, 0.7);
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 0;
  border: none;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(53, 200, 255, 0.7);
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-track {
  height: 3px;
  background: rgba(140, 170, 210, 0.22);
}
.player-controls select {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 5px 22px 5px 11px;
  border: 1px solid var(--line-strong);
  background-color: var(--surface-2);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 8px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  white-space: nowrap;
  cursor: pointer;
}
.player-controls select:hover {
  color: var(--neon);
  border-color: var(--neon-soft);
}
.hero-player.theater-mode {
  border-color: var(--neon-soft);
  box-shadow: 0 0 0 1px rgba(53, 200, 255, 0.25), 0 0 30px rgba(53, 200, 255, 0.14);
}
.timeline-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  position: relative;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
.timeline-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--warm-soft);
  align-self: start;
  min-width: 0;
}
.node-label {
  font-size: 12px;
  line-height: 1.42;
  color: var(--text);
  min-height: 2.84em;
}
.node-dot {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--warm);
  box-shadow: 0 0 10px 2px rgba(255, 138, 61, 0.75);
  margin: 2px 0;
}
.node-timecode {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--neon);
}
.episode-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: start;
  min-width: 0;
}
.episode-item-current {
  border-color: var(--warm-soft);
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.09), rgba(13, 19, 29, 0.9) 60%);
  box-shadow: inset 2px 0 0 var(--warm);
}
.episode-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 56px;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: nowrap;
}
.episode-item-current .episode-number {
  color: var(--warm);
}
.episode-title {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #e8eef7;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.1;
  max-height: 4.6em;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}
.recommend-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.recommend-heading {
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.recommend-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  align-items: start;
}
.recommend-track::-webkit-scrollbar {
  height: 6px;
}
.recommend-track::-webkit-scrollbar-track {
  background: transparent;
}
.recommend-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 0 10px;
  text-decoration: none;
  color: var(--text);
  align-self: start;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
a.recommend-card:hover {
  border-color: var(--neon-soft);
  transform: translateY(-2px);
}
a.recommend-card:hover [data-runtime="name"] {
  color: var(--neon);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #04060a;
  filter: saturate(0.78) brightness(0.9);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #e8eef7;
  padding: 0 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-mute);
  padding: 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comments-waterfall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 1px solid var(--gold-dim);
  align-self: start;
  min-width: 0;
}
.comment-nickname {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(200, 164, 92, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 300;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 32px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
a[data-contract="footer-home"] {
  color: var(--neon);
}
a[data-contract="footer-home"]:hover {
  color: #9fe4ff;
}
a[data-contract="footer-sitemap"] {
  color: var(--gold);
}
a[data-contract="footer-sitemap"]:hover {
  color: #f0d18a;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 90ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
@media (max-width: 1080px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.hero-copy {
    padding: 24px 24px 24px 0;
  }
.work-title {
    font-size: 28px;
  }
.cast-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {:root {
    --gap: 20px;
  }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    max-width: 380px;
  }
.hero-copy {
    padding: 20px;
  }
.hero-tagline {
    position: static;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    height: auto;
    max-height: none;
    letter-spacing: 0.22em;
    padding-left: 34px;
    margin-bottom: -4px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-waterfall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 600px) {.site-header {
    padding: 8px 14px;
  }
.page-main {
    padding: 16px 14px 32px;
  }
.hero-copy {
    padding: 16px;
  }
.work-title {
    font-size: 22px;
    padding-left: 0;
  }
.hero-lead {
    padding-left: 0;
  }
.hero-tagline {
    padding-left: 0;
    font-size: 13px;
  }
.hero-contract-text {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-waterfall {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
  }
.player-controls {
    gap: 6px;
    padding: 8px 10px;
  }
.player-controls button {
    font-size: 11px;
    padding: 4px 9px;
  }
.site-footer {
    padding: 20px 14px 28px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
