/* The game is an interactive surface, not a zoom-on-double-tap document.
   Keep native scrolling and pinch zoom available where the game already
   allowed them. Specific rules in styles.css still win on the canvas/stick. */
* {
  touch-action: manipulation;
}

/* The playfield and virtual controls use pointer events and are not scroll
   surfaces. On affected iOS WebKit versions, none is more reliable here.
   Apply it to the stick's child too, which may be the actual hit target. */
#world-canvas,
#joystick-zone,
#joystick-zone *,
#mobile-attack-btn,
#mobile-action-btn {
  touch-action: none;
}
