/* Agoogi lightweight reactions */
.agoogi-reactions {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid rgba(203,213,225,.86);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(34,211,238,.08), transparent 30%),
        linear-gradient(155deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
    box-shadow: 0 10px 30px rgba(15,23,42,.045);
}

.agoogi-reactions-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.agoogi-reactions-heading > div {
    min-width: 0;
}

.agoogi-reactions-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #0284c7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agoogi-reactions-heading strong {
    color: #0f172a;
    font-size: 14px;
}

.agoogi-reactions-total {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.agoogi-reactions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agoogi-reaction {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 6px 9px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    color: #334155;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.agoogi-reaction:hover {
    transform: translateY(-1px);
    border-color: rgba(14,165,233,.42);
    background: #f0f9ff;
}

.agoogi-reaction.is-selected {
    border-color: rgba(2,132,199,.52);
    background: linear-gradient(135deg, #e0f2fe, #ecfeff);
    color: #075985;
    box-shadow: 0 5px 16px rgba(2,132,199,.10);
}

.agoogi-reaction:disabled {
    opacity: .62;
    cursor: wait;
    transform: none;
}

.agoogi-reaction-emoji {
    font-size: 18px;
    line-height: 1;
}

.agoogi-reaction-count {
    min-width: 18px;
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(15,23,42,.07);
    text-align: center;
    font-size: 10px;
}

.agoogi-reactions-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 11px;
    color: #64748b;
}

.agoogi-reactions-footer small {
    line-height: 1.35;
}

.agoogi-reactions-footer a {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
}

.agoogi-reactions-status {
    min-height: 0;
    margin: 8px 0 0;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
}

.agoogi-reactions-status:empty {
    display: none;
}

@media (max-width: 520px) {
    .agoogi-reactions {
        padding: 13px;
        border-radius: 16px;
    }

    .agoogi-reactions-heading,
    .agoogi-reactions-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .agoogi-reactions-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .agoogi-reaction {
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        border-radius: 13px;
    }

    .agoogi-reaction-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agoogi-reaction-count {
        margin-left: auto;
    }
}

@media (max-width: 340px) {
    .agoogi-reactions-list {
        grid-template-columns: 1fr;
    }
}
