/* Generated by tools/generate-shared.php. Do not edit.
   Source: tokens/night-game.json. Single source of truth for colour and
   type. Nothing in the app should hard-code a value that appears here. */

@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/chivo-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/chivo-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/chivo-latin-800-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/chivo-latin-900-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/poppins-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/poppins-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/poppins-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/poppins-latin-700-normal.woff2) format('woff2');
}

:root {
  /* --- Colour ------------------------------------------------------- */
  --ink: #15181C;
  --paper: #F5F6F3;
  --white: #FFFFFF;
  --field: #17352C;
  --sodium: #F0B429;
  --dusk: #6E7FD9;
  --dusk-light: #A7B5EC;
  --dusk-pale: #C3C9EE;
  --dusk-deep: #5367D2;
  --sage: #9DB19A;
  --ahead: #ECEFEA;
  --slate: #69717F;
  --line: #E0E2DE;
  --coral: #E2563F;
  --field-tint: #EDF2EF;
  --sodium-tint: #FEF6E4;
  --dusk-tint: #EEF0FB;
  --coral-tint: #FBEEEB;
  --amber-tint: #FBEFD9;
  --on-field-tint: #284A40;
  --on-coral-tint: #8D3D31;
  --on-amber-tint: #9A5B00;
  --on-sodium: #493600;
  --on-field-mute: #C7D7CE;
  --on-field-dim: #B7CDC1;
  --unanswered: #A7ADA7;

  /* --- People ----------------------------------------------------------- */
  --person-1: #B5506A;
  --person-2: #23807A;
  --person-3: #8E3F8F;
  --person-4: #66761F;
  --person-5: #8A5634;

  /* --- Type ----------------------------------------------------------- */
  --font-display: 'Chivo', system-ui, sans-serif;
  --track-display: -0.055em;
  --font-ui: 'Poppins', system-ui, sans-serif;
  --track-ui: -0.03em;
  --font-mono: 'Poppins', system-ui, sans-serif;
  --track-mono: 0;

  /* --- Radius --------------------------------------------------------- */
  --r-xs: 7px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 30px;
  --r-pill: 999px;

  /* --- Space ------------------------------------------------------------ */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 32px;
  --s8: 40px;
  --s9: 48px;
  --s10: 64px;

  /* --- Motion ------------------------------------------------------------ */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --fast: 0.12s;
  --base: 0.18s;
  --slow: 0.25s;

  /* --- Kit: colour by meaning ------------------------------------------- */
  --kit-field: var(--field); /* Brim itself: titles, buttons, the event */
  --kit-sodium: var(--sodium); /* time: when, soon, now, earned */
  --kit-dusk: var(--dusk); /* went */
  --kit-dusk-light: var(--dusk-light); /* given away */
  --kit-coral: var(--coral); /* still to decide */
  --kit-tint: var(--field-tint); /* Brim suggests */
  --kit-wash: var(--amber-tint); /* a date is coming */
  --kit-paper: var(--paper); /* page background */
  --kit-card: var(--white); /* a white card */
  --kit-line: var(--line); /* card hairline */
  --kit-ink: var(--ink); /* text */
  --kit-muted: var(--slate); /* quiet text */
  --kit-ahead: var(--ahead); /* a night still ahead with nothing planned */
  --kit-look: var(--unanswered); /* needs a look: a past night nobody answered, dashed */
  --kit-person-1: var(--person-1); /* the five face colours tell people apart in the draft and in trades; each person keeps theirs, and a partner's nights on your calendar take it */
  --kit-person-2: var(--person-2);
  --kit-person-3: var(--person-3);
  --kit-person-4: var(--person-4);
  --kit-person-5: var(--person-5);

  /* --- Kit: type ------------------------------------------------------- */
  --kit-text-number-font: var(--font-display);
  --kit-text-number-weight: 900;
  --kit-text-number-size: 30px;
  --kit-text-title-font: var(--font-display);
  --kit-text-title-weight: 800;
  --kit-text-title-size: 28px;
  --kit-text-body-font: var(--font-ui);
  --kit-text-body-weight: 400;
  --kit-text-body-size: 15px;
  --kit-text-row-title-font: var(--font-ui);
  --kit-text-row-title-weight: 600;
  --kit-text-row-title-size: 15px;
  --kit-text-small-font: var(--font-ui);
  --kit-text-small-weight: 400;
  --kit-text-small-size: 13px;
  --kit-smallest: 13px;

  /* --- Kit: motion ----------------------------------------------------- */
  --kit-move-deeper: 240ms;
  --kit-ease-deeper: cubic-bezier(.2, .8, .2, 1);
  --kit-move-sheet: 320ms;
  --kit-ease-sheet: cubic-bezier(.2, .8, .2, 1);
  --kit-move-earned: 380ms;
  --kit-ease-earned: cubic-bezier(.34, 1.36, .64, 1);

  /* --- Kit: waiting, the only loops ----------------------------------- */
  --kit-wait-shimmer: 1400ms; /* a skeleton shimmers while what it stands for loads */
  --kit-wait-ease-shimmer: cubic-bezier(0, 0, 1, 1);
  --kit-wait-pulse: 1600ms; /* a live dot breathes while something is happening right now */
  --kit-wait-ease-pulse: cubic-bezier(.42, 0, .58, 1);
  --kit-wait-tick: 1000ms; /* the draft clock counts down */
  --kit-wait-ease-tick: cubic-bezier(0, 0, 1, 1);

  /* --- Kit: corners ---------------------------------------------------- */
  --kit-corner-card: 16px;
  --kit-corner-block: 14px;
  --kit-corner-button: 14px;
  --kit-corner-button-small: 12px;
  --kit-corner-date: 12px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --kit-move-deeper: 0ms;
    --kit-move-sheet: 0ms;
    --kit-move-earned: 0ms;
    --kit-wait-shimmer: 0ms;
    --kit-wait-pulse: 0ms;
    --kit-wait-tick: 0ms;
  }
}
