:root {
  --bg-deep: #0a0612;
  --bg-panel: #140b24;
  --bg-panel-2: #1c1030;
  --bg-card: #241640;
  --neon-pink: #ff2e88;
  --neon-pink-soft: #ff6ab0;
  --neon-blue: #33e0ff;
  --neon-blue-soft: #7defff;
  --neon-violet: #a24bff;
  --text-main: #ece6ff;
  --text-dim: #9d90bd;
  --text-faint: #6f6390;
  --line: #34205a;
  --line-hot: #5a2f8f;
  --pixel: 3px;
  --glow-pink: 0 0 6px rgba(255, 46, 136, 0.75), 0 0 18px rgba(255, 46, 136, 0.4);
  --glow-blue: 0 0 6px rgba(51, 224, 255, 0.7), 0 0 18px rgba(51, 224, 255, 0.35);
  --font-head: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(162, 75, 255, 0.22), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(51, 224, 255, 0.14), transparent 40%),
    linear-gradient(180deg, #0a0612 0%, #0d0718 55%, #08040f 100%);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, p, dl, dd, dt {
  margin: 0;
}
a {
  color: var(--neon-blue);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--neon-pink);
  color: #0a0612;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(12, 6, 24, 0.97), rgba(12, 6, 24, 0.82));
  border-bottom: 2px solid var(--line-hot);
  box-shadow: 0 2px 0 rgba(255, 46, 136, 0.35), 0 10px 26px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 7px 14px;
  max-width: 1500px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--neon-pink);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-shadow: var(--glow-pink);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
