:root {
  --bg: #030705;
  --panel: rgba(12, 22, 16, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eafff0;
  --muted: #9bb5a4;
  --neon: #00ff41;
  --bird: #ffd60a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  /* No pull-to-refresh or rubber-band bounce; the page still scrolls normally. */
  overscroll-behavior: none;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* While a run is live: freeze page scroll so a swipe can't drag the board away.
   Zoom outside the board stays available whenever no run is live. */
html.playing,
html.playing body {
  overflow: hidden;
  touch-action: none;
}

body {
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(0, 255, 65, 0.12), transparent 60%),
    radial-gradient(700px 500px at 110% 110%, rgba(255, 214, 10, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
