/* Wisps — Manu Arcade No. XXII
   Game-specific styling only. The shell (masthead, hud, seal, toggles,
   board-frame, overlay, colophon) comes from ../_shared/palette.css.
   No em dashes in any on-screen copy by house style. */

/* The combo gauge gets a warm glow when it climbs. */
#combo-gauge { transition: color .2s var(--ease), transform .2s var(--ease); }
#combo-gauge.lit {
  color: var(--amber);
  text-shadow: 0 0 14px rgba(217,148,65,.5);
}
#combo-gauge .gauge-glyph { color: var(--gold-deep); }

/* The framed board holds the wells. */
.board-frame {
  width: min(560px, 94vw);
  display: flex;
  justify-content: center;
}
#board {
  display: block;
  touch-action: manipulation;
  cursor: pointer;
  border-radius: 6px;
  max-width: 100%;
  /* A faint candle-glow vignette behind the canvas pixels. */
  background:
    radial-gradient(120% 80% at 50% 16%, rgba(227,183,84,.10), rgba(227,183,84,0) 60%),
    linear-gradient(180deg, #1b1410 0%, #221a12 54%, #2a2015 100%);
}

/* Instruction caption floats over the board until the round begins. */
.hint-overlay {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 5%, 30px);
  transform: translateX(-50%);
  margin: 0;
  width: max-content;
  max-width: 86%;
  text-align: center;
  font-family: var(--hand);
  font-style: italic;
  font-size: clamp(14px, 3.6vw, 17px);
  color: var(--gold-bright);
  text-shadow: 0 1px 0 rgba(0,0,0,.55), 0 0 14px rgba(227,183,84,.35);
  pointer-events: none;
  opacity: 1;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hint-overlay.gone {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

/* Seal flourish on a fresh round. */
.seal-face { line-height: 1; transition: transform .3s var(--ease); }
.seal:active .seal-face { transform: rotate(90deg); }

@media (max-width: 420px) {
  .hud { gap: 10px; }
}
