/* Manu Bubbles — Manu Arcade No. XIX
   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. */

/* A second gold gauge glyph for the "best" star. */
.gauge-glyph.gold { color: var(--gold-deep); }

/* The framed playfield is a portrait pane for the hanging orb field. */
.board-frame {
  width: min(460px, 94vw);
  display: flex;
  justify-content: center;
}
#board {
  display: block;
  touch-action: none;
  cursor: crosshair;
  border-radius: 6px;
  max-width: 100%;
  /* A faint inner candle-glow vignette behind the canvas pixels. */
  background:
    radial-gradient(120% 60% at 50% 8%, rgba(227,183,84,.10), rgba(227,183,84,0) 60%),
    linear-gradient(180deg, #15100c 0%, #1c1611 52%, #241b13 100%);
}

/* Instruction caption floats over the lower third of the pane until first shot. */
.hint-overlay {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 22%, 130px);
  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);
}

/* The seal "lose" treatment, mirroring the house convention. */
.seal-face { line-height: 1; transition: transform .3s var(--ease); }
.seal.lose { background: radial-gradient(circle at 38% 32%, #6b5a48, #3a2e22 60%, #1a1410 100%); }
.seal:active .seal-face { transform: rotate(-90deg); }

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