/* Lucky Die: "Porcelain & Brass" direction. The interface is made of the same materials as the dice:
   porcelain surfaces with ink type, brass for value, the red chip for the one primary action, felt green for gains. */
:root {
  /* surfaces */
  --porcelain: #fffaf0;
  --porcelain-2: #f4ead8;
  --porcelain-3: #e6d7bd;
  /* ink (on porcelain: ink 15.6:1, ink-2 7.0:1, ink-3 4.6:1) */
  --ink: #13261c;
  --ink-2: #45594d;
  --ink-3: #66776c;
  /* table colours, used as accents in the UI */
  --felt: #18a058;
  --felt-deep: #0b6b37;
  --brass: #f6b81f;
  --brass-hi: #ffd965;
  --brass-deep: #a86d06;
  --chip: #e5452f;
  --chip-face: #ce3827;
  --chip-hi: #ff7a5c;
  --chip-deep: #9e2416;
  /* rarity: saturated, distinct at a glance */
  --r-common: #18a058;
  --r-uncommon: #2e86ff;
  --r-rare: #8a55f6;
  --r-epic: #ec4f9a;
  --r-legendary: #f6b81f;
  /* shape */
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 22px;
  /* the porcelain lip: a 3 px fired edge plus a soft table shadow */
  --lip: 0 3px 0 #d8c6a6, 0 12px 28px rgba(9, 32, 20, .28);
  --lip-brass: 0 3px 0 var(--brass-deep), 0 8px 18px rgba(120, 76, 0, .28);
  --lip-chip: 0 4px 0 var(--chip-deep), 0 10px 22px rgba(80, 10, 0, .35);
  /* type: one display face for numbers and titles, one UI face for everything else; 400/600/800 only */
  --display: 'Bricolage Grotesque', 'Rubik', system-ui, sans-serif;
  --ui: 'Rubik', system-ui, sans-serif;
  --t-xs: 12px; --t-s: 13px; --t-m: 15px; --t-l: 18px; --t-xl: 24px; --t-hero: 48px;
}

:root {
  --r-common: #087441; --r-uncommon: #1d60b8; --r-rare: #7340be; --r-epic: #ab2666; --r-legendary: #8c5800;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px;
  --scrim: rgba(2,30,22,.55);
  --panel:var(--porcelain); --panel-solid:var(--porcelain); --line:var(--porcelain-3);
  --gold:var(--brass-deep); --gold-deep:var(--brass-deep); --red:var(--chip-deep);
  --white:var(--ink); --dim:var(--ink-2); --dimmer:var(--ink-3); --green:var(--felt-deep);
  --r:var(--radius-m); --num:var(--display); --txt:var(--ui);
  --shop-w:400px; --safe-b:env(safe-area-inset-bottom,0px); --safe-t:env(safe-area-inset-top,0px);
}
