/* ─────────────────────────────────────────────────────────────────
   Toys Bench... a workshop surface scattered with playthings
   ───────────────────────────────────────────────────────────────── */

:root {
  --wood-deep:    #5a3a1f;
  --wood-mid:     #6e4a28;
  --wood-grain:   #7a5530;
  --wood-warm:    #936238;
  --ink:          #1a0f08;
  --cream:        #faf4e4;
  --paper:        #f5ecd6;
  --amber:        #c8832a;
  --amber-glow:   #e8b84b;
  --amber-pale:   #f2d688;
  --leaf:         #5a8830;
  --candy-red:    #d94c3a;
  --candy-blue:   #3a7bd9;
  --candy-pink:   #e08aa8;
  --candy-yellow: #f4c842;
  --candy-mint:   #6dc2a5;
  --candy-violet: #8f6fb8;
  --brass:        #c89a4a;
  --brass-dk:     #8a6a30;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(220,160,90,.30) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(80,46,22,.32) 0%, transparent 70%),
    var(--wood-deep);
  color: var(--cream);
  font-family: 'Crimson Pro', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Wood grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      rgba(0,0,0,.03) 1px,
      transparent 2px,
      transparent 18px,
      rgba(120,70,40,.025) 19px,
      transparent 20px
    ),
    repeating-linear-gradient(
      88deg,
      transparent 0px,
      transparent 60px,
      rgba(80,40,20,.04) 61px,
      transparent 62px
    );
  mix-blend-mode: overlay;
  opacity: .65;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(0,0,0,.10) 0%, transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(0,0,0,.13) 0%, transparent 45%);
}

/* ── Top strip ─────────────────────────────────────────────────── */
.bench-bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2rem;
  border-bottom: .5px solid rgba(200,131,42,.18);
}
.bench-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--amber-glow);
  letter-spacing: .04em;
}
.bench-title em { font-style: italic; color: var(--cream); opacity: .65; }
.bench-controls { display: flex; gap: .8rem; align-items: center; }
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem;
  font-family: 'Jost', sans-serif;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  background: none;
  border: .5px solid rgba(200,131,42,.4);
  border-radius: 20px;
  cursor: pointer;
  transition: all .25s;
}
.sound-toggle:hover { background: rgba(200,131,42,.1); color: var(--amber-glow); }
.sound-toggle.off { opacity: .4; }
.sound-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px rgba(200,131,42,.6);
}
.sound-toggle.off .sound-dot { background: rgba(200,131,42,.3); box-shadow: none; }

/* ── Bench surface ─────────────────────────────────────────────── */
.bench {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.bench-intro {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem 1rem;
}
.bench-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--cream);
  margin-bottom: .6rem;
  letter-spacing: .01em;
}
.bench-intro h1 em { font-style: italic; color: var(--amber-glow); }
.bench-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(250,244,228,.55);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Toy stations ──────────────────────────────────────────────── */
.station {
  background:
    linear-gradient(160deg, rgba(74,44,28,.55), rgba(42,24,16,.7));
  border: .5px solid rgba(200,131,42,.18);
  border-radius: 18px;
  padding: 1.8rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  box-shadow:
    0 4px 20px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,220,180,.04);
  min-height: 360px;
}
.station:hover {
  border-color: rgba(200,131,42,.35);
  transform: translateY(-2px);
  box-shadow:
    0 6px 28px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,220,180,.06);
}
.station-label {
  margin-top: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--amber-glow);
  text-align: center;
  letter-spacing: .02em;
}
.station-hint {
  margin-top: .25rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .75rem;
  color: rgba(250,244,228,.4);
  text-align: center;
  line-height: 1.5;
  max-width: 220px;
  letter-spacing: .02em;
}
.station-stage {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 220px;
}

/* ── Help bubble — small "?" pearl in the top-right of every station,
   tap to open a card explaining what the toy is and where to read more ── */
