/* No text on jakesarcade.app can be selected, long-pressed, or dragged.
   Real text fields stay typeable. Loaded by every page. */

/* Disable browser pinch / double-tap zoom; JS backstops where meta viewport is ignored. */
html, body {
  touch-action: manipulation;
}

canvas {
  touch-action: none;
}

html, body, *, *::before, *::after {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
}

::selection { background: transparent; }

input, textarea, [contenteditable], [contenteditable] * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
  touch-action: auto;
}

input::selection, textarea::selection, [contenteditable]::selection,
[contenteditable] *::selection { background: Highlight; color: HighlightText; }
