html, body {
  margin: 0;
  height: 100%;
  background: #02030a;
  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(106, 208, 255, 0.12);
}

#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, #touch .col {
  display: flex;
  gap: 2vw;
  align-items: flex-end;
}

#touch .col { flex-direction: column; }

#touch button {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(106, 208, 255, 0.5);
  background: rgba(10, 20, 40, 0.45);
  color: rgba(200, 235, 255, 0.85);
  font: bold 20px monospace;
}

#touch button.small { width: 40px; height: 40px; font-size: 14px; }
#touch button.on { background: rgba(106, 208, 255, 0.35); }
