/*
 * The console's two families, self-hosted.
 *
 * ⚠️ Material Symbols here is the FULL font — 4.7MB, every icon — and it is
 * the fallback, not the face a console renders with. A packaged console ships
 * a SUBSET cut at build time (scripts/subset-icons.mjs), registered by
 * src/ui/icon/icon-font.ts under 'Material Symbols Rounded Subset' from the
 * manifest the shell names; `de-icon` uses this family only for a name the
 * manifest does not carry, so this file is fetched on demand for that one
 * icon and never at boot. `font-display: block` because an icon font's
 * fallback rendering is its ligature text — "home" as four letters — and
 * blank is better than that for the moment the font takes to arrive.
 */
@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    font-display: block;
    src: url(./fonts/material-symbols-rounded.woff2) format('woff2');
}

/*
 * Inter Tight is a VARIABLE font (wght 100–900), so one file per style and
 * script covers every weight. It used to be declared as sixteen faces — four
 * weights × two styles × two scripts — over sixteen files of which only four
 * were distinct: each weight's file was a byte-identical copy of the same
 * variable font, so a page using 400, 500 and 700 downloaded the same 45KB
 * three times under three names. Four faces, four files, a weight RANGE.
 */
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/inter-tight-italic-latinext.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/inter-tight-italic-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;
}

/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/inter-tight-normal-latinext.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/inter-tight-normal-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;
}
