:root {
  --bg: #0b0e13;
  --bg-2: #11151d;
  --bg-3: #161b25;
  --bg-4: #1c222e;
  --line: #262d3a;
  --line-2: #333c4c;
  --ink: #d6dce6;
  --ink-2: #9aa4b4;
  --ink-3: #6b7686;
  --white: #f2f5fa;
  --red: #8c1f24;
  --red-2: #b8282f;
  --red-glow: rgba(184, 40, 47, 0.55);
  --steel: #2c3a4d;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100%;
  overflow-x: hidden;
}
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;
}
button {
  cursor: pointer;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 14, 19, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-left: 3px solid var(--red-2);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--red-2);
}
.category-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--bg-3);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
  margin: 22px 0 10px;
  padding-left: 9px;
  border-left: 3px solid var(--red-2);
  text-transform: none;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1.1fr);
  gap: 10px;
  align-items: start;
  padding: 18px 0 14px;
  background:
    linear-gradient(180deg, rgba(11, 14, 19, 0) 55%, rgba(11, 14, 19, 0.96) 100%),
    radial-gradient(120% 90% at 50% 0%, #23303f 0%, #0e131b 60%, #080a0f 100%);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.hero-poster {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
  align-self: start;
}
.hero-still {
  position: relative;
  grid-column: 2;
  min-width: 0;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  background: #05070a;
}
.hero-still-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.86);
}
.hero-still-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(140, 31, 36, 0.85), rgba(11, 14, 19, 0.7));
  border-top: 1px solid rgba(184, 40, 47, 0.5);
}
.hero-tagline {
  grid-column: 3;
  align-self: center;
  min-width: 0;
  padding: 4px 4px 4px 12px;
  border-left: 2px solid var(--red);
}
.hero-title {
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.hero-tagline-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.hero-seo {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-player-shell {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #05070a;
  overflow: hidden;
}
.main-player {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 9px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--white);
  border-color: var(--line-2);
  background: var(--bg-4);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  color: var(--white);
  border-color: var(--red-2);
  background: rgba(140, 31, 36, 0.35);
}
.ctrl-btn.is-paused, .ctrl-btn.is-muted {
  color: var(--ink-3);
  border-color: var(--line);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-2);
  border: 1px solid #e0b9bb;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #e0b9bb;
  border-radius: 50%;
  background: var(--red-2);
  cursor: pointer;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
}
.ctrl-select {
  font-size: 11px;
  color: var(--ink-2);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 6px;
  cursor: pointer;
}
.main-player.speed-changed ~ .player-controls .ctrl-speed {
  color: var(--white);
  border-color: var(--red-2);
}
.status-panel, .synopsis-panel, .cast-panel, .details-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  margin-top: 12px;
}
.hero-panel > .status-panel {
  margin-top: 14px;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: var(--bg-3);
}
.status-label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.status-value:first-letter {
  color: var(--red-2);
}
.synopsis-para {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.62;
  margin-bottom: 7px;
  padding-left: 9px;
  border-left: 1px solid var(--line);
}
.synopsis-para:last-child {
  margin-bottom: 0;
  color: var(--ink);
  border-left-color: var(--red);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 5px 8px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--red);
  background: var(--bg-4);
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--steel);
  border: 1px solid var(--line-2);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.9);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-3);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 12px;
  color: var(--ink);
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  margin-top: 6px;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  scroll-snap-type: x proximity;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--bg-3);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 210px;
  padding: 14px 12px 6px;
  scroll-snap-align: start;
  border-right: 1px dashed var(--line);
}
.timeline-node:last-child {
  border-right: none;
}
.timeline-dot {
  position: absolute;
  top: 4px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 3px rgba(140, 31, 36, 0.22), 0 0 10px var(--red-glow);
}
.timeline-code {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.timeline-label {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.timeline-node:nth-child(even) .timeline-code {
  color: var(--red-2);
}
.timeline-node:nth-child(even) .timeline-code, .timeline-node:nth-child(even) .timeline-label {
  direction: ltr;
  text-align: left;
}
.episodes-section {
  margin-top: 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  border-left: 2px solid var(--line-2);
  min-width: 0;
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  border-left-color: var(--red);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--red-2);
  letter-spacing: 0.12em;
}
.episode-title {
  font-size: 13px;
  color: var(--white);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
}
.episode-card-current {
  background: linear-gradient(180deg, rgba(140, 31, 36, 0.18), var(--bg-3));
  border-color: var(--red-2);
  border-left-color: var(--red-2);
  box-shadow: 0 0 0 1px rgba(184, 40, 47, 0.35), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.episode-card-current .episode-number {
  color: var(--white);
}
.episode-card-current .episode-title::after {
  content: "当前";
  margin-left: 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--red);
  vertical-align: middle;
}
.comments-section {
  margin-top: 4px;
}
.comment-columns {
  column-count: 2;
  column-gap: 8px;
}
.comment-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-2);
}
.comment-card:nth-child(4n + 1) {
  background: var(--bg-3);
}
.comment-card:nth-child(4n + 3) {
  background: var(--bg-4);
}
.comment-card:hover {
  border-color: var(--line-2);
}
.comment-author {
  font-size: 12px;
  color: var(--white);
  margin-bottom: 4px;
  padding-left: 7px;
  border-left: 2px solid var(--red);
}
.comment-text {
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.rec-section {
  margin-top: 6px;
}
.rec-title {
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin: 16px 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.rec-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  scroll-snap-type: x proximity;
}
.rec-track::-webkit-scrollbar {
  height: 6px;
}
.rec-track::-webkit-scrollbar-track {
  background: var(--bg-3);
}
.rec-track::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 3px;
}
.rec-item {
  flex: 0 0 auto;
  width: 170px;
  scroll-snap-align: start;
}
a.rec-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-link:hover {
  border-color: var(--red);
  background: var(--bg-3);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.88);
  border-bottom: 1px solid var(--line);
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  padding: 6px 8px 2px;
}
.rec-blurb {
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.45;
  padding: 0 8px 8px;
}
[data-runtime="recommendation"]:hover .rec-name {
  color: var(--red-2);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px;
  margin-top: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--white);
  border-bottom-color: var(--red-2);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 14px;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.6;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-title {
  flex: 0 0 100%;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  font-weight: 700;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ink-3);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-3);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--ink);
  border-color: var(--red);
}
.page-main.theater-mode {
  max-width: 100%;
}
.page-main.theater-mode .hero-player-shell {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(184, 40, 47, 0.4);
}
.page-main.lights-off .hero-media {
  filter: brightness(0.4) saturate(0.5);
}
.page-main.lights-off .hero-player-shell {
  box-shadow: 0 0 40px rgba(184, 40, 47, 0.35);
}
.main-player.play, .main-player.is-playing {
  box-shadow: inset 0 0 0 1px rgba(184, 40, 47, 0.4);
}
.ctrl-btn.pause, .ctrl-btn.play, .ctrl-btn.mute, .ctrl-btn.pip, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light, .ctrl-btn.speed, .ctrl-btn.progress, .ctrl-btn.volume, .ctrl-btn.input, .ctrl-btn.change, .ctrl-btn.click, .ctrl-btn.timeupdate {
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
@media (max-width: 900px) {.hero-media {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    grid-template-rows: auto auto;
  }
.hero-poster {
    grid-row: 1 / span 2;
  }
.hero-still {
    grid-column: 2;
    grid-row: 1;
  }
.hero-tagline {
    grid-column: 2;
    grid-row: 2;
    border-left: 2px solid var(--red);
    padding-left: 10px;
  }
.hero-still-img {
    max-height: 300px;
  }}
@media (max-width: 720px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    column-count: 1;
  }
.timeline-node {
    width: 180px;
  }
.rec-item {
    width: 150px;
  }}
@media (max-width: 560px) {.header-shell {
    gap: 10px;
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero-media {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    margin: 0 -12px;
    padding: 14px 12px 12px;
  }
.hero-poster {
    grid-row: auto;
    width: 52%;
    min-width: 140px;
    margin: 0 auto;
  }
.hero-still {
    grid-column: 1;
    grid-row: auto;
  }
.hero-tagline {
    grid-column: 1;
    grid-row: auto;
    padding-left: 10px;
  }
.hero-title {
    font-size: 22px;
  }
.hero-still-img {
    max-height: 240px;
  }
.player-controls {
    gap: 5px;
    padding: 6px 7px;
  }
.ctrl-btn {
    padding: 4px 7px;
    font-size: 10.5px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.status-list {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
.detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  }
.section-title {
    margin: 18px 0 8px;
  }
.rec-item {
    width: 140px;
  }}

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}
