/* AI War Coming — AI Apocalypse Hall of Fame
   Dark museum + neon comic panels */

:root {
  --bg: #0a0a0c;
  --bg-panel: #121218;
  --bg-museum: #16141c;
  --ink: #f2efe6;
  --ink-muted: #a8a29a;
  --neon-cyan: #2ee6ff;
  --neon-magenta: #ff2bd6;
  --neon-green: #b8ff3c;
  --neon-amber: #ffc14a;
  --brass: #c9a227;
  --brass-dark: #8a7018;
  --brass-shine: #f0d878;
  --plaque: #1a160e;
  --border-ink: #1c1c22;
  --panel-border: #e8e4d8;
  --ad-bg: #2a2a30;
  --ad-border: #55555e;
  --font-display: "Comic Sans MS", "Chalkboard SE", "Segoe UI", system-ui, sans-serif;
  --font-plaque: "Courier New", "Lucida Console", ui-monospace, monospace;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --max: 960px;
  --radius-panel: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(46, 230, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255, 43, 214, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neon-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--neon-green);
}

/* —— Site chrome —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 2px solid var(--brass);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(46, 230, 255, 0.45);
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass-shine);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--neon-magenta);
  border-bottom-color: var(--neon-magenta);
}

.site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.site-footer {
  border-top: 2px solid var(--brass-dark);
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
  background: #070709;
}

.site-footer .tagline-close {
  font-family: var(--font-display);
  color: var(--neon-green);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.35);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.disclaimer-soft {
  max-width: 36rem;
  margin: 0.5rem auto 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* —— Comic page sections —— */
.comic-page {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1rem 1.5rem;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.015) 3px,
      rgba(255, 255, 255, 0.015) 4px
    ),
    var(--bg-museum);
  border: 3px solid var(--panel-border);
  border-radius: var(--radius-panel);
  box-shadow:
    0 0 0 4px #2a2a32,
    0 12px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.comic-page.is-visible,
.no-js .comic-page {
  opacity: 1;
  transform: none;
}

.page-label {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.2rem 0.65rem;
  font-family: var(--font-plaque);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0c;
  background: var(--neon-amber);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
}

.panel-grid {
  display: grid;
  gap: 0.85rem;
}

.panel-grid.cols-2 {
  grid-template-columns: 1fr;
}

.panel-grid.cols-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .panel-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .panel-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .panel-grid.cols-3 .span-2 {
    grid-column: 1 / -1;
  }
}

@media (min-width: 800px) {
  .panel-grid.cols-3 {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
  .panel-grid.cols-3 .span-2 {
    grid-column: auto;
  }
  .panel-grid.cols-3 .hero-wide {
    grid-column: 1 / -1;
  }
}

/* —— Individual comic panel —— */
.panel {
  position: relative;
  background: var(--bg-panel);
  border: 3px solid var(--panel-border);
  border-radius: 2px;
  min-height: 160px;
  overflow: hidden;
  box-shadow: 4px 4px 0 #000;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1.5px);
  background-size: 6px 6px;
  opacity: 0.5;
  mix-blend-mode: soft-light;
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.panel-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.caption {
  align-self: flex-start;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.55rem;
  font-family: var(--font-plaque);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  background: #f5f0e0;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
}

.caption.neon {
  background: #0d1a1c;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(46, 230, 255, 0.35), 2px 2px 0 #000;
}

/* —— Speech bubbles —— */
.bubble {
  position: relative;
  align-self: flex-start;
  max-width: 92%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: #fff;
  color: #111;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  border: 2.5px solid #000;
  border-radius: 1.1rem;
  box-shadow: 3px 3px 0 #000;
  z-index: 2;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  bottom: -12px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #000;
  border-bottom: 0;
  margin-left: -1px;
}

.bubble::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  bottom: -8px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  z-index: 1;
}

.bubble.right {
  align-self: flex-end;
}

.bubble.right::after {
  left: auto;
  right: 1.25rem;
}

.bubble.right::before {
  left: auto;
  right: 1.35rem;
}

.bubble.led {
  background: #061812;
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 14px rgba(184, 255, 60, 0.35), 3px 3px 0 #000;
  font-family: var(--font-plaque);
  font-size: 0.85rem;
}

.bubble.led::before {
  border-top-color: #061812;
}

.bubble.led::after {
  border-top-color: var(--neon-green);
}

.bubble.small {
  font-size: 0.82rem;
  padding: 0.4rem 0.6rem;
}

/* —— Brass museum plaque —— */
.plaque {
  margin: 0;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(145deg, #2a2414 0%, var(--plaque) 40%, #12100a 100%);
  border: 4px solid var(--brass);
  box-shadow:
    inset 0 0 0 2px var(--brass-dark),
    inset 0 0 24px rgba(201, 162, 39, 0.15),
    0 0 20px rgba(201, 162, 39, 0.2),
    4px 4px 0 #000;
  color: var(--brass-shine);
  font-family: var(--font-plaque);
  font-size: 0.82rem;
  line-height: 1.45;
}

.plaque h3,
.plaque .plaque-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff8dc;
  border-bottom: 1px solid var(--brass-dark);
  padding-bottom: 0.35rem;
}

.plaque p {
  margin: 0.4rem 0;
}

.plaque .punch {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.plaque .meta {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: #b8a56a;
  font-style: italic;
}

.plaque-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .plaque-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Split before/after —— */
.split-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 180px;
  height: 100%;
}

.split-ba .half {
  position: relative;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.split-ba .half.before {
  background: linear-gradient(160deg, #1a2230, #0e1420);
  border-right: 2px dashed var(--neon-cyan);
}

.split-ba .half.after {
  background: linear-gradient(160deg, #2a1218, #140a0c);
}

.split-ba .half .tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border: 1px solid currentColor;
}

.split-ba .half.before .tag {
  color: var(--neon-cyan);
}

.split-ba .half.after .tag {
  color: var(--neon-magenta);
}

/* —— Tagline wall —— */
.tagline-wall {
  text-align: center;
  padding: 2rem 1rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 30%),
    repeating-linear-gradient(
      90deg,
      #1a181f 0,
      #1a181f 8px,
      #14121a 8px,
      #14121a 16px
    );
  border: 3px solid var(--brass);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.tagline-wall .line1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--neon-cyan);
  text-shadow:
    0 0 18px rgba(46, 230, 255, 0.55),
    3px 3px 0 #000;
}

.tagline-wall .line2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.2vw, 1.45rem);
  font-weight: 700;
  color: var(--neon-magenta);
  text-shadow:
    0 0 14px rgba(255, 43, 214, 0.5),
    2px 2px 0 #000;
}

