html, body {
  margin: 0;
  height: 100%;
  background: #050102;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#screen {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #000;
  box-shadow: 0 0 60px rgba(255, 80, 20, 0.15);
}

#touch {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  padding: 0 4vw calc(4vh + env(safe-area-inset-bottom));
  justify-content: space-between;
  pointer-events: none;
}

body.touch #touch {
  display: flex;
}

#touch .pad {
  display: flex;
  gap: 3vw;
  align-items: flex-end;
}

#touch button {
  pointer-events: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 179, 71, 0.5);
  background: rgba(40, 10, 5, 0.45);
  color: rgba(255, 220, 160, 0.8);
  font-size: 24px;
  touch-action: none;
}

#touch button.small {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

#touch button.on {
  background: rgba(255, 106, 31, 0.5);
}
