/* wf-gemini-p0 · Arabic web font (spec: design/site/fonts/arabic_font_spec.md).
   Self-hosted Noto Sans Arabic from @fontsource/noto-sans-arabic 5.3.0 (SIL OFL 1.1, see /fonts/NotoSansArabic-OFL.txt).
   Registered under a NEW family name so every existing "Noto Sans Arabic" reference resolves exactly as before.
   wf-arfont-size (t667u): Noto Sans Arabic draws ~13% wider and has tall line metrics (2.11em "normal" line height),
   so Arabic looked much bigger than the phone's own Arabic font used before. size-adjust 88% + Android UI-font
   line metrics (1.069/0.293 em, divided by 0.88) bring Arabic back to its previous visual size. Same face. */
@font-face{font-family:"WF Noto Sans Arabic";font-style:normal;font-weight:400;font-display:swap;size-adjust:88%;ascent-override:121.5%;descent-override:33.3%;line-gap-override:0%;src:url(/fonts/noto-sans-arabic-arabic-400-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"WF Noto Sans Arabic";font-style:normal;font-weight:500;font-display:swap;size-adjust:88%;ascent-override:121.5%;descent-override:33.3%;line-gap-override:0%;src:url(/fonts/noto-sans-arabic-arabic-500-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"WF Noto Sans Arabic";font-style:normal;font-weight:700;font-display:swap;size-adjust:88%;ascent-override:121.5%;descent-override:33.3%;line-gap-override:0%;src:url(/fonts/noto-sans-arabic-arabic-700-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

/* Step 1 — freeze: Quran text keeps exactly today's resolved stack. NOTE: live computed body font is
   system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif (set by /wf-sound.css on html,body; body has no .zh/.rtl class),
   so the freeze pins that stack, not the --font-* values the spec assumed. */
html body [data-wf-quran]{font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
  --font-zh:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  --font-ar:"Noto Sans Arabic","Segoe UI",Tahoma,sans-serif;
  --font-en:"Inter",system-ui,sans-serif}

/* Step 2 — UI: Arabic code points use the self-hosted web font; unicode-range keeps Latin and Chinese glyphs
   on exactly the same fonts as before. */
html body{font-family:"WF Noto Sans Arabic",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif}
html:root{
  --font-ar:"WF Noto Sans Arabic","Noto Sans Arabic","Segoe UI",Tahoma,sans-serif;
  --font-zh:"WF Noto Sans Arabic","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  --font-en:"WF Noto Sans Arabic","Inter",system-ui,sans-serif;
}
