:root {
  --ink: #0d1117;
  --ink-2: #131a24;
  --ink-3: #1b2430;
  --panel: #161e28;
  --panel-2: #1d2733;
  --line: #26313f;
  --line-2: #33404f;
  --cold-white: #e8eef5;
  --cold-white-dim: #aab6c4;
  --muted: #74828f;
  --neon: #35e0d0;
  --neon-dim: rgba(53, 224, 208, 0.18);
  --amber: #d9741f;
  --amber-dim: rgba(217, 116, 31, 0.2);
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(53, 224, 208, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 224, 208, 0.025) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  color: var(--cold-white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cold-white-dim);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--neon);
  color: var(--ink);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 23, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--neon);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-right: 16px;
  border-right: 1px solid var(--line-2);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--cold-white);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cold-white-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 28px;
}
.panel-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--neon);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.overview-shell {
  background: linear-gradient(160deg, var(--panel) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 14px;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 18px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}
.poster-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(53, 224, 208, 0.12), 0 12px 26px rgba(0, 0, 0, 0.55);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.72) contrast(1.08) brightness(0.92);
}
.poster-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(53, 224, 208, 0.28), rgba(53, 224, 208, 0));
  mix-blend-mode: screen;
  pointer-events: none;
  animation: scan 5.5s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(-40%); opacity: 0.15; }
  50% { opacity: 0.75; }
  100% { transform: translateY(200%); opacity: 0.1; }
}
.code-rain {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.code-line {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--neon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.04em;
}
.code-line:nth-child(even) {
  color: var(--amber);
  opacity: 0.75;
}
.overview-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-bottom: 2px;
}
.movie-title {
  font-size: clamp(28px, 5.2vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--cold-white);
  text-shadow: 0 0 22px rgba(53, 224, 208, 0.28);
}
.movie-tagline {
  font-size: 13px;
  color: var(--cold-white-dim);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--amber);
  padding-left: 8px;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
