/* ===== REACTIONS BAR (Facebook style) ===== */
.cps-reactions-bar {
    margin: 28px 0 20px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e4e6eb;
    border-radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.cps-rx-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 12px;
    min-height: 24px;
}

.cps-rx-emojis-stack {
    display: flex;
    align-items: center;
}
.cps-rx-stack-emoji {
    font-size: 18px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    margin-left: -6px;
}
.cps-rx-stack-emoji:first-child { margin-left: 0; }

.cps-rx-total {
    font-size: 14px;
    color: #65676b;
    font-weight: 500;
}

/* ===== BUTTONS ROW ===== */
.cps-rx-buttons {
    display: flex;
    gap: 8px;
    align-items: stretch;
    position: relative;
}

.cps-rx-main-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #65676b;
    transition: background .15s;
    position: relative;
}
.cps-rx-main-btn:hover { background: #f0f2f5; }

.cps-rx-main-btn.cps-rx-selected .cps-rx-btn-label { font-weight: 700; }

.cps-rx-btn-emoji { font-size: 20px; }
.cps-rx-btn-label { user-select: none; }

/* ===== PICKER (hover popup) ===== */
.cps-rx-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.05);
    padding: 6px 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.85);
    transform-origin: bottom left;
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 100;
}

.cps-rx-buttons:hover .cps-rx-picker,
.cps-rx-picker:hover,
.cps-rx-picker.cps-rx-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cps-rx-pick {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    font-size: 32px;
    transition: transform .15s;
    position: relative;
    line-height: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cps-rx-pick:hover {
    transform: scale(1.4) translateY(-8px);
}

.cps-rx-pick-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #050505;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    margin-bottom: 6px;
    transition: opacity .15s;
}
.cps-rx-pick:hover .cps-rx-pick-tooltip { opacity: 1; }

/* ===== SHARE BUTTON ===== */
.cps-rx-share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #65676b;
    transition: background .15s;
}
.cps-rx-share-btn:hover { background: #f0f2f5; }

/* ===== BREAKDOWN ===== */
.cps-rx-breakdown {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #f0f2f5;
    font-size: 13px;
    color: #65676b;
}
.cps-rx-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cps-rx-stat-emoji { font-size: 16px; }
.cps-rx-stat-count { font-weight: 600; }

/* ===== ANIMATION ===== */
@keyframes cps-rx-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.5); }
    100% { transform: scale(1); }
}
.cps-rx-main-btn.cps-rx-bouncing .cps-rx-btn-emoji {
    animation: cps-rx-bounce .4s ease;
}

/* Mobile */
@media (max-width: 600px) {
    .cps-reactions-bar { padding: 12px 14px; }
    .cps-rx-main-btn { padding: 8px 10px; font-size: 13px; }
    .cps-rx-share-btn { padding: 8px 10px; font-size: 13px; }
    .cps-rx-pick { width: 36px; height: 36px; font-size: 26px; }
    .cps-rx-breakdown { gap: 10px; font-size: 12px; }
}

/* ===== VERIFIED BADGE ===== */
.cps-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
    vertical-align: middle;
}

.cps-verified-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #2196f3, #0d6efd);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(33,150,243,.4);
}

.cps-verified-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 65%, #2196f3 67%, transparent 70%);
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: scale(1.1);
}

.cps-verified-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%) rotate(-45deg);
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.cps-verified-text {
    font-size: 11px;
    color: #2196f3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}
