/* Script companions for the locked Source Sans 3 UI roles. Latin keeps its existing face. */
/* Static instances keep the release catalog small and map Chinese weights in WebKit. */
@font-face{
  font-family:"Waitlyx Noto Sans SC Release";
  src:url("/fonts/noto-sans-sc/NotoSansSC-Release-400.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:"Waitlyx Noto Sans SC Release";
  src:url("/fonts/noto-sans-sc/NotoSansSC-Release-600.woff2") format("woff2");
  font-style:normal;
  font-weight:600;
  font-display:swap;
}
@font-face{
  font-family:"Waitlyx Noto Sans SC Release";
  src:url("/fonts/noto-sans-sc/NotoSansSC-Release-650.woff2") format("woff2");
  font-style:normal;
  font-weight:650;
  font-display:swap;
}
@font-face{
  font-family:"Waitlyx Noto Sans SC Release";
  src:url("/fonts/noto-sans-sc/NotoSansSC-Release-700.woff2") format("woff2");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
@font-face{
  font-family:"Waitlyx Noto Sans Thai UI";
  src:url("/fonts/noto-sans-thai-ui/NotoSansThaiUI-VF.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

html:lang(zh-Hans){--wx-final-font-ui:"Source Sans 3","Waitlyx Noto Sans SC Release",sans-serif}
html:lang(th){--wx-final-font-ui:"Source Sans 3","Waitlyx Noto Sans Thai UI",sans-serif}

/* The Review shell still uses the original page's font variables in places. */
html:lang(zh-Hans) body.review-uiux-active{
  --font-ui:var(--wx-final-font-ui);
  --font-display:var(--wx-final-font-ui);
  --font-data:"IBM Plex Mono","Waitlyx Noto Sans SC Release",monospace;
  --s:var(--wx-final-font-ui);
  --d:var(--wx-final-font-ui);
  --m:var(--font-data);
}
html:lang(th) body.review-uiux-active{
  --font-ui:var(--wx-final-font-ui);
  --font-display:var(--wx-final-font-ui);
  --font-data:"IBM Plex Mono","Waitlyx Noto Sans Thai UI",monospace;
  --s:var(--wx-final-font-ui);
  --d:var(--wx-final-font-ui);
  --m:var(--font-data);
}
