/*
  Local font declarations to make Material icons and app fonts
  available on web even if the Flutter font loader or google_fonts
  runtime fetching is blocked or slow. Paths are relative to the web root.
*/

@font-face {
  font-family: 'MaterialIcons';
  /* Prefer local asset if present (release build), otherwise fall back to Google CDN. */
  src:
    url('assets/fonts/MaterialIcons-Regular.otf') format('opentype'),
    url('https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* NotoSans subset used via pubspec.yaml */
@font-face {
  font-family: 'NotoSans';
  src: url('assets/fonts/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NotoSans';
  src: url('assets/fonts/NotoSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NotoSans';
  src: url('assets/fonts/NotoSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Emoji coverage */
@font-face {
  font-family: 'NotoEmoji';
  src: url('assets/fonts/NotoEmoji-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