a.nav-link {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
a.nav-link:hover, a.nav-link:focus-visible {
  color: #0a0612;
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 0 14px 7px;
  max-width: 1500px;
  margin: 0 auto;
  border-top: 1px dashed rgba(90, 47, 143, 0.5);
  padding-top: 6px;
}
a.runtime-category {
  display: inline-block;
  color: var(--neon-blue-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  padding: 1px 9px;
  background: rgba(51, 224, 255, 0.07);
  border: 1px solid rgba(51, 224, 255, 0.35);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #0a0612;
  background: var(--neon-blue);
  border-color: var(--neon-blue);
}
.page-main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 2px solid var(--line-hot);
  background: #07030e;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(162, 75, 255, 0.18), 0 0 0 1px rgba(255, 46, 136, 0.18);
}
.hero-backdrop {
  position: relative;
  min-height: 300px;
  height: clamp(300px, 42vw, 470px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 46, 136, 0.28), transparent 62%),
    radial-gradient(ellipse at 18% 0%, rgba(51, 224, 255, 0.2), transparent 55%),
    linear-gradient(160deg, #180b2c 0%, #0b0517 60%, #1a0a22 100%);
}
.hero-glitch-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(51, 224, 255, 0.07) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 46, 136, 0.05) 0 2px, transparent 2px 9px);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.hero-glitch-layer::before, .hero-glitch-layer::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(51, 224, 255, 0.55), transparent);
  height: 2px;
  width: 70%;
  left: 15%;
  animation: heroScan 5.5s linear infinite;
}
.hero-glitch-layer::before {
  top: 24%;
}
.hero-glitch-layer::after {
  top: 68%;
  background: linear-gradient(90deg, transparent, rgba(255, 46, 136, 0.6), transparent);
  animation-duration: 4s;
  animation-direction: reverse;
}
@keyframes heroScan {
  0% { transform: translateX(-28%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(28%); opacity: 0; }
}
.hero-danmaku-echo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.echo-line {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 0.08em;
  color: rgba(236, 230, 255, 0.28);
  text-shadow: 0 0 8px rgba(51, 224, 255, 0.45);
  white-space: nowrap;
}
.echo-line:nth-child(1) {
  top: 12%;
  left: 6%;
  color: rgba(255, 46, 136, 0.38);
  text-shadow: 0 0 10px rgba(255, 46, 136, 0.6);
}
.echo-line:nth-child(2) {
  top: 30%;
  right: 5%;
}
.echo-line:nth-child(3) {
  bottom: 20%;
  left: 10%;
  color: rgba(51, 224, 255, 0.4);
}
.echo-line:nth-child(4) {
  bottom: 9%;
  right: 12%;
  color: rgba(255, 46, 136, 0.32);
  text-shadow: 0 0 10px rgba(255, 46, 136, 0.5);
}
.hero-figure {
  position: absolute;
  bottom: 0;
  width: 30%;
  min-width: 128px;
  z-index: 3;
  border: 2px solid rgba(255, 46, 136, 0.5);
  border-bottom: none;
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 26px rgba(255, 46, 136, 0.28), inset 0 0 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}
.hero-figure::before {
  content: "";
  display: block;
  height: 100%;
  min-height: 190px;
}
.hero-figure-lin {
  left: 2%;
  height: 74%;
  background:
    linear-gradient(180deg, rgba(255, 46, 136, 0.32), rgba(20, 11, 36, 0.96)),
    repeating-linear-gradient(115deg, rgba(255, 46, 136, 0.18) 0 6px, transparent 6px 14px);
  z-index: 4;
}
.hero-figure-su {
  left: 34%;
  height: 88%;
  border-color: rgba(51, 224, 255, 0.5);
  box-shadow: 0 0 26px rgba(51, 224, 255, 0.28), inset 0 0 40px rgba(0, 0, 0, 0.6);
  background:
    linear-gradient(180deg, rgba(51, 224, 255, 0.3), rgba(20, 11, 36, 0.96)),
    repeating-linear-gradient(65deg, rgba(51, 224, 255, 0.16) 0 6px, transparent 6px 14px);
  z-index: 5;
}
.hero-figure-lu {
  right: 2%;
  height: 66%;
  border-color: rgba(162, 75, 255, 0.55);
  box-shadow: 0 0 26px rgba(162, 75, 255, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.6);
  background:
    linear-gradient(180deg, rgba(162, 75, 255, 0.34), rgba(20, 11, 36, 0.96)),
    repeating-linear-gradient(90deg, rgba(162, 75, 255, 0.16) 0 6px, transparent 6px 14px);
  z-index: 4;
}
.hero-figure:hover {
  transform: translateY(-6px);
}
.figure-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  color: #0a0612;
  background: var(--neon-pink);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  box-shadow: 0 0 10px rgba(255, 46, 136, 0.7);
}
.hero-figure-su .figure-tag {
  background: var(--neon-blue);
  box-shadow: 0 0 10px rgba(51, 224, 255, 0.7);
}
.hero-figure-lu .figure-tag {
  background: var(--neon-violet);
  color: #f4eaff;
  box-shadow: 0 0 10px rgba(162, 75, 255, 0.7);
}
.hero-caption {
  position: relative;
  z-index: 6;
  padding: 8px 14px 10px;
  background: linear-gradient(90deg, rgba(255, 46, 136, 0.16), rgba(10, 6, 18, 0.9) 55%, rgba(51, 224, 255, 0.12));
  border-top: 2px solid var(--line-hot);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.hero-kicker {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
  white-space: nowrap;
}
.hero-strip {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 46, 136, 0.85), 0 0 22px rgba(255, 46, 136, 0.45);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: linear-gradient(180deg, #140b24, #100818);
  border: 2px solid var(--line-hot);
  box-shadow: inset 0 0 40px rgba(162, 75, 255, 0.12);
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.poster-frame {
  position: relative;
  border: 2px solid var(--line-hot);
  background: #090412;
  box-shadow: 0 0 18px rgba(255, 46, 136, 0.22);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  overflow: hidden;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.poster-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  color: #0a0612;
  background: var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 46, 136, 0.8);
}
.episode-status {
  padding: 7px 8px;
  background: rgba(51, 224, 255, 0.06);
  border-left: 3px solid var(--neon-blue);
}
.status-line {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--neon-blue-soft);
  letter-spacing: 0.03em;
}
.status-bar {
  display: block;
  margin: 5px 0 4px;
  height: 9px;
  background: #1b0f2d;
  border: 1px solid var(--line);
  overflow: hidden;
}
.status-bar-fill {
  display: block;
  height: 100%;
  width: 8.33%;
  background: repeating-linear-gradient(90deg, var(--neon-blue) 0 5px, #0a0612 5px 7px);
  box-shadow: 0 0 10px rgba(51, 224, 255, 0.7);
}
.status-note {
  font-size: 11px;
  color: var(--text-faint);
}
.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 2px solid transparent;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-play {
  color: #0a0612;
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.btn-play:hover, .btn-play.is-active {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}
.btn-ghost {
  color: var(--neon-blue-soft);
  background: transparent;
  border-color: rgba(51, 224, 255, 0.55);
}
.btn-ghost:hover {
  color: #0a0612;
  background: var(--neon-blue);
  border-color: var(--neon-blue);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 46, 136, 0.8), 0 0 26px rgba(255, 46, 136, 0.42);
}
.movie-tagline {
  font-size: 13px;
  color: var(--neon-blue-soft);
  border-left: 3px solid var(--neon-pink);
  padding-left: 8px;
}
.panel-heading {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 0 8px rgba(51, 224, 255, 0.6), 0 0 20px rgba(51, 224, 255, 0.3);
  padding-bottom: 4px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--line-hot);
}
.panel-heading-sm {
  font-size: 13.5px;
}
.detail-panel, .synopsis-panel, .cast-panel {
  padding: 8px 10px 10px;
  background: rgba(36, 22, 64, 0.5);
  border: 1px solid var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 10px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(90, 47, 143, 0.45);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.detail-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--neon-pink-soft);
  padding: 6px 8px;
  background: rgba(255, 46, 136, 0.08);
  border-left: 3px solid var(--neon-pink);
  margin-bottom: 6px;
}
.synopsis-p {
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.synopsis-p:last-child {
  margin-bottom: 0;
}
.cast-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
}
.cast-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: linear-gradient(120deg, rgba(51, 224, 255, 0.12), rgba(255, 46, 136, 0.1));
  border: 1px solid var(--line-hot);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: background 0.15s, transform 0.15s;
}
.cast-card:hover {
  background: linear-gradient(120deg, rgba(51, 224, 255, 0.24), rgba(255, 46, 136, 0.2));
  transform: translateY(-2px);
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border: 2px solid var(--neon-blue);
  background:
    repeating-linear-gradient(45deg, rgba(51, 224, 255, 0.35) 0 4px, rgba(36, 22, 64, 0.9) 4px 8px);
  box-shadow: 0 0 10px rgba(51, 224, 255, 0.5);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cast-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.03em;
}
.cast-tag {
  justify-self: start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon-pink-soft);
  background: rgba(255, 46, 136, 0.14);
  border: 1px solid rgba(255, 46, 136, 0.45);
  padding: 0 6px;
  white-space: nowrap;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  background: #0c0518;
  border: 2px solid var(--line-hot);
  box-shadow: inset 0 0 30px rgba(51, 224, 255, 0.1);
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 2px solid var(--neon-blue);
  background: #000;
  box-shadow: 0 0 18px rgba(51, 224, 255, 0.3);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  overflow: hidden;
}
.player-shell video {
  display: block;
}
.player-panel.is-theater {
  background: #04010a;
}
.player-panel.is-lights-off {
  filter: brightness(0.55) saturate(0.8);
}
.player-panel.is-lights-off .player-shell {
  filter: brightness(1.75);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.ctrl-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: rgba(51, 224, 255, 0.07);
  border: 1px solid var(--line-hot);
  padding: 4px 9px;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctrl-btn:hover {
  color: #0a0612;
  background: var(--neon-pink);
  border-color: var(--neon-pink);
}
.ctrl-btn.is-active {
  color: #0a0612;
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}
.ctrl-field {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.ctrl-label {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  width: 96px;
  max-width: 100%;
  height: 7px;
  background: #1b0f2d;
  border: 1px solid var(--line);
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 15px;
  background: var(--neon-pink);
  box-shadow: 0 0 8px rgba(255, 46, 136, 0.8);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 15px;
  border: none;
  border-radius: 0;
  background: var(--neon-pink);
  box-shadow: 0 0 8px rgba(255, 46, 136, 0.8);
  cursor: pointer;
}
.ctrl-select {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 4px;
  color: var(--neon-blue-soft);
  background: #1b0f2d;
  border: 1px solid var(--line-hot);
  outline: none;
}
.ctrl-select.is-active {
  color: #0a0612;
  background: var(--neon-blue);
}
.player-note {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
  border-top: 1px dashed rgba(90, 47, 143, 0.5);
  padding-top: 5px;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  padding: 0 0 5px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--line-hot);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 2px;
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.heading-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 22px);
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 0 7px rgba(255, 46, 136, 0.85), 0 0 22px rgba(255, 46, 136, 0.4);
}
.heading-sub {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(51, 224, 255, 0.55);
}
.timeline-section {
  padding: 9px 10px 11px;
  background: linear-gradient(180deg, #140b24, #0e0719);
  border: 2px solid var(--line-hot);
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(90, 47, 143, 0.5);
  scrollbar-color: var(--neon-pink) #1b0f2d;
  scrollbar-width: thin;
}
.timeline-scroller::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: #1b0f2d;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding-top: 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--neon-blue) 0 8px, transparent 8px 14px);
  opacity: 0.75;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 158px;
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.node-block {
  width: 15px;
  height: 15px;
  margin-top: 6px;
  background: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 46, 136, 0.85);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.timeline-node:nth-child(even) .node-block {
  background: var(--neon-blue);
  box-shadow: 0 0 10px rgba(51, 224, 255, 0.85);
}
.node-timecode {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--neon-blue-soft);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-dim);
  padding-left: 6px;
  border-left: 2px solid var(--line-hot);
}
.timeline-node:hover .node-label {
  color: var(--text-main);
  border-left-color: var(--neon-pink);
}
.episodes-section {
  padding: 9px 10px 11px;
  background: linear-gradient(180deg, #140b24, #0e0719);
  border: 2px solid var(--line-hot);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 7px;
}
.episode-item {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 8px;
  background: rgba(36, 22, 64, 0.55);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-hot);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background 0.15s, border-color 0.15s;
}
.episode-item:hover {
  background: rgba(51, 224, 255, 0.09);
  border-left-color: var(--neon-blue);
}
.episode-fans {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fans-bar {
  display: block;
  height: 10px;
  background: #1b0f2d;
  border: 1px solid var(--line);
  overflow: hidden;
}
.fans-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(90deg, var(--neon-pink) 0 4px, #0a0612 4px 6px);
  box-shadow: 0 0 8px rgba(255, 46, 136, 0.7);
}
.episode-item:nth-child(1) .fans-bar-fill { width: 2%; }
.episode-item:nth-child(2) .fans-bar-fill { width: 8%; }
.episode-item:nth-child(3) .fans-bar-fill { width: 16%; }
.episode-item:nth-child(4) .fans-bar-fill { width: 24%; }
.episode-item:nth-child(5) .fans-bar-fill { width: 32%; }
.episode-item:nth-child(6) .fans-bar-fill { width: 40%; }
.episode-item:nth-child(7) .fans-bar-fill { width: 48%; }
.episode-item:nth-child(8) .fans-bar-fill { width: 56%; }
.episode-item:nth-child(9) .fans-bar-fill { width: 64%; }
.episode-item:nth-child(10) .fans-bar-fill { width: 72%; }
.episode-item:nth-child(11) .fans-bar-fill { width: 88%; }
.episode-item:nth-child(12) .fans-bar-fill { width: 100%; }
.fans-label {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--neon-pink-soft);
  white-space: nowrap;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
a.episode-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  color: var(--text-main);
  text-decoration: none;
  min-width: 0;
}
a.episode-link:hover .episode-title {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}
a.episode-link:hover .episode-number {
  background: var(--neon-pink);
  color: #0a0612;
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  color: var(--neon-blue-soft);
  background: rgba(51, 224, 255, 0.1);
  border: 1px solid rgba(51, 224, 255, 0.4);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.episode-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #fff;
  min-width: 0;
  transition: color 0.15s;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
}
.episode-duration {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-top: 1px dotted rgba(90, 47, 143, 0.6);
  padding-top: 2px;
  width: 100%;
}
.comments-section {
  padding: 9px 10px 11px;
  background: linear-gradient(180deg, #140b24, #0e0719);
  border: 2px solid var(--line-hot);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comment-item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  padding: 6px 8px;
  background: rgba(36, 22, 64, 0.55);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-hot);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 0.15s;
}
.comment-item:hover {
  background: rgba(255, 46, 136, 0.09);
}
.danmaku-bubble {
  align-self: start;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.04em;
  max-width: 74px;
  padding: 3px 7px;
  color: #0a0612;
  background: var(--neon-blue);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(51, 224, 255, 0.5);
}
.comment-item:nth-child(2n) .danmaku-bubble {
  background: var(--neon-pink);
  box-shadow: 0 0 8px rgba(255, 46, 136, 0.5);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nickname {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--neon-pink-soft);
}
.comment-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  padding: 9px 10px 11px;
  background: linear-gradient(180deg, #140b24, #0e0719);
  border: 2px solid var(--line-hot);
}
.region-heading {
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--line-hot);
}
.region-title-outline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: 0.12em;
  color: #12071f;
  -webkit-text-stroke: 1px var(--neon-pink);
  text-shadow:
    0 0 8px rgba(255, 46, 136, 0.75),
    0 0 20px rgba(162, 75, 255, 0.5);
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-3col {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(36, 22, 64, 0.6);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  background: rgba(51, 224, 255, 0.1);
  border-color: var(--neon-blue);
  transform: translateY(-3px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line-hot);
  background: #0a0612;
}
.recommend-pic {
  filter: saturate(1.12) contrast(1.06);
}
a.recommend-card:hover .recommend-pic {
  border-color: var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 46, 136, 0.5);
}
.recommend-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #fff;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-region .recommend-grid-3col {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.site-footer {
  max-width: 1500px;
  margin: 0 auto;
  padding: 12px 14px 20px;
  border-top: 2px solid var(--line-hot);
  background: linear-gradient(180deg, rgba(20, 11, 36, 0.4), transparent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--neon-blue);
  border-bottom-color: var(--neon-blue);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 8px;
  background: rgba(36, 22, 64, 0.45);
  border: 1px solid var(--line);
}
.friend-links-label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(51, 224, 255, 0.5);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 11.5px;
  padding: 1px 6px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--neon-pink-soft);
  border-color: rgba(255, 46, 136, 0.5);
  background: rgba(255, 46, 136, 0.08);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
