html, body {
  margin: 0;
  height: 100%;
  background: #0b0a14;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  box-sizing: border-box;
  cursor: url('../assets/ui/cursor-32.png') 2 2, auto;
}

/* two full-window layers that crossfade between backdrops */
.sky {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
  opacity: 0;
  transition: opacity 0.8s linear;
  z-index: 0;
}

#game {
  position: relative;
  z-index: 1;
  display: block;
  image-rendering: pixelated;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
