/* ─────────────────────────────────────────────────────────────────────────────
   Self-hosted faces for the static game engines (audit F-05).

   Every engine in /public/games used to <link> fonts.googleapis.com. Two costs:
   a recipient opening a private gift pinged Google, handing a third party their
   IP and the moment they opened it (the same class of leak as F-11); and the CSP
   could never be enforced without opening style-src/font-src to Google.

   The React app has self-hosted its faces since 2026-07-16 (next/font/local,
   src/fonts/*.woff2) — the engines are static HTML that next/font can't reach, so
   they get this plain stylesheet instead. These ARE the same files, copied to
   /public/fonts so a static page can name them by URL.

   All are LATIN variable subsets, so one file covers a whole weight range and the
   engines' existing font-weight rules keep working unchanged.
   ⚠ Adding a family here means dropping its woff2 in /public/fonts too — never
   re-add a fonts.googleapis.com <link> to an engine.
   ───────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* No separate italic cut is shipped — the browser synthesizes it, which is
   exactly what the React app has been doing since it self-hosted. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("/fonts/dancing-script-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("/fonts/caveat-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("/fonts/quicksand-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Playfair Display is used ITALIC only (panda-quest), which is the cut we hold. */
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-italic-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
