:root {
  --ink: #070b18;
  --ink-2: #0b1224;
  --ink-3: #101a33;
  --panel: #0e1730;
  --panel-2: #121d3a;
  --line: #22304f;
  --line-soft: #1a2540;
  --silver: #c7d1e0;
  --silver-dim: #8b98ad;
  --silver-faint: #5d6a82;
  --memory: #4f8ff7;
  --memory-glow: #6aa8ff;
  --alert: #ff8a3d;
  --alert-dim: #c96a2c;
  --radius: 6px;
  --radius-sm: 4px;
  --gap: 12px;
  --gap-tight: 8px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 18% 6%, rgba(79, 143, 247, 0.12), transparent 42%),
    radial-gradient(circle at 84% 2%, rgba(255, 138, 61, 0.06), transparent 36%),
    radial-gradient(circle at 50% 120%, rgba(79, 143, 247, 0.08), transparent 55%);
  background-attachment: fixed;
  color: var(--silver);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--memory);
  text-decoration: none;
}
a:hover {
  color: var(--memory-glow);
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
::selection {
  background: var(--memory);
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 24, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"].brand {
  color: var(--silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a[data-contract="site-name"].brand:hover {
  color: var(--memory-glow);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  color: var(--silver-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(79, 143, 247, 0.05);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--memory);
  background: rgba(79, 143, 247, 0.18);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.block-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  padding-left: 10px;
  border-left: 3px solid var(--memory);
  margin-bottom: 10px;
  line-height: 1.2;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 250px);
  grid-template-areas:
    "media lead cast"
    "media lead synopsis"
    "media status details"
    "media details details";
  gap: 14px 18px;
  align-items: start;
  position: relative;
  background: linear-gradient(160deg, var(--panel) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 12% 0%, rgba(79, 143, 247, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 50% at 95% 100%, rgba(255, 138, 61, 0.08), transparent 70%);
  mix-blend-mode: screen;
}
.movie-overview > * {
  position: relative;
  z-index: 1;
}
.overview-media {
  grid-area: media;
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(79, 143, 247, 0.08), 0 12px 32px rgba(0, 0, 0, 0.5);
  background: var(--ink-3);
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}
.overview-lead {
  grid-area: lead;
  min-width: 0;
}
.overview-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #eaf0fb;
  text-shadow: 0 0 24px rgba(79, 143, 247, 0.35);
  margin-bottom: 6px;
}
.overview-tagline {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--memory-glow);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.overview-desc {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--silver-dim);
  max-width: 46em;
}
.cast-block {
  grid-area: cast;
  min-width: 0;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  position: relative;
  flex: 1 1 auto;
  min-width: 52px;
  padding: 7px 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cast-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--memory), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.cast-card:hover {
  transform: translateY(-2px);
  border-color: var(--memory);
  background: rgba(79, 143, 247, 0.12);
}
.cast-card:hover::after {
  transform: scaleX(1);
}
.cast-name {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--silver);
  white-space: nowrap;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.58;
  color: var(--silver-dim);
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: start;
}
.status-chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--silver);
  background: rgba(79, 143, 247, 0.12);
  border: 1px solid rgba(79, 143, 247, 0.35);
  white-space: nowrap;
}
.status-chip:nth-child(2) {
  color: var(--alert);
  background: rgba(255, 138, 61, 0.1);
  border-color: rgba(255, 138, 61, 0.4);
}
.status-chip:nth-child(3) {
  color: var(--memory-glow);
  font-weight: 700;
}
.details-block {
  grid-area: details;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 4px 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(34, 48, 79, 0.55);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver-faint);
  min-width: 4.2em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--silver);
  overflow-wrap: break-word;
}
.player-section {
  width: 100%;
}
.player-shell {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #04070f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.player-shell video, [data-contract="player"] {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #0a1122, #070c18);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  color: var(--silver-dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: #fff;
  border-color: var(--memory);
  background: rgba(79, 143, 247, 0.16);
}
.ctrl-btn.is-playing {
  color: #fff;
  border-color: var(--memory);
  background: rgba(79, 143, 247, 0.26);
}
.ctrl-btn.is-muted {
  color: var(--alert);
  border-color: var(--alert-dim);
  background: rgba(255, 138, 61, 0.14);
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--memory-glow);
  border-color: var(--memory-glow);
  font-weight: 700;
}
.ctrl-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--memory) 0%, var(--line) 0%);
  background-color: var(--line);
  border-radius: 999px;
  outline: none;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--memory-glow);
  border: 2px solid #0a1122;
  box-shadow: 0 0 8px rgba(106, 168, 255, 0.8);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--memory-glow);
  border: 2px solid #0a1122;
  cursor: pointer;
}
.ctrl-progress::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--line);
  border-radius: 999px;
  outline: none;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver);
  border: 2px solid #0a1122;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver);
  border: 2px solid #0a1122;
  cursor: pointer;
}
.ctrl-volume::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}
.ctrl-speed {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 11.5px;
  padding: 5px 6px;
  color: var(--silver-dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ctrl-speed:focus {
  outline: none;
  border-color: var(--memory);
}
.timeline-section {
  width: 100%;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: 10px;
  align-items: start;
  padding: 14px 10px 10px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 22px;
}
.timeline-marker {
  position: absolute;
  top: 13px;
  left: 0;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--memory);
  box-shadow: 0 0 0 3px rgba(79, 143, 247, 0.14), 0 0 12px rgba(79, 143, 247, 0.7);
}
.timeline-node:nth-child(even) .timeline-marker {
  background: var(--alert);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.14), 0 0 12px rgba(255, 138, 61, 0.6);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--memory-glow);
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--silver-dim);
}
.episodes-section {
  width: 100%;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-color: rgba(79, 143, 247, 0.55);
  background: var(--panel-2);
  transform: translateY(-2px);
}
.episode-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(79, 143, 247, 0.09) 0 2px, transparent 2px 7px),
    linear-gradient(150deg, #16224a 0%, #0a1024 100%);
  border: 1px solid var(--line-soft);
  margin-bottom: 3px;
}
.episode-thumb-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(106, 168, 255, 0.7);
  background: rgba(79, 143, 247, 0.16);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--alert);
}
.episode-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #e6edfa;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--silver-dim);
  min-height: 0;
}
.episode-duration {
  margin-top: auto;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--silver-faint);
}
.comments-section {
  width: 100%;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  min-width: 0;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(79, 143, 247, 0.45);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.comment-item:hover {
  background: var(--panel-2);
  border-left-color: var(--memory);
}
.comment-nickname {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--memory-glow);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--silver-dim);
}
.recommend-region {
  width: 100%;
  min-width: 0;
}
.recommend-rail {
  display: flex;
  gap: 8px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-rail::-webkit-scrollbar {
  height: 6px;
}
.recommend-rail::-webkit-scrollbar-track {
  background: var(--ink-2);
  border-radius: 999px;
}
.recommend-rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.recommend-rail::-webkit-scrollbar-thumb:hover {
  background: var(--memory);
}
a.recommend-card {
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scroll-snap-align: start;
  padding: 7px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--silver);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  color: var(--silver);
  border-color: var(--memory);
  background: var(--panel-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
}
.recommend-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e6edfa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--silver-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 18px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--silver-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--memory-glow);
  border-bottom-color: var(--memory);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--alert);
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 2px;
}
a.runtime-friend-link {
  color: var(--silver-faint);
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--memory-glow);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #46536a;
  max-width: 70em;
}
body.theater-mode .page-main {
  max-width: 100%;
}
body.theater-mode .player-shell {
  border-color: var(--memory);
  box-shadow: 0 0 0 1px rgba(79, 143, 247, 0.4), 0 22px 60px rgba(0, 0, 0, 0.7);
}
body.lights-off {
  background-image: none;
  background-color: #03050b;
}
body.lights-off .movie-overview, body.lights-off .timeline-track, body.lights-off .episode-card, body.lights-off .comment-item, body.lights-off a.recommend-card {
  filter: brightness(0.78);
}
.player-shell.fullscreen, .player-shell:fullscreen {
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    grid-template-areas:
      "media lead"
      "media cast"
      "media synopsis"
      "media status"
      "details details";
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 8px 12px;
  }
.page-main {
    padding: 14px 12px 26px;
    gap: 18px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "lead"
      "cast"
      "synopsis"
      "status"
      "details";
    padding: 13px;
    gap: 12px;
  }
.overview-media {
    max-width: 220px;
  }
.overview-poster {
    max-width: 100%;
  }
.overview-title {
    font-size: 21px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 12px;
  }
.timeline-track::before {
    left: 13px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  }
.timeline-node {
    padding-top: 0;
    padding-left: 22px;
  }
.timeline-marker {
    top: 4px;
    left: 0;
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 2;
  }
.ctrl-volume {
    flex: 1 1 80px;
  }
a.recommend-card {
    width: 148px;
  }
[data-runtime="recommendation"] img {
    height: 84px;
  }}
@media (max-width: 420px) {.overview-media {
    max-width: 100%;
  }
.cast-card {
    flex: 1 1 calc(50% - 6px);
  }
a.recommend-card {
    width: 132px;
  }
[data-runtime="recommendation"] img {
    height: 76px;
  }}

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}
