/* 全站设备字重映射。按原字重分别映射，900 → 800 不会再次降为 700。 */
:root {
  --font-weight-900: 900;
  --font-weight-800: 800;
  --font-weight-700: 700;
}

:root[data-ios] {
  --font-weight-900: 800;
  --font-weight-800: 700;
  --font-weight-700: 600;
}

/* 没有作者样式的标题和粗体标签，覆盖浏览器默认的 bold。 */
:where(html[data-ios] h1, html[data-ios] h2, html[data-ios] h3,
  html[data-ios] h4, html[data-ios] h5, html[data-ios] h6,
  html[data-ios] b, html[data-ios] strong, html[data-ios] th) {
  font-weight: var(--font-weight-700);
}
