/* 鸿蒙字体 HarmonyOS Sans SC —— OJ 全站统一字体资源（唯一真实字体文件，三字重，本地加载）
   OJ-STYLE-LOADING-001A：全站统一 HarmonyOS；font-weight:900（font-black）由 Bold 字形承接
   （font-weight 900 别名指向同一个 HarmonyOS Bold 文件），不再请求或混用 NotoSansSC-900。 */

@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../fonts/HarmonyOS_Sans_SC_Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../fonts/HarmonyOS_Sans_SC_Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../fonts/HarmonyOS_Sans_SC_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* OJ-STYLE-LOADING-001A：900（font-black / font-weight:900）复用 Bold 文件——
   任务书要求「900 只能使用 HarmonyOS 最粗的 700 字形，不再请求或混用任何非 HarmonyOS 的 900 字重文件」。
   浏览器按字重就近匹配，此处显式声明可避免 900 回退到系统合成粗体。 */
@font-face {
  font-family: 'HarmonyOS Sans SC';
  src: url('../fonts/HarmonyOS_Sans_SC_Bold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
