:root {
  --ink: #1a1c22;
  --ink-soft: #4a4e58;
  --body: #33353c;
  --paper: #e8e3da;
  --paper-warm: #d8d1c5;
  --night: #0b1220;
  --night-mid: #131c30;
  --night-soft: #1d2942;
  --neon: #ff2f85;
  --neon-dim: #c9206a;
  --neon-soft: rgba(255, 47, 133, 0.16);
  --bp: #39ff88;
  --bp-dim: #1f9e55;
  --cold: #7fb4d8;
  --rule: rgba(232, 227, 218, 0.14);
  --gap: 0.85rem;
  --pad: 0.95rem;
  --lh: 1.4;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--night);
  background-image:
    radial-gradient(120% 80% at 85% -10%, rgba(255, 47, 133, 0.18), transparent 60%),
    radial-gradient(90% 70% at 5% 15%, rgba(127, 180, 216, 0.12), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0d1526 45%, #0a101c 100%);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: var(--lh);
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl, dd, dt, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 14, 25, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 0.55rem 1rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
a[data-contract="site-name"].site-brand {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--neon);
  padding-left: 0.5rem;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
a.header-nav-link {
  color: var(--ink-soft);
  color: #9aa4b8;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
a.header-nav-link:hover {
  color: #fff;
  background: var(--neon-soft);
}
.categories-strip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.4rem 1rem 0.55rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid rgba(232, 227, 218, 0.06);
}
a.runtime-category {
  color: var(--cold);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(127, 180, 216, 0.32);
  border-radius: 3px;
  background: rgba(127, 180, 216, 0.06);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--neon);
  border-color: var(--neon);
  background: var(--neon-soft);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 2.4rem;
  display: block;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr);
  grid-template-areas: "media info";
  gap: 1.1rem 1.4rem;
  align-items: start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
