.platform-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    margin: 0 12px;
    border: 1px solid rgba(139, 151, 178, .28);
    border-radius: 10px;
    background: rgba(18, 24, 39, .72);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
}

.platform-language-switcher button {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 7px;
    color: #9aa5bd;
    background: transparent;
    font: 600 12px/30px "Open Sans", "Inter", Arial, sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.platform-language-switcher button:hover {
    color: #fff;
    background: rgba(92, 99, 255, .18);
}

.platform-language-switcher button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #6854dc, #3698e6);
    box-shadow: 0 3px 10px rgba(65, 105, 225, .32);
}

body.app-default .platform-language-switcher {
    background: var(--bs-app-header-base-bg-color, #fff);
    border-color: var(--bs-gray-300, #e1e3ea);
    box-shadow: 0 4px 14px rgba(30, 33, 45, .08);
}

body.app-default .platform-language-switcher button {
    color: var(--bs-gray-600, #7e8299);
}

body.app-default .platform-language-switcher button.is-active,
body.app-default .platform-language-switcher button:hover {
    color: #fff;
}

.platform-language-switcher.is-floating {
    position: fixed;
    top: 18px;
    right: 20px;
    margin: 0;
}

.header__btn-box > .platform-language-switcher {
    flex-shrink: 0;
    margin: 0 14px 0 0;
}

@media (max-width: 1050px) {
    .header__btn-box > .platform-language-switcher {
        margin: 0;
    }
}

@media (max-width: 1100px) {
    .header__right > .platform-language-switcher {
        margin-left: auto;
        margin-right: 8px;
    }
}

@media (max-width: 640px) {
    .platform-language-switcher {
        margin: 0 6px;
    }

    .platform-language-switcher button {
        min-width: 31px;
        height: 28px;
        padding: 0 6px;
        line-height: 28px;
    }

    .platform-language-switcher.is-floating {
        top: 10px;
        right: 10px;
    }
}
