/* ============================================================
   ШРИФТЫ ПАКЕТА — СО СВОЕГО ХОСТА

   Раньше каждый экран тянул три семейства с fonts.googleapis.com и
   fonts.gstatic.com: два чужих хоста, два лишних TLS-рукопожатия и
   ~206 КБ на экран (замер 16.09). Чужой хост ещё и видел каждого
   игрока: запрос за шрифтом уходил с его IP.

   Файлы уже лежат в приложении: /pp/vendor/fonts/*.woff2 — те же
   самые, что грузит сама оболочка /stellarium/play. Экран в рамке
   берёт их из кеша браузера: чаще всего это НОЛЬ байт по сети.

   Разбивка по unicode-range оставлена как у Google: кириллица,
   латиница и расширенная латиница едут отдельными кусками, поэтому
   русский экран не качает латинское расширение. Вьетнамский кусок
   выкинут — в пакете такого текста нет.

   Cormorant Garamond лежит одним начертанием 400. Экраны просят 300,
   500 и 600 — объявляем ему диапазон 300..600, ровно так же, как это
   делает сама игра в app/stellarium/_foundation/typography.css.
   Unbounded — переменный шрифт, одна ось веса на все начертания.
   font-synthesis:none — чтобы браузер не подделывал жир сам.
   ============================================================ */

/* ---------- Cormorant Garamond (заголовки-серифы) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/pp/vendor/fonts/CormorantGaramond-400-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/pp/vendor/fonts/CormorantGaramond-400-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/pp/vendor/fonts/CormorantGaramond-400-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 600;
  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;
}

/* ---------- Golos Text (текст) ---------- */
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-400-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-400-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-400-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  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: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-500-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-500-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-500-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  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: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-600-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-600-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/pp/vendor/fonts/GolosText-600-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  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;
}

/* ---------- Playfair Display (только имена планет и миров) ----------
   Дизайн-код v3: собственные имена — Playfair 400 жемчужным градиентом,
   ровные цифры. Одно начертание, три куска по алфавитам. */
@font-face {
  font-family: 'Playfair Display';
  src: url('/pp/vendor/fonts/PlayfairDisplay-400-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/pp/vendor/fonts/PlayfairDisplay-400-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/pp/vendor/fonts/PlayfairDisplay-400-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  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;
}

/* ---------- Unbounded (только символы веществ), переменный ---------- */
@font-face {
  font-family: 'Unbounded';
  src: url('/pp/vendor/fonts/Unbounded-var-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 720;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/pp/vendor/fonts/Unbounded-var-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 720;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/pp/vendor/fonts/Unbounded-var-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 720;
  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;
}

html { font-synthesis: none; }