.station-help {
  position: absolute;
  top: .7rem; right: .7rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 30%, var(--amber-pale), var(--amber) 65%, var(--brass-dk));
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-size: .85rem; font-weight: 500;
  border: .5px solid rgba(255,235,180,.45);
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px rgba(232,184,75,.35), inset 0 0 6px rgba(255,255,255,.3);
  transition: transform .25s, box-shadow .25s;
}
.station-help:hover {
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(232,184,75,.6), inset 0 0 8px rgba(255,255,255,.45);
}
.help-overlay {
  position: fixed; inset: 0;
  background: rgba(20,12,6,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  padding: 2rem 1rem;
  animation: helpFade .3s ease-out;
}
.help-overlay.show { display: flex; }
.help-card {
  max-width: 540px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--paper) 0%, var(--cream) 100%);
  color: var(--ink);
  border-radius: 14px;
  padding: 2rem 2rem 1.6rem;
  position: relative;
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  line-height: 1.7;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(232,184,75,.2);
}
.help-card-close {
  position: absolute; top: .8rem; right: .9rem;
  width: 30px; height: 30px;
  background: transparent;
  border: .5px solid rgba(138,106,48,.4);
  color: var(--brass-dk);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.help-card-close:hover { border-color: var(--brass-dk); background: rgba(138,106,48,.08); }
.help-card-tag {
  font-family: 'Jost', sans-serif;
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .5rem;
}
.help-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.help-card-body {
  font-size: .95rem;
  margin-bottom: 1.2rem;
}
.help-card-body p { margin-bottom: .8rem; }
.help-card-essay {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(232,184,75,.18);
  border: .5px solid var(--amber);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  text-decoration: none;
  transition: all .25s;
}
.help-card-essay:hover {
  background: var(--amber);
  color: var(--cream);
}
@keyframes helpFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Bubble Pilgrimage tile — a click-through, not an embedded toy ── */
.station-link {
  text-decoration: none;
  color: inherit;
  display: contents;
}
.pilgrimage-tile {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pilgrimage-tile svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(232,184,75,.25));
  transition: filter .35s, transform .35s;
}
.station:hover .pilgrimage-tile svg {
  filter: drop-shadow(0 0 26px rgba(232,184,75,.45));
  transform: scale(1.03);
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .col-4, .col-6 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .col-4, .col-6 { grid-column: 1 / -1; }
  .bench { gap: 1.2rem; padding: 1rem 1rem 4rem; }
}

/* ─── Newton's Cradle ────────────────────────────────────────── */
.cradle-svg { width: 100%; height: 220px; cursor: grab; user-select: none; touch-action: none; }
.cradle-svg.dragging { cursor: grabbing; }
.cradle-string-line { stroke: rgba(245,236,214,.45); stroke-width: 1; }
.cradle-frame-bar { stroke: var(--brass); stroke-width: 4; stroke-linecap: round; }
.cradle-frame-leg { stroke: var(--brass-dk); stroke-width: 3; stroke-linecap: round; }

/* ─── Metronome ──────────────────────────────────────────────── */
.metronome-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.metronome-svg { height: 240px; width: 130px; user-select: none; touch-action: none; }
.metronome-weight-handle { cursor: ns-resize; }
.metronome-controls { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 100%; }
.metronome-bpm {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amber-glow);
  letter-spacing: .04em;
}
.metronome-bpm-num { font-size: 1.6rem; font-weight: 500; color: var(--cream); }
.metronome-slider {
  width: 80%;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(200,131,42,.25);
  border-radius: 2px;
  outline: none;
}
.metronome-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(200,131,42,.5);
}
.metronome-slider::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(200,131,42,.5);
}
.metronome-toggle {
  font-family: 'Jost', sans-serif;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--candy-red);
  border: none;
  border-radius: 20px;
  padding: .4rem 1rem;
  cursor: pointer;
  transition: all .2s;
}
.metronome-toggle:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(217,76,58,.3); }
.metronome-toggle.on { background: var(--leaf); }

/* ─── Abacus ──────────────────────────────────────────────────── */
.abacus-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.abacus-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--amber-glow);
  letter-spacing: .04em;
  line-height: 1;
  min-height: 3rem;
  transition: color .2s, transform .15s;
}
.abacus-total.bumped { transform: scale(1.05); color: var(--candy-yellow); }
.abacus-svg { width: 100%; max-width: 540px; user-select: none; touch-action: none; }
.abacus-frame-rect { fill: rgba(140,90,50,.25); stroke: var(--brass-dk); stroke-width: 2; }
.abacus-rod-line { stroke: rgba(200,131,42,.35); stroke-width: 1.5; }
.abacus-bead-circle { cursor: grab; transition: cx .2s cubic-bezier(.25,.8,.25,1), cy .2s cubic-bezier(.25,.8,.25,1); }
.abacus-place-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  fill: rgba(245,236,214,.45);
  letter-spacing: .04em;
}
.abacus-bead-circle.dragging { cursor: grabbing; transition: none; }
.abacus-reset {
  font-family: 'Jost', sans-serif;
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250,244,228,.5);
  background: none;
  border: .5px solid rgba(200,131,42,.25);
  border-radius: 20px;
  padding: .3rem .85rem;
  cursor: pointer;
  transition: all .2s;
}
.abacus-reset:hover { color: var(--amber); border-color: var(--amber); }

