*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a { color: inherit; }
:root {
  --ink: #10131a;
  --ink-2: #1a1f2b;
  --steel: #2b3242;
  --steel-line: #3a4356;
  --cool: #8b95a8;
  --cool-dim: #5e6779;
  --paper: #f3f5f8;
  --neon: #ff2d78;
  --neon-soft: #ff6aa0;
  --neon-glow: rgba(255, 45, 120, 0.42);
  --bg: #0c0e13;
  --panel: #141822;
  --panel-2: #191e2a;
  --radius: 0;
  --tight: 0.02em;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: var(--tight);
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 14, 19, 0.9);
  border-bottom: 1px solid var(--steel-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-right: 12px;
  border-right: 2px solid var(--neon);
}
a[data-contract="site-name"]:hover { color: var(--neon); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--cool);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border: 1px solid var(--steel-line);
  background: var(--panel);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(255, 45, 120, 0.08);
}
.page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  display: block;
}
.movie-overview {
  background: var(--panel);
  border: 1px solid var(--steel-line);
  padding: 14px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cool);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--steel-line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--neon);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 0.75fr);
  gap: 14px;
  align-items: start;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--steel-line);
  line-height: 0;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.hero-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--neon);
  color: #0c0e13;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  line-height: 1.4;
}
.hero-feed {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.movie-tagline {
  font-size: 13px;
  color: var(--neon-soft);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--neon);
  padding-left: 9px;
  line-height: 1.5;
}
.movie-seo {
  font-size: 12.5px;
  color: var(--cool);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-play, .btn-theater, .btn-light {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border: 1px solid var(--steel-line);
  background: var(--panel-2);
  color: var(--paper);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-play {
  background: var(--neon);
  border-color: var(--neon);
  color: #0c0e13;
  font-weight: 700;
}
.btn-play:hover {
  box-shadow: 0 0 0 1px var(--neon), 0 0 16px var(--neon-glow);
}
.btn-play.is-playing {
  background: var(--ink);
  color: var(--neon);
  border-color: var(--neon);
}
.btn-theater:hover, .btn-light:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.btn-theater.is-theater, .btn-light.light {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(255, 45, 120, 0.1);
}
.player-shell {
  width: 100%;
  background: #000;
  border: 1px solid var(--steel-line);
  display: flex;
  flex-direction: column;
}
.player-shell.is-theater {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px var(--neon-glow), 0 0 26px rgba(255, 45, 120, 0.18);
}
.player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--steel-line);
  background: var(--ink);
}
.ctrl {
  flex: 1 1 auto;
  min-width: 58px;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  color: var(--cool);
  border-right: 1px solid var(--steel-line);
  transition: color 0.15s, background 0.15s;
}
.ctrl:last-child { border-right: 0; }
.ctrl:hover {
  color: var(--neon);
  background: rgba(255, 45, 120, 0.08);
}
.ctrl-mute.is-muted, .ctrl-mute.mute, .ctrl-pip.pip, .ctrl-progress.progress, .ctrl-volume.volume, .ctrl-speed.speed, .ctrl-fullscreen.fullscreen, .ctrl-fullscreen.is-fullscreen {
  color: var(--neon);
  background: rgba(255, 45, 120, 0.1);
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  background: var(--panel-2);
  border: 1px solid var(--steel-line);
  color: var(--cool);
  white-space: nowrap;
}
.chip-rating {
  color: var(--neon);
  border-color: var(--neon);
  font-weight: 700;
}
.chip-year { color: var(--paper); }
.chip-region { color: var(--paper); }
.chip-genre { color: var(--cool); }
.hero-danmaku {
  min-width: 0;
  align-self: start;
  background: var(--ink);
  border: 1px solid var(--steel-line);
  border-left: 2px solid var(--neon);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.danmaku-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--neon);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.danmaku-title::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon-glow);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.danmaku-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}
