/* The owner's own font files, self-hosted (Google Fonts is unreliable from
   Iran). woff2 is converted from the supplied .ttf, which stays as fallback.
   A browser downloads a face only when a glyph on the page needs it, and the
   Latin-only faces are range-limited so a Persian page never fetches them.

   Estedad         Persian text + UI (variable 100–900, tabular Persian digits)
   Morabba         headlines, scores, prizes (variable 250–900)
   Markazi Text    Persian long-form reading: terms, privacy, support, rules
   Instrument Serif  Latin display: team names on fixtures, "VS"
   Newsreader      Latin words inside reading text
   IBM Plex Mono   codes: friend / room codes, Sheba, IDs                     */

@font-face {
  font-family: "Estedad";
  src: url("/fonts/Estedad-Variable.woff2") format("woff2"),
       url("/fonts/Estedad-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Morabba";
  src: url("/fonts/Morabba-Variable.woff2") format("woff2"),
       url("/fonts/Morabba-Variable.ttf") format("truetype");
  font-weight: 250 900;
  font-display: swap;
}
@font-face {
  font-family: "Markazi Text";
  src: url("/fonts/MarkaziText-Regular.woff2") format("woff2"),
       url("/fonts/MarkaziText-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

/* Latin-only faces: Latin, spaces, dashes/quotes, €. U+200C-200F (ZWNJ and
   the direction marks) are left out on purpose: Persian text is full of ZWNJ
   and a Latin face must never be asked to shape it. */
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"),
       url("/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-200B, U+2010-206F, U+20AC;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader-Variable.woff2") format("woff2"),
       url("/fonts/Newsreader-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-200B, U+2010-206F, U+20AC;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"),
       url("/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-200B, U+2010-206F;
}
