/* ─────────────────────────────────────────────────────────────────────────
   fonts.css — self-hosted webfonts.

   Replaces two third-party stylesheets that used to sit on the render path:
     • https://rsms.me/inter/inter.css        (Inter, the display face)
     • https://fonts.googleapis.com/css2?…    (Bungee + Bungee Inline, PoBrawl)

   Why they were moved in-repo:
     • Third-party origin on the critical path. Each was a DNS + TLS + fetch to
       a host we do not control, and the Google URL is a stylesheet that itself
       then fetches from a THIRD origin (fonts.gstatic.com) — so the real font
       bytes were four hops deep. Self-hosting collapses that to a same-origin
       request the service worker can cache with everything else.
     • Privacy. Every visitor's IP and User-Agent went to two external services
       purely to render a menu.
     • CSP. Locking the app down to `default-src 'self'` was impossible while
       styles and fonts came from two other origins.
     • Offline. The app ships a service worker and advertises offline play; a
       CDN font is the one asset that could not be served from cache on a cold
       offline start.

   Inter and Space Grotesk, the text and title faces, are declared by po-tokens.css
   (the estate's latin-subset variable files in fonts/). This file only adds Bungee.

   Subsetting: Bungee ships in vietnamese / latin-ext / latin cuts. Only `latin`
   is stored here — Bungee is used exclusively for PoBrawl's HUD, banner and
   inter-round splash, which are fixed English strings, and is only fetched on
   those pages (a face no element uses is never downloaded).

   `font-display: swap` throughout — text paints immediately in the system
   fallback and swaps when the file lands, so a slow font never blocks content.
   ───────────────────────────────────────────────────────────────────────── */

@font-face {
    font-family: 'Bungee';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bungee-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;
}

@font-face {
    font-family: 'Bungee Inline';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bungee-inline-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;
}
