/* User-supplied KaiTi is the main Chinese face. Non-Chinese glyphs use Instrument Sans. */
@font-face { font-family:"HISTI KaiTi"; src:url('/fonts/kaiti/zh-subset.woff2?v=2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; unicode-range:U+3000-303F,U+3400-9FFF,U+FF00-FFEF; }
html:lang(zh-CN) { --font-ui:"HISTI KaiTi","Instrument Sans",system-ui,sans-serif; --font-heading:var(--font-ui); --font-display:var(--font-ui); }
html:lang(zh-CN),html:lang(zh-CN) :is(body,body *,body *::before,body *::after),html:lang(zh-CN)::before,html:lang(zh-CN)::after { font-family:"HISTI KaiTi","Instrument Sans",system-ui,sans-serif!important; font-synthesis:none; }
html:lang(zh-CN) :is(h1,h2,h3,h4,h5,h6,#slide-title,#hero-title,#result-heading,#intro-title,#group-title,.card-name,.h4-choice strong,.featured-art-note) { font-family:"HISTI KaiTi","Instrument Sans",system-ui,sans-serif!important; font-weight:400!important; font-style:normal!important; letter-spacing:0!important; line-height:1.5; }
html:lang(zh-CN) .h4-question h2 { font-size:clamp(24px,2.3vw,28px); line-height:1.65; }
html:lang(zh-CN) .histi-nav { gap:20px; }
html:lang(zh-CN) :is(.selector-heading h1,.start-card>h1,.hero-copy h1) { text-wrap:balance; }
html:lang(zh-CN) .h4-status button { white-space:normal; }
html:lang(zh-CN) .footer-links a { white-space:nowrap; }
html:lang(zh-CN)::after { content:'留一点空间，给自己。'; }
html:lang(zh-CN).histi-url-motion::before,html:lang(zh-CN) .histi-history-veil::before { content:'留一点空间，给自己。'; }
html:lang(zh-CN) .home-hero h1 { font-size:clamp(48px,5.5vw,88px); }
@media(max-width:680px) { html:lang(zh-CN) .histi-start-label { font-size:11px; } html:lang(zh-CN) .histi-start-label::after { content:none; } }
@media(max-width:620px) { html:lang(zh-CN) .histi-header-actions { gap:6px; } html:lang(zh-CN) .translation-note { margin-inline:16px; } }
