/**
 * Mini subscriber testimonial toasts (landing, bottom-left).
 */
.mm-sub-toast {
    position: fixed;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 1400;
    width: min(18.5rem, calc(100vw - 5.5rem));
    pointer-events: none;
}

.mm-sub-toast[hidden] {
    display: none !important;
}

.mm-sub-toast__card {
    pointer-events: auto;
    position: relative;
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.7rem 1.85rem 0.7rem 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(15, 20, 32, 0.94), rgba(8, 10, 18, 0.96));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 12px 28px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-sub-toast__card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mm-sub-toast__avatar {
    flex: 0 0 auto;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, rgba(244, 125, 49, 0.85), rgba(59, 130, 246, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.mm-sub-toast__body {
    min-width: 0;
    flex: 1;
}

.mm-sub-toast__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
    margin-bottom: 0.2rem;
}

.mm-sub-toast__name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.mm-sub-toast__place {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
}

.mm-sub-toast__quote {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(226, 232, 240, 0.92);
}

.mm-sub-toast__card.is-activity .mm-sub-toast__quote {
    font-weight: 600;
    color: rgba(251, 191, 36, 0.95);
}

.mm-sub-toast__card.is-activity .mm-sub-toast__name {
    color: rgba(125, 211, 252, 0.95);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mm-sub-toast__close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 1.45rem;
    height: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(203, 213, 225, 0.95);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

.mm-sub-toast__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@media (max-width: 640px) {
    .mm-sub-toast {
        left: 0.55rem;
        bottom: 0.55rem;
        width: min(16.5rem, calc(100vw - 4.75rem));
    }

    .mm-sub-toast__card {
        padding: 0.6rem 1.7rem 0.6rem 0.6rem;
        border-radius: 12px;
    }

    .mm-sub-toast__quote {
        font-size: 0.68rem;
    }
}

/* Keep above shader; sit clear of chatbot on the right */
@media (max-width: 420px) {
    .mm-sub-toast {
        bottom: 5.5rem;
    }
}
