#main>.top{position:relative;z-index:60}
.nb-language[open]{z-index:100}
.nb-language{position:relative;display:block!important;width:max-content;max-width:100%;margin:0;padding:0;flex:none;border:1px solid var(--line,#35516c);border-radius:9px;background:var(--panel,#10253b);font:500 12px/1.4 system-ui,sans-serif;color:var(--txt,#e9eef5)}
.nb-language summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:5px 9px;list-style:none;cursor:pointer}
.nb-language summary::-webkit-details-marker{display:none}
.nb-language [data-nb-language-label],.nb-language-menu button{display:flex;align-items:center;gap:8px;white-space:nowrap}
.nb-language-flag{display:block;width:21px;height:14px;flex:none;border-radius:2px;box-shadow:0 0 0 1px #ffffff26}
.nb-language-chevron{color:var(--mut,#a9b8ca)}
.nb-language-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:1500;min-width:100%;width:max-content;max-width:calc(100vw - 24px);padding:5px;border:1px solid var(--line,#35516c);border-radius:10px;background:#0e1d32;opacity:1;max-height:min(360px,60vh);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 8px 24px #0008}
.nb-language:not([open])>.nb-language-menu{display:none}
.nb-language-menu button{width:100%;min-height:36px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.nb-language-menu button:hover,.nb-language-menu button[aria-pressed=true]{background:#e4bd5a24}
.nb-language summary:focus-visible,.nb-language-menu button:focus-visible{outline:2px solid var(--gold,#e4bd5a);outline-offset:2px}
#login>.nb-language,.admin-login>.nb-language,#loginView>.card>.nb-language{margin:10px 0;float:none}
html[lang=th]{--body:'Leelawadee UI','Noto Sans Thai',Tahoma,system-ui,sans-serif}
html[lang=th] body,html[lang=th] button,html[lang=th] select,html[lang=th] input{font-family:var(--body);letter-spacing:normal}
html[lang=th] .eyebrow,html[lang=th] label,html[lang=th] .tab{letter-spacing:normal;line-height:1.6}
html[lang=ru] .tab,html[lang=es] .tab,html[lang=ro] .tab,html[lang=fil] .tab,html[lang=pt] .tab{white-space:normal;line-height:1.35}
html[data-preview] :is(#evGal .ev-g,#adState){text-transform:uppercase}
[data-nb-language-host]{display:flex;justify-content:flex-end;margin-bottom:6px}
.nb-vsphone-offer{white-space:normal;line-height:1.25}.nb-vsphone{height:auto;min-height:48px}
@media(max-width:700px){.nb-language summary{min-height:36px;font-size:14px}.nb-language-menu button{min-height:40px;font-size:14px}.admin-top>.nb-language{grid-column:1/-1;justify-self:start}.top>.nb-language{max-width:100%}#main>.top>.langs .nb-language{order:-1}#main>.top>.nb-vsphone{height:auto;min-height:44px}}
@media(max-width:359px){html[lang=fil] #hbPrio{grid-template-columns:repeat(2,minmax(0,1fr))}html[lang=fil] #marketBetaRoot .mb-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
