:root {
  --bg-deep: #060a12;
  --bg-panel: #0b1220;
  --bg-panel-2: #0f1728;
  --bg-tint: #131d30;
  --line: #1e2c44;
  --line-soft: #18233a;
  --text: #cdd7e6;
  --text-dim: #8494ac;
  --text-strong: #f2f6fb;
  --neon: #3dff9e;
  --neon-dim: #1f8f5c;
  --amber: #ffab2e;
  --amber-dim: #a86c14;
  --radius: 4px;
  --gap: 10px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg-deep);
  background-image:
    radial-gradient(1200px 600px at 15% -5%, rgba(61, 255, 158, 0.07), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(255, 171, 46, 0.06), transparent 55%),
    linear-gradient(180deg, #070c15 0%, #05080f 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-brand, a[data-contract="site-name"] {
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(61, 255, 158, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--neon);
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12px;
  text-decoration: none;
  background: rgba(19, 29, 48, 0.6);
}
a.runtime-category:hover {
  color: var(--neon);
  border-color: var(--neon-dim);
  background: rgba(61, 255, 158, 0.08);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-title {
  font-size: 15px;
  color: var(--text-strong);
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 3px solid var(--neon);
  margin-bottom: 10px;
}
.block-title {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  grid-template-areas:
    "media copy"
    "overview overview";
  gap: 14px;
  background: linear-gradient(155deg, #0c1526 0%, #0a111e 55%, #080e18 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  overflow: hidden;
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 255, 158, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 158, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.9), transparent 62%);
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.9), transparent 62%);
  pointer-events: none;
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(61, 255, 158, 0.12), 0 10px 30px rgba(0, 0, 0, 0.55);
  background: #070c15;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-grid-bg {
  position: absolute;
  left: 0;
  right: -10px;
  bottom: -10px;
  height: 70%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(61, 255, 158, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 158, 0.09) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(160deg, transparent, rgba(0, 0, 0, 0.85));
  -webkit-mask-image: linear-gradient(160deg, transparent, rgba(0, 0, 0, 0.85));
  pointer-events: none;
}
.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.hero-title {
  font-size: clamp(20px, 3vw, 30px);
  color: var(--text-strong);
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(61, 255, 158, 0.28);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.18em;
  padding-left: 10px;
  border-left: 2px solid var(--amber);
}
.hero-seo {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #03060c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(15, 23, 40, 0.95), rgba(8, 14, 24, 0.95));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 4px 9px;
  font-size: 11px;
  color: var(--text);
  background: rgba(19, 29, 48, 0.9);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--neon);
  border-color: var(--neon-dim);
}
.ctrl-btn.is-active {
  color: #04150c;
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 12px rgba(61, 255, 158, 0.5);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(61, 255, 158, 0.8);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(61, 255, 158, 0.8);
}
.ctrl-select {
  padding: 4px 6px;
  font-size: 11px;
  background: rgba(19, 29, 48, 0.9);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 1px var(--neon-dim), 0 0 34px rgba(61, 255, 158, 0.25);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  background: #000;
  border-top-color: #101820;
}
.player-shell.lights-off video {
  filter: brightness(1.05);
}
.player-shell .play.is-active, .player-shell .pause.is-active, .player-shell .mute.is-active, .player-shell .fullscreen.is-active, .player-shell .pip.is-active, .player-shell .theater.is-active, .player-shell .light.is-active {
  color: #04150c;
  background: var(--neon);
  border-color: var(--neon);
}
.player-shell .progress, .player-shell .volume, .player-shell .speed, .player-shell .timeupdate, .player-shell .change, .player-shell .input, .player-shell .click, .player-shell .fullscreenchange, .player-shell .data-player-action {
  transition: opacity 0.15s ease;
}
.player-shell .timeupdate, .player-shell .change, .player-shell .input, .player-shell .click {
  outline: none;
}
.overview-columns {
  grid-area: overview;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr) minmax(0, 0.75fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.overview-columns > section {
  min-width: 0;
}
.cast-block, .synopsis-block, .status-block, .details-block {
  background: transparent;
  padding: 0;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 56px;
}
.cast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(61, 255, 158, 0.55), transparent 55%),
    linear-gradient(145deg, #1b2a44, #0d1728);
  border: 1px solid var(--neon-dim);
  box-shadow: inset 0 0 10px rgba(61, 255, 158, 0.25);
  flex: none;
}
.cast-name {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.25;
}
.synopsis-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 7px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.synopsis-text::first-letter {
  color: var(--neon);
}
.status-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(19, 29, 48, 0.55);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--amber);
  border-radius: 3px;
}
.status-key {
  font-size: 11px;
  color: var(--text-dim);
}
.status-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.03em;
}
.details-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: none;
  width: 56px;
  font-size: 11px;
  color: var(--text-dim);
}
.detail-value {
  font-size: 12px;
  color: var(--text-strong);
  min-width: 0;
}
.timeline-section {
  min-width: 0;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 28px 4px 12px;
  border-top: 1px solid var(--line-soft);
  scrollbar-width: thin;
  scrollbar-color: var(--neon-dim) transparent;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(19, 29, 48, 0.5);
  border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--neon-dim);
  border-radius: 3px;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 640px;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(61, 255, 158, 0.1), var(--neon-dim) 12%, var(--neon-dim) 88%, rgba(61, 255, 158, 0.1));
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}
.timeline-dot {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(61, 255, 158, 0.16), 0 0 14px rgba(61, 255, 158, 0.85);
}
.timeline-node:nth-child(even) .timeline-dot {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 171, 46, 0.16), 0 0 14px rgba(255, 171, 46, 0.85);
}
.timeline-timecode {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.timeline-node:nth-child(even) .timeline-timecode {
  color: var(--amber);
}
.timeline-label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 8px auto 0;
  padding: 6px 3px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text);
  background: rgba(19, 29, 48, 0.75);
  border: 1px solid var(--line);
  border-radius: 3px;
  max-height: 160px;
  letter-spacing: 0.08em;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: linear-gradient(140deg, rgba(19, 29, 48, 0.85), rgba(11, 18, 32, 0.85));
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(61, 255, 158, 0.45);
  border-radius: 3px;
  transition: border-color 0.15s, transform 0.15s;
}
.episode-card:hover {
  border-left-color: var(--neon);
  border-color: var(--line);
}
.episode-title {
  font-size: 13px;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10px;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  border-radius: 999px;
  padding: 0 7px;
  letter-spacing: 0.06em;
}
.comments-masonry {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 10px;
  padding: 9px 10px;
  background: rgba(15, 23, 40, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.comment-avatar {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(61, 255, 158, 0.8);
}
.comment-nickname {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.03em;
}
.comment-text {
  flex-basis: 100%;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text);
}
.recommend-region {
  min-width: 0;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(19, 29, 48, 0.9), rgba(10, 16, 28, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  border-color: var(--neon-dim);
  box-shadow: 0 0 0 1px rgba(61, 255, 158, 0.25), 0 8px 22px rgba(0, 0, 0, 0.5);
  color: var(--text-strong);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #0a1120;
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
a.recommend-card:hover .recommend-name {
  color: var(--neon);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #070c15, #04070d);
  margin-top: 6px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.12em;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: #5d6c82;
  max-width: 90ch;
}
@media (max-width: 1024px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
.overview-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "copy"
      "overview";
  }
.hero-media {
    display: flex;
    justify-content: center;
  }
.poster-frame {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 10px 10px 18px;
    gap: 18px;
  }
.header-inner {
    padding: 7px 10px;
  }
.hero-panel {
    padding: 10px;
    gap: 10px;
  }
.overview-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.cast-item {
    width: 50px;
  }
.cast-avatar {
    width: 34px;
    height: 34px;
  }
.timeline-track {
    min-width: 520px;
  }
.timeline-node {
    min-width: 86px;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.ctrl-btn {
    padding: 3px 7px;
    font-size: 10.5px;
  }
.footer-inner {
    padding: 12px 10px 18px;
  }}
@media (max-width: 380px) {.timeline-track {
    min-width: 460px;
  }
.hero-title {
    font-size: 19px;
  }}

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}
