/* Creatve.Zone - ONE Uyghur face + refined Uyghur typography (2026-12-05, f2)
   The only Alkatip Basma Tom @font-face on each origin lives here.
   Every other font stack in the shipped assets is normalised to the same
   family by the deploy step, so no higher-specificity rule can win. */
@font-face{
  font-family:"Alkatip Basma Tom";
  src:url("/fonts/alkatip-basma-tom.woff2?v=one1") format("woff2"),
      url("/fonts/alkatip-basma-tom.ttf?v=one1") format("truetype");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+1EE00-1EEFF;
  size-adjust:88%;
}
html{font-synthesis:none}
html,html body{
  font-family:"Alkatip Basma Tom",Inter,"Noto Sans SC",system-ui,-apple-system,"Segoe UI",sans-serif !important;
}
html :is(pre,code,kbd,samp,tt,[class*="mono"],[class*="Mono"]),
html :is(pre,code,kbd,samp,tt,[class*="mono"],[class*="Mono"]) *{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Alkatip Basma Tom",monospace !important;
}
html[lang="ug"],html[dir="rtl"]{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  font-optical-sizing:none;
  /* canvas overlays can extend past <body>; clip at the root too so RTL
     never produces a horizontal scrollbar or a broken viewport edge. */
  overflow-x:clip;
  max-width:100%;
}
html[lang="ug"] body,html[dir="rtl"] body{
  overflow-x:clip;
  word-spacing:-0.015em;
  overflow-wrap:break-word;
}
html[lang="ug"] :is(h1,h2,h3,h4){line-height:1.5;letter-spacing:0}
html[lang="ug"] :is(p,li,dd,dt,blockquote,figcaption){line-height:1.65;letter-spacing:0}
/* Uyghur glyphs are visually wider: never let a control wrap and break the UI. */
html[lang="ug"] :is(a,button,label,th,summary,option,[role="button"],[role="tab"],
  .btn,.button,.tab,.chip,.badge,.pill,.cz-pill,.cz-chip,.cz-badge,
  .cz-nav a,.cz-nav button,.czc-bar a,.czc-bar button,
  .czv-mp-tab,.czv-unify-btn,.czv-mini-btn,.czv-unify-pill,
  .czhub-nav button,.czhub-tab,.czhub-btn,.czhub-kind-name,
  input[type="button"],input[type="submit"],[data-lg],[data-lang]),
html[lang="ug"] :is(a,button,label,th,summary,[role="button"],[role="tab"],
  .btn,.button,.tab,.chip,.badge,.pill,.czhub-btn) :is(span,small,b,strong,em,i,div){
  white-space:nowrap !important;
  min-width:0;
  max-width:100%;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  line-height:1.35;
  letter-spacing:0;
}
html[lang="ug"] :is(input,textarea,select){
  font-family:"Alkatip Basma Tom",Inter,system-ui,sans-serif !important;
}
