@charset "UTF-8";
@font-face {
  font-family: "HarmonyOS Sans SC-Regular";
  src: url("/assets/woff2/HarmonyOS_Sans_SC_Regular-Y4PCOgSs.woff2") format("woff2");
  font-display: swap; /* 优先使用系统字体并等待自定义字体加载 */
}
@font-face {
  font-family: "HarmonyOS Sans SC-Bold";
  src: url("/assets/woff2/HarmonyOS_Sans_SC_Bold-DGWLYQy_.woff2") format("woff2");
  font-display: swap;
  /* 优先使用系统字体并等待自定义字体加载 */
}
@media screen and (max-width: 959px) {
  :root {
    font-size: 12px;
  }
}
@media screen and (min-width: 960px) {
  :root {
    font-size: 14px;
  }
}
@media screen and (min-width: 1920px) {
  :root {
    font-size: 16px;
  }
}
@media screen and (min-width: 2560px) {
  :root {
    font-size: 18px;
  }
}
:root {
  --font-size: 18px; /* 默认字体大小 */
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100dvh;
  width: 100dvw;
}

#app {
  --app-background-image:'';
  background-image: var(--app-background-image);
  background-color: var(--bg-color);
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

html.dark {
  --bg-color: #212327;
  --el-fill-color-blank: #000000;
}

html.light {
  --bg-color: #e8f3ff;
}