.danmaku-item {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cool);
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid var(--steel-line);
  letter-spacing: 0.01em;
}
.danmaku-item:nth-child(odd) { color: #b9c2d2; }
.episode-status {
  margin-top: 12px;
  padding: 8px 10px;
  background: var(--ink);
  border: 1px solid var(--steel-line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
}
.status-label {
  color: var(--cool-dim);
  letter-spacing: 0.16em;
  font-size: 11px;
}
.status-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1;
}
.status-sep { color: var(--steel-line); }
.status-current {
  color: var(--neon);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-left: auto;
  border: 1px solid var(--neon);
  padding: 2px 8px;
  font-size: 11px;
}
.cast-block, .synopsis-block, .details-block {
  margin-top: 16px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--panel-2);
  border: 1px solid var(--steel-line);
  min-height: 46px;
}
.cast-bar {
  display: block;
  width: 4px;
  flex: 0 0 4px;
}
.cast-bar-1 { background: #ff2d78; }
.cast-bar-2 { background: #ff8a3d; }
.cast-bar-3 { background: #37d0c4; }
.cast-bar-4 { background: #6b8cff; }
.cast-bar-5 { background: #c46bff; }
.cast-name {
  align-self: center;
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.8;
  color: #c3cbd8;
  letter-spacing: 0.01em;
  padding-left: 10px;
  border-left: 1px solid var(--steel-line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 16px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(58, 67, 86, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  width: 68px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cool-dim);
}
.detail-value {
  margin: 0;
  font-size: 12.5px;
  color: var(--paper);
  letter-spacing: 0.02em;
  min-width: 0;
}
.timeline-section {
  margin-top: 22px;
}
.timeline-strip {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--steel-line);
  background: var(--panel);
  padding: 10px 10px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon) var(--ink);
}
.timeline-strip::-webkit-scrollbar { height: 6px; }
.timeline-strip::-webkit-scrollbar-track { background: var(--ink); }
.timeline-strip::-webkit-scrollbar-thumb { background: var(--neon); }
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: max-content;
}
.timeline-node {
  flex: 0 0 auto;
  width: 168px;
  padding: 8px 9px;
  background: var(--panel-2);
  border: 1px solid var(--steel-line);
  border-top: 2px solid var(--steel-line);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.15s, background 0.15s;
}
.timeline-node:hover {
  border-top-color: var(--neon-soft);
}
.node-timecode {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cool);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cool-dim);
  letter-spacing: 0.01em;
}
.timeline-node-active {
  background: rgba(255, 45, 120, 0.1);
  border-color: var(--neon);
  border-top-color: var(--neon);
  box-shadow: 0 0 18px rgba(255, 45, 120, 0.18);
}
.timeline-node-active .node-timecode {
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon-glow);
}
.timeline-node-active .node-label { color: #e2e6ee; }
.episodes-section {
  margin-top: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  background: var(--panel);
  border: 1px solid var(--steel-line);
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title title"
    "summary summary"
    "duration duration";
  gap: 2px 8px;
  align-content: start;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--neon);
  background: var(--panel-2);
}
.episode-title {
  grid-area: title;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.03em;
}
.episode-number {
  flex: 0 0 auto;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 11px;
  color: var(--neon);
  letter-spacing: 0.06em;
}
.episode-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  grid-area: summary;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--cool);
  letter-spacing: 0.01em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 90px;
  opacity: 1;
  margin-top: 2px;
}
.episode-duration {
  grid-area: duration;
  justify-self: start;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cool-dim);
  border: 1px solid var(--steel-line);
  padding: 1px 6px;
  margin-top: 3px;
}
.comments-section {
  margin-top: 22px;
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-note {
  background: var(--panel-2);
  border: 1px solid var(--steel-line);
  border-top: 2px solid var(--cool-dim);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.comment-note:nth-child(3n + 1) { transform: translateY(6px); border-top-color: var(--neon); }
.comment-note:nth-child(3n + 2) { transform: translateY(-2px); border-top-color: #6b8cff; }
.comment-note:nth-child(3n + 3) { transform: translateY(12px); border-top-color: #37d0c4; }
.comment-note:hover {
  transform: translateY(0);
  border-color: var(--neon);
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #cdd4e0;
  letter-spacing: 0.01em;
}
.comment-nickname {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cool-dim);
  align-self: flex-end;
}
.comment-nickname::before { content: "— "; }
.recommend-region {
  margin-top: 22px;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--cool-dim);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--steel-line);
  color: var(--paper);
  text-decoration: none;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-color: var(--neon);
  background: var(--panel-2);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--cool);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommend-card:hover [data-runtime="name"] { color: var(--neon); }
.site-footer {
  max-width: 1220px;
  margin: 24px auto 0;
  padding: 14px 16px 24px;
  border-top: 1px solid var(--steel-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--paper); }
a[data-contract="footer-sitemap"] { color: var(--cool); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: var(--neon); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
  flex: 1 1 320px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cool-dim);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--cool);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--neon);
  text-decoration: underline;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.65;
  color: var(--cool-dim);
  letter-spacing: 0.02em;
  border-top: 1px dashed rgba(58, 67, 86, 0.6);
  padding-top: 10px;
}
body.is-lights-off {
  background: #05060a;
}
body.is-lights-off .movie-overview {
  border-color: var(--neon);
}
body.is-lights-off .hero-danmaku {
  background: #05060a;
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  }
.hero-danmaku {
    grid-column: 1 / -1;
  }
.danmaku-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
.comment-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 860px) {.movie-title { font-size: 22px; }
.synopsis-body { grid-template-columns: 1fr; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-note:nth-child(3n + 1), .comment-note:nth-child(3n + 2), .comment-note:nth-child(3n + 3) { transform: none; }
.comment-note:nth-child(odd) { transform: translateY(5px); }}
@media (max-width: 680px) {body { font-size: 13px; }
.page-main { padding: 12px 12px 6px; }
.movie-overview { padding: 10px; }
.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 240px;
  }
.danmaku-list {
    grid-template-columns: 1fr;
  }
.movie-title { font-size: 20px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: 1fr; }
.episode-grid { grid-template-columns: 1fr; }
.comment-wall { grid-template-columns: 1fr; }
.comment-note:nth-child(odd) { transform: none; }
.recommend-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 150px; }
.footer-nav { gap: 10px; }
.friend-links { flex-basis: 100%; }}
@media (max-width: 420px) {.header-inner { padding: 8px 12px; }
.site-footer { padding: 12px 12px 20px; }
.recommend-row { grid-template-columns: 1fr; }
.cast-list { grid-template-columns: 1fr; }
.episode-card { padding: 7px 8px; }
.detail-key { width: 60px; }}

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}
