/* Compact footer and language switcher */
.service-lang-control{display:flex;align-items:center;gap:7px;flex:none;color:var(--svc-text2)}
.service-lang-control i{font-size:16px}
.service-lang-control select{appearance:none;-webkit-appearance:none;border:1px solid var(--svc-border);border-radius:10px;background:var(--svc-surface2);color:var(--svc-text);font:inherit;font-size:13px;font-weight:700;padding:10px 28px 10px 12px;min-height:40px;cursor:pointer}
.service-lang-control{position:relative}
.service-lang-control::after{content:"⌄";position:absolute;right:11px;pointer-events:none;font-size:16px}
.service-lang-control select:focus-visible{outline:2px solid var(--svc-accent);outline-offset:2px}
footer.vycat-footer{box-sizing:border-box!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 24px!important;min-height:0!important;padding:14px max(20px,calc((100vw - 1120px)/2))!important;text-align:left!important}
footer.vycat-footer .footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0!important;font-size:13px}
footer.vycat-footer .developer-credit{display:inline-flex;align-items:center;gap:6px;margin:0!important}
@media(max-width:760px){
 body > header.service-header .service-lang-control{display:none!important}
 body > header.service-header .menu .service-lang-control{display:flex!important;margin-top:16px;padding:18px 10px 4px;border-top:1px solid var(--svc-border)}
 body > header.service-header .menu .service-lang-control select{flex:1;max-width:100%}
 footer.vycat-footer{justify-content:center!important;text-align:center!important;padding:13px 16px!important;gap:8px 14px!important}
 footer.vycat-footer .footer-links{justify-content:center}
}
@media(min-width:761px){
 body > header.service-header .menu .service-lang-control{display:inline-flex!important;margin-left:12px;vertical-align:middle}
 body > header.service-header .menu .service-lang-control select{min-height:38px;max-width:138px}
 body > header.service-header .menu{align-items:center!important}
}

@media(min-width:761px){
header.service-header{grid-template-columns:minmax(130px,1fr) auto minmax(200px,1fr)!important}
header.service-header>.service-header-actions{grid-column:3;justify-self:end;display:flex;align-items:center;gap:12px}
header.service-header>.service-header-actions .service-lang-control{display:flex}
header.service-header .menu .service-lang-control{display:none!important}
}
@media(max-width:760px){
header.service-header>.service-header-actions{display:contents}
header.service-header>.service-header-actions .service-lang-control{display:none!important}
header.service-header .menu .service-lang-control{display:flex!important}
}

/* Definitive header layout: one language picker per viewport */
@media(min-width:761px){
 body > header.service-header{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:10px max(20px,calc((100vw - 1140px)/2))!important;min-height:66px!important}
 body > header.service-header > a{flex:0 0 auto!important;min-width:0!important}
 body > header.service-header > .menu{display:flex!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;justify-content:center!important;align-items:center!important;overflow:visible!important;gap:2px!important}
 body > header.service-header > .menu > .service-lang-control{display:none!important}
 body > header.service-header > .service-header-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:10px!important;min-width:0!important}
 body > header.service-header > .service-header-actions > .service-lang-control{display:flex!important;position:relative!important;gap:7px!important;margin:0!important;padding:0!important;flex:none!important}
 body > header.service-header > .service-header-actions > .service-lang-control select{width:116px!important;max-width:116px!important;min-height:40px!important;padding:8px 23px 8px 10px!important}
 body > header.service-header > .service-header-actions > .service-theme-toggle{position:static!important;margin:0!important;flex:none!important}
}
@media(min-width:761px) and (max-width:1050px){
 body > header.service-header{gap:8px!important;padding-inline:14px!important}
 body > header.service-header > .menu .m-span{font-size:12px!important;padding-inline:7px!important}
 body > header.service-header > .service-header-actions > .service-lang-control select{width:104px!important}
}
@media(max-width:760px){
 body > header.service-header > .service-header-actions{display:contents!important}
 body > header.service-header > .service-header-actions > .service-lang-control{display:none!important}
 body > header.service-header > .service-header-actions > .service-theme-toggle{order:2!important}
 body > header.service-header > .mobile-nav-toggle{order:3!important}
 body > header.service-header > .menu > .service-lang-control{display:flex!important}
}