a.action-play {
  display: inline-block;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: var(--neon);
  text-decoration: none;
  border: 1px solid var(--neon);
  box-shadow: 0 0 16px rgba(53, 224, 208, 0.35);
}
a.action-play:hover {
  color: var(--neon);
  background: transparent;
  box-shadow: 0 0 20px rgba(53, 224, 208, 0.5);
  text-decoration: none;
}
.action-track {
  padding: 7px 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cold-white-dim);
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
}
.action-track:hover, .action-track.is-active {
  color: var(--amber);
  border-color: var(--amber);
  background: var(--amber-dim);
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.overview-body > .synopsis-panel {
  grid-column: 1 / -1;
}
.detail-panel, .status-panel, .cast-panel, .synopsis-panel, .player-panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 10px 12px;
  min-width: 0;
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(51, 64, 79, 0.7);
  font-size: 12.5px;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row dt {
  color: var(--muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-row dd {
  color: var(--cold-white);
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
}
.detail-score {
  color: var(--amber) !important;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(217, 116, 31, 0.5);
}
.status-line {
  font-size: 12.5px;
  color: var(--cold-white-dim);
  letter-spacing: 0.06em;
}
.status-current {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--neon);
  padding: 0 2px;
}
.status-total {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--cold-white);
}
.status-meter {
  position: relative;
  height: 6px;
  margin: 8px 0 6px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.status-meter-fill {
  display: block;
  height: 100%;
  width: 4.2%;
  min-width: 12px;
  background: linear-gradient(90deg, var(--amber), var(--neon));
  box-shadow: 0 0 12px rgba(53, 224, 208, 0.6);
}
.status-note {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-family: var(--mono);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 62px;
  padding: 6px 4px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  text-align: center;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, var(--line-2) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 96%, var(--line-2) 0 42%, transparent 43%),
    var(--ink-3);
  border: 1px solid var(--neon-dim);
}
.cast-name {
  font-size: 11.5px;
  color: var(--cold-white);
  white-space: nowrap;
}
.cast-role {
  font-size: 10px;
  color: var(--neon);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.synopsis-lead {
  font-size: 13px;
  color: var(--cold-white);
  line-height: 1.65;
  padding: 6px 8px;
  margin-bottom: 8px;
  background: rgba(53, 224, 208, 0.05);
  border-left: 2px solid var(--neon);
}
.synopsis-body {
  columns: 2;
  column-gap: 18px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--cold-white-dim);
  margin: 0 0 8px;
  break-inside: avoid;
}
.player-panel {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.player-panel.is-theater {
  background: #05080c;
  box-shadow: 0 0 0 1px var(--neon-dim), 0 0 40px rgba(53, 224, 208, 0.16);
}
.player-frame {
  width: 100%;
  background: #000;
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cold-white-dim);
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--neon);
  border-color: var(--neon);
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  min-width: 90px;
  flex: 1 1 120px;
  max-width: 260px;
  background: var(--line-2);
  border: none;
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(53, 224, 208, 0.7);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border: none;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(53, 224, 208, 0.7);
  cursor: pointer;
}
body.lights-off {
  background-image: none;
  background-color: #04070a;
}
body.lights-off .page-main {
  opacity: 0.92;
}
.timeline-section {
  margin-bottom: 14px;
  min-width: 0;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 4px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-2);
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 6%, var(--line-2) 94%, transparent);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 4px;
  z-index: 1;
}
.node-dot {
  width: 9px;
  height: 9px;
  margin-left: 2px;
  background: var(--line-2);
  box-shadow: 0 0 0 3px var(--panel);
  border-radius: 1px;
}
.timeline-node.is-active .node-dot {
  background: var(--neon);
  box-shadow: 0 0 0 3px var(--panel), 0 0 14px 2px rgba(53, 224, 208, 0.85);
}
.node-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.timeline-node.is-active .node-timecode {
  color: var(--neon);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--cold-white-dim);
}
.timeline-node.is-active .node-label {
  color: var(--cold-white);
}
.episodes-section {
  margin-bottom: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.episode-border {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--ink);
}
.episode-border-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--neon), var(--amber));
  opacity: 0.35;
  transition: opacity 0.25s ease;
}
.episode-card:hover .episode-border-fill {
  opacity: 1;
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cold-white);
  letter-spacing: 0.04em;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--cold-white-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 180px;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  margin-bottom: 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--neon);
}
.comment-card:nth-child(2n) {
  border-left-color: var(--amber);
}
.comment-card:nth-child(3n) {
  border-left-color: var(--muted);
}
.comment-score {
  flex: 0 0 auto;
  width: 8px;
  align-self: stretch;
  min-height: 34px;
  background: linear-gradient(180deg, var(--neon), var(--amber));
  opacity: 0.85;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--neon);
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--cold-white-dim);
}
.recommend-region {
  margin-bottom: 14px;
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-four {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.recommend-grid-three {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--cold-white-dim);
  text-decoration: none;
  min-width: 0;
}
a.recommend-card:hover {
  border-color: var(--neon);
  color: var(--cold-white);
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--neon-dim), 0 8px 20px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line-2);
  filter: saturate(0.7) brightness(0.9);
  transition: filter 0.25s ease;
}
a.recommend-card:hover img {
  filter: saturate(1) brightness(1);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cold-white);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--cold-white-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-right: 4px;
}
a.runtime-friend-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 11.5px;
  padding: 2px 6px;
  border: 1px solid transparent;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--neon);
  border-color: var(--line-2);
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.03em;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
.overview-body {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
.synopsis-body {
    columns: 1;
  }}
@media (max-width: 640px) {.header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
a[data-contract="site-name"] {
    border-right: none;
    padding-right: 0;
  }
.page-main {
    padding: 10px 10px 22px;
  }
.poster-wrap {
    width: 116px;
  }
.hero-visual {
    gap: 8px;
  }
.movie-title {
    font-size: clamp(24px, 8vw, 34px);
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    gap: 6px;
  }
.timeline-node {
    width: 118px;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-four, .recommend-grid-three {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.ctrl-range {
    flex: 1 1 100%;
    max-width: none;
  }}
@media (max-width: 400px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-four, .recommend-grid-three {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }}

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}
