/* ===== ВИДЖЕТ ГОЛОСОВАНИЯ (👍/👎) ПОД НАЗВАНИЕМ ТРЕКА ===== */
.rs-vote-wrap {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    white-space: nowrap;
    z-index: 20;
    opacity: 1;
    transition: opacity .5s ease;
}

.rs-vote-wrap.rs-vote-hidden {
    opacity: 0;
    pointer-events: none;
}

.rs-vote-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 20px;
    padding: 4px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rs-vote-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    transition: color .2s, transform .15s, background-color .2s;
}

.rs-vote-btn svg {
    width: 13px;
    height: 13px;
    pointer-events: none;
}

.rs-vote-up:hover:not(:disabled) {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.14);
    transform: scale(1.12);
}

.rs-vote-down:hover:not(:disabled) {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.14);
    transform: scale(1.12);
}

.rs-vote-btn.rs-vote-active-up {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.16);
}

.rs-vote-btn.rs-vote-active-down {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.16);
}

.rs-vote-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.rs-vote-btn.rs-vote-pop {
    animation: rsVotePop 0.35s ease;
}

@keyframes rsVotePop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.rs-vote-score {
    font-size: 13px;
    font-weight: 800;
    min-width: 18px;
    text-align: center;
    font-family: -apple-system, 'Space Grotesk', sans-serif;
    transition: color 0.3s;
}

.rs-vote-score.positive {
    color: #4CAF50;
}

.rs-vote-score.negative {
    color: #ff6b6b;
}

.rs-vote-score.zero {
    color: rgba(255, 215, 0, 0.55);
}

@media (max-width: 480px) {
    .rs-vote-group {
        padding: 3px 10px;
        gap: 8px;
    }
    .rs-vote-btn {
        width: 18px;
        height: 18px;
    }
    .rs-vote-btn svg {
        width: 12px;
        height: 12px;
    }
    .rs-vote-score {
        font-size: 12px;
        min-width: 16px;
    }
}
