.locale-switcher-menu{
    min-width: 220px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(7,9,12,.96);
    box-shadow: 0 18px 60px rgba(0,0,0,.34);
}
.locale-switcher-item{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255,255,255,.9);
    text-align: left;
}
.locale-switcher-item:hover,
.locale-switcher-item:focus{
    background: rgba(255,255,255,.06);
    color: #fff;
}
.locale-switcher-item.is-active{
    background: rgba(255,123,22,.12);
}
.locale-switcher-flag{
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}
.locale-switcher-text{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.locale-switcher-text strong{
    font-size: 14px;
    font-weight: 600;
}
.locale-switcher-text small{
    color: rgba(255,255,255,.58);
    font-size: 11px;
}
.locale-switcher-nav{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.locale-switcher-nav-label{
    font-size: 13px;
    font-weight: 600;
}
.locale-switcher-compact{
    position: fixed;
    top: 10px;
    right: 18px;
    z-index: 1100;
}
.locale-switcher-trigger{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(8,10,14,.74);
    color: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
}
.locale-switcher-trigger:hover,
.locale-switcher-trigger:focus{
    color: #fff;
    background: rgba(14,17,22,.88);
}
:root[data-theme="light"] .locale-switcher-menu{
    border-color: rgba(27,37,51,.08);
    background: rgba(255,255,255,.98);
}
:root[data-theme="light"] .locale-switcher-item{
    color: #1b2330;
}
:root[data-theme="light"] .locale-switcher-item:hover,
:root[data-theme="light"] .locale-switcher-item:focus{
    background: rgba(27,37,51,.05);
}
:root[data-theme="light"] .locale-switcher-text small{
    color: rgba(27,35,48,.56);
}
:root[data-theme="light"] .locale-switcher-trigger{
    border-color: rgba(27,37,51,.08);
    background: rgba(255,255,255,.85);
    color: #1b2330;
}

@media (max-width: 768px){
    .locale-switcher-compact{
        top: 8px;
        right: 12px;
    }
}
