/*
 * Everything in this game is drawn inside PIXI, so this stylesheet only has to
 * do one job: give the canvas a black, non-scrolling, non-selectable box that
 * fills the viewport. No HTML controls (they break inside native app shells).
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;
  touch-action: none;
}

/* resizeToWindow (app.js) places the canvas itself, on a whole device pixel. */
canvas {
  display: block;
  position: absolute;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  touch-action: none;
}
