/* Urdu (Nastaliq) web font — Noto Nastaliq Urdu (SIL OFL 1.1)
 * Source: game team delivery 2026-06-18 (SERVER-NOTE-81 reply,
 *   rocket docs/from-game-team/urdu-nastaliq-webfont-2026-06-18/).
 * Subset: Arabic + Urdu extensions; GSUB/GPOS shaping preserved (Nastaliq
 *   contextual shaping mandatory). woff2 under /fonts/files/noto-nastaliq-urdu/.
 * src url() rebased to absolute /fonts/files/ path (per gu.css/ar.css convention).
 */
/* Bind the Nastaliq family to Urdu content. The global stack
 * (styles/globals.css --font-body/--font-display) lists "Noto Sans Arabic",
 * which already covers Urdu's Arabic-script range — so without this override the
 * browser matches Naskh first and the @font-face below is downloaded but never
 * applied (the runbook requires Nastaliq contextual shaping). Re-declaring the
 * font CSS variables under :lang(ur) puts Nastaliq ahead of Noto Sans Arabic for
 * every element using var(--font-*). ur.css is only injected on /ur pages
 * (localeFontHref('ur')), so this scope is isolated. */
:lang(ur) {
  --font-display: "Noto Nastaliq Urdu", "Noto Sans Arabic", system-ui, sans-serif;
  --font-body: "Noto Nastaliq Urdu", "Noto Sans Arabic", system-ui, sans-serif;
}

@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/files/noto-nastaliq-urdu/NotoNastaliqUrdu-Regular.subset.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/files/noto-nastaliq-urdu/NotoNastaliqUrdu-Medium.subset.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/files/noto-nastaliq-urdu/NotoNastaliqUrdu-Bold.subset.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
