.tsr-reactions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Все кнопки по умолчанию тусклые */
.tsr-reactions button {
    opacity: 0.3; /* тусклые по умолчанию */
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.3s;
}

/* На ярких нажатых реакции */
.tsr-reactions button.user-reacted {
    opacity: 1 !important;       /* всегда яркие */
    font-weight: 600;             /* жирный */
}

/* При наведении на контейнер показываем все */
.tsr-reactions:hover button {
    opacity: 1; 
}


.tsr-btn {
    position: relative;
    background: #1f242b;
    border: none;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.tsr-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tsr-btn:active {
    transform: scale(0.9);
}

.tsr-btn.clicked::after {
    content: attr(data-emoji);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1);
    font-size: 22px;
    opacity: 1;
    animation: tsr-pop 0.6s forwards;
}

@keyframes tsr-pop {
    0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) translateY(-20px) scale(1.5); opacity: 0.8; }
    100% { transform: translateX(-50%) translateY(-40px) scale(0.8); opacity: 0; }
}

.tsr-btn span {
    display: inline-block;
    transition: transform 0.2s, color 0.2s;
     color: #a8afc2;
}

.tsr-btn.updated span {
    transform: scale(1.4);
    color: #8fb1ff;
}
