/* Ensure display-none overrides previous class rules but not inline styles */
.display-none {
    display: none;
}

.chat-emote {
    height: 1.5em;
    vertical-align: middle;
    margin: 0 2px;
}

.chat-gif {
    max-width: 200px;
    max-height: 200px;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 4px;
}

.chat-feed.alternating-rows .chat-message.msg-alt {
    background-color: var(--chat-bg-alt, rgba(255, 255, 255, 0.03));
}

.chat-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4);
    z-index: 100;
    animation: bounce 2s infinite;
    user-select: none;
    transition: background-color 0.2s;
}

.chat-scroll-indicator:hover {
    background: var(--accent-hover);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -6px); }
    60% { transform: translate(-50%, -3px); }
}