.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.lang-switch a {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: .2s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateY(-1px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 10px;
}

.footer-meta a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

.footer-meta a:hover {
    color: #fff;
}

.legal-page .site-header,
.support-page .site-header,
.error-standalone .site-header {
    position: sticky;
}

@media (max-width: 920px) {
    .lang-switch.desktop-only {
        display: none;
    }
}

@media (min-width: 921px) {
    .lang-switch.mobile-only {
        display: none;
    }
}

.mobile-lang {
    padding-top: 4px;
    display: flex;
    gap: 10px;
}

.mobile-lang a {
    color: #fff;
    font-weight: 700;
}


.header-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.header-lang a,
.header-lang span {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

.header-lang a:hover,
.header-lang .active {
    color: #fff;
}

.header-lang .active {
    cursor: default;
}

.header-lang .sep,
.mobile-lang .sep {
    opacity: .4;
}

.mobile-lang {
    padding-top: 4px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.mobile-lang a,
.mobile-lang span {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.mobile-lang .active {
    opacity: 1;
}

.lang-switch {
    display: none;
}