.live-purchase-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99990;
    display: flex;
    align-items: flex-start;
    width: min(380px, calc(100vw - 32px));
    padding: 16px 42px 16px 16px;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #4f46e5;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(28px, 0, 0);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    pointer-events: none;
}

.live-purchase-toast[hidden] {
    display: none;
}

.live-purchase-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.live-purchase-toast__icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 11px;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.live-purchase-toast__body {
    min-width: 0;
}

.live-purchase-toast__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.live-purchase-toast__title {
    min-width: 0;
    color: #111827;
    font-size: 13px;
    line-height: 1.2;
}

.live-purchase-toast__title-row .live-purchase-toast__time {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

.live-purchase-toast__message {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.live-purchase-toast__time {
    display: inline;
    margin-left: 3px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
}

.live-purchase-toast__verified {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.2;
}

.live-purchase-toast__verified-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: #2563eb;
}

.live-purchase-toast__verified-check {
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.live-purchase-toast__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #9ca3af;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.live-purchase-toast__close:hover,
.live-purchase-toast__close:focus-visible {
    color: #374151;
    background: #f3f4f6;
    outline: none;
}

@media (max-width: 576px) {
    .live-purchase-toast {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }
}
