/* Disable text selection and touch callouts during races and minigames. */
body.game-surface,
body.game-surface * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body.game-surface input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
body.game-surface textarea,
body.game-surface select,
body.game-surface [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

body.game-surface ::selection,
body.game-surface *::selection {
  background: transparent;
  color: inherit;
}

body.game-surface img,
body.game-surface svg {
  -webkit-user-drag: none;
  user-drag: none;
}

body.game-surface {
  touch-action: manipulation;
}

body.game-surface #game,
body.game-surface canvas {
  touch-action: none;
}
