/* 18livefun pixel-level alignment overrides */

/* Global resets */
*, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Card hover on desktop */
@media (hover: hover) {
    .group:hover img {
        filter: brightness(1.1);
    }
}

/* Hide scrollbar in chat */
#chat-messages::-webkit-scrollbar { display: none; }
#chat-messages { -ms-overflow-style: none; scrollbar-width: none; }

/* RTL overrides — video should NOT flip */
[dir="rtl"] #live-video,
[dir="rtl"] .aspect-video video {
    transform: none !important;
}

/* Player fullscreen fix */
#video-container:-webkit-full-screen { width: 100%; height: 100%; }
#video-container:fullscreen { width: 100%; height: 100%; }

/* Smooth transitions for nav */
nav a { transition: color 0.15s ease; }

/* Card rounded corners matching 18livefun (~8px) */
.rounded-lg { border-radius: 8px; }

/* LIVE badge pulse animation */
@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
.bg-red-600 { animation: live-pulse 2s ease-in-out infinite; }
