*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #14161d;
  color: #d7dae3;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li, figure {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a {
  color: inherit;
  text-decoration: none;
}
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #dfe2ea;
  --ink-dim: #8b93a6;
  --ink-faint: #656d80;
  --neon: #ff4f9a;
  --neon-soft: rgba(255, 79, 154, 0.16);
  --neon-line: rgba(255, 79, 154, 0.38);
  --cold: #4d5e78;
  --cold-soft: rgba(77, 94, 120, 0.28);
  --panel: #1b1e27;
  --panel-2: #20242f;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --warm: #e8b464;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 14px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 20, 27, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 20px;
}
.site-brand {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Xingkai SC", "Songti SC", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f3f4f8;
  text-shadow: 0 0 12px rgba(255, 79, 154, 0.45), 0 0 3px rgba(255, 79, 154, 0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
a[data-contract="site-name"] {
  color: #f3f4f8;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--neon);
  text-shadow: 0 0 16px rgba(255, 79, 154, 0.7);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 12.5px;
  color: #aeb6c7;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--neon-line);
  background: var(--neon-soft);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero-stage {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  padding: 22px;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 300px at 78% 12%, rgba(232, 180, 100, 0.16), transparent 68%),
    radial-gradient(560px 380px at 12% 96%, rgba(255, 79, 154, 0.14), transparent 70%),
    radial-gradient(420px 260px at 46% 40%, rgba(77, 94, 120, 0.22), transparent 72%),
    linear-gradient(160deg, #1a1d26 0%, #15171e 60%, #101218 100%);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 30%, rgba(255, 226, 180, 0.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 34% 68%, rgba(255, 226, 180, 0.38), transparent 60%),
    radial-gradient(1.8px 1.8px at 57% 22%, rgba(255, 79, 154, 0.42), transparent 60%),
    radial-gradient(1.2px 1.2px at 71% 55%, rgba(255, 226, 180, 0.34), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 34%, rgba(255, 226, 180, 0.4), transparent 60%),
    radial-gradient(1.1px 1.1px at 44% 84%, rgba(255, 79, 154, 0.3), transparent 60%),
    radial-gradient(1.4px 1.4px at 92% 78%, rgba(255, 226, 180, 0.28), transparent 60%);
  opacity: 0.9;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.poster-column {
  align-self: start;
}
.poster-frame {
  position: relative;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 79, 154, 0.3);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 16px 34px -18px rgba(255, 79, 154, 0.55);
  overflow: hidden;
  background: #0e1015;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.movie-title {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Xingkai SC", "Songti SC", serif;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f6f7fa;
  text-shadow: 0 0 22px rgba(255, 79, 154, 0.4), 0 1px 0 rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  margin-top: -10px;
  font-size: 13.5px;
  color: #ffb9d5;
  letter-spacing: 0.05em;
  border-left: 2px solid var(--neon);
  padding-left: 10px;
}
.section-heading {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Xingkai SC", "Songti SC", serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #eef0f6;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon), rgba(255, 79, 154, 0.25));
  box-shadow: 0 0 10px rgba(255, 79, 154, 0.7);
  flex: none;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: var(--neon-line);
  background: var(--neon-soft);
}
.cast-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 79, 154, 0.85), transparent 62%),
    radial-gradient(circle at 70% 74%, rgba(77, 94, 120, 0.9), transparent 66%),
    linear-gradient(145deg, #2b3040, #191c25);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 8px rgba(255, 79, 154, 0.35);
}
.cast-name {
  font-size: 13px;
  font-weight: 600;
  color: #eceef4;
  white-space: nowrap;
}
.cast-role {
  font-size: 11.5px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.cast-role::before {
  content: "·";
  margin-right: 5px;
  color: var(--neon-line);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.78;
  color: #b6bccb;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.synopsis-paragraph:first-child {
  color: #c8cedb;
}
.episode-status-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(255, 79, 154, 0.06), rgba(255, 255, 255, 0.01));
  padding: 12px 14px;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
}
.status-current {
  color: #ffd7e8;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.status-sep {
  color: var(--ink-faint);
}
.status-total {
  color: var(--ink-dim);
}
.status-bar {
  position: relative;
  margin-top: 9px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  overflow: hidden;
}
.status-bar-fill {
  display: block;
  height: 100%;
  width: 66.6%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4f9a, #ff8ec0);
  box-shadow: 0 0 12px rgba(255, 79, 154, 0.75);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0 22px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.detail-key {
  flex: none;
  width: 62px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.detail-value {
  font-size: 12.5px;
  color: #c3c9d7;
  min-width: 0;
}
.player-section {
  width: 100%;
}
.player-shell {
  position: relative;
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: #0b0d12;
  box-shadow: 0 22px 48px -30px rgba(255, 79, 154, 0.5);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-shell.theater-mode {
  border-color: var(--neon-line);
  box-shadow: 0 0 0 1px rgba(255, 79, 154, 0.35), 0 26px 60px -28px rgba(255, 79, 154, 0.6);
}
body.theater-mode .hero-stage, body.theater-mode .site-header {
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
body.lights-off {
  background: #07080b;
}
body.lights-off .player-shell {
  border-color: rgba(255, 79, 154, 0.5);
  box-shadow: 0 0 60px -6px rgba(255, 79, 154, 0.4);
}
body.lights-off .hero-stage, body.lights-off .page-main > section:not(.player-section), body.lights-off .site-footer {
  filter: brightness(0.45) saturate(0.7);
  transition: filter 0.3s ease;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.25));
  border-top: 1px solid var(--line);
}
.control-btn {
  flex: none;
  padding: 5px 12px;
  font-size: 12.5px;
  color: #cfd4e0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.control-btn:hover {
  color: #fff;
  border-color: var(--neon-line);
  background: var(--neon-soft);
}
.control-btn.is-active, .control-btn.play, .control-btn.pause, .control-btn.mute, .control-btn.pip, .control-btn.fullscreen, .control-btn.theater, .control-btn.light {
  border-color: var(--neon-line);
}
.control-btn.is-active {
  color: #fff;
  background: rgba(255, 79, 154, 0.28);
  box-shadow: 0 0 12px -2px rgba(255, 79, 154, 0.8);
}
.control-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, rgba(255, 79, 154, 0.55), rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4f9a;
  border: 2px solid #1a1d26;
  box-shadow: 0 0 8px rgba(255, 79, 154, 0.9);
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #1a1d26;
  border-radius: 50%;
  background: #ff4f9a;
}
.control-select {
  flex: none;
  padding: 5px 9px;
  font-size: 12.5px;
  color: #cfd4e0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  cursor: pointer;
}
.control-select:focus, .control-range:focus, .control-btn:focus-visible {
  outline: 1px solid var(--neon-line);
  outline-offset: 1px;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 8px;
  align-items: start;
}
.timeline-item {
  position: relative;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(255, 79, 154, 0.05), rgba(255, 255, 255, 0.012));
  border-left: 2px solid rgba(255, 79, 154, 0.5);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4f9a;
  box-shadow: 0 0 10px rgba(255, 79, 154, 0.95);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #ff9dc7;
  margin-bottom: 2px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: #b7bdcc;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title prog"
    "sum sum sum"
    "dur dur dur";
  gap: 3px 9px;
  align-items: baseline;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: var(--neon-line);
  background: rgba(255, 79, 154, 0.05);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #ff9dc7;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 600;
  color: #eaeef5;
  line-height: 1.4;
}
.episode-progress {
  grid-area: prog;
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 999px;
  white-space: nowrap;
  color: #9fd8b8;
  border: 1px solid rgba(120, 210, 160, 0.35);
  background: rgba(120, 210, 160, 0.09);
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.62;
  color: #98a0b1;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--panel-2);
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.9);
}
.comment-card:nth-child(2n) {
  background: #1d212b;
  transform: translateY(4px);
}
.comment-card:nth-child(3n) {
  background: linear-gradient(160deg, rgba(255, 79, 154, 0.07), rgba(255, 255, 255, 0.012));
  border-color: rgba(255, 79, 154, 0.22);
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffb0d3;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: #a9b0c0;
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.recommend-heading {
  position: relative;
  padding-bottom: 8px;
}
.recommend-heading::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(255, 79, 154, 0.8);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
  margin-top: 4px;
}
.recommend-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.recommend-card:hover {
  border-color: var(--neon-line);
  background: rgba(255, 79, 154, 0.05);
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  color: #c1c7d5;
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  background: #101319;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 600;
  color: #e8ebf2;
  line-height: 1.4;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}