@media (max-width: 1180px) {.movie-overview {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  }
.player-panel {
    grid-column: 1 / -1;
  }}
@media (max-width: 900px) {.hero-backdrop {
    height: clamp(260px, 56vw, 380px);
  }
.hero-figure {
    width: 32%;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
.poster-frame {
    flex: 0 1 200px;
    max-width: 220px;
  }
.episode-status {
    flex: 1 1 200px;
  }
.poster-actions {
    flex: 1 1 100%;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {.page-main {
    padding: 8px 9px 14px;
    gap: 10px;
  }
.header-bar {
    padding: 6px 10px;
  }
.category-strip {
    padding: 6px 10px 6px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
  }
a.nav-link {
    padding: 3px 7px;
    font-size: 12px;
  }
.hero-backdrop {
    height: clamp(240px, 72vw, 330px);
  }
.hero-figure {
    width: 33%;
    min-width: 96px;
  }
.hero-figure::before {
    min-height: 150px;
  }
.figure-tag {
    font-size: 10px;
    padding: 1px 5px;
  }
.echo-line:nth-child(3), .echo-line:nth-child(4) {
    display: none;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 8px 8px 10px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-item {
    grid-template-columns: minmax(0, 84px) minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card-list {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.recommend-grid-3col, .recommend-region .recommend-grid-3col {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.ctrl-range {
    width: 78px;
  }
.timeline-node {
    width: 138px;
  }}
@media (max-width: 420px) {.comment-item {
    grid-template-columns: minmax(0, 1fr);
  }
.danmaku-bubble {
    justify-self: start;
    max-width: none;
  }
.recommend-grid-3col, .recommend-region .recommend-grid-3col {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {.hero-glitch-layer::before, .hero-glitch-layer::after {
    animation: none;
  }
html {
    scroll-behavior: auto;
  }}

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}
