/* ============================================================
   RosterDive — Self-hosted fonts
   Issue #14: i font sono serviti da Firebase Hosting (privacy/GDPR),
   nessuna richiesta verso i CDN di Google Fonts.

   - Roboto (subset "latin", copre anche le accentate italiane)
     Licenza: SIL Open Font License 1.1 — https://openfontlicense.org
   - Material Symbols Outlined (subset alle sole icone usate)
     Licenza: Apache License 2.0 — https://www.apache.org/licenses/LICENSE-2.0
     Sorgente: google/material-design-icons @ 49d4db35df873165d6bd6ba09b063c7dafbac2f4
     (variablefont/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2).
     Rigenerazione: `npm run icons:generate` (vedi docs/self_hosted_icons.md).
     L'elenco delle icone incluse è in fonts/material_symbols_icons.json.

   I sorgenti sono in /fonts/. Vedi la sezione "Licenze" della pagina About.
   ============================================================ */

/* ── Roboto ── */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto_400.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto_500.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/roboto_700.woff2") format("woff2");
}

/* ── Material Symbols Outlined ── */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/fonts/material_symbols_outlined_v10.woff2") format("woff2");
}

/* Classe base delle icone (prima fornita dal CSS di Google Fonts). */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
