:root { --bg: #000; --fg: #fff; --dim: #8a8a8a; --err: #ff6b6b; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--fg);
  font-family: ui-monospace, Menlo, Consolas, monospace; }
body { touch-action: none; overscroll-behavior: none; -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent; }
canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.screen { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; padding: 24px 16px; text-align: center; background: rgba(0, 0, 0, .8); }
.screen[hidden] { display: none; }
h1 { margin: 0; font-size: clamp(56px, 18vw, 120px); letter-spacing: .15em; }
h2 { margin: 0; font-size: clamp(24px, 7vw, 40px); }
p { margin: 0; max-width: 34ch; color: var(--dim); font-size: 18px; line-height: 1.4; }
.link { color: var(--fg); font-size: 20px; word-break: break-all; -webkit-user-select: all; user-select: all; }
.hint { font-size: 14px; }
.error { min-height: 1.4em; color: var(--err); }
button { min-width: 200px; padding: 14px 28px; border: 0; background: var(--fg); color: var(--bg);
  font: inherit; font-size: 22px; cursor: pointer; touch-action: manipulation; }
button:disabled { background: var(--dim); cursor: default; }
button:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; }
