/* Language variants: loading state, switcher, and per-script typography. */
.i18n-pending body{visibility:hidden}

.lang-switch{display:flex;align-items:center;gap:2px;font-size:10px;font-weight:600;letter-spacing:.3px}
.lang-switch a{padding:4px 7px;border-radius:100px;color:inherit;opacity:.72}
.lang-switch a:hover{opacity:1}
.lang-switch a[aria-current]{opacity:1;background:#fbf9f4b3}
.announcement{position:relative}
.announcement .lang-switch{position:absolute;right:max(16px,calc((100% - var(--width,1224px))/2))}
.site-footer>.lang-switch{width:min(var(--width,1224px),calc(100% - 96px));margin:18px auto 0;font-size:11px;color:#6d7465}
.site-footer>.lang-switch a[aria-current]{background:#e9eddf}
@media(max-width:700px){
  .announcement{justify-content:flex-start;padding-left:16px}
  .announcement .lang-switch{right:8px;font-size:9px}
  .announcement .lang-switch a{padding:3px 5px}
  .site-footer>.lang-switch{width:calc(100% - 40px)}
}

/* Simplified Chinese: no synthetic italics, no tight Latin tracking. */
:lang(zh){font-family:Looksie,'Avenir Next',Avenir,'PingFang SC','Hiragino Sans GB','Noto Sans SC','Microsoft YaHei',sans-serif}
:lang(zh) h1,:lang(zh) h2,:lang(zh) h3,:lang(zh) strong,:lang(zh) .wonder-feature strong{letter-spacing:0!important;line-break:strict}
:lang(zh) em,:lang(zh) i,:lang(zh) .underlined,:lang(zh) .launch-section h2,:lang(zh) .scene-copy h3,:lang(zh) .hero-handwritten{font-style:normal!important;font-family:'Songti SC','STSong','Noto Serif SC','Source Han Serif SC',serif!important;letter-spacing:0!important}
:lang(zh) .eyebrow,:lang(zh) .feature-kicker,:lang(zh) .scene-tag{letter-spacing:.12em!important}
:lang(zh) p,:lang(zh) li,:lang(zh) summary,:lang(zh) details p{line-height:1.8}
