.dribb-reacciones {
    --dribb-bg: rgba(22, 27, 42, 0.98);
    --dribb-border: rgba(255,255,255,0.08);
    --dribb-text: #eef2ff;
    --dribb-muted: rgba(238,242,255,0.72);
    --dribb-accent: #6757d6;
    --dribb-shadow: 0 12px 35px rgba(0,0,0,0.25);

    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 14px;
    vertical-align: middle;
}

.activity-options .dribb-reacciones,
.acomment-options .dribb-reacciones {
    order: -20;
}

/* Trigger principal */
.dribb-reacciones__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cfd3da;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .3px;
    text-transform: uppercase;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.dribb-reacciones__trigger:hover,
.dribb-reacciones__trigger:focus {
    background: transparent;
    border: 0;
    color: var(--dribb-text);
    box-shadow: none;
    outline: none;
}

.dribb-reacciones__trigger.is-reacted {
    background: transparent;
    color: #fff;
}

.dribb-reacciones__trigger-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    background: transparent;
    color: #d7dcef;
    transition: all .18s ease;
}

.dribb-reacciones__trigger-circle i {
    font-size: 0.9rem;
    opacity: 1;
    line-height: 1;
}

.dribb-reacciones__trigger-emoji {
    font-size: 18px;
    transform: translateY(0px);
}

.dribb-reacciones__trigger-label {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    line-height: 1;
    margin-top: -1px;
}

.dribb-reacciones__trigger:hover .dribb-reacciones__trigger-circle,
.dribb-reacciones__trigger:focus .dribb-reacciones__trigger-circle {
    border-color: #6757d6;
    color: #6757d6;
    background: transparent;
}

.dribb-reacciones__trigger.is-reacted .dribb-reacciones__trigger-circle {
    border-color: rgba(103, 87, 214, 0.55);
    background: rgba(103, 87, 214, 0.12);
    color: #ffffff;
}

/* Picker */
.dribb-reacciones__picker {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--dribb-border);
    border-radius: 999px;
    background: var(--dribb-bg);
    box-shadow: var(--dribb-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.94);
    transform-origin: left bottom;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 40;
    white-space: nowrap;
}

.dribb-reacciones.is-open .dribb-reacciones__picker {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Opciones de reacción */
.dribb-reacciones__option {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .16s ease;
}

.dribb-reacciones__option:hover,
.dribb-reacciones__option:focus {
    transform: translateY(-8px) scale(1.16);
    outline: none;
}

.dribb-reacciones__option-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    transition: transform .16s ease;
}

.dribb-reacciones__option.is-selected .dribb-reacciones__option-emoji {
    box-shadow: 0 0 0 2px rgba(103,87,214,0.45);
}

.dribb-reacciones__option-text {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity .14s ease;
}

.dribb-reacciones__option:hover .dribb-reacciones__option-text,
.dribb-reacciones__option:focus .dribb-reacciones__option-text {
    opacity: 1;
}

/* Resumen */
.dribb-reacciones__summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    margin-top: -2.1px;
    color: #cfd3da;
    font-size: .8rem;
    font-weight: 400;
}

.dribb-reacciones__summary.is-empty {
    opacity: .8;
}

.dribb-reacciones__summary-empty {
    font-size: 12px;
    font-weight: 600;
}

.dribb-reacciones__summary-icons {
    display: inline-flex;
    align-items: center;
}

.dribb-reacciones__summary-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -4px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    background: #1b2133;
    font-size: 14px;
}

.dribb-reacciones__summary-icon:first-child {
    margin-left: 0;
}

/* Estados */
.dribb-reacciones.is-loading .dribb-reacciones__trigger {
    opacity: .72;
    pointer-events: none;
}

.dribb-reacciones.is-burst .dribb-reacciones__trigger-emoji {
    animation: dribb-burst .36s ease;
}

@keyframes dribb-burst {
    0% { transform: scale(1); }
    45% { transform: scale(1.45) rotate(-8deg); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 782px) {
    .dribb-reacciones__trigger-label,
    .dribb-reacciones__summary-empty {
        display: none;
    }

    .dribb-reacciones__picker {
        gap: 6px;
        padding: 8px;
        max-width: calc(100vw - 24px);
        overflow-x: auto;
    }

    .dribb-reacciones__option {
        width: 38px;
        min-height: 38px;
    }
}