/* ---------------------------------------------------------------------------
   game-font.css - the game's display face.

   WHY FORUM AND NOT CINZEL/TRAJAN:
   game-battle.css asked for `"Trajan Pro", "Cinzel", "Times New Roman", Georgia`
   but neither of the first two was ever loaded - no @font-face, no stylesheet
   link anywhere in the repo - so every player has always fallen through to
   Times New Roman and the intended lettering never rendered.

   Cinzel is not the fix here: it ships latin and latin-ext ONLY. The game's
   primary UI language is Russian (and Tajik is also Cyrillic), so Cinzel would
   set the Latin glyphs in one face and every Cyrillic glyph in the fallback,
   mixing two typefaces inside a single word. Forum is a Roman-capitals display
   face in the same Trajan lineage that DOES carry cyrillic + cyrillic-ext, so
   Russian and English render in the same voice.

   Single weight on purpose: Trajan-style Roman capitals are a one-weight
   display idiom, which is also what the HMM3 UI used. Hierarchy comes from
   size, letter-spacing and colour, never from faux-bold.

   Four subsets with unicode-range, so a Russian player downloads ~16 KB and an
   English one ~24 KB rather than all 76 KB. Self-hosted for the same reason
   Font Awesome and Leaflet are: a third-party origin is unreachable from the
   service-worker cache, and this game is played on weak mobile connections.
   --------------------------------------------------------------------------- */

@font-face {
    font-family: 'Forum';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../bundles/forum/forum-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Forum';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../bundles/forum/forum-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Forum';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../bundles/forum/forum-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;
}
@font-face {
    font-family: 'Forum';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../bundles/forum/forum-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;
}

/* The one name the rest of the game should reference. Georgia is the closest
   widely-installed fallback with full Cyrillic. */
:root {
    --game-display: 'Forum', Georgia, 'Times New Roman', serif;
}
