:root {
  --bg-deep: #080d24;
  --bg-panel: #0e1637;
  --bg-panel-2: #131e4a;
  --bg-tint: rgba(255, 255, 255, 0.04);
  --ink: #eef2ff;
  --ink-dim: #9aa6d4;
  --ink-faint: #6a77a8;
  --gold: #ff9d2e;
  --gold-hot: #ffb84d;
  --gold-deep: #d97a12;
  --dragon: #3dff9e;
  --dragon-dim: #1fbf73;
  --line: rgba(120, 145, 220, 0.22);
  --line-hot: rgba(255, 157, 46, 0.45);
  --radius: 6px;
  --gap: 10px;
  --pad: 12px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(61, 255, 158, 0.10), transparent 62%),
    radial-gradient(900px 620px at 8% 4%, rgba(255, 157, 46, 0.10), transparent 60%),
    radial-gradient(1200px 800px at 50% 120%, rgba(30, 60, 160, 0.35), transparent 70%),
    var(--bg-deep);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Heiti SC", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  min-height: 100%;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--gold-hot);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(8, 13, 36, 0.96), rgba(8, 13, 36, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.brand.logo {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--gold-hot);
  text-shadow: 0 0 14px rgba(255, 157, 46, 0.55);
  position: relative;
  padding-left: 16px;
  flex: 0 0 auto;
}
.brand.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3d2, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 10px 2px rgba(255, 157, 46, 0.75);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 200px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-dim);
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-tint);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #071026;
  background: var(--gold);
  border-color: var(--gold-hot);
  box-shadow: 0 0 12px rgba(255, 157, 46, 0.5);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(160deg, rgba(19, 30, 74, 0.9), rgba(10, 16, 42, 0.92)),
    var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.4px 1.4px at 68% 9%, rgba(180, 220, 255, 0.75), transparent),
    radial-gradient(1.8px 1.8px at 86% 32%, rgba(255, 220, 170, 0.8), transparent),
    radial-gradient(1.2px 1.2px at 40% 42%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 22% 72%, rgba(140, 255, 200, 0.7), transparent),
    radial-gradient(1.3px 1.3px at 74% 84%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.9px 1.9px at 54% 64%, rgba(255, 190, 120, 0.7), transparent);
  opacity: 0.75;
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero-figure {
  align-self: start;
  display: flex;
  justify-content: center;
}
.poster-wrap {
  width: 100%;
  max-width: 210px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-hot);
  box-shadow: 0 0 0 1px rgba(255, 157, 46, 0.15), 0 14px 34px rgba(0, 0, 0, 0.6);
  position: relative;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 255, 158, 0.10), transparent 42%, rgba(8, 13, 36, 0.45));
  pointer-events: none;
}
img.poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 0 22px rgba(255, 157, 46, 0.45);
}
.movie-tagline {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dragon);
  line-height: 1.4;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  text-shadow: 0 0 14px rgba(61, 255, 158, 0.3);
}
.player-shell {
  min-width: 0;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #05091c;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 2px var(--gold), 0 14px 40px rgba(255, 157, 46, 0.28);
}
video.player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(19, 30, 74, 0.9), rgba(8, 13, 36, 0.95));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, background 0.14s, border-color 0.14s, box-shadow 0.14s;
}
.ctrl-btn:hover {
  color: var(--ink);
  border-color: var(--line-hot);
  background: rgba(255, 157, 46, 0.14);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active, .ctrl-btn.is-muted, .ctrl-btn.is-fullscreen {
  color: #071026;
  background: var(--gold);
  border-color: var(--gold-hot);
  box-shadow: 0 0 12px rgba(255, 157, 46, 0.55);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--gold) 0%, var(--dragon) 100%);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6e0, var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 0 8px rgba(255, 157, 46, 0.85);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6e0, var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 0 8px rgba(255, 157, 46, 0.85);
}
.block-title, .section-title, .rec-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-hot);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 11px;
  position: relative;
}
.block-title::before, .section-title::before, .rec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 15px;
  margin-top: -7.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold-deep));
  box-shadow: 0 0 9px rgba(255, 157, 46, 0.8);
}
.section-title {
  font-size: 16px;
  margin-bottom: 10px;
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--line-hot);
  background: rgba(255, 157, 46, 0.08);
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(140deg, #24407f, #101a45);
  border: 2px solid rgba(61, 255, 158, 0.55);
  box-shadow: 0 0 0 4px rgba(61, 255, 158, 0.10), 0 0 16px rgba(61, 255, 158, 0.45);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 157, 46, 0.35);
  pointer-events: none;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}
