:root {
  color-scheme: dark;
  --background: #080d17;
  --foreground: #dbe5f5;
  --muted: #8196b7;
  --accent: #b7cff4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--foreground);
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
main { position: relative; width: 100%; height: 100%; height: 100svh; }
canvas { display: block; width: 100%; height: 100%; touch-action: none; outline: none; }
canvas:focus-visible { outline: 1px solid var(--muted); outline-offset: -8px; }
header {
  position: absolute;
  inset: max(32px, env(safe-area-inset-top)) 0 auto;
  padding: 0 clamp(26px, 4.5vw, 76px);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  pointer-events: none;
}
a { pointer-events: auto; color: var(--foreground); opacity: 0.6; text-decoration: none; font-size: 12px; line-height: 2; padding: 8px 0 8px 14px; }
a:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; opacity: 1; }
.notice { position: absolute; top: 40%; left: 10%; right: 10%; text-align: center; font-size: 14px; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) { a:hover { opacity: 1; } }
@media (max-width: 600px) { header { top: max(24px, env(safe-area-inset-top)); } }
