:root {
  --night: #060b1a;
  --night-2: #0b1430;
  --night-3: #101d42;
  --night-4: #16264f;
  --line: #24345f;
  --rune: #4d7bff;
  --rune-soft: #2a4a9e;
  --rune-glow: rgba(77, 123, 255, 0.55);
  --warm: #ff9a3c;
  --warm-2: #ffb968;
  --warm-deep: #d96b1f;
  --amber: #ffd79a;
  --ink: #e9eefc;
  --ink-soft: #a7b4d6;
  --ink-dim: #6f7ea8;
  --card: #0d1734;
  --card-2: #111d3f;
  --radius: 14px;
  --radius-sm: 8px;
  --gap: 12px;
  --gap-sm: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(77, 123, 255, 0.18), transparent 60%),
    radial-gradient(900px 520px at 92% 8%, rgba(255, 154, 60, 0.12), transparent 62%),
    linear-gradient(180deg, #050912 0%, #060b1a 40%, #04070f 100%);
  color: var(--ink);
  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;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(6, 11, 26, 0.96), rgba(6, 11, 26, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 8px;
  max-width: 1440px;
  margin: 0 auto;
}
.site-brand {
  font-family: "Songti SC", "STSong", "Georgia", serif;
  font-size: 19px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(255, 154, 60, 0.45);
  white-space: nowrap;
}
.site-brand:hover { color: #fff0d6; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
  max-width: 1440px;
  margin: 0 auto;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 38, 79, 0.5);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.runtime-category:hover {
  color: var(--amber);
  border-color: var(--warm-deep);
  background: rgba(255, 154, 60, 0.12);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel-heading {
  font-family: "Songti SC", "STSong", "Georgia", serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.panel-heading::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--rune);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--rune-glow);
  flex: none;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: start;
}
.overview-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.poster-wrap {
  position: relative;
  align-self: flex-start;
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(77, 123, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.6);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 11, 26, 0.7));
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.player-shell {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 0;
}
.player-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(77, 123, 255, 0.28);
}
.player-video {
  display: block;
  max-width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ctrl-btn {
  background: rgba(22, 38, 79, 0.85);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.ctrl-btn:hover {
  color: var(--amber);
  border-color: var(--warm-deep);
  background: rgba(255, 154, 60, 0.12);
}
.ctrl-play {
  background: linear-gradient(135deg, var(--warm-deep), var(--warm));
  border-color: var(--warm-deep);
  color: #1a0c02;
  font-weight: 700;
}
.ctrl-play:hover {
  color: #1a0c02;
  background: linear-gradient(135deg, var(--warm), var(--warm-2));
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rune-soft), var(--line));
  cursor: pointer;
  outline: none;
}
.ctrl-progress { flex: 1 1 140px; min-width: 120px; }
.ctrl-volume { flex: 0 1 90px; min-width: 70px; }
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm);
  border: 1px solid #1a0c02;
  box-shadow: 0 0 8px rgba(255, 154, 60, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #1a0c02;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 8px rgba(255, 154, 60, 0.7);
}
.ctrl-select {
  background: rgba(22, 38, 79, 0.85);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11.5px;
  padding: 3px 6px;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-select:hover { border-color: var(--warm-deep); }
.player-shell.is-theater {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
  box-shadow: 0 0 34px rgba(255, 154, 60, 0.35);
}
.lights-off {
  background: #01030a;
}
.lights-off .overview-visual {
  filter: brightness(1.12) contrast(1.05);
}
.lights-off .movie-overview::before {
  opacity: 0.85;
}
.ctrl-btn.is-active {
  color: var(--amber);
  border-color: var(--warm);
  background: rgba(255, 154, 60, 0.18);
  box-shadow: 0 0 10px rgba(255, 154, 60, 0.35);
}
.player-video.play { cursor: pointer; }
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-family: "Songti SC", "STSong", "Georgia", serif;
  font-size: 26px;
  line-height: 1.32;
  letter-spacing: 0.06em;
  color: #fff4e2;
  text-shadow: 0 0 22px rgba(77, 123, 255, 0.45);
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--warm-2);
  border-left: 2px solid var(--warm-deep);
  padding-left: 9px;
}
.movie-seo-description {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 62ch;
}
.cast-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-heading { margin-bottom: 8px; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 38, 79, 0.9), rgba(13, 23, 52, 0.9));
  border: 1px solid var(--line);
  border-left: 3px solid var(--rune);
  transition: border-color 0.18s, transform 0.18s;
}
.cast-card:hover {
  border-left-color: var(--warm);
  transform: translateY(-1px);
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.synopsis-heading { margin-bottom: 8px; }
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 1px solid rgba(77, 123, 255, 0.28);
}
.synopsis-para:first-child { color: #d9e2fb; }
.episode-status-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.status-heading { margin-bottom: 8px; }
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.status-chip {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(13, 23, 52, 0.8);
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip-current {
  color: #1a0c02;
  background: linear-gradient(135deg, var(--warm), var(--warm-2));
  border-color: var(--warm-deep);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255, 154, 60, 0.4);
}
.chip-total {
  color: var(--rune);
  border-color: var(--rune-soft);
  background: rgba(77, 123, 255, 0.12);
}
.chip-score {
  color: var(--amber);
  border-color: var(--warm-deep);
  background: rgba(255, 154, 60, 0.1);
}
.details-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.details-heading { margin-bottom: 8px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(36, 52, 95, 0.7);
  min-width: 0;
}
.detail-key {
  flex: none;
  width: 4.6em;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
}
.timeline-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 23, 52, 0.92), rgba(8, 14, 34, 0.92));
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 123, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 123, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.timeline-section > * { position: relative; }
.timeline-heading { margin-bottom: 12px; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  counter-reset: node;
}
.timeline-node {
  position: relative;
  padding: 9px 10px 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(16, 29, 66, 0.72);
  border: 1px solid var(--line);
  border-top: 2px solid var(--rune-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 10px;
  width: 7px;
  height: 7px;
  background: var(--warm);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 154, 60, 0.8);
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--rune);
  white-space: nowrap;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episodes-heading { margin-bottom: 10px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 9px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(17, 29, 63, 0.95), rgba(11, 20, 48, 0.95));
  border: 1px solid var(--line);
  border-left: 3px solid var(--rune-soft);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.episode-card:hover {
  border-left-color: var(--warm);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--warm-2);
  white-space: nowrap;
}
.episode-title {
  font-family: "Songti SC", "STSong", "Georgia", serif;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  color: #f2f6ff;
  line-height: 1.4;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-soft);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border-top: 1px dashed rgba(36, 52, 95, 0.9);
  padding-top: 5px;
  width: 100%;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comments-heading { margin-bottom: 10px; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(13, 23, 52, 0.7);
  border: 1px solid var(--line);
  border-bottom: 2px solid rgba(77, 123, 255, 0.35);
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-nickname::before {
  content: "◇ ";
  color: var(--rune);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--ink-soft);
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.recommendation-title {
  font-size: 14px;
  margin-bottom: 10px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 29, 63, 0.92), rgba(9, 16, 38, 0.92));
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.recommend-card:hover {
  border-color: var(--warm-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(36, 52, 95, 0.9);
}
.recommend-name {
  font-family: "Songti SC", "STSong", "Georgia", serif;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: #f2f6ff;
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.recommend-region .recommend-grid { margin-bottom: 0; }
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 11, 26, 0.6), rgba(3, 6, 14, 0.95));
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 80ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.18s, border-color 0.18s;
}
.footer-link:hover {
  color: var(--amber);
  border-color: var(--warm-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-top: 1px dashed rgba(36, 52, 95, 0.8);
  padding-top: 10px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--warm-2);
  white-space: nowrap;
  margin-right: 2px;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid rgba(36, 52, 95, 0.75);
  border-radius: 999px;
  background: rgba(13, 23, 52, 0.6);
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.runtime-friend-link:hover {
  color: var(--rune);
  border-color: var(--rune-soft);
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
.movie-title { font-size: 23px; }
.recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-visual {
    flex-direction: column;
  }
.poster-wrap {
    max-width: 220px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.comment-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {.page-main { padding: 12px 12px 22px; gap: 14px; }
.header-bar { padding: 8px 12px 6px; }
.category-strip { padding: 0 12px 8px; }
.movie-title { font-size: 20px; }
.movie-tagline { font-size: 12px; }
.poster-wrap { max-width: 180px; }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-btn { font-size: 11px; padding: 4px 8px; }
.ctrl-progress { flex: 1 1 100%; }}
@media (max-width: 420px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title { font-size: 18px; }}

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}
