/* The Atlas's type, the studio's own: STIX Two Text for titles and in-world names, DM Sans for everything you read and
   press. Both under the SIL Open Font License (fonts/OFL-*.txt), the same files as the studio's site, Latin only.

   Roles (use the variables, never a family name):
     --atlas-display   titles: the page's name, a dialog's title, a quest's title, a story's heading; land names on maps
     --atlas-sans      text, controls, nav, labels, numbers (tabular), tooltips
     --atlas-serif     the in-world reading: a quest's story text, italic stream names on the Journey
   Small captions (kicker, sidebar group names): DM Sans 600, uppercase, letter-spacing 0.14em, about 0.72rem, dim.
   Headings: STIX Two Text 400, no letter-spacing, tight line height. Body: DM Sans 400, 16px / 1.6.
   On a canvas, wait for the fonts before the first draw: await atlasFontsReady() from atlas-world.js, or
   document.fonts.load('16px "DM Sans"') and document.fonts.load('16px "STIX Two Text"'). */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/dm-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/dm-sans-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: "STIX Two Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/stix-two-text-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "STIX Two Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/stix-two-text-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: "STIX Two Text"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/stix-two-text-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "STIX Two Text"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/stix-two-text-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; }

:root {
  --atlas-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --atlas-display: "STIX Two Text", Georgia, serif;
  --atlas-serif: "STIX Two Text", Georgia, serif;
  --atlas-ink: #fafafa;
  --atlas-ink-dim: rgba(250, 250, 250, 0.62);
  --atlas-ink-faint: rgba(250, 250, 250, 0.42);
  /* The interface's accent (chosen items, links, underlines), not a data colour: data keeps its own palettes.
     World of Warcraft's quest-title gold by default; a host page may override both lines. */
  --atlas-accent: #FFD100;
  --atlas-accent-rgb: 255, 209, 0;
}
