/* btn-fix.css (2026-11-21, Annie 22:28 「全部按鈕都檢查一下 不要跑版」): one shared layer for every site page.
   Buttons wrap or stack instead of squeezing, never clip, keep ≥8px gaps and ≥44px touch targets. Loaded after site-chrome.css. */
/* header: the brand never gets cut off — it wraps to two lines before anything is clipped; tools keep 8px apart */
.sc-tools{gap:8px}
.sc-brand{min-width:0;flex:0 1 auto}
.sc-bt b{overflow-wrap:normal}
@media (max-width:519px){.sc-bt b{white-space:normal;line-height:1.08}.sc-cta-m{padding:0 12px;font-size:14px}}
/* footer link rows: 8px between links */
.sf-legal ul,.sf-lang ul{gap:4px 8px}
/* FAQ / accordions: 44px rows */
details:not(.sc-dd):not(.sc-burger):not(.sc-lang):not(.lang)>summary{min-height:44px;box-sizing:border-box;padding-top:8px;padding-bottom:8px}
/* hub category chips */
.jump a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box}
/* generic buttons: wrap long labels inside the button, never past it */
.btn,.sc-cta,.sf-top{max-width:100%;box-sizing:border-box}
.btn{white-space:normal;overflow-wrap:break-word;text-align:center}
p>a.btn{margin:4px 4px 4px 0}
/* long e-mail links never push the page sideways */
a[href^="mailto:"]{overflow-wrap:anywhere}
/* Korean: break between words, not inside them */
:lang(ko) body,body:lang(ko){word-break:keep-all;overflow-wrap:break-word}
/* mobile menu language pills and inline language lines on article pages */
.sc-dlang{gap:8px}
nav.langs{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px}
nav.langs a{display:inline-flex;align-items:center;min-height:44px}
/* grown-up gates / join pop-ups (gwm-family overlays): side-by-side only when both labels fit, otherwise stacked; 8px gaps */
body .gwmf-ov .gwmf-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,17em),1fr));gap:8px!important}
body .gwmf-ov .gwmf-row3,body .gwmf-ov .gwmf-col{gap:8px!important}
body .gwmf-ov .gwmf-b{min-width:0;overflow-wrap:break-word}
body .gwmf-tz .tzre{margin-top:8px!important}
body .gwmf-ov .gwmf-row>.gwmf-b{margin:0!important}
body .gwmf-tz .gwmf-lnk{margin-top:8px!important}
body .gwmf-ov .gwmf-row3{display:flex;flex-wrap:wrap}
body .gwmf-ov .gwmf-row3>.gwmf-b{flex:1 1 15em;width:auto}
