/* ============================================================
   ONE LIGHT-DAY — design system
   Palette: deep space #05060A / record gold #C9A24A / cold blue #6FA8DC
   ============================================================ */
:root {
  --space: #05060a;
  --gold: #c9a24a;
  --gold-soft: #d8bd7e;
  --blue: #6fa8dc;
  --ink: #e8e6e0;
  --muted: #8a8f99;
  --line: rgba(201, 162, 74, 0.28);
  --hairline: rgba(232, 230, 224, 0.14);

  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --song: "Noto Serif SC", "Songti SC", serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --pad: clamp(16px, 3vw, 40px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--space);
  color: var(--ink);
  font-family: var(--song);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

/* Scroll driver: height defines total journey length */
#track {
  position: relative;
  width: 100%;
  height: 880vh;
  pointer-events: none;
}

/* Fixed stage renders the whole experience */
#stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(111, 168, 220, 0.05), transparent 60%),
    var(--space);
}

#webgl-mount, #webgl-mount canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

#vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---------------- HUD ---------------- */
#hud {
  position: absolute;
  left: var(--pad);
  bottom: var(--pad);
  display: flex;
  gap: clamp(20px, 4vw, 64px);
  z-index: 30;
  opacity: 0;
}

.hud-block { min-width: 0; }

.hud-label {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud-value {
  margin: 0;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 22px);
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hud-sub {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

/* ---------------- Chapter cards ---------------- */
#chapter-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; }

.chapter-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  padding: var(--pad);
}

.chapter-card.is-active { visibility: visible; }

.chapter-index {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--gold);
  letter-spacing: 0.3em;
}

.chapter-latin {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 9vw, 128px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.chapter-rule {
  width: clamp(60px, 8vw, 120px);
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.chapter-sub {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 26px);
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}
.chapter-sub .zh { font-family: var(--song); letter-spacing: 0.3em; }
.chapter-sub .dot { color: var(--gold); }

/* ---------------- Controls ---------------- */
#controls {
  position: absolute;
  right: var(--pad);
  top: var(--pad);
  z-index: 40;
  display: flex;
  gap: 10px;
  opacity: 0;
}

.ctrl-btn {
  appearance: none;
  background: rgba(5, 6, 10, 0.4);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.4s var(--ease-expo), color 0.4s var(--ease-expo), background 0.4s var(--ease-expo);
}
.ctrl-btn:hover { border-color: var(--gold); color: var(--gold); }
.ctrl-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }

#btn-sound .ctrl-icon { display: none; }

/* ---------------- Intro ---------------- */
#intro {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--space);
  text-align: center;
  padding: var(--pad);
}

.intro-inner { max-width: 820px; }

.intro-kicker {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.intro-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 7vw, 92px);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.intro-sep { color: var(--gold); margin: 0 0.12em; font-style: italic; }

.intro-line {
  margin: 22px 0 34px;
  font-family: var(--song);
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--muted);
  letter-spacing: 0.18em;
}

.primary-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  padding: 14px 46px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.5s var(--ease-expo), color 0.5s var(--ease-expo);
}
.primary-btn:hover { background: var(--gold); color: var(--space); }

.intro-note {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------------- List view (accessibility) ---------------- */
#list-view {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  background: var(--space);
  padding: var(--pad);
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  max-width: 1200px;
  margin-inline: auto;
}
.list-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: 0.06em;
}

#list-content { max-width: 1200px; margin: 0 auto; }

