:root {
  --bg: #0e0c19;
  --ink: #f3f1fb;
  --muted: #a39dbd;
  --teal: #6ee2cf;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  overflow: hidden;
  overscroll-behavior: none;
}

#stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, #1b1730 0%, var(--bg) 70%);
}

#screen {
  display: block;
  touch-action: none;
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #2a2541, 0 30px 80px -20px #000;
  cursor: default;
}

#hint {
  position: fixed;
  left: 0; right: 0; bottom: max(10px, env(safe-area-inset-bottom));
  text-align: center;
  font: 500 12px/1.4 "JetBrains Mono", ui-monospace, monospace;
  color: var(--muted);
  letter-spacing: .04em;
  pointer-events: none;
  opacity: .85;
}

@media (max-height: 520px) {
  #hint { display: none; }
}
