/* Block Archive design tokens. World: "Tier list" (see DESIGN.md). Every other stylesheet uses these names only. */
:root {
  color-scheme: dark;

  /* ground, bands, fields */
  --bg: #16171a;
  --surface: #1f2024;
  --surface-2: #2b2d32;
  --surface-3: #383a41;
  --ink: #f3f3f0;
  --ink-2: #c9cbd1;
  --ink-3: #a3a6ae;
  --line: #383a41;
  --line-strong: #5d6068;

  /* action = an off-white block; gold is the search button, the focus ring and tier S */
  --accent: #f3f3f0;
  --accent-ink: #16171a;
  --accent-soft: rgba(243, 243, 240, 0.1);
  --gold: #f2b61c;
  --focus: #ffd45a;

  /* tiers own whole blocks */
  --tier-s: #f2b61c;
  --tier-a: #3da55c;
  --tier-b: #3d7fd9;
  --tier-c: #e08a1e;
  --tier-d: #d4281c;
  --tier-n: #55585f;
  --tier-ink: #16171a;
  --tier-d-ink: #ffffff;
  --tier-n-ink: #f3f3f0;

  /* states (text-safe on the dark ground) + soft block fills */
  --ok: #6dcb88;
  --ok-soft: rgba(61, 165, 92, 0.2);
  --warn: #f0a646;
  --warn-soft: rgba(224, 138, 30, 0.2);
  --danger: #ff7566;
  --danger-soft: rgba(212, 40, 28, 0.24);
  --info: #86b4f4;
  --info-soft: rgba(61, 127, 217, 0.22);

  --viewer-bg: #101114;

  /* type */
  --font: 'Barlow', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Barlow Semi Condensed', 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 5.25rem);

  /* space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --gap: 8px;            /* the ground showing between blocks: the world's only separator */

  --r-1: 0;
  --r-2: 0;

  --gutter: 16px;
  --maxw: 1560px;
  --header-h: 60px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 300ms;
}
@media (min-width: 720px) { :root { --gutter: 24px; --header-h: 68px; } }
@media (min-width: 1080px) { :root { --gutter: 40px; --header-h: 72px; } }
