:root {
  --neon-orange: #ff7a1a;
  --neon-orange-deep: #d9540a;
  --cold-cyan: #5fd4d6;
  --cold-cyan-deep: #1c7a80;
  --cold-white: #eef4f5;
  --dark-red: #8c1f1f;
  --dark-red-bright: #c0272d;
  --night-0: #0a0b0d;
  --night-1: #121417;
  --night-2: #1b1e23;
  --night-3: #262a31;
  --line: #33383f;
  --text-dim: #9aa3ad;
  --text-mid: #c8d0d6;
  --text-hi: #f2f5f6;
  --font-heavy: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Source Han Sans SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Source Han Sans SC", sans-serif;
  --pad-tight: 8px;
  --gap-tight: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--night-0);
  color: var(--text-mid);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heavy); font-weight: 900; line-height: 1.15; letter-spacing: 0.01em; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
.page-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--night-0) 0%, rgba(10,11,13,0.92) 100%);
  border-bottom: 2px solid var(--neon-orange-deep);
  backdrop-filter: blur(6px);
}
.header-bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
}
a[data-contract="site-name"].site-name {
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 18px;
  color: var(--neon-orange);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255,122,26,0.5);
}
a[data-contract="site-name"].site-name:hover { color: var(--cold-cyan); text-shadow: 0 0 10px rgba(95,212,214,0.5); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  color: var(--cold-cyan);
  text-decoration: none;
  border: 1px solid var(--cold-cyan-deep);
  background: rgba(28,122,128,0.12);
}
a.runtime-category:hover {
  color: var(--night-0);
  background: var(--cold-cyan);
  border-color: var(--cold-cyan);
}
.hero {
  padding: 14px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(255,122,26,0.20) 0%, rgba(255,122,26,0) 55%),
    radial-gradient(110% 80% at 4% 96%, rgba(95,212,214,0.18) 0%, rgba(95,212,214,0) 55%),
    linear-gradient(135deg, var(--night-2) 0%, var(--night-1) 100%);
  border-left: 4px solid var(--neon-orange);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.015) 0 2px,
    transparent 2px 7px
  );
}
.hero-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night-0);
  box-shadow: 6px 6px 0 0 rgba(255,122,26,0.28);
}
.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.08) saturate(1.05);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-title {
  font-size: clamp(26px, 4vw, 46px);
  color: var(--text-hi);
  text-shadow: 3px 3px 0 var(--dark-red), 0 0 22px rgba(255,122,26,0.35);
}
.hero-tagline {
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 15px;
  color: var(--neon-orange);
  letter-spacing: 0.06em;
  border-left: 3px solid var(--dark-red-bright);
  padding-left: 8px;
}
.hero-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 62ch;
}
.hero-player {
  position: relative;
  width: 100%;
  background: var(--night-1);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cold-cyan);
}
.hero-player video {
  display: block;
  width: 100%;
  max-width: none;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: var(--night-2);
  border-top: 1px solid var(--line);
}
.player-controls button, .player-controls select {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  background: var(--night-3);
  color: var(--text-hi);
  border: 1px solid var(--line);
  line-height: 1.2;
}
.player-controls button:hover, .player-controls select:hover { border-color: var(--neon-orange); color: var(--neon-orange); }
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: var(--night-3);
  border: 1px solid var(--line);
  flex: 1 1 110px;
  min-width: 90px;
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 14px;
  background: var(--neon-orange);
  border: 0;
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 14px;
  background: var(--neon-orange);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.player-controls button.is-active, .player-controls button.is-playing {
  background: var(--neon-orange);
  color: var(--night-0);
  border-color: var(--neon-orange);
}
.player-controls button.is-muted {
  background: var(--dark-red);
  color: var(--text-hi);
  border-color: var(--dark-red-bright);
}
.hero-player.is-theater { box-shadow: 0 0 0 2px var(--cold-cyan); }
body.is-lights-off .hero-player { box-shadow: 0 0 40px rgba(95,212,214,0.25); }
body.is-lights-off { background: #000; }
.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.info-panel, .status-panel {
  background: var(--night-1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cold-cyan);
  padding: 8px 10px;
}
.panel-heading {
  font-size: 13px;
  font-weight: 900;
  color: var(--cold-cyan);
  letter-spacing: 0.08em;
  padding-bottom: 5px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  gap: 6px;
  font-size: 12px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(51,56,63,0.7);
}
.detail-row dt { color: var(--text-dim); flex: 0 0 4.5em; }
.detail-row dd { color: var(--text-hi); font-weight: 600; }
.status-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-orange);
  padding: 2px 0 4px;
}
.status-note {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  padding-top: 5px;
}
.cast-panel {
  background: var(--night-1);
  border: 1px solid var(--line);
  padding: 8px 10px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 12px;
  color: var(--night-0);
  background: linear-gradient(150deg, var(--neon-orange) 0%, var(--dark-red-bright) 100%);
  border: 1px solid var(--night-0);
  outline: 1px solid var(--line);
  overflow: hidden;
  text-align: center;
  padding: 2px;
  letter-spacing: 0.02em;
}
.cast-item:nth-child(even) .cast-avatar {
  background: linear-gradient(150deg, var(--cold-cyan) 0%, var(--cold-cyan-deep) 100%);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-section {
  background: var(--night-1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--dark-red-bright);
  padding: 10px 12px;
}
.section-heading {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-hi);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.section-heading::before {
  content: "";
  width: 6px;
  height: 16px;
  background: var(--neon-orange);
  flex: 0 0 auto;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-mid);
}
.synopsis-paragraph:first-child { color: var(--text-hi); }
.timeline-section {
  margin-top: 14px;
  padding: 10px 0 4px;
}
.film-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 12px 4px 14px;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night-1) 100%);
  border-top: 3px solid var(--neon-orange-deep);
  border-bottom: 3px solid var(--neon-orange-deep);
  scrollbar-width: thin;
  scrollbar-color: var(--neon-orange) var(--night-0);
}
.film-strip::-webkit-scrollbar { height: 6px; }
.film-strip::-webkit-scrollbar-track { background: var(--night-0); }
.film-strip::-webkit-scrollbar-thumb { background: var(--neon-orange); }
.strip-node {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 10px;
}
.strip-node::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cold-cyan-deep) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.node-timecode {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 12px;
  color: var(--night-0);
  background: var(--neon-orange);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255,122,26,0.55), 0 0 0 3px var(--night-1);
  white-space: nowrap;
}
.strip-node:nth-child(even) .node-timecode {
  background: var(--cold-cyan);
  box-shadow: 0 0 12px rgba(95,212,214,0.55), 0 0 0 3px var(--night-1);
}
.node-label {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-mid);
  border-left: 2px solid var(--line);
  padding-left: 6px;
}
.episodes-section { margin-top: 14px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  display: flex;
  gap: 8px;
  background: var(--night-1);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--night-3);
  padding: 8px 10px;
  overflow: hidden;
  min-width: 0;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neon-orange);
  opacity: 0.55;
}
.episode-number {
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 54px;
  line-height: 0.82;
  color: var(--night-3);
  flex: 0 0 auto;
  width: 46px;
  text-align: center;
  letter-spacing: -0.03em;
  user-select: none;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-hi);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-meta {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.episode-duration {
  font-size: 11px;
  font-weight: 700;
  color: var(--cold-cyan);
  border: 1px solid var(--cold-cyan-deep);
  padding: 1px 6px;
  white-space: nowrap;
}
.comments-section { margin-top: 14px; }
.comment-waterfall {
  columns: 3;
  column-gap: 8px;
}
.comment-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 8px;
  background: var(--night-1);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cold-cyan-deep);
  padding: 8px 10px 8px 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-icon {
  position: absolute;
  top: 8px;
  left: 7px;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: var(--night-0);
  background: var(--neon-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--night-1), 0 0 8px rgba(255,122,26,0.6);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.comment-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-red-bright);
  align-self: flex-end;
}
.comment-author::before { content: "— "; }
.rec-region {
  margin-top: 14px;
  background: var(--night-1);
  border: 1px solid var(--line);
  border-top: 2px solid var(--neon-orange-deep);
  padding: 8px 10px;
}
.rec-heading {
  font-size: 14px;
  font-weight: 900;
  color: var(--neon-orange);
  letter-spacing: 0.06em;
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.rec-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-mid);
  text-decoration: none;
  background: var(--night-2);
  border: 1px solid var(--line);
  padding: 5px;
  height: 100%;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--neon-orange);
  color: var(--text-hi);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--night-0);
  border: 1px solid var(--night-0);
}
[data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 18px;
  padding: 14px 12px 20px;
  background: var(--night-1);
  border-top: 3px solid var(--cold-cyan-deep);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  font-weight: 700;
  color: var(--cold-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--neon-orange);
  border-bottom-color: var(--neon-orange);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 90ch;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--text-hi);
  background: var(--dark-red);
  padding: 2px 8px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--neon-orange);
  border-color: var(--neon-orange);
  background: rgba(255,122,26,0.08);
}
@media (max-width: 1024px) {.hero-backdrop { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-waterfall { columns: 2; }
.rec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-backdrop { grid-template-columns: minmax(0, 1fr); }
.hero-figure { max-width: 220px; }
.hero-lower { grid-template-columns: minmax(0, 1fr); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.cast-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-waterfall { columns: 2; }
.rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 560px) {.page-main { padding: 0 8px; }
.header-bar { flex-wrap: wrap; }
.category-nav { justify-content: flex-start; }
.hero-title { font-size: 26px; }
.hero-figure { max-width: 160px; }
.cast-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-waterfall { columns: 1; }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.episode-number { font-size: 42px; width: 36px; }
.strip-node { width: 132px; }
.player-controls button, .player-controls select { font-size: 11px; padding: 3px 7px; }
.friend-links { gap: 4px 6px; }}
@media (max-width: 380px) {.player-controls input[type="range"] { flex: 1 1 100%; }
.cast-strip { grid-template-columns: repeat(2, minmax(0, 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}
