/* Visual map: specs/visual-language.md. Roles, not Anvyr's clothes. */
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/rubik-latin-wght-normal.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: Rubik;
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/rubik-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url("../fonts/source-code-pro-latin-wght-normal.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: "Source Code Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url("../fonts/source-code-pro-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --surface-canvas: #17140f;
  --surface-panel: #221e18;
  --surface-panel-2: #2b261f;
  --surface-input: #12100c;
  --surface-raised: #2e2922;
  --fg: #f3eee4;
  --fg-muted: #b8ae9c;
  --fg-faint: #7d7568;
  --accent: #3d9ec4;
  --accent-fg: #17140f;
  --accent-alt: #8ec5dc;
  --brand: #c36b42;
  --ok: #84d99f;
  --warn: #d6a85f;
  --err: #ff6b6b;
  --info: #8ec5dc;
  --border-soft: rgb(243 238 228 / 8%);
  --border: rgb(243 238 228 / 14%);
  --border-strong: rgb(243 238 228 / 22%);
  --focus: #c36b42;
  --radius-card: 8px;
  --radius-control: 6px;
  --font: Rubik, system-ui, sans-serif;
  --font-mono: "Source Code Pro", ui-monospace, monospace;
  --space: 1.25rem;
  --max: 68rem;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --surface-canvas: #f3eee4;
    --surface-panel: #e8e0d2;
    --surface-panel-2: #ddd4c4;
    --surface-input: #fffdf8;
    --surface-raised: #fffdf8;
    --fg: #17140f;
    --fg-muted: #5c564c;
    --fg-faint: #7d7568;
    --accent: #2a7fa3;
    --accent-fg: #17140f;
    --accent-alt: #1e6f90;
    --brand: #a65632;
    --border-soft: rgb(23 20 15 / 6%);
    --border: rgb(23 20 15 / 12%);
    --border-strong: rgb(23 20 15 / 20%);
  }

  .mark,
  .place-mark,
  .door-block {
    filter: invert(1) drop-shadow(0 10px 18px rgb(0 0 0 / 16%));
  }
}
