*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --bg: #07060c;
  --bg-2: #0d0a17;
  --panel: #120e20;
  --panel-2: #171227;
  --line: rgba(140, 110, 220, 0.22);
  --line-soft: rgba(140, 110, 220, 0.12);
  --violet: #a06bff;
  --violet-dim: #6f4fc4;
  --amber: #ffb154;
  --amber-hot: #ffd28a;
  --ink: #e8e4f4;
  --ink-dim: #b3aacd;
  --ink-faint: #7d7499;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;
  --radius: 10px;
  --radius-sm: 6px;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(1200px 620px at 12% -8%, rgba(108, 62, 200, 0.28), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(255, 158, 64, 0.13), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9, 7, 16, 0.96), rgba(9, 7, 16, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: var(--amber-hot);
  text-shadow: 0 0 12px rgba(255, 177, 84, 0.55), 0 0 26px rgba(255, 140, 40, 0.28);
  white-space: nowrap;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  color: var(--violet);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(160, 107, 255, 0.07);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--violet);
  background: rgba(160, 107, 255, 0.2);
  box-shadow: 0 0 14px rgba(160, 107, 255, 0.45);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 34px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 188px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0 24px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -18px -16px 0;
  background:
    radial-gradient(600px 300px at 18% 30%, rgba(120, 70, 220, 0.2), transparent 70%),
    radial-gradient(520px 320px at 82% 70%, rgba(255, 160, 60, 0.1), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 18px 44px -20px rgba(120, 60, 220, 0.7);
  align-self: start;
}
.poster-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.06);
}
.hero-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 18px rgba(160, 107, 255, 0.6), 0 0 40px rgba(255, 160, 60, 0.22);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--amber);
  letter-spacing: 0.06em;
  padding-left: 9px;
  border-left: 2px solid var(--amber);
  line-height: 1.45;
}
.hero-player {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(28, 20, 48, 0.9), rgba(12, 9, 22, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px rgba(120, 70, 220, 0.14);
}
.hero-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: var(--radius-sm);
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.player-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
  color: var(--ink-dim);
  background: rgba(160, 107, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--violet);
  background: rgba(160, 107, 255, 0.24);
  box-shadow: 0 0 12px rgba(160, 107, 255, 0.4);
}
.player-btn.is-playing, .player-btn.is-active {
  color: #100a1c;
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 14px rgba(255, 177, 84, 0.6);
}
.player-btn.is-muted {
  color: var(--amber-hot);
  border-color: var(--amber);
  background: rgba(255, 177, 84, 0.16);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 66px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--amber));
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber-hot);
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 9px rgba(255, 177, 84, 0.85);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  background: var(--amber-hot);
  box-shadow: 0 0 9px rgba(255, 177, 84, 0.85);
}
.player-select {
  padding: 3px 6px;
  font-size: 11.5px;
  color: var(--ink-dim);
  background: rgba(160, 107, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-mono);
}
.player-select:hover {
  color: #fff;
  border-color: var(--violet);
}
.hero-panel.theater-mode .hero-media {
  opacity: 0.28;
}
.hero-panel.theater-mode .hero-player {
  border-color: var(--amber);
  box-shadow: 0 0 28px rgba(255, 177, 84, 0.3), inset 0 0 40px rgba(255, 160, 60, 0.12);
}
.hero-panel.lights-on {
  background: radial-gradient(560px 320px at 30% 40%, rgba(255, 190, 110, 0.12), transparent 72%);
}
.hero-panel.lights-on .movie-title {
  text-shadow: 0 0 20px rgba(255, 190, 110, 0.8);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-faint);
}
.status-episode, .status-current, .status-total {
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.status-episode {
  color: var(--amber);
  border-color: rgba(255, 177, 84, 0.35);
  background: rgba(255, 177, 84, 0.08);
  font-family: var(--font-mono);
}
.status-current {
  color: var(--violet);
  border-color: rgba(160, 107, 255, 0.4);
  background: rgba(160, 107, 255, 0.1);
}
.status-total {
  font-family: var(--font-mono);
  color: var(--ink-dim);
}
.status-sep {
  color: var(--line);
}
.block-heading {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--violet);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.cast-block { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  max-width: 62px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 16px rgba(160, 107, 255, 0.28);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.cast-card:hover .cast-avatar {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 177, 84, 0.5);
}
.cast-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-all;
}
.cast-role {
  font-size: 10.5px;
  color: var(--ink-faint);
  line-height: 1.3;
  word-break: break-all;
}
.synopsis-block { min-width: 0; }
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  margin-bottom: 7px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.synopsis-paragraph::first-line {
  color: var(--ink);
}
.details-block { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-size: 11.5px;
  color: var(--ink-faint);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 11.5px;
  color: var(--ink);
  text-align: right;
  min-width: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.section-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--amber);
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 2px solid var(--amber);
  line-height: 1.3;
  text-shadow: 0 0 14px rgba(255, 177, 84, 0.4);
}
.timeline-section {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--violet-dim) transparent;
}
.timeline-scroller::-webkit-scrollbar { height: 5px; }
.timeline-scroller::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 999px; }
.timeline-scroller::-webkit-scrollbar-thumb { background: var(--violet-dim); border-radius: 999px; }
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
  padding: 14px 2px 4px;
  position: relative;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  display: flex;
}
.timeline-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 16px 9px 9px;
  text-align: left;
  cursor: pointer;
  color: var(--ink-dim);
  background: linear-gradient(170deg, rgba(28, 20, 48, 0.72), rgba(11, 8, 20, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  position: relative;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.timeline-btn:hover {
  color: var(--ink);
  border-color: var(--violet);
  box-shadow: 0 0 18px rgba(160, 107, 255, 0.28);
}
.timeline-btn.is-selected {
  color: #fff;
  border-color: var(--amber);
  background: linear-gradient(170deg, rgba(56, 34, 18, 0.86), rgba(14, 10, 22, 0.94));
  box-shadow: 0 0 22px rgba(255, 177, 84, 0.4), inset 0 0 22px rgba(255, 160, 60, 0.1);
}
.timeline-drop {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 13px;
  background: linear-gradient(180deg, var(--violet), var(--violet-dim));
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  box-shadow: 0 0 12px rgba(160, 107, 255, 0.85);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.timeline-drop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 1px;
  height: 8px;
  background: linear-gradient(180deg, var(--violet), transparent);
}
.timeline-btn.is-selected .timeline-drop {
  background: linear-gradient(180deg, var(--amber-hot), var(--amber));
  box-shadow: 0 0 16px rgba(255, 177, 84, 0.9);
}
.timeline-btn.is-selected .timeline-drop::after {
  background: linear-gradient(180deg, var(--amber), transparent);
}
.timeline-timecode {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--amber);
  white-space: nowrap;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: inherit;
}
.timeline-still {
  margin-top: 10px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 30px -12px rgba(160, 107, 255, 0.55);
  background: #000;
}
.timeline-still-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.08);
}
.episodes-section {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 18px;
}
.episode-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  padding: 5px 6px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
  transition: background 0.16s ease;
}
.episode-row:hover {
  background: rgba(160, 107, 255, 0.07);
}
.episode-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--violet);
  white-space: nowrap;
}
.episode-title {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-summary {
  grid-column: 2 / -1;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-row:hover .episode-summary {
  max-height: 80px;
  opacity: 1;
  margin-top: 2px;
}
.comments-section {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.recommend-region {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-region:last-of-type {
  border-bottom: none;
  margin-bottom: 6px;
}
.recommend-title {
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--violet);
  margin-bottom: 9px;
  line-height: 1.35;
  text-shadow: 0 0 16px rgba(160, 107, 255, 0.5);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(170deg, rgba(26, 19, 44, 0.7), rgba(10, 8, 18, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 6px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(160, 107, 255, 0.3);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #000;
  filter: saturate(1.05) contrast(1.05);
}
.recommend-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 8, 18, 0.6), rgba(6, 5, 11, 0.98));
  padding: 16px 16px 22px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.16s ease, text-shadow 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-shadow: 0 0 12px rgba(255, 177, 84, 0.5);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-faint);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--violet);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  text-decoration: none;
  color: var(--ink-faint);
  white-space: nowrap;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber-hot);
  text-shadow: 0 0 10px rgba(255, 177, 84, 0.55);
}
@media (max-width: 1024px) {.hero-panel {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 15px;
  }
.cast-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-panel {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 13px;
  }
.cast-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
.movie-title { font-size: 22px; }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.page-main { padding: 0 12px 26px; }
.header-inner { padding: 7px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 15px; letter-spacing: 0.16em; }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0 18px;
  }
.hero-media {
    max-width: 168px;
  }
.movie-title { font-size: 20px; }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.cast-avatar { max-width: 58px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.timeline-node { width: 152px; }
.timeline-still-img { aspect-ratio: 16 / 9; }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 8px;
  }
.player-controls { gap: 4px; }
.player-btn { font-size: 11px; padding: 3px 8px; }}
@media (max-width: 420px) {.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-media { max-width: 140px; }
.recommend-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-row { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 6px; }
.timeline-node { width: 138px; }}

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}
