/*
 * Painted Idols house style 2026, shared by the game, the stand screen and the
 * scoreboard inside the game. Names and values follow the design handover §3,
 * §4 and §9.3; the shop gets the same set in theme/assets/pi.css (session R1).
 *
 * Fonts are self-hosted, no call to Google, except Athelas: that comes from Adobe
 * Fonts through the server's ADOBE_FONTS_PROJECT (lib/letters.mjs) and is never
 * hosted here. Crimson Pro Italic stands in whenever Adobe is off or not loaded.
 */

@font-face {
  font-family: "Crimson Pro";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("crimson-pro-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* One variable file carries 300, 400 and 600. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Yanone Kaffeesatz";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("yanone-kaffeesatz-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Nicknames are typed by players and set in Yanone, so this one gets latin-ext too. */
@font-face {
  font-family: "Yanone Kaffeesatz";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("yanone-kaffeesatz-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Contrast on nacht in the comments; small text never goes below 4.5:1. */
  --nacht: #1b1c1d;
  --nacht-2: #232426;
  --linnen: #f3e9de; /* 14.24 */
  --accent-default: #c9a466;
  --accent: var(--accent-default); /* 7.30; the game is not a product page, so no borrowed colour */
  --text-soft: #d9cfc4; /* 11.11 */
  --text-muted: #b9b0a6; /* 7.98 */
  --text-dim: #8e877f; /* 4.81 on nacht, 4.38 on nacht-2: small text on nacht only */
  --number: #6e6862; /* 3.10: large numbers only */
  --line: rgba(243, 233, 222, 0.12);
  --on-linnen-text: #3a3632;
  --on-linnen-muted: #5a5550;

  --font-title: "Athelas", "Crimson Pro", Georgia, serif; /* always italic 400 */
  --font-sub: "Yanone Kaffeesatz", "Arial Narrow", sans-serif; /* always 600 */
  --font-text: "Outfit", Helvetica, Arial, sans-serif; /* 300, 400, 600 */
}
