/* BlastDash touch hardening — link this in every game BEFORE its own stylesheet:
     <link rel="stylesheet" href="../_shared/blastdash-touch.css">
   Removes the friction mobile browsers add on top of a game: text selection, the
   iOS callout menu (Copy / Look Up), the long-press magnifier/zoom, tap highlight
   flashes, double-tap zoom and overscroll. Pair with a viewport meta that sets
   `maximum-scale=1, user-scalable=no`. */
html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overscroll-behavior: none;
}

/* Interactive game elements: never select, never show the callout/magnifier. */
canvas,
button,
[data-key],
.touch-btn,
.bd-btn {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