a[data-runtime="recommendation"]:hover [data-runtime="name"] {
  color: #ff9dc7;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 780px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #9aa2b4;
  text-decoration: underline;
  text-decoration-color: rgba(255, 79, 154, 0.35);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ff9dc7;
  text-decoration-color: #ff4f9a;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8d95a8;
  text-decoration: none;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-friend-link:hover {
  color: #ffd7e8;
  border-color: var(--neon-line);
  background: var(--neon-soft);
}
@media (max-width: 900px) {.hero-inner {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 20px;
  }
.synopsis-body {
    grid-template-columns: 1fr;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.comment-card:nth-child(2n) {
    transform: none;
  }}
@media (max-width: 640px) {.header-inner {
    padding: 8px 14px;
    gap: 10px;
  }
.page-main {
    padding: 14px 14px 30px;
    gap: 22px;
  }
.hero-stage {
    padding: 14px;
  }
.hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.poster-column {
    max-width: 190px;
  }
.movie-tagline {
    margin-top: -6px;
  }
.timeline-track {
    grid-template-columns: 1fr;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: 1fr;
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }
.control-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
.site-footer {
    padding: 16px 14px 26px;
  }}
@media (max-width: 400px) {.recommend-grid {
    grid-template-columns: 1fr;
  }
.cast-card {
    padding-right: 9px;
  }}

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}
