/* Local fonts — скачиваются скриптом `npm run fonts` (см. scripts/download-fonts.js).
 * Если файлов нет, браузер падает на CDN-fallback из index.html.
 * В kiosk-окружении школ часто блокируют CDN — вот почему нужны локальные копии.
 */

/* Unbounded — display font (заголовки, H1/H2) */
@font-face {
  font-family: 'Unbounded';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local('Unbounded Medium'), url('./Unbounded-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local('Unbounded Bold'), url('./Unbounded-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: local('Unbounded ExtraBold'), url('./Unbounded-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: local('Unbounded Black'), url('./Unbounded-900.woff2') format('woff2');
}

/* Manrope — body font */
@font-face {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Manrope Regular'), url('./Manrope-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local('Manrope Bold'), url('./Manrope-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: local('Manrope ExtraBold'), url('./Manrope-800.woff2') format('woff2');
}

/* JetBrains Mono — код, таймеры, цифры */
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('JetBrains Mono'), url('./JetBrainsMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local('JetBrains Mono Bold'), url('./JetBrainsMono-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: local('JetBrains Mono ExtraBold'), url('./JetBrainsMono-800.woff2') format('woff2');
}

/* В kiosk-режиме скрываем курсор (дублирует CSS из main.js insertCSS) */
html, body { cursor: none; }
