/* Short labels keep their space; descriptive copy can wrap in every locale. */
html:lang(en),html:lang(pt){font-family:Arial,Helvetica,sans-serif}
html:lang(ja){font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
html:lang(ko){font-family:"Noto Sans KR","Malgun Gothic",sans-serif}
html:not(:lang(zh)) body,html:not(:lang(zh)) body.topic-site{font-family:inherit}
.head-btn,.comment-write,.topic-search button,.topic-header-search button,.topic-load-more,.more-comments{white-space:nowrap;flex-shrink:0}
.topic-brand,.brand{flex-shrink:0}
.topic-header-search-wrap,.topic-heading-copy,.desktop-identity>div,.sheet-header,.composer-title{min-width:0}
.topic-intro h1,.topic-detail-header h1,.sheet-heading,.sheet-note,.auth-note,.auth-error,.desktop-panel h2,.desktop-profile-button,.menu-links button,.topic-empty h2,.topic-empty p,.topic-footer-signature,.comments-summary p,.composer-title{overflow-wrap:anywhere}
.topic-intro h1,.topic-detail-header h1{hyphens:auto}
.topic-eyebrow,.topic-journal,.topic-digest-label,.topic-footer-signature{letter-spacing:.08em}
.topic-digest-heading h2{flex-shrink:0}
.btn-primary,.btn-outline,.auth-wide,.account-logout-button{white-space:normal;overflow-wrap:anywhere;line-height:1.5;height:auto}
.composer-controls{flex-wrap:wrap}
.comments-head{gap:12px}
.comments-heading{min-width:0;overflow-wrap:anywhere}
.desktop-profile-button{height:auto;min-height:40px;line-height:1.5;padding:10px}
@media(max-width:520px){
 .topic-intro h1,.topic-detail-header h1{font-size:clamp(26px,7.2vw,34px);letter-spacing:-.02em;line-height:1.3}
 .topic-search{gap:8px;padding-left:12px}.topic-search button{padding-inline:12px;font-size:13px}
 .topic-header-search{gap:6px}.topic-header-search button{padding-inline:10px;font-size:12px}
 .topic-section-heading{gap:10px;flex-wrap:wrap}.topic-heading-copy{flex-wrap:wrap;gap:6px 10px}
 .topic-section-heading h2{font-size:19px}.topic-digest-label{font-size:10px;letter-spacing:.02em}
 .topic-journal{font-size:10px;letter-spacing:.06em}.topic-journal span{display:inline-block}
 .header-actions{gap:4px}.head-btn{padding-inline:7px}.comment-write{padding-inline:12px}
 .comments-heading{font-size:16px}.sheet-heading{font-size:19px}
 .share-options{gap:8px}.share-option{min-width:0;overflow-wrap:anywhere}
}
