.wn-language-suggestion {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9998;

     width: min(390px, calc(100vw - 40px));

    display: flex;
    gap: 16px;

    padding: 21px 21px 20px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(18, 31, 53, 0.98),
            rgba(8, 17, 31, 0.99)
        );

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    animation: wn-language-in 0.35s ease both;
}

.wn-language-suggestion[hidden] {
    display: none;
}


.wn-language-suggestion-mark {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #278cff,
            #1263dc
        );

    box-shadow:
        0 10px 30px rgba(31, 124, 255, 0.25);
}


.wn-language-suggestion-content {
    min-width: 0;
    padding-right: 10px;
}


.wn-language-suggestion-title {
    display: block;

    margin: 1px 28px 8px 0;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;

    color: #fff;
}


.wn-language-suggestion p {
    margin: 0 0 15px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
    line-height: 1.55;
}


.wn-language-suggestion-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}


.wn-language-suggestion-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 42px;

    padding: 0 16px;

    border-radius: 10px;

    background: #fff;
    color: #0b1729;

    font-size: 13px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.wn-language-suggestion-primary:hover {
    transform: translateY(-1px);

    box-shadow:
        0 9px 24px rgba(0, 0, 0, 0.22);

    color: #0b1729;
}


.wn-language-suggestion-secondary {
    appearance: none;

    padding: 0;

    border: 0;
    background: none;

    color: rgba(255, 255, 255, 0.67);

    font: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: color 0.2s ease;
}


.wn-language-suggestion-secondary:hover {
    color: #fff;
}


.wn-language-suggestion-close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: rgba(255, 255, 255, 0.52);

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.wn-language-suggestion-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}


@keyframes wn-language-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 760px) {

    .wn-language-suggestion {
        right: 16px;
        bottom: 16px;

        width: calc(100vw - 32px);

        gap: 14px;

        padding: 20px 18px 19px;

        border-radius: 16px;
    }

    .wn-language-suggestion-mark {
        flex-basis: 40px;

        width: 40px;
        height: 40px;

        border-radius: 10px;
    }

    .wn-language-suggestion-title {
        font-size: 16px;
    }

    .wn-language-suggestion p {
        font-size: 13px;
    }

    .wn-language-suggestion-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .wn-language-suggestion-primary {
        justify-content: center;

        width: 100%;
    }

}