/* Shared by the game and every account/auth callback shell.
 * Native scrolling in both axes, without touch-driven viewport scaling.
 * Browser/OS accessibility zoom and text sizing remain available. */
html, body, body * { touch-action: pan-x pan-y; }

/* MapLibre and Leaflet consume touch events to change their own camera.
 * Keep the document viewport still; do not give it native pinch-zoom. */
#map, #map * { touch-action: none; }

/* Safari focuses small editable controls by zooming the visual viewport.
 * rem preserves increased root text sizing; the 16px floor avoids that zoom.
 * This also covers dynamically rendered forms, selects and textareas. */
@media (any-pointer: coarse), (max-width: 760px) {
  input, select, textarea { font-size: max(16px, 1rem) !important; }
}