.synopsis-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-dim);
  text-align: justify;
}
.status-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  border-radius: var(--radius);
  border: 1px solid var(--line-hot);
  background: linear-gradient(120deg, rgba(255, 157, 46, 0.12), rgba(61, 255, 158, 0.06));
}
.status-line {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-hot);
  letter-spacing: 0.02em;
}
.status-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-dim);
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(120, 145, 220, 0.18);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
}
.detail-value {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  display: flex;
  flex-direction: column;
}
.timeline-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.timeline-scroller::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 157, 46, 0.5), rgba(61, 255, 158, 0.4), transparent);
  pointer-events: none;
}
.timeline-node {
  flex: 0 0 auto;
  width: 196px;
  scroll-snap-align: start;
  position: relative;
  padding: 40px 11px 10px;
  background: linear-gradient(160deg, rgba(19, 30, 74, 0.85), rgba(10, 16, 42, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1;
  transition: border-color 0.15s, transform 0.15s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  margin-left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff4d6, var(--gold) 45%, var(--gold-deep) 78%);
  box-shadow: 0 0 0 4px rgba(255, 157, 46, 0.14), 0 0 16px rgba(255, 157, 46, 0.7);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 50%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: rgba(255, 157, 46, 0.5);
}
.timeline-node:hover {
  border-color: var(--line-hot);
  transform: translateY(-2px);
}
.timeline-timecode {
  font-size: 12.5px;
  font-weight: 900;
  color: var(--dragon);
  letter-spacing: 0.04em;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-dim);
}
.episodes-section {
  display: flex;
  flex-direction: column;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 9px 10px 26px;
  background: linear-gradient(150deg, rgba(19, 30, 74, 0.78), rgba(10, 16, 42, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--dragon));
  opacity: 0.65;
}
.episode-card:hover {
  border-color: var(--line-hot);
  background: linear-gradient(150deg, rgba(38, 30, 22, 0.9), rgba(14, 20, 52, 0.9));
}
.episode-number {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  color: #071026;
  background: linear-gradient(120deg, var(--gold-hot), var(--gold-deep));
  padding: 1px 8px;
  border-radius: 999px;
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 5;
  color: var(--ink);
}
.episode-duration {
  position: absolute;
  right: 9px;
  bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dragon);
  letter-spacing: 0.03em;
}
.comments-section {
  display: flex;
  flex-direction: column;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-bubble {
  position: relative;
  padding: 8px 11px 9px;
  background: linear-gradient(140deg, #e8edff, #cdd8f5);
  color: #101838;
  border-radius: 10px 10px 10px 2px;
  border: 1px solid rgba(255, 157, 46, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: #b4610a;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #16204a;
  overflow-wrap: anywhere;
}
.rec-region {
  display: flex;
  flex-direction: column;
}
.rec-title {
  margin-bottom: 8px;
}
.rec-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
a.rec-card {
  flex: 0 0 auto;
  width: 148px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(150deg, rgba(19, 30, 74, 0.85), rgba(10, 16, 42, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
a.rec-card:hover {
  border-color: var(--gold-hot);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 157, 46, 0.28);
}
[data-runtime="recommendation"] img, img.rec-pic {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: #05091c;
}
.rec-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-faint);
  line-height: 1.4;
  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(8, 13, 36, 0.7), rgba(5, 9, 26, 0.95));
  margin-top: 6px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
a.footer-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-hot);
  text-decoration: none;
}
a.footer-link:hover {
  color: var(--dragon);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed rgba(120, 145, 220, 0.2);
}
.friend-links-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--dragon);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-faint);
  padding-top: 8px;
  border-top: 1px dashed rgba(120, 145, 220, 0.2);
}
body.lights-off {
  background: #02040e;
}
body.lights-off .hero, body.lights-off .timeline-node, body.lights-off .episode-card, body.lights-off a.rec-card {
  filter: brightness(0.82);
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    justify-content: flex-start;
  }
.poster-wrap {
    max-width: 168px;
  }
.movie-title {
    font-size: 23px;
  }}
@media (max-width: 680px) {.page-main {
    padding: 10px 12px 22px;
    gap: 14px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 9px;
  }
.brand.logo {
    font-size: 17px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 21px;
  }
.timeline-node {
    width: 172px;
  }
a.rec-card {
    width: 132px;
  }}
@media (max-width: 440px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.movie-title {
    font-size: 19px;
  }
.timeline-node {
    width: 158px;
  }
a.rec-card {
    width: 124px;
  }}

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}
