*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, figure, figcaption, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #0a0e18;
  --ink-2: #0d1424;
  --ink-3: #111a2e;
  --panel: #0f1728;
  --panel-2: #121d33;
  --line: #24314c;
  --line-soft: #1a2540;
  --wave: #2e6f9e;
  --wave-soft: #1b3a55;
  --tape: #a9713f;
  --tape-deep: #6d4526;
  --cold: #dbe7f2;
  --cold-dim: #8ea3bd;
  --muted: #5f7characters;
  --muted: #64789a;
  --red: #a3242e;
  --red-soft: #7c1a24;
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 12px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body {
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(46, 111, 158, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 12%, rgba(169, 113, 63, 0.12), transparent 62%),
    linear-gradient(180deg, #070b14 0%, #0a0e18 40%, #080c15 100%);
  color: var(--cold);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 12, 21, 0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--cold);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 0 3px 10px;
  border-left: 2px solid var(--tape);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  border-left-color: var(--wave);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 220px;
  min-width: 0;
}
a.runtime-category {
  color: var(--cold-dim);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--cold);
  border-color: var(--wave);
  background: rgba(46, 111, 158, 0.14);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-slab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas:
    "visual copy"
    "visual player"
    "details details"
    "cast cast"
    "synopsis synopsis"
    "status status";
  gap: 14px 18px;
  background:
    linear-gradient(180deg, rgba(17, 26, 46, 0.9), rgba(10, 15, 27, 0.94));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.hero-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(46, 111, 158, 0.05) 0px,
    rgba(46, 111, 158, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  opacity: 0.5;
}
.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #060a12;
  border: 1px solid var(--line-soft);
}
.hero-silhouette {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(169, 113, 63, 0.16), transparent 55%),
    radial-gradient(120% 80% at 50% 100%, rgba(46, 111, 158, 0.24), transparent 70%);
}
.poster-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  mix-blend-mode: screen;
  opacity: 0.94;
}
.hero-wavegrid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
.wave-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wave), transparent);
  opacity: 0.45;
}
.wave-line-a {
  top: 22%;
  animation: drift 9s ease-in-out infinite alternate;
}
.wave-line-b {
  top: 44%;
  background: linear-gradient(90deg, transparent, var(--tape), transparent);
  animation: drift 7s ease-in-out infinite alternate-reverse;
}
.wave-line-c {
  top: 66%;
  animation: drift 11s ease-in-out infinite alternate;
}
.wave-line-d {
  top: 84%;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.3;
  animation: drift 13s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translateX(-6%); opacity: 0.28; }
  to { transform: translateX(6%); opacity: 0.6; }
}
.hero-copy {
  grid-area: copy;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--tape);
  text-transform: uppercase;
  border-left: 2px solid var(--red);
  padding-left: 8px;
}
.hero-title {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef4fa;
  text-shadow: 0 0 22px rgba(46, 111, 158, 0.35);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cold-dim);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.btn-play, .btn-theater, .btn-light {
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(17, 26, 46, 0.8);
  color: var(--cold-dim);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn-play {
  color: #eaf2fa;
  border-color: var(--wave);
  background: linear-gradient(180deg, rgba(46, 111, 158, 0.34), rgba(46, 111, 158, 0.12));
}
.btn-play:hover, .btn-theater:hover, .btn-light:hover {
  color: #fff;
  border-color: var(--tape);
  background: rgba(169, 113, 63, 0.16);
}
.btn-light.light, .btn-light.active {
  color: #fff;
  border-color: var(--red);
  background: rgba(163, 36, 46, 0.22);
}
.player-shell {
  grid-area: player;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.main-player {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid var(--line);
}
.player-shell.theater-mode {
  position: relative;
  z-index: 50;
}
.player-shell.theater-mode .main-player {
  border-color: var(--wave);
  box-shadow: 0 0 0 1px rgba(46, 111, 158, 0.5), 0 18px 60px rgba(0, 0, 0, 0.7);
}
.player-shell.lights-dimmed {
  filter: brightness(0.82);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: rgba(10, 15, 27, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.ctrl-btn {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(17, 26, 46, 0.9);
  color: var(--cold-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover, .ctrl-btn.active {
  color: #fff;
  border-color: var(--wave);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--wave);
  background: var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  accent-color: var(--tape);
  cursor: pointer;
}
.ctrl-speed {
  font-size: 11px;
  font-family: var(--mono);
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(17, 26, 46, 0.9);
  color: var(--cold-dim);
  cursor: pointer;
}
.detail-strip {
  grid-area: details;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 18px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  border-bottom: 1px dashed rgba(36, 49, 76, 0.6);
  padding-bottom: 5px;
}
.detail-item dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-item dd {
  font-size: 12.5px;
  color: var(--cold);
  font-family: var(--mono);
  min-width: 0;
  overflow-wrap: anywhere;
}
.cast-rail {
  grid-area: cast;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  min-width: 0;
}
.rail-heading {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--tape);
  margin-bottom: 8px;
}
.cast-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.cast-track::-webkit-scrollbar {
  height: 6px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.cast-card {
  flex: 0 0 96px;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cast-photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  filter: grayscale(0.5) contrast(1.05) brightness(0.9);
  transition: filter 0.2s, border-color 0.2s;
}
.cast-card:hover .cast-photo {
  filter: grayscale(0) contrast(1.08) brightness(1);
  border-color: var(--wave);
}
.cast-name {
  font-size: 12px;
  color: var(--cold-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  grid-area: synopsis;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  column-count: 2;
  column-gap: 26px;
}
.synopsis-heading {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--tape);
  margin-bottom: 8px;
  column-span: all;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--cold-dim);
  margin-bottom: 10px;
  break-inside: avoid;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.status-total {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--cold-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.status-current {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: #ffdfe2;
  background: rgba(163, 36, 46, 0.3);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 3px 10px;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episodes-heading {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--tape);
  padding-left: 10px;
  border-left: 3px solid var(--wave);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(18, 29, 51, 0.85), rgba(12, 19, 34, 0.85));
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--wave-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover {
  border-left-color: var(--wave);
  background: rgba(24, 38, 64, 0.9);
}
.episode-card-active {
  border-left-color: var(--red);
  background: linear-gradient(180deg, rgba(38, 22, 32, 0.92), rgba(16, 20, 36, 0.92));
  box-shadow: inset 0 0 0 1px rgba(163, 36, 46, 0.28);
}
.episode-card-active .episode-num {
  color: #ffc9ce;
}
.episode-num {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: var(--wave);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #e8f0f8;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--cold-dim);
}
.episode-duration {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 2px;
  padding-top: 5px;
  border-top: 1px dashed rgba(36, 49, 76, 0.7);
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-heading {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--tape);
  padding-left: 10px;
  border-left: 3px solid var(--tape);
}
.timeline-rail {
  position: relative;
  padding-left: 22px;
}
.timeline-wire {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--wave), var(--tape) 55%, var(--red));
  opacity: 0.7;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--wave);
  box-shadow: 0 0 8px rgba(46, 111, 158, 0.7);
}
.timeline-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wave);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  flex: 0 0 auto;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--cold-dim);
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comments-heading {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--tape);
  padding-left: 10px;
  border-left: 3px solid var(--red);
}
.comments-stagger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  background: rgba(15, 23, 40, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  position: relative;
}
.comment-card:nth-child(2n) {
  transform: translateY(10px);
}
.comment-card:nth-child(3n) {
  border-color: rgba(46, 111, 158, 0.4);
}
.comment-nick {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tape);
  font-family: var(--mono);
}
.comment-nick::before {
  content: "▍";
  color: var(--red);
  margin-right: 5px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cold-dim);
}
.rec-region {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.rec-title {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--tape);
  padding-left: 10px;
  border-left: 3px solid var(--wave);
}
.rec-region-2 .rec-title {
  border-left-color: var(--tape);
}
.rec-region-3 .rec-title {
  border-left-color: var(--red);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-region-2 .rec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-region-3 .rec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: rgba(13, 20, 36, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--cold-dim);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
  min-width: 0;
}
a.rec-card:hover {
  border-color: var(--wave);
  background: rgba(20, 32, 54, 0.95);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  filter: saturate(0.8) brightness(0.9);
  transition: filter 0.2s;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1.02);
}
.rec-name {
  font-size: 12px;
  color: #e6eef7;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cold-dim);
  text-decoration: none;
  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: var(--cold);
  border-bottom-color: var(--wave);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 90ch;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--tape);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--cold);
  border-color: var(--wave);
}
@media (max-width: 1024px) {.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-region-2 .rec-grid, .rec-region-3 .rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 880px) {.hero-slab {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "copy"
      "player"
      "details"
      "cast"
      "synopsis"
      "status";
    gap: 14px;
  }
.poster-img {
    max-width: 220px;
  }
.synopsis-block {
    column-count: 1;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 12px 12px 24px;
    gap: 18px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.hero-slab {
    padding: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stagger {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(2n) {
    transform: none;
  }
.rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 5px 7px;
  }}
@media (max-width: 420px) {.rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-actions {
    width: 100%;
  }
.btn-play, .btn-theater, .btn-light {
    flex: 1 1 auto;
    text-align: center;
  }}

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}
