/* Compact current-language trigger; the main menu remains the last header action. */
.otr-language{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;margin:0;white-space:nowrap;line-height:1}
.otr-language-toggle,.otr-language-link{appearance:none;-webkit-appearance:none;margin:0;border:0;border-radius:0;background:none;box-shadow:none;color:#17212b;font:500 11px/1 Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer}
.otr-language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;height:40px;padding:0 3px}
.otr-language-caret{font-size:9px;color:#718092;transition:transform .15s}
.otr-language-toggle[aria-expanded=true] .otr-language-caret{transform:rotate(180deg)}
.otr-language-menu{position:absolute;z-index:70;right:0;top:calc(100% + 3px);min-width:74px;padding:5px;background:#fff;box-shadow:0 6px 24px #14283c18;border-radius:8px}
.otr-language-menu[hidden]{display:none!important}
.otr-language-link{display:block;width:100%;min-height:40px;padding:10px 12px;text-align:left}
.otr-language-link[aria-checked=true]{color:#0044fb;font-weight:700}
.otr-language-link:hover{background:#f4f6fa;border-radius:5px}
.otr-language-toggle:focus-visible,.otr-language-link:focus-visible{outline:2px solid #0044fb;outline-offset:1px}
.site-header .header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex:0 0 auto}
.site-header .menu-toggle{display:flex!important;order:100;flex:0 0 40px;width:40px;height:40px;padding:9px;border:0;border-radius:0;background:transparent;box-shadow:none;flex-direction:column;justify-content:center;align-items:center;gap:6px}
.site-header .menu-toggle span{display:block;width:22px;height:1.5px;flex:none;background:var(--ink,#17212b)}
html:lang(en) .desktop-nav,html:lang(ja) .desktop-nav,html:lang(zh-CN) .desktop-nav{gap:clamp(12px,1.5vw,25px)}
html:lang(en) .button,html:lang(ja) .button,html:lang(zh-CN) .button{white-space:normal;text-wrap:balance}
html:lang(ja),html:lang(zh-CN){font-family:Pretendard,'Noto Sans CJK JP','Noto Sans CJK SC',-apple-system,BlinkMacSystemFont,sans-serif}
@media(max-width:640px){.site-header .header-actions{gap:5px}.site-header .brand{width:clamp(100px,calc(100vw - 202px),180px);min-width:0;flex:0 1 auto}.otr-language-toggle{font-size:11px}.site-header .menu-toggle{flex-basis:40px}}
@media(min-width:1201px){.site-header~.mobile-nav{left:auto;right:24px;top:88px;width:280px;border-radius:12px}}
.site-header .header-actions .otr-language{max-width:none;min-width:40px;flex:0 0 auto}
@media(max-width:760px){.site-header.site-header .brand{width:auto}.site-header.site-header .otr-logo-swap{--logo-height:min(16px,calc((100vw - 202px)/15.2688172))}}

.brand-header .header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:none}
.brand-header .bi-menu-toggle{display:block!important;order:100;flex:0 0 40px;width:40px;height:40px;margin:0;padding:8px;border:0;border-radius:0;background:none;box-shadow:none;color:#17212b;font-size:21px}
.brand-header .otr-language{max-width:none;min-width:40px;flex:none}
@media(max-width:760px){.brand-header .header-actions{gap:5px}.brand-header .header-actions>.download{display:none}.brand-header.brand-header .otr-logo-swap{--logo-height:min(16px,calc((100vw - 202px)/15.2688172))}.brand-header>a:first-child{min-width:0;flex:0 1 auto}}
@media(max-width:760px){.brand-header.brand-header .header-actions{gap:5px}}
@media(max-width:1200px){.brand-header.brand-header>nav{display:none}}
