/*
 * global.css — universal touch & selection baseline
 * Included on every page via <link rel="stylesheet" href="css/global.css">.
 * Keep this file small: only rules that truly apply everywhere.
 */

/* Suppress iOS/Android blue tap flash and long-press callout on all elements */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Prevent text selection across the whole app (game UI is not a reading surface).
   Individual elements that legitimately need selection can opt in with
   `user-select: text; -webkit-user-select: text;` */
body {
  -webkit-user-select: none;
  user-select: none;
}

/* Hide scrollbars everywhere while keeping scroll functionality intact.
   WebKit (Chrome/Safari/Android WebView) hides the bar via the pseudo-element;
   Firefox/IE use the standard properties. */
* {
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/old Edge */
}
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;              /* Chrome/Safari/WebKit */
}
