.splash {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 14px;

    width: calc(100% - 32px);
    max-width: 520px;

    padding: 16px 18px;

    transform: translateX(-50%);

    background: rgba(24, 24, 28, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;

    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2);

    color: #fff;

    animation: cookieSplashIn 0.35s ease-out;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.splash--hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
}

.splash__icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;

    font-size: 22px;
}

.splash__content {
    flex: 1;
}

.splash__title {
    margin-bottom: 4px;

    font-size: 15px;
    font-weight: 600;
}

.splash__text {
    color: rgba(255, 255, 255, 0.62);

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

.splash__close {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.55);

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

    cursor: pointer;

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

.splash__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@keyframes SplashIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 600px) {

    .splash {
        bottom: 16px;

        width: calc(100% - 24px);

        padding: 14px;
    }

    .splash__icon {
        width: 38px;
        height: 38px;

        font-size: 20px;
    }
}