*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fff;overscroll-behavior:none}canvas{display:block;width:100%;height:100%;outline:none;touch-action:none;-webkit-tap-highlight-color:transparent;cursor:crosshair}body{user-select:none;-webkit-user-select:none}

#landing {
  position: fixed;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 16px;
  background: rgb(255 255 255 / 68%);
  color: #202020;
  font-family: Inter, Arial, sans-serif;
  text-align: center;
  pointer-events: none;
}
#landing[hidden] { display: none; }
h1 {
  margin: 0;
  font-size: clamp(1.75rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -.045em;
}
#controls { margin: 1rem 0 0; font-size: 1rem; line-height: 1.6; }
.touch-hint { display: none; }
@media (pointer: coarse) {
  .keyboard-hint { display: none; }
  .touch-hint { display: inline; }
}
kbd { font: inherit; font-weight: 700; }

.made-by {
  position: fixed;
  right: max(clamp(12px, 2vw, 24px), env(safe-area-inset-right));
  bottom: max(clamp(10px, 2vh, 16px), env(safe-area-inset-bottom));
  pointer-events: none;
}
