/**
 * Вшитые шрифты игры. Файл сгенерирован scripts/fetch_webfonts.py — правки руками
 * переживут только до следующего запуска скрипта.
 *
 * Зачем: без @font-face macOS рисует Copperplate + Palatino, а Windows —
 * Times New Roman + Palatino Linotype. Подробности и выбор шрифтов:
 * docs/plans/2026-07-28-webfont-unification.md
 *
 * Пути абсолютные: этот файл грузится и напрямую, и склеенным в public/css/*.bundle.css.
 * Все шрифты под OFL, лицензии лежат рядом в public/fonts/.
 */

/* PT Serif 400 — latin */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/pt-serif-400-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;
}

/* PT Serif 400 — cyrillic */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/pt-serif-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* PT Serif 700 — latin */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/fonts/pt-serif-700-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;
}

/* PT Serif 700 — cyrillic */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/fonts/pt-serif-700-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* PT Serif 400 italic — latin */
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/pt-serif-400i-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;
}

/* PT Serif 400 italic — cyrillic */
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/pt-serif-400i-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Yeseva One 400 — latin */
@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/yeseva-one-400-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;
}

/* Yeseva One 400 — cyrillic */
@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/yeseva-one-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Ruslan Display 400 — latin */
@font-face {
  font-family: "Ruslan Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/ruslan-display-400-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;
}

/* Ruslan Display 400 — cyrillic */
@font-face {
  font-family: "Ruslan Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/ruslan-display-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Alegreya SC 400 — latin */
@font-face {
  font-family: "Alegreya SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/alegreya-sc-400-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;
}

/* Alegreya SC 400 — cyrillic */
@font-face {
  font-family: "Alegreya SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/alegreya-sc-400-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Alegreya SC 700 — latin */
@font-face {
  font-family: "Alegreya SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/fonts/alegreya-sc-700-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;
}

/* Alegreya SC 700 — cyrillic */
@font-face {
  font-family: "Alegreya SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/fonts/alegreya-sc-700-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Noto Color Emoji — подрезан под эмодзи, встречающиеся в коде игры */
@font-face {
  font-family: "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/fonts/noto-color-emoji.woff2) format("woff2");
  unicode-range: U+2694, U+2696, U+2699, U+26A0-26A1, U+26CF, U+2705, U+270F, U+2728, U+274C, U+2753, U+2B06, U+2B50, U+1F300, U+1F30A, U+1F30D, U+1F310, U+1F324, U+1F332-1F333, U+1F33E-1F33F, U+1F381, U+1F392, U+1F396, U+1F3A3, U+1F3AA, U+1F3AD, U+1F3AF-1F3B0, U+1F3B2, U+1F3C1, U+1F3C5, U+1F3D7, U+1F3D9, U+1F3DB-1F3DC, U+1F3E6, U+1F3F0, U+1F418, U+1F41F, U+1F427, U+1F438, U+1F451, U+1F464, U+1F480, U+1F48A, U+1F48E, U+1F4A1, U+1F4A7-1F4A8, U+1F4AA-1F4AC, U+1F4B0, U+1F4BE-1F4BF, U+1F4C1-1F4C2, U+1F4CA-1F4CB, U+1F4CD, U+1F4D6, U+1F4DA, U+1F4DC-1F4DD, U+1F4E6, U+1F4F1, U+1F504, U+1F50C-1F50D, U+1F512-1F513, U+1F525, U+1F528, U+1F52E, U+1F534, U+1F56F, U+1F573, U+1F5A5, U+1F5C4, U+1F5D1, U+1F5FA, U+1F6A8, U+1F6AB, U+1F6CD, U+1F6E0-1F6E1, U+1F6E4, U+1F7E1-1F7E2, U+1F916, U+1F9CD, U+1F9EA, U+1F9ED, U+1F9F9, U+1FA99, U+1FAB5;
}
