:root {
  --ink: #05070d;
  --ink-2: #0a0f1c;
  --panel: #0d1424;
  --panel-2: #111a2e;
  --line: #1d2a44;
  --line-2: #26365a;
  --blue: #3f7fd4;
  --blue-dim: #28558f;
  --blue-glow: #6fa8ff;
  --red: #7a1f2b;
  --red-bright: #c0392b;
  --red-soft: #e0554a;
  --text: #d7e2f5;
  --text-dim: #8b9bb8;
  --text-mute: #5f6f8c;
  --radius: 3px;
  --gap: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(120% 60% at 15% 0%, rgba(63, 127, 212, 0.16), transparent 60%),
    radial-gradient(90% 50% at 90% 8%, rgba(122, 31, 43, 0.18), transparent 62%),
    linear-gradient(180deg, #05070d 0%, #070b14 40%, #05070d 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
h1, h2 {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.96), rgba(6, 9, 16, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--blue-glow);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-left: 3px solid var(--red);
  padding-left: 8px;
  line-height: 1.2;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  border-left-color: var(--red-soft);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(30, 47, 79, 0.35);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #eaf2ff;
  border-color: var(--blue);
  background: rgba(63, 127, 212, 0.22);
}
.movie-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 14px 18px;
  width: 100%;
}
.block-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #eaf2ff;
  padding-left: 9px;
  border-left: 3px solid var(--red-bright);
  line-height: 1.2;
  margin-bottom: 7px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(20, 33, 58, 0.92) 0%, rgba(9, 14, 26, 0.94) 52%, rgba(24, 12, 18, 0.9) 100%);
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(102deg, rgba(111, 168, 255, 0.09) 0 1px, transparent 1px 26px);
  pointer-events: none;
  z-index: 0;
}
.hero-shell::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(closest-side, rgba(63, 127, 212, 0.28), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero-visual, .hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-self: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: #060a12;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 28px -18px rgba(0, 0, 0, 0.95);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(63, 127, 212, 0.12), transparent 40%, rgba(122, 31, 43, 0.24));
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #04070d;
  padding: 6px;
}
.hero-player video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(29, 42, 68, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--red-bright);
  background: rgba(122, 31, 43, 0.55);
}
.player-btn.play, .player-btn.playing, .player-btn.is-playing {
  color: #fff;
  border-color: var(--blue);
  background: rgba(63, 127, 212, 0.5);
}
.player-btn.mute, .player-btn.is-muted {
  color: var(--red-soft);
  border-color: var(--red);
}
.player-btn.theater, .player-btn.is-theater {
  color: #fff;
  border-color: var(--blue-glow);
  background: rgba(63, 127, 212, 0.35);
}
.player-btn.light, .player-btn.is-lights-off {
  color: #ffe9a8;
  border-color: #a8811f;
  background: rgba(168, 129, 31, 0.28);
}
.player-btn.fullscreen, .player-btn.is-fullscreen {
  color: #fff;
  border-color: var(--blue);
  background: rgba(63, 127, 212, 0.35);
}
.player-range {
  flex: 1 1 70px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--blue-dim), var(--line-2));
  border-radius: 2px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 1px solid #f0c9c3;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #f0c9c3;
  border-radius: 50%;
  background: var(--red-bright);
}
.player-range.progress {
  background: linear-gradient(90deg, var(--blue), var(--blue-dim));
}
.player-range.volume {
  flex: 0 1 62px;
}
.player-speed {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 3px 4px;
  background: rgba(29, 42, 68, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--text-dim);
  cursor: pointer;
}
.player-speed.speed {
  color: var(--text);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.movie-title {
  font-size: 26px;
  line-height: 1.1;
  color: #f2f7ff;
  text-shadow: 0 2px 18px rgba(63, 127, 212, 0.45);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--red-soft);
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-left: 2px solid var(--red);
  background: linear-gradient(90deg, rgba(122, 31, 43, 0.35), transparent 78%);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  padding: 6px 9px;
  background: rgba(17, 26, 46, 0.75);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.status-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
}
.status-key {
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.status-value {
  color: #eaf2ff;
  font-weight: 800;
  font-size: 14px;
}
.cast-block {
  min-width: 0;
}
.cast-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 7px;
  background: linear-gradient(160deg, rgba(20, 33, 58, 0.85), rgba(10, 15, 28, 0.85));
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue-dim);
  border-radius: var(--radius);
  min-width: 0;
}
.cast-card::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--red);
  transform: translateY(-50%);
}
.cast-card:last-child::after {
  display: none;
}
.cast-card:hover {
  border-top-color: var(--red-bright);
}
.cast-name {
  font-size: 13px;
  font-weight: 800;
  color: #eaf2ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-text {
  font-size: 12px;
  line-height: 1.72;
  color: var(--text-dim);
  text-indent: 1.5em;
}
.synopsis-text + .synopsis-text {
  margin-top: 5px;
}
.details-block {
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 14px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(38, 54, 90, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  min-width: 52px;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  position: relative;
  padding: 10px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.9), rgba(7, 11, 20, 0.9));
  overflow: hidden;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 8px;
  padding: 4px 0 2px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-dim) 8%, var(--red) 50%, var(--blue-dim) 92%, transparent);
  transform: rotate(-2.2deg);
  transform-origin: left center;
  opacity: 0.75;
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 8px 7px;
  background: rgba(10, 16, 29, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.timeline-node:nth-child(even) {
  transform: translateY(10px);
}
.node-icon {
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(63, 127, 212, 0.7));
}
.node-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red-soft);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  overflow-wrap: anywhere;
}
.episodes-section {
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.86), rgba(7, 11, 20, 0.86));
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 5px;
  align-items: start;
}
.episode-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(13, 20, 36, 0.7);
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.episode-item:hover {
  border-left-color: var(--blue);
  background: rgba(20, 32, 56, 0.8);
}
.episode-item.is-active {
  border-color: var(--blue-dim);
  border-left-color: var(--red-bright);
  background: linear-gradient(120deg, rgba(30, 50, 86, 0.85), rgba(24, 12, 18, 0.6));
}
.episode-fold {
  min-width: 0;
}
.episode-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::marker {
  content: "";
}
.episode-number {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-glow);
  font-variant-numeric: tabular-nums;
}
.is-active .episode-number {
  color: var(--red-soft);
}
.episode-title {
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.is-active .episode-title {
  color: #fff;
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 10px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.episode-summary-text {
  padding: 0 9px 8px 9px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
  border-top: 1px dashed rgba(38, 54, 90, 0.8);
  padding-top: 6px;
}
.episode-item:not(.is-active) .episode-summary-text {
  color: var(--text-mute);
}
.comments-section {
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.86), rgba(7, 11, 20, 0.86));
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 6px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: rgba(17, 26, 46, 0.72);
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-dim);
  border-radius: var(--radius);
  min-width: 0;
}
.comment-card:hover {
  border-left-color: var(--red-bright);
  background: rgba(24, 36, 60, 0.82);
}
.comment-nickname {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-glow);
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.86), rgba(7, 11, 20, 0.86));
  min-width: 0;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #eaf2ff;
  padding-left: 9px;
  border-left: 3px solid var(--blue);
  line-height: 1.2;
  margin-bottom: 7px;
}
.recommend-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 7px;
  align-items: start;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-dim) transparent;
}
.recommend-track::-webkit-scrollbar {
  width: 5px;
}
.recommend-track::-webkit-scrollbar-thumb {
  background: var(--blue-dim);
  border-radius: 3px;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: rgba(17, 26, 46, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.recommend-card:hover {
  border-color: var(--red-bright);
  background: rgba(30, 22, 34, 0.85);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-pic {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  background: #060a12;
  display: block;
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: #eaf2ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 12px;
  padding: 12px 14px 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.4), rgba(9, 5, 8, 0.85));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-mute);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-glow);
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--red-bright);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(38, 54, 90, 0.7);
}
.friends-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
a.runtime-friend-link {
  font-size: 11px;
  text-decoration: none;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid rgba(38, 54, 90, 0.7);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: var(--blue);
}
.player.is-theater, .hero-shell.is-theater .hero-player {
  box-shadow: 0 0 0 1px var(--blue-dim), 0 0 26px -6px rgba(63, 127, 212, 0.7);
}
.hero-shell.is-lights-off {
  background: linear-gradient(115deg, #05070d 0%, #04060b 100%);
}
.hero-shell.is-lights-off::before, .hero-shell.is-lights-off::after {
  opacity: 0.18;
}
.hero-shell.is-theater .hero-visual {
  box-shadow: 0 0 0 1px var(--blue-dim) inset;
}
.player .progress {
  background: linear-gradient(90deg, var(--blue), var(--blue-dim));
}
.player .volume {
  background: linear-gradient(90deg, var(--red), var(--red-bright));
}
.player .speed {
  color: var(--text);
}
.player.click .player-controls {
  opacity: 1;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-visual {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
.poster-frame {
    flex: 0 0 34%;
    max-width: 190px;
  }
.hero-player {
    flex: 1 1 auto;
    min-width: 0;
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.movie-page {
    padding: 8px 10px 16px;
    gap: 8px;
  }
.site-header {
    padding: 7px 10px;
  }
.hero-shell, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 9px 10px 11px;
  }
.hero-visual {
    flex-direction: column;
  }
.poster-frame {
    flex: 0 0 auto;
    max-width: 210px;
    width: 100%;
  }
.hero-player {
    width: 100%;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
.player-range.volume {
    flex: 1 1 60px;
  }
.cast-rail {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.timeline-node:nth-child(even) {
    transform: none;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-track {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    max-height: 300px;
  }
.site-footer {
    padding: 10px 10px 20px;
  }}
@media (max-width: 420px) {.cast-rail {
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track::before {
    display: none;
  }
.recommend-track {
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  }
.movie-title {
    font-size: 19px;
  }}

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}
