/* Yingdao uses MiSans Demibold at CSS weight 450 for section titles.
   Serve Xiaomi's original fonts without subsetting or renaming them.
   Two official files share the family through disjoint unicode-ranges, so a
   browser only downloads the file a title needs: English titles get the
   68 KB MiSans Latin; CJK text pulls in the 4.9 MB full MiSans. */
@font-face {
  font-family: "MiSans";
  src: url("../fonts/MiSansLatin-Demibold.woff2?v=20261016-latin-1") format("woff2");
  font-style: normal;
  font-weight: 450;
  font-display: swap;
  unicode-range: U+0000-017F, U+2013, U+2018-201A, U+201C-201E, U+2022, U+20AC, U+2122;
}
@font-face {
  font-family: "MiSans";
  src: url("../fonts/MiSans-Demibold.woff2?v=20261010-yingdao-titles-1") format("woff2");
  font-style: normal;
  font-weight: 450;
  font-display: swap;
  unicode-range: U+0180-2012, U+2014-2017, U+201B, U+201F-2021, U+2023-20AB, U+20AD-2121, U+2123-10FFFF;
}

:root {
  --site-title-font: "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --site-title-weight: 450;
}

/* Include every heading level, white/plan titles, FAQ and nonsemantic titles.
   Important is limited to typography so page-specific layout stays in place.
   Inner spans, links and emphasis must not restore their previous font/weight. */
body :is(h1, h2, h3, h4, h5, h6, [role="heading"],
  .footer-heading, .small-heading, .process-ticker-title,
  .geo-faq-q, summary, .about-value-tab strong,
  .ba-sheet-title strong, .ba-stage-table-title strong,
  .ai-scrape-page__title strong),
body :is(h1, h2, h3, h4, h5, h6, [role="heading"],
  .footer-heading, .small-heading, .process-ticker-title,
  .geo-faq-q, summary, .about-value-tab strong,
  .ba-sheet-title strong, .ba-stage-table-title strong,
  .ai-scrape-page__title strong) * {
  font-family: var(--site-title-font) !important;
  font-weight: var(--site-title-weight) !important;
  font-synthesis: none !important;
  letter-spacing: normal !important;
}
