/*
 * Font declarations live here, outside styles.scss, on purpose.
 *
 * The .woff2 files are copied straight from node_modules into this folder by
 * angular.json, so they never exist under src/ — which means webpack cannot
 * resolve a url() pointing at them and the build fails. Keeping the @font-face
 * rules in a plain CSS asset takes them out of the bundler's hands entirely:
 * the urls below are resolved by the browser, relative to this file, which also
 * makes them correct under any APP_ROOT base href.
 *
 * Licences: golos-text/LICENSE and jetbrains-mono/LICENSE (both OFL-1.1).
 */

/* Golos Text — Cyrillic-native; carries all UI text. */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('./golos-text-latin-wght-normal.woff2') format('woff2-variations');
  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+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('./golos-text-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* JetBrains Mono — card values and summary figures only. Latin-only by design:
   it never sets Cyrillic, since every deck value is a digit or XXS–XXL. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url('./jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
  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+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
