/* Golgappa Pop: evening chaat-stall HUD, pause overlay, win/fail modals */

body.game {
  --bg-top: #ffd9a6;
  --bg-bottom: #f3b778;
  --hud-ink: #4a210b;
  --hud-chip: rgba(255, 255, 255, .55);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.stage { overscroll-behavior: none; touch-action: none; overflow: hidden; }
.subhud .chip { white-space: nowrap; font-variant-numeric: tabular-nums; transition: background .2s, transform .15s; }
.chip.gp-goal { background: #fff3c4; }
.chip.gp-shots.low { background: #e2384d; color: #fff; animation: gp-pulse 1s ease-in-out infinite; }
@keyframes gp-pulse { 50% { transform: scale(1.08); } }
.boost { min-height: 52px; min-width: 80px; }
.boost svg { width: 26px; height: 26px; }

.gp-hand { animation: none; margin: -4px 0 0 -14px; transition: opacity .15s; }

.gp-pause {
  position: absolute; inset: 0; z-index: 7; display: grid; place-content: center; gap: 6px; border: 0;
  background: rgba(74, 33, 11, .55); color: #fff; font: inherit; text-align: center;
}
.gp-pause b { font: 700 34px/1 var(--display); }
.gp-pause span { font-weight: 700; font-size: 17px; opacity: .9; }

.gp-win { text-align: center; }
.gp-win .gp-score b { font: 700 52px/1 var(--display); color: var(--ink); }
.gp-win .gp-score span { font-weight: 700; color: var(--ink-soft); }
.gp-win .gp-bonus { margin: -4px 0 0; font-weight: 700; color: var(--mint); }
.gp-fail { text-align: center; }
.gp-fail .gp-progress { font: 700 30px/1 var(--display); color: var(--chili); }
@media (max-height: 640px) {
  .gp-win .stars svg { width: 36px; height: 36px; }
  .gp-win .gp-score b { font-size: 40px; }
}