/* ─── Kaleidoscope ────────────────────────────────────────────── */
.kaleido-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.kaleido-viewport {
  width: 230px; height: 230px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brass);
  background: #000;
  box-shadow:
    0 0 24px rgba(200,131,42,.15),
    inset 0 0 30px rgba(0,0,0,.5),
    inset 0 0 1px rgba(245,236,214,.3);
  position: relative;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.kaleido-viewport.dragging { cursor: grabbing; }
.kaleido-viewport svg { width: 100%; height: 100%; display: block; }
.kaleido-credit {
  font-family: 'Cormorant Garamond', serif;
  font-size: .82rem;
  color: rgba(245,236,214,.6);
  letter-spacing: .02em;
  text-align: center;
  margin-top: -.2rem;
}
.kaleido-credit em { color: var(--cream); font-style: italic; }
.kaleido-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .35rem;
  max-width: 300px;
}
.kaleido-painting {
  width: 38px; height: 38px;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(245,236,214,.18);
  background: #1a1410;
  cursor: pointer;
  transition: transform .15s, border-color .2s, box-shadow .2s;
}
.kaleido-painting-img {
  display: block;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
.kaleido-painting:hover { transform: translateY(-2px); border-color: rgba(200,131,42,.6); }
.kaleido-painting.active {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 4px 10px rgba(200,131,42,.3);
}
/* Legacy chip styles kept harmless */
.kaleido-chip {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .7rem;
  color: rgba(250,244,228,.5);
  background: none;
  border: .5px solid rgba(200,131,42,.2);
  border-radius: 14px;
  padding: .22rem .65rem;
  cursor: pointer;
  transition: all .2s;
}
.kaleido-chip:hover { color: var(--amber-glow); border-color: rgba(200,131,42,.5); }
.kaleido-chip.active { background: rgba(200,131,42,.18); color: var(--cream); border-color: var(--amber); }

/* ─── Magic 8-Ball ─────────────────────────────────────────────── */
.eightball-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.eightball-body {
  width: 200px; height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #555 0%, #2a2a2a 28%, #0a0a0a 70%, #000 100%);
  border: 1.5px solid #1a1a1a;
  box-shadow:
    inset 0 -8px 20px rgba(0,0,0,.6),
    inset 0 4px 12px rgba(255,255,255,.08),
    0 8px 24px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  transition: transform .15s;
}
.eightball-body.shaking { animation: eightShake .55s cubic-bezier(.36,.07,.19,.97); }
@keyframes eightShake {
  10%, 90% { transform: translate3d(-2px,0,0) rotate(-2deg); }
  20%, 80% { transform: translate3d(4px,0,0) rotate(3deg); }
  30%, 50%, 70% { transform: translate3d(-6px,0,0) rotate(-4deg); }
  40%, 60% { transform: translate3d(6px,0,0) rotate(4deg); }
}
.eightball-window {
  width: 100px; height: 100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #1a1a4a, #050518 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80,80,160,.3);
  position: relative;
  overflow: hidden;
}
.eightball-triangle-svg {
  position: absolute;
  inset: 12%;
  opacity: 0;
  transition: opacity .35s;
}
.eightball-triangle-svg.visible { opacity: 1; }
.eightball-text {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .82rem;
  color: rgba(220,220,255,.95);
  text-align: center;
  line-height: 1.2;
  max-width: 80px;
  text-shadow: 0 0 6px rgba(180,180,255,.4);
  opacity: 0;
  transition: opacity .35s .15s;
}
.eightball-text.visible { opacity: 1; }
.eightball-numeral {
  position: absolute;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: #111;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.eightball-numeral.visible { opacity: 1; }
.eightball-hint {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .8rem;
  color: rgba(250,244,228,.4);
}

/* ─── Prism ───────────────────────────────────────────────────── */
.prism-svg { width: 100%; height: 220px; cursor: pointer; user-select: none; }

/* ─── Compass ─────────────────────────────────────────────────── */
.compass-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.compass-svg {
  width: 220px; height: 220px;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.compass-svg.dragging { cursor: grabbing; }
.compass-bezel { fill: rgba(140,90,50,.25); stroke: var(--brass); stroke-width: 3; }
.compass-face-bg { fill: var(--paper); }
.compass-readout {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .85rem;
  color: var(--amber-glow);
  letter-spacing: .04em;
}

/* ─── Gyroscope ───────────────────────────────────────────────── */
.gyro-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; width: 100%; }
.gyro-svg { width: 100%; max-width: 320px; height: auto; aspect-ratio: 240/260; user-select: none; display: block; }
.gyro-spin-btn {
  font-family: 'Jost', sans-serif;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #3a1f10;
  background: linear-gradient(180deg, #f6dca0 0%, #d4a04a 50%, #a07028 100%);
  border: 1px solid #5a3810;
  border-radius: 20px;
  padding: .4rem 1.1rem;
  cursor: pointer;
  transition: all .2s;
  box-shadow: inset 0 1px 0 rgba(255,235,180,.6), 0 2px 6px rgba(0,0,0,.35);
}
.gyro-spin-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,235,180,.6), 0 4px 12px rgba(200,131,42,.4); }
.gyro-spin-btn:disabled { opacity: .55; cursor: default; transform: none; }

/* Brass speed selector — Victorian instrument-panel pips */
.gyro-controls { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.gyro-speed {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, #2a1810 0%, #1a0f08 100%);
  border: 1px solid #5a3810;
  border-radius: 14px;
  padding: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6), 0 1px 0 rgba(255,235,180,.08);
}
.gyro-speed-pip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(245,236,214,.55);
  background: transparent;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.gyro-speed-pip:hover { color: var(--amber-glow); }
.gyro-speed-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(200,131,42,.25);
  box-shadow: inset 0 0 2px rgba(0,0,0,.6);
  transition: background .2s, box-shadow .2s;
}
.gyro-speed-pip.active {
  color: #2a1810;
  background: linear-gradient(180deg, #f6dca0 0%, #d4a04a 55%, #a07028 100%);
  box-shadow: inset 0 1px 0 rgba(255,235,180,.7), 0 1px 3px rgba(0,0,0,.4);
}
.gyro-speed-pip.active .gyro-speed-dot {
  background: #8a1a10;
  box-shadow: 0 0 4px rgba(255,120,80,.6), inset 0 0 1px rgba(255,235,180,.5);
}
.gyro-spin-btn:disabled { opacity: .5; cursor: default; }

/* ─── Perpetual Motion (drinking bird) ────────────────────────── */
.perpetual-svg { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1/1; cursor: pointer; user-select: none; display: block; }

/* ─── Footer ──────────────────────────────────────────────────── */
.bench-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .85rem;
  color: rgba(250,244,228,.35);
}


