.reaction-wrapper {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.reaction-btn {
    font-size: 1.5rem;
    padding: 5px 10px;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.reaction-btn:hover {
    transform: scale(1.3);
    animation: bounce 0.5s infinite;
}

.reaction-btn.active {
    animation: pop 0.5s ease;
}

.reaction-count {
    font-size: 0.9rem;
    color: #666;
    margin-left: 4px;
    min-width: 20px;
    display: inline-block;
}

@keyframes bounce {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.4); }
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.reaction-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s;
}

.reaction-btn:active::before {
    transform: scale(1);
}