.hero-media {
  grid-area: media;
  position: relative;
  isolation: isolate;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(232, 227, 218, 0.16);
  background: #060a12;
  box-shadow: 0 0 0 1px rgba(255, 47, 133, 0.18), 0 18px 44px -22px rgba(0, 0, 0, 0.9);
}
img.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  display: block;
}
.hero-lights {
  position: absolute;
  inset: -10% -14% auto auto;
  width: 62%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 47, 133, 0.55), transparent 42%),
    radial-gradient(circle at 70% 55%, rgba(127, 180, 216, 0.42), transparent 48%),
    radial-gradient(circle at 45% 80%, rgba(57, 255, 136, 0.18), transparent 55%);
  filter: blur(26px);
  opacity: 0.75;
  pointer-events: none;
}
.hero-info {
  grid-area: info;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.hero-title {
  font-size: clamp(1.5rem, 4.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 47, 133, 0.45);
  max-width: 22ch;
}
.hero-tagline {
  font-size: 0.9rem;
  color: rgba(232, 227, 218, 0.82);
  border-left: 2px solid var(--neon);
  padding-left: 0.6rem;
  max-width: 34ch;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #05080f;
  border: 1px solid rgba(232, 227, 218, 0.14);
  padding: 0.4rem;
}
.player-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.05rem 0.05rem;
}
.player-btn {
  appearance: none;
  background: rgba(232, 227, 218, 0.07);
  border: 1px solid rgba(232, 227, 218, 0.16);
  color: rgba(232, 227, 218, 0.88);
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 0.26rem 0.55rem;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: #fff;
  border-color: var(--neon);
  background: var(--neon-soft);
  outline: none;
}
.player-progress {
  flex: 1 1 8rem;
  min-width: 4rem;
  height: 0.9rem;
  accent-color: var(--neon);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 5rem;
  min-width: 3.2rem;
  height: 0.9rem;
  accent-color: var(--cold);
  cursor: pointer;
}
.hero-player-wrap.is-playing .player-video {
  box-shadow: inset 0 0 0 1px rgba(255, 47, 133, 0.35);
}
.hero-player-wrap.is-muted .player-volume {
  accent-color: #6b7280;
}
.hero-player-wrap.is-fast .player-btn[data-player-action="speed"] {
  color: var(--bp);
  border-color: var(--bp-dim);
}
.hero-player-wrap.is-pip .player-btn[data-player-action="pip"], .hero-player-wrap.is-fullscreen .player-btn[data-player-action="fullscreen"] {
  color: #fff;
  border-color: var(--neon);
  background: var(--neon-soft);
}
.hero-player-wrap.is-theater {
  box-shadow: 0 0 0 1px rgba(255, 47, 133, 0.4), 0 24px 60px -30px rgba(255, 47, 133, 0.6);
}
.hero-player-wrap.is-lights-off {
  background: #000;
}
body.is-lights-off .page-main > :not(.hero), body.is-lights-off .site-footer {
  opacity: 0.25;
  transition: opacity 0.3s ease;
}
.player-btn.play, .player-btn.mute, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light {
  font-variant-numeric: tabular-nums;
}
.cast-strip {
  margin-top: 0.2rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(232, 227, 218, 0.1);
}
.cast-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--neon);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.cast-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-dim) transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-row::-webkit-scrollbar {
  height: 5px;
}
.cast-row::-webkit-scrollbar-track {
  background: rgba(232, 227, 218, 0.08);
}
.cast-row::-webkit-scrollbar-thumb {
  background: var(--neon-dim);
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 auto;
  width: 4.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  align-items: flex-start;
}
.cast-face {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 32%, rgba(232, 227, 218, 0.5), transparent 34%),
    linear-gradient(160deg, #24304a 0%, #131c30 58%, #1a1024 100%);
  border: 1px solid rgba(232, 227, 218, 0.14);
  box-shadow: inset 0 0 22px -8px rgba(255, 47, 133, 0.55);
}
.cast-name {
  font-size: 0.72rem;
  color: rgba(232, 227, 218, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis {
  margin-top: 0.6rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(232, 227, 218, 0.1);
}
.synopsis-heading, .episode-status-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--neon);
  margin-bottom: 0.45rem;
}
.synopsis-lead {
  font-size: 0.88rem;
  line-height: var(--lh);
  color: rgba(232, 227, 218, 0.92);
  padding-left: 0.6rem;
  border-left: 2px solid rgba(255, 47, 133, 0.5);
  margin-bottom: 0.55rem;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.5rem 1.1rem;
  align-items: start;
}
.synopsis-para {
  font-size: 0.82rem;
  line-height: var(--lh);
  color: rgba(232, 227, 218, 0.72);
  text-align: left;
}
.episode-status {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(232, 227, 218, 0.1);
}
.episode-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  align-items: baseline;
}
.episode-status-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.episode-status-key {
  font-size: 0.72rem;
  color: rgba(232, 227, 218, 0.55);
  letter-spacing: 0.08em;
}
.episode-status-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bp);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(57, 255, 136, 0.4);
}
.details {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(232, 227, 218, 0.1);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: 0.35rem 0.9rem;
  align-items: start;
}
.details-item {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  padding: 0.28rem 0.5rem;
  background: rgba(232, 227, 218, 0.035);
  border-left: 2px solid rgba(255, 47, 133, 0.28);
}
.details-key {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(232, 227, 218, 0.5);
}
.details-value {
  font-size: 0.8rem;
  color: rgba(232, 227, 218, 0.88);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.timeline {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.35rem 1.2rem;
  align-items: start;
  padding-left: 0.1rem;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.3rem 0 0.3rem 0.9rem;
  border-left: 1px solid rgba(57, 255, 136, 0.22);
}
.timeline-dot {
  position: absolute;
  left: -0.24rem;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--bp);
  box-shadow: 0 0 6px 1px rgba(57, 255, 136, 0.9), 0 0 14px 3px rgba(57, 255, 136, 0.35);
}
.timeline-timecode {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bp);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  font-size: 0.8rem;
  color: rgba(232, 227, 218, 0.78);
  line-height: var(--lh);
  text-align: left;
}
.episodes {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.9rem;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 0.42rem 0.55rem 0.42rem 0.6rem;
  background: rgba(232, 227, 218, 0.035);
  border-left: 2px solid rgba(127, 180, 216, 0.35);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.episode-card:hover {
  background: rgba(255, 47, 133, 0.09);
  border-left-color: var(--neon);
}
.episode-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(232, 227, 218, 0.95);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.episode-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.episode-summary {
  font-size: 0.74rem;
  line-height: var(--lh);
  color: rgba(232, 227, 218, 0.62);
  margin-top: 0.12rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--bp-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 1.6rem;
  opacity: 1;
  margin-top: 0.15rem;
}
.comments {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 0.3rem;
  align-items: start;
}
.comment-card {
  padding: 0.4rem 0.6rem;
  background: rgba(232, 227, 218, 0.045);
  border-left: 2px solid rgba(255, 47, 133, 0.4);
  box-shadow: 0 1px 0 rgba(232, 227, 218, 0.05);
}
.comment-nickname {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--neon);
  margin-bottom: 0.18rem;
  text-shadow: 0 0 8px rgba(255, 47, 133, 0.5);
}
.comment-text {
  font-size: 0.78rem;
  line-height: var(--lh);
  color: rgba(232, 227, 218, 0.76);
  text-align: left;
}
.recommend-region {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.recommend-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(232, 227, 218, 0.9);
  padding-left: 0.5rem;
  border-left: 3px solid var(--neon);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.6rem;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.4rem;
  background: rgba(232, 227, 218, 0.04);
  border: 1px solid rgba(232, 227, 218, 0.1);
  color: rgba(232, 227, 218, 0.86);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  border-color: var(--neon);
  background: var(--neon-soft);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0a0f1a;
  border: 1px solid rgba(232, 227, 218, 0.08);
}
.recommend-pic {
  filter: saturate(0.9);
}
.recommend-name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(232, 227, 218, 0.95);
}
.recommend-blurb {
  font-size: 0.72rem;
  line-height: var(--lh);
  color: rgba(232, 227, 218, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1rem 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  color: var(--cold);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 180, 216, 0.35);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: var(--lh);
  color: rgba(232, 227, 218, 0.42);
  max-width: 62ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.7rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(232, 227, 218, 0.07);
}
.friend-links-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(232, 227, 218, 0.45);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: rgba(232, 227, 218, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--neon);
  text-decoration: underline;
  text-decoration-color: var(--neon);
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "info";
    gap: 0.9rem;
  }
.hero-media {
    max-width: 17rem;
  }
.hero-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0.75rem 0.75rem 1.8rem;
  }
.header-bar {
    padding: 0.5rem 0.75rem;
  }
.categories-strip {
    padding: 0.35rem 0.75rem 0.5rem;
  }
.hero-media {
    max-width: 13.5rem;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  }
.player-btn {
    font-size: 0.68rem;
    padding: 0.24rem 0.45rem;
  }}
@media (max-width: 420px) {.hero-media {
    max-width: 11rem;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    width: 4rem;
  }}
@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}
