.redi-greeting {
    position: fixed;
    bottom: 28px;
    right: 100px;
    z-index: 999998;
    max-width: 240px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 36px 14px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform-origin: right center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

.redi-greeting.redi-is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
}

.redi-greeting.redi-is-flying-out {
    opacity: 0 !important;
    transform: translateX(110px) scale(0.3) !important;
    pointer-events: none !important;
    transition:
        opacity 0.5s ease-in,
        transform 0.55s cubic-bezier(0.5, -0.15, 0.85, 0.4),
        visibility 0s linear 0.55s !important;
}

.redi-greeting p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.4;
    color: #222;
}

.redi-greeting p + p {
    margin-top: 2px;
}

.redi-greeting .redi-brand {
    color: #c8312a;
    font-weight: 700;
}

.redi-greeting-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
    z-index: 2;
}

.redi-greeting-close:hover {
    background: #f3f3f3;
    color: #444;
}

.redi-greeting::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #ffffff;
    box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.04);
}

@media (max-width: 480px) {
    .redi-greeting {
        bottom: 24px;
        right: 90px;
        max-width: 180px;
        padding: 12px 30px 12px 14px;
    }

    .redi-greeting p {
        font-size: 13.5px;
    }
}
