/* v0.16.14 future-only language selector, visually isolated from currency/profile. */
#tg-global-topbar #tg-topbar-actions-group {overflow:visible!important;}
#tg-global-topbar .tg-language-widget{position:relative;display:flex;align-items:center;flex:0 0 auto;z-index:100;min-width:0;}
#tg-global-topbar .tg-language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--tg-lang-desktop-height,34px);height:var(--tg-lang-desktop-height,34px);padding:0 10px;border:1px solid var(--tg-lang-border);border-radius:0;background:var(--tg-lang-bg);color:var(--tg-lang-text);font-size:13px;font-weight:400;cursor:pointer;white-space:nowrap;line-height:1;box-sizing:border-box;}
#tg-global-topbar .tg-language-trigger:hover,#tg-global-topbar .tg-language-trigger[aria-expanded="true"]{background:var(--tg-lang-hover);}
#tg-global-topbar .tg-language-flag{font-size:17px;line-height:1;}
#tg-global-topbar .tg-language-chevron{font-size:13px;line-height:1;}
#tg-global-topbar .tg-language-menu{position:absolute;right:0;top:calc(100% + 2px);width:185px;max-height:min(65vh,430px);overflow-y:auto;z-index:999999;padding:5px;background:#fff;border:1px solid #d8e1e7;box-shadow:0 12px 25px rgba(0,0,0,.2);border-radius:7px;color:#152c46;text-align:left;}
#tg-global-topbar .tg-language-menu[hidden]{display:none!important;}
#tg-global-topbar .tg-language-option{display:flex;align-items:center;gap:10px;padding:9px 11px;border-bottom:1px solid #edf0f3;font-size:13px;color:#152c46;white-space:nowrap;cursor:default;}
#tg-global-topbar .tg-language-option:first-child{background:#edf4fa;font-weight:600;}
#tg-global-topbar .tg-language-option span:first-child{font-size:17px;}
#tg-global-topbar .tg-language-coming-soon{padding:8px 10px;color:#687889;font-size:10px;line-height:1.4;}
@media(max-width:980px){
 #tg-global-topbar .tg-language-trigger{height:var(--tg-lang-mobile-height,28px);min-height:var(--tg-lang-mobile-height,28px);padding:0 4px;gap:2px;font-size:11px;}
 #tg-global-topbar .tg-language-current{display:none!important;}
 #tg-global-topbar .tg-language-flag{font-size:13px;}
 #tg-global-topbar .tg-language-chevron{font-size:10px;}
 #tg-global-topbar .tg-language-menu{width:172px;}
}
@media(max-width:360px){#tg-global-topbar .tg-language-trigger{padding:0 2px;gap:1px;}#tg-global-topbar .tg-language-flag{font-size:12px;}}
