@font-face{font-family:IvyDINv5;src:url(D-DIN.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:IvyDINv5;src:url(D-DIN-Bold.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:IvyKaiv5;src:url(kai_complete_medium.woff) format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:IvySansFullv5;src:url(SourceHanSansCN-Regular.otf) format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:IvySansFullv5;src:url(SourceHanSansCN-Medium.otf) format('opentype');font-weight:500 600;font-display:swap}
@font-face{font-family:IvySansFullv5;src:url(SourceHanSansCN-Bold.otf) format('opentype');font-weight:700 900;font-display:swap}
/* Scope to the three preview pages. Retain sizes, weights, spacing and layout. */
html:root body.preview-font-v5{--ivy-family:IvyDINv5,IvySansFullv5,sans-serif;font-family:var(--ivy-family)!important}
html:root body.preview-font-v5.preview-font-v5.preview-font-v5 *,html:root body.preview-font-v5.preview-font-v5.preview-font-v5 *::before,html:root body.preview-font-v5.preview-font-v5.preview-font-v5 *::after{font-family:var(--ivy-family)!important}
html:root body.preview-font-v5 :is(h1,h2,h3,h4,h5,h6,.kai,.hero .sub,.sample-tabs button,.lc .cap){--ivy-family:IvyDINv5,IvyKaiv5,serif}

/* v8: preserve the original branded live Chinese hero; all other v5 font choices stay. */
html:root body.preview-font-v5 .hero h1[data-ivy-fixed-brand-hero]{--ivy-family:"IvyLongCang","LXGW WenKai",serif}
