/* Offline CJK fallbacks. Browsers request these local faces only when a CJK
 * locale actually uses the family; Russian retains its accepted Montserrat. */
@font-face {
    font-family: "Shutkodav CJK SC";
    src: url("assets/fonts/NotoSansSC.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Shutkodav CJK JP";
    src: url("assets/fonts/NotoSansJP.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Shutkodav CJK KR";
    src: url("assets/fonts/NotoSansKR.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
html:lang(zh) { --shutkodav-cjk-font: "Shutkodav CJK SC"; }
html:lang(ja) { --shutkodav-cjk-font: "Shutkodav CJK JP"; }
html:lang(ko) { --shutkodav-cjk-font: "Shutkodav CJK KR"; }
html:is(:lang(zh),:lang(ja),:lang(ko)) body,
html:is(:lang(zh),:lang(ja),:lang(ko)) body :is(h1,h2,h3,p,button,input,select,option,textarea,label,span,strong,output,small,div) {
    font-family: var(--shutkodav-cjk-font), "Shutkodav UI", sans-serif !important;
}