.list-section-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 36px 0 16px;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.list-item { border: 1px solid var(--hairline); border-radius: 2px; overflow: hidden; }
.list-item img { display: block; width: 100%; height: auto; background: #0b0d13; }
.list-item .meta { padding: 10px 12px; }
.list-item .num { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.15em; }
.list-item .cap { margin: 4px 0 0; font-family: var(--song); font-size: 13px; line-height: 1.4; }

.audio-list { display: flex; flex-direction: column; gap: 10px; }
.audio-row {
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}
.audio-row .top { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.audio-row .num { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.audio-row .ttl { font-family: var(--song); font-size: 14px; }
.audio-row .country { font-family: var(--mono); font-size: 10px; color: var(--blue); letter-spacing: 0.12em; }
.audio-row audio { width: 100%; }

/* ---------------- Responsive ---------------- */
@media (max-width: 720px) {
  #hud { flex-direction: column; gap: 14px; }
  #controls { gap: 8px; }
  .ctrl-btn { padding: 8px 10px; font-size: 10px; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body.reduced-motion .chapter-card,
body.reduced-motion #hud,
body.reduced-motion #controls { transition: none !important; }

/* ---------------- Fragment labels (3D, DOM projection) ---------------- */
.frag-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
}
.frag-label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  will-change: transform, opacity;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}
.frag-label-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.frag-label-text {
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
@media (max-width: 720px) {
  .frag-label-text { font-size: 11px; letter-spacing: 0.08em; }
}

/* ---------------- Fragment viewer (3D) ---------------- */
.viewer-ui {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
}
.viewer-ui .ctrl-btn { pointer-events: auto; }
#viewer-close { position: absolute; top: var(--pad); right: var(--pad); }
.viewer-meta {
  position: absolute;
  left: 50%;
  bottom: calc(var(--pad) + 56px);
  transform: translateX(-50%);
  text-align: center;
  max-width: 80vw;
}
.viewer-num {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold);
}
.viewer-title {
  margin: 0;
  font-family: var(--song);
  font-size: clamp(15px, 2vw, 20px);
  color: var(--ink);
  letter-spacing: 0.06em;
}
.viewer-nav {
  position: absolute;
  left: 50%;
  bottom: var(--pad);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

/* ---------------- 2D parallax fallback ---------------- */
#p2d-mount { position: absolute; inset: 0; z-index: 10; }

.p2d-item {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(200px, 32vw, 380px);
  cursor: pointer;
  will-change: transform, opacity;
}
.p2d-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 2px;
}
.p2d-cap {
  margin: 8px 0 0;
  font-family: var(--song);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.p2d-cap span { font-family: var(--mono); color: var(--gold); margin-right: 6px; }

.p2d-lightbox {
  position: absolute;
  inset: 0;
  z-index: 70;
  background: rgba(5, 6, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: var(--pad);
}
.p2d-lightbox[hidden] { display: none; }
.p2d-big { max-width: min(68vw, 860px); max-height: 66vh; display: block; }
.p2d-prev, .p2d-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.p2d-prev { left: var(--pad); }
.p2d-next { right: var(--pad); }
.p2d-meta {
  position: absolute;
  bottom: var(--pad);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--song);
  font-size: 14px;
  color: var(--ink);
}
.p2d-close { position: absolute; top: var(--pad); right: var(--pad); }

@media (max-width: 720px) {
  .p2d-item { width: 58vw; }
  .p2d-big { max-width: 62vw; max-height: 60vh; }
  .p2d-meta { font-size: 12px; max-width: 90vw; text-align: center; }
}

/* ============================================================
   Phase 4 — moments & finale
   ============================================================ */
.moment-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: var(--pad);
  text-align: center;
  pointer-events: none;
}
/* The flex rule above would otherwise override the native [hidden] attribute. */
.moment-overlay[hidden] { display: none; }

/* While a moment/finale holds the screen, quiet the background chapter watermark.
   !important is needed to override the inline opacity GSAP writes onto the card. */
body.in-moment .chapter-card.is-active { opacity: 0.14 !important; }

/* ---- Pale Blue Dot ---- */
.pbd {
  background: radial-gradient(ellipse at center, #070912 0%, #03040a 70%, #010207 100%);
  pointer-events: auto;
}
.pbd-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 32%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 72% 22%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 44% 68%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 86% 58%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 30% 82%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 62% 44%, rgba(255,255,255,0.4), transparent);
  opacity: 0;
}
.pbd-dot {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px 2px rgba(111, 168, 220, 0.85), 0 0 26px 8px rgba(111, 168, 220, 0.35);
  opacity: 0;
}
.pbd-glow {
  position: absolute;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(111,168,220,0.28), transparent);
  filter: blur(1px);
}
.pbd-text {
  font-family: var(--serif);
  font-size: clamp(20px, 3.4vw, 34px);
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0;
}
.moment-skip {
  position: absolute;
  bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ---- Heliopause caption ---- */
.moment-caption {
  position: fixed;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  z-index: 58;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--blue);
  white-space: nowrap;
}

/* ---- One Light-Day ---- */
.old-moment { gap: 30px; }
.old-line {
  font-family: var(--serif);
  font-size: clamp(26px, 4.6vw, 48px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  max-width: 18em;
}
.old-send {
  display: flex;
  gap: 12px;
  pointer-events: auto;
  width: min(560px, 86vw);
}
.old-send input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--song);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
}
.old-send input:focus { border-color: var(--gold); }
.old-flight {
  position: relative;
  width: min(640px, 90vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,162,74,0.25), transparent);
}
#old-point {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgba(201,162,74,0.7);
  transform: translateY(-50%);
}
.old-countdown {
  font-family: var(--mono);
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  min-height: 1.4em;
}

