/* 中文字体样式（657KB）不再在这里 @import 阻塞所有语言的首屏：由 site-i18n.js 在简体 / 繁体中文时按需插入 */
html:lang(zh-Hant){--chinese-type:"Noto Serif TC",serif}
html:lang(zh-Hans){--chinese-type:"Noto Serif SC",serif}
html:lang(zh) body,html:lang(zh) body :is(p,span,div,h1,h2,h3,label,button,input,textarea,a,summary,select){font-family:var(--chinese-type)!important}
#v2-language{position:fixed;top:max(10px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:100;color:#e8dcc5;background:#191510dc;border:1px solid #bba78766;border-radius:4px;font:14px/1.4 system-ui;padding:8px 30px 8px 8px;max-width:145px;min-height:40px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8dcc5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:12px 8px}
/* UI-1026-01：下拉箭头自绘成米白 chevron——iOS Safari 原生 select 的箭头在深色底上几乎看不见，品牌手机实测找不到语言切换 */
[data-copy]{overflow-wrap:anywhere}
/* VIVAIA：{br} 手机专用换行，宽屏不生效；{pc} 电脑专用换行，手机不生效 */
@media(min-width:601px){.sp-br{display:none}}
@media(max-width:600px){.pc-br{display:none}}
.intro-line[data-copy],.instructions[data-copy]{white-space:normal}
@media(max-width:600px){#v2-language{top:8px;right:10px;font-size:12px;min-height:36px;max-width:112px;padding-right:26px;background-position:right 8px center}.v2-test-banner{max-width:calc(100% - 190px);left:8px!important;transform:none!important;white-space:normal!important;text-align:left}}
/* Leave the original music control accessible beside the language selector. */
body:has(#v2-language) .music-control{right:168px}
@media(max-width:600px){body:has(#v2-language) .music-control{right:126px}}

