:root {
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
}

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

body {
  background: #000;
  overflow: hidden;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
}

canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
}

#playfield-3d {
  z-index: 0;
  pointer-events: none;
}

#game {
  z-index: 1;
  background: transparent;
}
