/* =============================================
 * 字体版权备注
 * HarmonyOS Sans SC：华为免费网页商用许可，禁止修改字形、禁止单独分发字体包
 ============================================= */
:root {
  --harmony: "HarmonyOS Sans SC", system-ui, sans-serif;
  /* 衬线不再配置，需要衬线直接用浏览器默认 */
  --serif: serif;
}

/* ========== HarmonyOS Sans SC ========== */
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Thin.woff2") format("woff2"),
       url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Light.woff2") format("woff2"),
       url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Regular.woff2") format("woff2"),
       url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Medium.woff2") format("woff2"),
       url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.woff2") format("woff2"),
       url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Black.woff2") format("woff2"),
       url("./HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}