.auth-lang-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 3px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.45);
}

.auth-lang-toggle button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667085;
    min-width: 42px;
    min-height: 28px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.auth-lang-toggle button:hover {
    color: #0071e3;
}

.auth-lang-toggle button.is-active {
    background: #0071e3;
    color: #ffffff;
    box-shadow: 0 8px 18px -12px rgba(0, 113, 227, 0.65);
}

.auth-lang-toggle button:focus-visible {
    outline: 2px solid rgba(0, 113, 227, 0.36);
    outline-offset: 2px;
}

.modal-overlay:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#modalCloseBtn.auth-i18n-modal-label {
    font-size: 0;
}

#modalCloseBtn.auth-i18n-modal-label::after {
    content: attr(data-i18n-modal-label);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

html[lang="en"] h1 {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: 0;
}

html[lang="en"] .quick-link-stack {
    width: min(306px, 100%);
    min-width: 250px;
}

html[lang="en"] .quick-buy-shortcut,
html[lang="en"] .quick-blog-shortcut,
html[lang="en"] .quick-relay-shortcut {
    gap: 12px;
    padding: 13px 14px;
}

html[lang="en"] .quick-buy-copy span {
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 960px) {
    .auth-lang-toggle {
        order: -1;
    }

    html[lang="en"] .quick-link-stack {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .auth-lang-toggle {
        width: 100%;
        justify-content: stretch;
    }

    .auth-lang-toggle button {
        flex: 1 1 0;
    }

    html[lang="en"] h1 {
        font-size: 29px;
    }
}
