@import url("https://vigilaihub.com/assets/fonts/lxgw-wenkai-screen-web/1.522.0/lxgwwenkaigbscreen/result.min.css");

/* Aster shared Font Registry contract v6
   One font library, one delivery path, per-site policy via data-font-policy.
   data-font-policy="fixed" + data-font="<id>" => site-locked font.
   data-font-policy="preference" => shared user preference/cookie.
*/
@font-face {
  font-family: "Aster ManYu Handwriting";
  src: url("https://vigilaihub.com/assets/fonts/AaManYuShouXieTi.c3c44f98.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Aster Fangzheng XingKai";
  src: url("https://vigilaihub.com/assets/fonts/FZSJ-XINGKAIT.phone-active.dfd93ae8.ttf") format("truetype"),
    local("方正行楷体"),
    local("方正行楷"),
    local("FZSJ-XINGKAIT");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Aster Fangzheng KaiTi";
  src: url("https://vigilaihub.com/assets/fonts/FZKai-Z03S.a0c4edef.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --aster-system-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --aster-manyu-font: "Aster ManYu Handwriting", "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --aster-xingkai-font: "Aster Fangzheng XingKai", "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --aster-wenkai-font: "LXGW WenKai GB Screen", "KaiTi", "Kaiti SC",
    "PingFang SC", "Microsoft YaHei", serif;
  --aster-kaiti-font: "Aster Fangzheng KaiTi", "KaiTi", "Kaiti SC",
    "PingFang SC", "Microsoft YaHei", serif;
  --aster-human-font: var(--aster-manyu-font);
  --aster-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

:root[data-font="manyu"] { --aster-human-font: var(--aster-manyu-font); }
:root[data-font="xingkai"] { --aster-human-font: var(--aster-xingkai-font); font-synthesis: none; }
:root[data-font="wenkai"] { --aster-human-font: var(--aster-wenkai-font); }
:root[data-font="kaiti"] { --aster-human-font: var(--aster-kaiti-font); }

html,
body,
button,
input,
textarea,
select,
option {
  font-family: var(--aster-human-font);
}

.aster-font-human {
  font-family: var(--aster-human-font) !important;
}

code,
pre,
kbd,
samp,
.aster-font-mono {
  font-family: var(--aster-code-font) !important;
}

.aster-font-switcher {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--aster-human-font);
}
.aster-font-switcher > label { font: inherit; color: inherit; }
.aster-font-switcher > select { font: inherit; max-width: 11rem; }
.aster-font-switcher[data-font-policy="fixed"] { display: none !important; }
