/* Only device-local stacks. Custom names are strictly validated on the server; no font downloads. */
:is(body.front-v2[data-zc25-font="sans"],.zc25-font-sample[data-zc25-font="sans"]) {--zc25-chosen-font:"Aptos","HarmonyOS Sans SC","MiSans","Noto Sans CJK SC","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Segoe UI",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="serif"],.zc25-font-sample[data-zc25-font="serif"]) {--zc25-chosen-font:Georgia,"Noto Serif CJK SC","Source Han Serif SC","Songti SC","STSong","SimSun","Times New Roman",serif}
:is(body.front-v2[data-zc25-font="harmony"],.zc25-font-sample[data-zc25-font="harmony"]) {--zc25-chosen-font:"HarmonyOS Sans SC","HarmonyOS Sans","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="mi"],.zc25-font-sample[data-zc25-font="mi"]) {--zc25-chosen-font:"MiSans","MiSans VF","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="noto"],.zc25-font-sample[data-zc25-font="noto"]) {--zc25-chosen-font:"Source Han Sans SC","Noto Sans CJK SC","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="pingfang"],.zc25-font-sample[data-zc25-font="pingfang"]) {--zc25-chosen-font:"PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="yahei"],.zc25-font-sample[data-zc25-font="yahei"]) {--zc25-chosen-font:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="rounded"],.zc25-font-sample[data-zc25-font="rounded"]) {--zc25-chosen-font:"Hiragino Maru Gothic ProN","Yu Gothic UI","YouYuan","幼圆","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
:is(body.front-v2[data-zc25-font="custom"],.zc25-font-sample[data-zc25-font="custom"]) {--zc25-chosen-font:var(--zc25-custom-font,system-ui,sans-serif)}
/* System default leaves each existing skin unchanged; code and icon font declarations remain intact. */
body.front-v2[data-zc25-font]:not([data-zc25-font="system"]) {--font:var(--zc25-chosen-font);--font-display:var(--zc25-chosen-font);font-family:var(--zc25-chosen-font)}
body.front-v2[data-zc25-font]:not([data-zc25-font="system"]) .zc24-picker {font-family:var(--zc25-chosen-font)}
.zc25-font-sample[data-zc25-font]:not([data-zc25-font="system"]) {font-family:var(--zc25-chosen-font)}
.zc25-font-sample[data-zc25-font="system"] {font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