/* ---- Finale ---- */
.finale { background: rgba(3, 4, 10, 0.72); pointer-events: none; }
.finale-stage { position: relative; width: 0; height: 0; }
.finale-img {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(201,162,74,0.35);
}
.finale-disc {
  position: absolute;
  width: 34vmin;
  height: 34vmin;
  top: -17vmin;
  left: -17vmin;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #f0dca6 0%, var(--gold) 42%, #8a6a2c 100%);
  box-shadow: 0 0 60px 10px rgba(201,162,74,0.35), inset 0 0 40px rgba(60,42,12,0.55);
  transform: scale(0);
}
.finale-disc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    rgba(255,255,255,0.08) 0 2px,
    rgba(0,0,0,0.05) 2px 6px
  );
}

@media (max-width: 720px) {
  .old-send { flex-direction: column; }
  .finale-img { width: 26px; height: 26px; top: -13px; left: -13px; }
}

/* ============================================================
   Golden Record jukebox
   ============================================================ */
.jukebox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px var(--pad);
  background: radial-gradient(ellipse at center, rgba(10,12,20,0.92), rgba(2,3,8,0.98));
  pointer-events: auto;
}
.jukebox[hidden] { display: none; }

.jb-head {
  position: absolute;
  top: 22px; left: var(--pad); right: var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.jb-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.jb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
}
.jb-wheel {
  position: relative;
  width: 180px;
  height: 180px;
  perspective: 1000px;
}
.jb-disc {
  position: absolute;
  top: 50%; left: 50%;
  width: 180px; height: 180px;
  margin: -90px 0 0 -90px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 36% 30%, #f3e0b0 0%, var(--gold) 46%, #8a6a2c 100%);
  box-shadow: 0 12px 42px rgba(0,0,0,0.62), inset 0 0 32px rgba(70,50,14,0.5);
  will-change: transform, opacity;
}
.jb-disc::before {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    rgba(255,255,255,0.10) 0 2px,
    rgba(0,0,0,0.06) 2px 7px
  );
}
.jb-disc-label {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 15px;
  color: #4a3814;
  background: radial-gradient(circle at 38% 34%, #e9d39c, #b8944a);
  box-shadow: inset 0 0 8px rgba(80,58,18,0.6);
}
.jukebox.is-playing .jb-disc.is-active .jb-disc-label {
  animation: jbspin 3.6s linear infinite;
}
@keyframes jbspin { to { transform: rotate(360deg); } }

.jb-canvas {
  position: absolute;
  left: 50%; top: 50%;
  width: 460px; height: 460px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.jb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--gold-soft);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  z-index: 5;
}
.jb-arrow:hover { background: rgba(201,162,74,0.16); border-color: var(--gold); }
.jb-prev { left: 6%; }
.jb-next { right: 6%; }

.jb-info { text-align: center; max-width: 720px; }
.jb-index {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.jb-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
  color: var(--ink);
}
.jb-meta {
  margin: 0;
  font-family: var(--song);
  font-size: 13px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.jb-flag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 6px;
  color: var(--gold-soft);
}

/* 汉语问候卡片：方言原文 + 普通话释义 */
.jb-greeting {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px auto 0;
  max-width: 30em;
}
.jb-greeting[hidden] { display: none; }
.jb-greet-native {
  margin: 0;
  font-family: var(--song);
  font-size: clamp(16px, 2.2vw, 21px);
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  line-height: 1.5;
}
.jb-greet-meaning {
  margin: 0;
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.5;
}

/* 问候唱片的中心标签改用宋体方言字 */
.jb-disc.is-greeting .jb-disc-label {
  font-family: var(--song);
  font-size: 19px;
}

.jb-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(201,162,74,0.22), rgba(201,162,74,0.1));
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  padding: 12px 34px;
  cursor: pointer;
  transition: background 0.25s;
}
.jb-play:hover { background: rgba(201,162,74,0.3); }

.jb-progress {
  width: min(560px, 84vw);
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
}
.jb-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.jb-time {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.jb-reopen {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 88;
  border: 1px solid var(--gold);
  border-radius: 40px;
  background: rgba(10,12,20,0.85);
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 11px 26px;
  cursor: pointer;
}
.jb-reopen[hidden] { display: none; }

@media (max-width: 720px) {
  .jb-stage { height: 180px; }
  .jb-disc { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
  .jb-wheel { width: 140px; height: 140px; }
  .jb-canvas { width: 320px; height: 320px; }
  .jb-arrow { width: 42px; height: 42px; font-size: 22px; }
  .jb-prev { left: 2%; } .jb-next { right: 2%; }
}
