
.feedback-buttons-container {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 1001;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.05s ease;
}

.feedback-buttons-container.active {
    opacity: 1;
}

.feedback-buttons-container:not(.active) .feedback-button {
    cursor: not-allowed;
    opacity: 0.5;
    filter: grayscale(100%);
}

.feedback-buttons-container:not(.active) .feedback-button:hover {
    transform: none;
    opacity: 0.5;
    filter: grayscale(100%);
}

.feedback-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.05s ease, background 0.05s ease, box-shadow 0.05s ease, border-color 0.05s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 0;
}

.feedback-button.emoji-button {
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-button.emoji-button span {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.feedback-button svg {
    width: 26px;
    height: 26px;
}

.feedback-button img {
    width: 26px;
    height: 26px;
}

.feedback-button:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.feedback-button:active {
    transform: scale(0.95);
}

.feedback-button.disabled,
.feedback-button:disabled {
    cursor: not-allowed !important;
    filter: grayscale(100%) !important;
    opacity: 0.5 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.feedback-button.disabled:hover,
.feedback-button:disabled:hover {
    transform: none !important;
    background: rgba(0, 0, 0, 0.6) !important;
    filter: grayscale(100%) !important;
    opacity: 0.5 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.reaction-scoreboard {
    position: fixed;
    left: 10px;
    top: 34vh;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 50;
    opacity: 0.5;
    pointer-events: none;
}

.reaction-scoreboard.hidden {
    display: none;
}

.scoreboard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scoreboard-item img {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9));
}

.score-number {
    font-size: 10px;
    line-height: 1;
    color: #d1d5db;
    text-align: center;
    min-width: 32px;
    font-weight: 500;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7);
}

#heartFeedbackButton {
    color: #ff4444;
}

#heartFeedbackButton:hover {
    color: #ff6666;
    box-shadow: 0 4px 16px rgba(255, 68, 68, 0.4);
}

#middleFingerFeedbackButton {
    color: #ff6b6b;
}

#middleFingerFeedbackButton:hover {
    color: #ff8f8f;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

#particleContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.feedback-particle {
    position: absolute;
    pointer-events: none;
    transition: none;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout style paint;
}

.feedback-particle.heart {
    color: #ff6b9d;
}

.feedback-particle.middle-finger {
    color: #ff6b6b;
}

@keyframes particleFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(calc(0deg * var(--rotation-direction, 1))) scale(1);
        opacity: 1;
    }

    25% {
        transform: translate3d(var(--x-25, 0px), var(--y-25, 0px), 0) rotate(calc(90deg * var(--rotation-direction, 1))) scale(1.2);
        opacity: 0.95;
    }

    50% {
        transform: translate3d(var(--x-50, 0px), var(--y-50, 0px), 0) rotate(calc(180deg * var(--rotation-direction, 1))) scale(1.8);
        opacity: 0.8;
    }

    75% {
        transform: translate3d(var(--x-75, 0px), var(--y-75, 0px), 0) rotate(calc(270deg * var(--rotation-direction, 1))) scale(2.1);
        opacity: 0.3;
    }

    90% {
        transform: translate3d(var(--x-90, 0px), var(--y-90, 0px), 0) rotate(calc(324deg * var(--rotation-direction, 1))) scale(2.25);
        opacity: 0.2;
    }

    95% {
        transform: translate3d(var(--x-95, 0px), var(--y-95, 0px), 0) rotate(calc(342deg * var(--rotation-direction, 1))) scale(3.0);
        opacity: 0.1;
    }

    100% {
        transform: translate3d(var(--x-100, 0px), var(--y-100, 0px), 0) rotate(calc(360deg * var(--rotation-direction, 1))) scale(3.75);
        opacity: 0;
    }
}

.feedback-particle.animate {
    animation: particleFloat 1.5s ease-out forwards;
}

.feedback-particle.animate {
    animation: particleFloat 1.5s ease-out forwards;
}

.feedback-button-custom {
    position: relative;
}

.feedback-button-custom .custom-emoji-display {
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}

.feedback-button-custom .custom-emoji-display.empty {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2 !important;
    text-align: center;
    padding: 1px;
    font-weight: 400;
    max-width: 50px;
    width: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