/* —— Teaser card —— */
.teaser-card {
  position: relative;
  padding: 1.25rem;
  background: linear-gradient(145deg, #1c1428, #0e0c14);
  border: 3px solid var(--neon-magenta);
  box-shadow:
    0 0 24px rgba(255, 43, 214, 0.25),
    5px 5px 0 #000;
}

.teaser-card .stamp {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-amber);
  border: 2px dashed var(--neon-amber);
  transform: rotate(8deg);
  background: rgba(0, 0, 0, 0.5);
}

.teaser-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.teaser-card .ep-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.35);
}

.teaser-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.teaser-card .wing {
  margin-top: 0.85rem;
  font-family: var(--font-plaque);
  font-size: 0.72rem;
  color: var(--brass-shine);
}

/* —— Ad placeholders —— */
.ad-slot {
  margin: 1.25rem 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ad-bg);
  border: 2px dashed var(--ad-border);
  color: #888894;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}

.ad-slot.leaderboard {
  min-height: 90px;
}

.ad-slot.rectangle {
  min-height: 250px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Interior pages —— */
.page-hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--brass-dark);
}

.page-hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(46, 230, 255, 0.35);
}

.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 38rem;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--brass-shine);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.episode-list {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.episode-card {
  padding: 1.15rem 1.25rem;
  background: var(--bg-panel);
  border: 3px solid var(--panel-border);
  box-shadow: 4px 4px 0 #000;
}

.episode-card.live {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(46, 230, 255, 0.2), 4px 4px 0 #000;
}

.episode-card.soon {
  border-color: var(--neon-magenta);
  opacity: 0.95;
}

.episode-card .badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}

.episode-card.live .badge {
  color: var(--neon-cyan);
}

.episode-card.soon .badge {
  color: var(--neon-magenta);
}

.episode-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.episode-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.episode-card .cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
}

/* —— SVG art helpers —— */
.museum-facade {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.greeter-svg,
.fridge-svg {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 240, 180, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.exhibit-stage {
  position: relative;
  padding-top: 0.5rem;
}

.exhibit-banner {
  text-align: center;
  font-family: var(--font-plaque);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon-amber);
  margin: 0 0 0.5rem;
  text-shadow: 0 0 8px rgba(255, 193, 74, 0.4);
}

.pedestal {
  text-align: center;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--neon-cyan);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* —— Page jump nav —— */
.page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.75rem;
  background: rgba(18, 18, 24, 0.9);
  border: 2px solid var(--brass-dark);
  border-radius: 4px;
  font-family: var(--font-plaque);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-jump a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-jump a:hover {
  color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
}

.page-deck {
  margin: -0.35rem 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 42rem;
}

/* —— Illustrated panel images —— */
.panel-art.fill {
  position: relative;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 2px;
}

.panel-art.fill img,
.panel-art img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.panel-has-img {
  min-height: 220px;
}

.panel-has-img .panel-inner.overlay-top {
  padding: 0.75rem;
}

.panel-has-img .panel-inner.overlay-top > .caption,
.panel-has-img .panel-inner.overlay-top > .bubble,
.panel-has-img .panel-inner.overlay-top > .exhibit-banner {
  position: relative;
  z-index: 3;
}

.under-art {
  margin-top: 0.35rem;
}

.split-ba-img {
  min-height: 220px;
}

.split-ba-img .half {
  padding: 0.65rem;
  gap: 0.4rem;
}

.split-ba-img .panel-art.fill {
  flex: 1;
  min-height: 120px;
}

.split-ba-img .panel-art.fill img {
  min-height: 120px;
  max-height: 200px;
}

.hero-wide .panel-art.fill img {
  min-height: 160px;
  max-height: 280px;
  object-fit: cover;
}

.tagline-overlay {
  margin-top: 0.75rem;
  min-height: auto;
  padding: 1rem;
}

/* —— Empty storyboard frames (dialogue panels without art yet) —— */
.dialogue-stage.empty-frame {
  flex: 1;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(46, 230, 255, 0.03) 8px,
      rgba(46, 230, 255, 0.03) 16px
    ),
    #0e0e14;
  border: 3px dashed #3a3a48;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.45);
}

