/* Fonts are served with the site (SIL Open Font License, see fonts/OFL-*.txt).
   No third-party requests: visitors' IPs go nowhere but this host. */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/cinzel-latin.woff2') format('woff2');
}
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/alegreya-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/alegreya-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/alegreya-sans-700.woff2') format('woff2'); }

:root {
  color-scheme: dark;

  /* surfaces: soot, iron, old leather */
  --bg: #0a0807;
  --bg-2: #0f0c0a;
  --panel: #15110d;
  --panel-2: #1b1611;
  --panel-3: #231c15;
  --slot: #0c0a08;
  --edge: #33281d;
  --edge-2: #4a3a27;
  --brass: #b08d57;
  --brass-hi: #e3c78e;
  --brass-lo: #6d5634;

  /* text */
  --text: #ebe3d3;
  --text-2: #b9ad97;
  --text-3: #8a7f6d;
  --text-4: #5f564a;

  /* the game's item colours */
  --q-unique: #c7b377;
  --q-set: #3fd13f;
  --q-rune: #ffa800;
  --q-magic: #8484ff;
  --q-rare: #f4f05e;
  --q-white: #ececec;
  --q-gray: #8f8f8f;

  --ember: #ff5a1f;
  --ember-2: #ffb347;
  --blood: #a3261a;
  --good: #7fcf63;
  --bad: #e0614e;

  --font-head: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-body: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;

  --cell: 44px;
  --gap: 3px;
  --radius: 4px;
  --rail: 88px;
  --top: 64px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

@media (max-width: 720px) {
  :root {
    --cell: 34px;
    --rail: 0px;
    --top: 56px;
  }
}
