/* Shared look for the front page (index.html) and the player (play.html). Monochrome: black, white, grey.
   The only colour on the site is the 3D scene and the verdict tints (--ok, --bad, --warn), and each verdict also carries an icon. */
:root {
  color-scheme: dark;
  --bg:#0a0a0b;          /* page, and the 3D scene background (player.js reads it) */
  --panel:#111113;       /* step card, menu */
  --panel2:#18181b;      /* buttons, selected things */
  --line:#26262a;        /* hairlines */
  --edge:#5c5c65;        /* control outlines (2.7:1 on --panel2, 2.9:1 on --panel, 3.0:1 on --bg) */
  --ink:#f4f4f5;         /* body text, headline */
  --dim:#8e8e93;         /* secondary text (5.4:1 or better on every surface) */
  --accent:#f4f4f5;      /* primary button fill, progress bar */
  --on-accent:#0a0a0b;   /* text on the primary button */
  --ok:#8fcdb0;          /* right: always with a tick */
  --bad:#e39a8f;         /* not quite: always with a cross */
  --warn:#d9b45a;        /* notice: always with a triangle */
  --scrim:rgba(10,10,11,.72);   /* the Menu button and the camera status over the 3D */
  --mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut:16px;
}
@media (min-width:900px) and (min-aspect-ratio:5/4) { :root { --gut:20px; } }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html, body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.45 -apple-system, system-ui, sans-serif; }
button { font:inherit; color:inherit; }
/* one focus style for every control: white, not the browser's blue */
a:focus-visible, button:focus-visible, summary:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