.dialogue-stage.empty-frame.wide {
  min-height: 130px;
}

.dialogue-stage.empty-frame.tension {
  border-color: var(--neon-magenta);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 43, 214, 0.05) 8px,
      rgba(255, 43, 214, 0.05) 16px
    ),
    #140a12;
}

.dialogue-stage.empty-frame.danger {
  border-color: #ff4a4a;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 74, 74, 0.06) 8px,
      rgba(255, 74, 74, 0.06) 16px
    ),
    #1a0a0a;
}

.empty-label {
  font-family: var(--font-plaque);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-amber);
  border: 1px solid var(--neon-amber);
  padding: 0.15rem 0.45rem;
}

.empty-hint {
  margin: 0;
  font-family: var(--font-plaque);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 28rem;
}

.dialogue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: flex-start;
}

.dialogue-row .bubble {
  max-width: min(92%, 22rem);
}

/* —— Hacker speech —— */
.bubble.hacker {
  background: #1a1020;
  color: #e8b4ff;
  border-color: #c44dff;
  box-shadow: 0 0 12px rgba(196, 77, 255, 0.35), 3px 3px 0 #000;
  font-family: var(--font-plaque);
  font-size: 0.85rem;
}

.bubble.hacker::before {
  border-top-color: #1a1020;
}

.bubble.hacker::after {
  border-top-color: #c44dff;
}

.panel-dialogue .panel-inner {
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .hero-wide .panel-art.fill img {
    max-height: 320px;
  }
}

.bubble.ui-confirm {
  align-self: center;
  background: #1a0808;
  color: #ff6b6b;
  border-color: #ff4a4a;
  border-style: dashed;
  box-shadow: 0 0 14px rgba(255, 74, 74, 0.35), 3px 3px 0 #000;
  font-family: var(--font-plaque);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bubble.ui-confirm::before { border-top-color: #1a0808; }
.bubble.ui-confirm::after { border-top-color: #ff4a4a; }

/* —— Sticky OST / theme song player —— */
.ost-player {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.97);
  border-bottom: 2px solid #c9a227;
  border-top: none;
  padding: 0.65rem 0.85rem 0.85rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ost-player-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.ost-label {
  font-family: var(--font-plaque);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(46, 230, 255, 0.4);
  white-space: nowrap;
}

.ost-player audio {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 100%;
  height: 36px;
  accent-color: var(--neon-magenta);
  filter: drop-shadow(0 0 6px rgba(255, 43, 214, 0.25));
}

body {
  padding-bottom: 0;
}


.ost-player-top .ost-player-inner {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 920px;
  margin: 0 auto;
}
.ost-copy { display: flex; flex-direction: column; gap: 0.15rem; }
.ost-hint { color: #a8a29a; font-size: 0.75rem; }
.ost-player audio {
  width: 100%;
  min-height: 40px;
  max-width: 100%;
}
.comic-title-block { margin: 0.5rem 0 1rem; text-align: left; }
.comic-kicker { margin: 0; color: #2ee6ff; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.comic-epic-title { font-size: clamp(1.4rem, 5vw, 2rem) !important; color: #e8e4d8 !important; margin: 0.25rem 0 !important; }
.comic-subtitle { margin: 0; color: #b8a56a; font-size: 0.95rem; }
.comic-divider { border: 0; border-top: 1px solid #2a2a35; margin: 2rem 0 1rem; }
.hall-comic-label {
  color: #c9a227; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 1rem; padding: 0 0.25rem;
}
.lyric-grid { display: grid; gap: 0.85rem; }
.lyric-panel .bubble.lyric {
  font-size: clamp(0.9rem, 3.6vw, 1.1rem);
  line-height: 1.35;
  max-width: 100%;
}
.page-jump { flex-wrap: wrap; gap: 0.4rem 0.65rem; }
@media (max-width: 640px) {
  .site-header { padding: 0.5rem 0.75rem; }
  .ost-player { padding: 0.55rem 0.7rem 0.7rem; }
  .ost-label { font-size: 0.8rem; }
  .panel-grid { gap: 0.75rem; }
  .site-main { padding-left: 0.65rem; padding-right: 0.65rem; }
  .bubble { font-size: 0.9rem; }
}
