/* Design tokens (colours, fonts, holo gradient) for light and dark, and the reset.
   Files in css/ load in name order (index.html); later files win on equal selectors. */
/* ShinyCheck V3 — "Holo" */
:root {
  --holo: linear-gradient(115deg, #ff7ad9 0%, #ffd36e 30%, #7afcff 62%, #9d7bff 100%);
  --holo-conic: conic-gradient(from var(--spin, 0deg), #ff7ad9, #ffd36e, #7afcff, #9d7bff, #ff7ad9);
  --brand: #22d3ee;
  --radius: 20px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Pearl (light) */
  --bg: #f4f3f9;
  --bg-2: #ecebf4;
  --surface: #ffffff;
  --surface-2: #f7f6fb;
  --border: #e4e2ee;
  --border-2: #d6d3e4;
  --text: #14121f;
  --muted: #666380;
  --faint: #a19eb8;
  --silhouette: brightness(0) opacity(.14);
  /* Holo for text on the light background: same hues, deeper so it stays readable. */
  --holo-ink: linear-gradient(115deg, #e0469f 0%, #d98a06 30%, #0ea5b7 62%, #7152e0 100%);
  --st-bar: #7152e0;
  --glow-a: rgba(255, 122, 217, .18);
  --glow-b: rgba(122, 252, 255, .22);
  --card-shadow: 0 1px 2px rgba(20, 18, 31, .04), 0 8px 24px -12px rgba(20, 18, 31, .12);
  --caught-bg: linear-gradient(170deg, #fff 30%, #fdf4ff 70%, #eefcff);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #07070d;
  --holo-ink: var(--holo);
  --st-bar: #9d7bff;
  --bg-2: #0c0c16;
  --surface: #11111c;
  --surface-2: #171725;
  --border: rgba(255, 255, 255, .07);
  --border-2: rgba(255, 255, 255, .13);
  --text: #f4f3ff;
  --muted: #9895b3;
  --faint: #5a5873;
  --silhouette: brightness(0) invert(1) opacity(.09);
  --glow-a: rgba(255, 122, 217, .13);
  --glow-b: rgba(122, 252, 255, .1);
  --card-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
  --caught-bg: linear-gradient(170deg, #161625 30%, #1d1530 70%, #0f2129);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07070d;
    --holo-ink: var(--holo);
    --st-bar: #9d7bff;
    --bg-2: #0c0c16;
    --surface: #11111c;
    --surface-2: #171725;
    --border: rgba(255, 255, 255, .07);
    --border-2: rgba(255, 255, 255, .13);
    --text: #f4f3ff;
    --muted: #9895b3;
    --faint: #5a5873;
    --silhouette: brightness(0) invert(1) opacity(.09);
    --glow-a: rgba(255, 122, 217, .13);
    --glow-b: rgba(122, 252, 255, .1);
    --card-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
    --caught-bg: linear-gradient(170deg, #161625 30%, #1d1530 70%, #0f2129);
    color-scheme: dark;
  }
}
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 450 14px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
/* Number fields (encounters, time, step) are typed, not clicked: no up/down arrows (wheel: js/features/number-inputs.js). */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hidden { display: none !important; }
::selection { background: #ff7ad955; }
