/* One web typeface on every platform prevents iOS PingFang and Android system
   fallbacks from producing different glyph shapes, weights, and line breaks. */
:root {
  --mg-unified-font: "Noto Sans SC", "Inter", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--mg-unified-font);
  font-synthesis: none;
}

/* Some legacy section rules name platform fonts directly.  The semantic text
   override makes the final rendered typeface identical on phones, tablets,
   and desktop without touching image-based artwork or brand marks. */
body :is(h1, h2, h3, h4, h5, h6, p, a, button, label, li, dt, dd, figcaption,
  strong, b, em, small, span, address, input, select, textarea) {
  font-family: var(--mg-unified-font) !important;
  font-synthesis: none;
}
