/* Theme: covers are stickers on a stump cut, its rings showing through a violet field.
   --lattice and --tile-* resolve inside .stage, the inline-size container.
   Rows use 9/16 of the column gap, so every tile span stays exactly 16:9. */
:root {
  color-scheme: light;
  --paper: #9a7bff;
  --surface: #ffffff;
  --surface-raised: #f0eaff;
  --line: #2a1b3d29;
  --ink: #2a1b3d;
  --muted: #2f2345;
  --edge: color-mix(in srgb, var(--paper) 62%, var(--ink));
  --sticker: 0 0 0 2px var(--surface), 0 5px 0 2px var(--edge);
  --accent: #d92d20;
  --accent-ink: #ffffff;
  --solid: #2a1b3d;
  --solid-ink: #ffffff;
  --on-tile: #2a1b3d;
  --go: #0a8449;
  --success: #067a47;
  --danger: #b42318;
  --warning: #8a5a00;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --radius: 18px;
  --radius-sm: 12px;
  --font-brand: "Lilita One", sans-serif;
  --font-display: var(--font-brand);
  --display-weight: 400;
  --font-body: "Nunito Variable", sans-serif;
  --cols: 2;
  --gutter: 12px;
  --gap-x: 12px;
  --gap-y: calc(var(--gap-x) * 9 / 16);
  --lattice: min(100cqw - 2 * var(--gutter), 1560px);
  --tile-w: calc(
    (var(--lattice) - (var(--cols) - 1) * var(--gap-x)) / var(--cols)
  );
  --tile-h: calc(var(--tile-w) * 9 / 16);
}
/* Lilita One has no Cyrillic. */
:root:lang(ru) {
  --font-display: "Rubik Variable", sans-serif;
  --display-weight: 800;
}
@media (min-width: 640px) {
  :root {
    --cols: 4;
    --gutter: 24px;
    --gap-x: 16px;
  }
}
@media (min-width: 1200px) {
  :root {
    --cols: 6;
  }
}