/* ─── Newton's disc ────────────────────────────────────── */
.ndisc-wrap { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.ndisc-stage {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  background: radial-gradient(circle at 30% 30%, rgba(245,236,214,.06), transparent 60%);
  box-shadow: 0 14px 30px rgba(0,0,0,.55), inset 0 0 0 1px rgba(245,236,214,.08);
}
.ndisc-spinner {
  position: absolute; inset: 6px;
  border-radius: 50%;
  overflow: hidden;
}
.ndisc-spinner svg { display: block; width: 100%; height: 100%; }
.ndisc-overlay {
  position: absolute; inset: 18px;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity .28s ease;
  box-shadow: inset 0 0 22px rgba(0,0,0,.1);
  border: 1px solid rgba(26,23,21,.4);
}
.ndisc-caption {
  position: absolute;
  left: 50%; bottom: -1.6rem;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: .82rem;
  color: rgba(245,236,214,.55);
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .35s ease;
}
.ndisc-caption.visible { opacity: 1; }
.ndisc-caption em { color: var(--cream); font-style: italic; }
.ndisc-button {
  margin-top: 1.4rem;
  background: transparent;
  border: 1px solid rgba(245,236,214,.22);
  color: rgba(245,236,214,.75);
  padding: .35rem .9rem;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .92rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all .2s;
}
.ndisc-button:hover { border-color: var(--amber); color: var(--cream); }
.ndisc-button.on { background: rgba(200,131,42,.18); border-color: var(--amber); color: var(--cream); }
