/* Shared RU/EN selector: desktop under Back, mobile in its own action row. */
.largo-header-language{min-width:0;gap:6px!important;color:#b9edf2;}
.largo-header-language>svg{flex:none;}
.largo-header-language>select{font:inherit;font-size:14px;font-weight:700;min-width:0;width:100%;height:100%;padding:0 2px;color:inherit;background:transparent;border:0;outline-offset:-3px;cursor:pointer;color-scheme:dark;}
.largo-header-language>select>option{color:#d8eff2;background:#08232d;}
@media(min-width:901px){
 .largo-lobby-header:not(.largo-lobby-header--guest) .largo-header-nav{grid-template-rows:54px 54px;row-gap:12px;}
 .largo-header-nav>.largo-header-back{grid-column:1;grid-row:1;}
 .largo-header-nav>.largo-header-sections{grid-column:2;grid-row:1/3;}
 .largo-header-nav>.largo-header-language{grid-column:1;grid-row:2;width:100%;height:54px;padding:0 10px;}
 .largo-lobby-header--guest>.largo-header-language{grid-column:1;grid-row:2;width:100%;height:44px;padding:0 8px;}
}
@media(min-width:901px) and (max-width:1200px){
 .largo-lobby-header:not(.largo-lobby-header--guest) .largo-header-nav{grid-template-rows:50px 50px;}
 .largo-header-nav>.largo-header-language{height:50px;}
 .largo-header-language>select{font-size:12px;}
}
/* Mobile option 3: a full-width language row below account actions. */
@media(max-width:900px){
 .club-home .largo-lobby-header:not(.largo-lobby-header--guest){grid-template-rows:76px 44px 44px auto auto;}
 .club-home .largo-lobby-header:not(.largo-lobby-header--guest) .largo-header-sections{grid-row:4;}
 .club-home .largo-lobby-header:not(.largo-lobby-header--guest) .largo-header-title{grid-row:5;}
 .largo-lobby-header .largo-header-language{display:flex;grid-column:1/-1;grid-row:3;justify-content:flex-start;width:100%;height:44px;min-height:44px;padding:0 12px;font-size:16px;}
 .largo-header-language>svg{order:0;width:28px;height:28px;margin-right:6px;}
 .largo-header-language::before{content:"Язык:";order:1;flex:none;}
 html[data-largo-language="en"] .largo-header-language::before{content:"Language:";}
 .largo-header-language>select{order:2;flex:1;width:0;height:100%;font-size:16px;}
 .largo-header-language:focus-within{outline:2px solid #fff3b3;outline-offset:3px;}
 .club-home .largo-lobby-header.largo-lobby-header--guest{grid-template-rows:80px 44px;}
 .largo-lobby-header.largo-lobby-header--guest>.largo-header-language{grid-row:2;}
}
/* Let translated labels wrap within their established controls. */
html[data-largo-language="en"] .largo-header-account{font-size:12px;}
html[data-largo-language="en"] .largo-header-section{white-space:normal;text-align:center;}
/* Keep CASHIER inside the existing desktop button. */
@media(min-width:901px){
 html[data-largo-language="en"] .largo-header-cashier{font-size:15px;}
 html[data-largo-language="en"] .largo-header-cashier>img{width:38px;height:38px;}
}
@media(min-width:901px) and (max-width:1200px){
 html[data-largo-language="en"] .largo-header-cashier{font-size:14px;}
 html[data-largo-language="en"] .largo-header-cashier>img{width:34px;height:38px;}
}

/* Additional website language choices; same approved mobile row and desktop track. */
@media(max-width:900px){
 html[data-largo-language="kk"] .largo-header-language::before{content:"Тіл:";}
 html[data-largo-language="hy"] .largo-header-language::before{content:"Լեզու:";}
 html[data-largo-language="ka"] .largo-header-language::before{content:"ენა:";}
 html[data-largo-language="be"] .largo-header-language::before{content:"Мова:";}
 html[data-largo-language="az"] .largo-header-language::before{content:"Dil:";}
 html[data-largo-language="uz"] .largo-header-language::before{content:"Til:";}
 html[data-largo-language="fr"] .largo-header-language::before{content:"Langue :";}
 html[data-largo-language="de"] .largo-header-language::before{content:"Sprache:";}
}
html:not([data-largo-language="ru"]) .largo-header-section{white-space:normal;text-align:center;}
.largo-header-language{position:relative;}
.largo-language-error{position:absolute;top:100%;left:0;right:0;z-index:40;display:block;padding:8px;border:1px solid #e4ac70;border-radius:6px;background:#08232d;color:#ffe1bf;font:12px/1.35 Arial,Helvetica,sans-serif;}
@media(max-width:900px){html[data-largo-language="hy"] .largo-header-cashier{font-size:13px;}html[data-largo-language="fr"] .largo-header-logout{font-size:10.5px;gap:3px;padding-left:4px;padding-right:4px;}html[data-largo-language="fr"] .largo-header-logout img{width:20px;height:20px;}}
html[data-largo-language="fr"] .largo-header-account-long,html[data-largo-language="de"] .largo-header-account-long{display:none;}
@media(min-width:901px){html[data-largo-language="hy"] .largo-header-cashier{font-size:12px;}html[data-largo-language="ka"] .largo-header-cashier{font-size:16px;}html[data-largo-language="hy"] .largo-header-cashier img,html[data-largo-language="ka"] .largo-header-cashier img{width:34px;height:34px;object-fit:contain;}html[data-largo-language="fr"] .largo-header-logout{font-size:10px;gap:2px;padding-left:2px;padding-right:2px;}html[data-largo-language="fr"] .largo-header-logout img{width:16px;height:16px;}html[data-largo-language="de"] .largo-header-logout{font-size:11px;gap:2px;padding-left:2px;padding-right:2px;}html[data-largo-language="de"] .largo-header-logout img{width:20px;height:20px;}html[data-largo-language="az"] .largo-header-language select{font-size:11px;}}
