/* fonts.css — r=23 (2026-09-10)
   Change vs r=22: woff2 listed first in every src (browsers take the FIRST
   format they support, so ttf-first meant every modern browser downloaded
   the 134 KB TTF instead of the 43 KB woff2); font-display: swap on every
   face so text paints immediately in the fallback and swaps when the font
   arrives. Aller.woff2, BebasNeue.woff2 and Ubuntu.woff2 are new files built
   from the existing TTFs (same glyphs, same metrics, only the container).
   Nothing else changed: same families, same names, same fallbacks. */

@font-face {
    font-family: 'Bebas';
    src: url('/user/utils/fonts/BebasNeue.woff2') format('woff2'), url('/user/utils/fonts/BebasNeue.woff') format('woff'), url('/user/utils/fonts/BebasNeue.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Aller';
    src: url('/user/utils/fonts/Aller.woff2') format('woff2'), url('/user/utils/fonts/Aller.woff') format('woff'), url('/user/utils/fonts/Aller.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 2026-09-10: the Bree face was removed. Its only rule was `.p_fa_m .b` in
   main/faq-1.css, and that stylesheet is linked only from main/faq-1.jsp,
   whose entire body is inside a JSP comment. Nothing on the live site used it.
   The BreeSerif-Regular.* files can be deleted from the server. */

@font-face {
    font-family: 'Ubuntu';
    src: url('/user/utils/fonts/Ubuntu.woff2') format('woff2'), url('/user/utils/fonts/Ubuntu.woff') format('woff'), url('/user/utils/fonts/Ubuntu.ttf') format('truetype'), url('/user/utils/fonts/Ubuntu.eot?#') format('eot');
    /*font-weight:normal !important;*/
    font-style: normal !important;
    font-display: swap;
}

@font-face {
    font-family: 'roboto';
    src: url('/user/utils/fonts/Roboto-Light.woff2') format('woff2'), url('/user/utils/fonts/Roboto-Light.woff') format('woff'), url('/user/utils/fonts/Roboto-Light.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'robotoB';
    src: url('/user/utils/fonts/Roboto-Black.woff2') format('woff2'), url('/user/utils/fonts/Roboto-Black.woff') format('woff'), url('/user/utils/fonts/Roboto-Black.ttf') format('truetype');
    font-display: swap;
}

/* 2026-09-19: THE LETTERS D-DIN NEVER HAD.

   DDIN.woff2 is D-DIN Condensed by Datto -- 267 glyphs, read out of the cmap.
   It carries no Turkish İ ğ Ğ ş Ş, no Polish ą ć ę ł ń ś ź ż, no Romanian
   ă ș ț, and no Greek or Cyrillic at all. Those letters were falling to Aller,
   a humanist sans, in the middle of words set in a condensed DIN: Beşiktaş came
   out as Be[ş]ikta[ş] for every reader, because team names are not translated.
   Greek and Cyrillic fell further still and landed on Ubuntu, so those two
   languages were set in a face nobody chose.

   Roboto Condensed sits BEHIND D-DIN, never in front of it. Basic Latin still
   comes from D-DIN and nothing an English reader sees changes. unicode-range
   covers only the gaps, so a page without those letters fetches nothing.

   Chosen because it is the only DIN-adjacent family that covers all four gaps:
   Oswald has no Greek, Barlow Condensed and Archivo Narrow have neither Greek
   nor Cyrillic. Apache 2.0, licence beside the files. */

@font-face {
    font-family: 'xwDinWide';
    src: url('/user/utils/fonts/RobotoCondensed-400-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    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: 'xwDinWide';
    src: url('/user/utils/fonts/RobotoCondensed-700-latin-ext.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    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: 'xwDinWide';
    src: url('/user/utils/fonts/RobotoCondensed-400-greek.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: 'xwDinWide';
    src: url('/user/utils/fonts/RobotoCondensed-700-greek.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: 'xwDinWide';
    src: url('/user/utils/fonts/RobotoCondensed-400-cyrillic.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'xwDinWide';
    src: url('/user/utils/fonts/RobotoCondensed-700-cyrillic.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* 2026-09-19: THE TWO RIGHT-TO-LEFT FACES.

   Every face above this line is Latin only -- read out of the cmap, not
   assumed -- so Arabic fell all the way through the stack to Tahoma, which
   exists on Windows and nowhere else.

   unicode-range is what makes these safe to name in the shared stack: a page
   with no Arabic characters on it never fetches either file, so the eleven
   Latin languages pay nothing. Latin letters and digits are deliberately NOT
   in these subsets, so names, scores and times keep falling through to DDIN
   and the whole product keeps one set of digits.

   Both are SIL Open Font License 1.1; the licence text sits beside the files
   as IBMPlexSansArabic-OFL.txt and Vazirmatn-OFL.txt. */

@font-face {
    font-family: 'xwArabic';
    src: url('/user/utils/fonts/IBMPlexSansArabic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'xwArabic';
    src: url('/user/utils/fonts/IBMPlexSansArabic-SemiBold.woff2') format('woff2');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'xwPersian';
    src: url('/user/utils/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'xwPersian';
    src: url('/user/utils/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'DDIN';
    src: url('/user/utils/fonts/DDIN.woff2') format('woff2'), url('/user/utils/fonts/DDIN.woff') format('woff'), url('/user/utils/fonts/DDIN.ttf') format('truetype'), url('/user/utils/fonts/DDIN.eot') format('eot');
    font-display: swap;
}
