/* Hole done? (screens/play.js showAsk, Luke 2026-10-13). When GPS sees the golfer walk off the green it asks once for the
   score: a cream card that rises from the bottom, thumb-height buttons, readable in full sun and after dark. Sits above
   the Play screen, its toolboxes, the score sheet and Pocket mode. */
#hole-ask { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
#hole-ask .ha-back { position: absolute; inset: 0; background: rgba(6, 16, 10, .55); animation: ha-fade 240ms ease-out both; }
#hole-ask .ha { position: relative; width: 100%; max-width: 520px; padding: 22px 18px 18px; border-radius: 26px; color: #10241A; text-align: center;
  background: linear-gradient(175deg, #FCF9F1, #F1EADB);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #D6CAB0, 0 3px 0 #BFB195, 0 24px 48px -12px rgba(0, 0, 0, .6);
  animation: ha-rise 420ms cubic-bezier(.32, .72, 0, 1) both; }
#hole-ask .ha-flag { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #F4EFE4;
  background: linear-gradient(160deg, #2F6B48, #1A4330); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 10px -2px rgba(16, 36, 26, .5); }
#hole-ask .ha-flag .ico { width: 24px; height: 24px; }
#hole-ask h2 { margin: 12px 0 0; font: 400 28px/1.1 "DM Serif Display", var(--serif); letter-spacing: -.005em; color: #10241A; }
#hole-ask p { margin: 8px auto 0; max-width: 34ch; font-size: 16px; line-height: 1.45; color: #4F4A3F; }
#hole-ask .ha-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 20px; }
#hole-ask .btn { min-height: 64px; border-radius: 18px; font-size: 17px; font-weight: 700; }
#hole-ask .btn:not(.primary) { background: rgba(16, 36, 26, .06); border: 1px solid rgba(16, 36, 26, .18); color: #10241A; box-shadow: none; }
#hole-ask .btn.primary { background: #10241A; border-color: #10241A; color: #F4EFE4; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 14px -4px rgba(16, 36, 26, .55); }
#hole-ask .btn:active { transform: scale(.97); transition: transform 100ms ease-out; }
#hole-ask .btn:focus-visible { outline: 3px solid #B88C38; outline-offset: 2px; }
@keyframes ha-rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes ha-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #hole-ask .ha { animation: ha-fade 200ms ease-out both; } }

/* The full score keypad (screens/play.js drawSheet): a bigger X and a Done button, so getting out always works. */
#scoresheet .sheet-head [data-close] { min-width: 48px; min-height: 48px; touch-action: manipulation; }
#scoresheet .kp-done { width: 100%; min-height: 56px; margin-top: 14px; font-size: 17px; font-weight: 700; touch-action: manipulation; }
