/* ============================================
   LIVE-STREAMS.CSS - Cleaned & Fixed
   ============================================ */

/* ============================================
   LIVE COUNT BADGE - Now the indicator
   ============================================ */

.badge-live,
#liveCountBadge {
    background: rgba(232, 93, 117, 0.15);
    color: #e85d75;
    border: 1px solid rgba(232, 93, 117, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    margin-right: 10px;  /* Space before "Live Now" */
    vertical-align: middle;
    backdrop-filter: blur(4px);
    /* Optional: subtle pulse on the badge itself */
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(232, 93, 117, 0.2);
    }
    50% { 
        box-shadow: 0 0 0 4px rgba(232, 93, 117, 0);
    }
}

/* ============================================
   LIVE COUNT BADGE - DJs (Darker Red)
   ============================================ */

.badge-live--djs {
    background: #c4455f !important;  /* Darker rose */
    color: white !important;
    border: none !important;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(196, 69, 95, 0.3);
    animation: pulseRed 2s ease-in-out infinite;
}

/* ============================================
   LIVE COUNT BADGE - Venues (Darker Green)
   ============================================ */

.badge-live--venues {
    background: #15803d !important;  /* Darker forest green */
    color: white !important;
    border: none !important;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
    animation: pulseGreen 2s ease-in-out infinite;
}

/* Pulse animations - updated to match darker colors */
@keyframes pulseRed {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 69, 95, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(196, 69, 95, 0); }
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(21, 128, 61, 0); }
}

/* ============================================
   LIVE STREAM CARDS
   ============================================ */

.live-streams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1800px;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .live-streams-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .live-streams-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .live-streams-grid { grid-template-columns: 1fr; }
}

/* Favorite button */
.btn-favorite-card {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-favorite-card:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: var(--warning);
}

.btn-favorite-card.active {
    background: rgba(245, 158, 11, 0.3);
    border-color: var(--warning);
    color: #fbbf24;
}

/* Stream card */
.live-stream-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.live-stream-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stream-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.stream-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.live-stream-card:hover .stream-thumbnail img {
    transform: scale(1.05);
}

.stream-viewer-count {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
}

.stream-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    flex: 1;
}

.stream-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.dj-avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 13px;
    flex-shrink: 0;
    cursor: pointer;
}

.stream-dj-name {
    flex: 1;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Social links */
.stream-socials-inline {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.stream-social-icon-small {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.stream-social-icon-small:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

/* Venue bar */
.stream-venue-bar {
    background: var(--bg-secondary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-top: auto;
}

.stream-venue-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-copy-li-inline {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-copy-li-inline:hover {
    background: var(--secondary-hover);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .btn-copy-li-inline {
        width: 44px;
        height: 44px;
    }
}

.stream-title {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: var(--space-xs);
}

/* ============================================
   CONTROLS
   ============================================ */

.live-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.content-toggle-group {
    display: flex;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-bg);
}

.content-toggle {
    background: var(--card-bg);
    border: none;
    border-right: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.content-toggle:last-child { border-right: none; }
.content-toggle:hover { background: var(--bg-secondary); color: var(--text-primary); }
.content-toggle.active { background: var(--secondary) !important; color: white !important; }

.view-toggle-group {
    display: flex;
    gap: var(--space-xs);
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}

.view-toggle {
    background: transparent;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.view-toggle:hover { color: var(--text-primary); }
.view-toggle.active { background: var(--secondary) !important; color: white !important; box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); }

.live-content { margin-top: var(--space-lg); }

/* ============================================
   HEADER REDESIGN
   ============================================ */

.live-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.live-view-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-tertiary);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover { color: var(--text-primary); background: var(--bg-secondary); }
.view-toggle-btn.active { background: var(--secondary) !important; color: white !important; font-weight: 700 !important; }

.btn-filters-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-filters-toggle:hover { background: var(--bg-secondary); color: var(--text-primary); }
.btn-filters-toggle.active { background: var(--accent-primary); color: white; border-color: var(--accent-primary); }

.live-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
    border: 1px solid var(--border-color);
}

#liveContentFilterGroup { display: block; }

/* ============================================
   OPEN VENUE CARDS
   ============================================ */

.open-venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-lg);
}

.open-venue-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    border-left: 4px solid #F2C16D;
}

.open-venue-card:hover {
    border-color: #F2C16D;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.open-venue-card .btn-favorite-card {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.open-venue-card .btn-favorite-card:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: var(--warning);
}

.open-venue-card .btn-favorite-card.active {
    background: rgba(245, 158, 11, 0.3);
    border-color: var(--warning);
    color: #fbbf24;
}

.open-venue-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-right: 50px;
}

.venue-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    border: 2px solid #F2C16D;
}

.venue-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venue-logo--default {
    background: linear-gradient(135deg, #F2C16D 0%, #d97706 100%);
    color: white;
}

.venue-info { flex: 1; min-width: 0; }

.venue-info .venue-name {
    font-size: 20px;
    font-weight: 700;
    color: #F2C16D;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.venue-address-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: var(--space-xs);
    cursor: pointer;
    transition: all 0.2s ease;
}

.venue-address-row:hover { background: var(--border-color); }

.venue-address {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
    min-width: 0;
}

.venue-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.venue-open-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-djs-section {
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.live-dj-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
    cursor: pointer;
}

.live-dj-row:hover { background: var(--border-color); }

.live-dj-row .dj-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.live-dj-row .dj-info { flex: 1; min-width: 0; }

.live-dj-row .dj-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.live-dj-row .dj-genres {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-copy-li-venue {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
}

.btn-copy-li-venue:hover {
    background: var(--secondary-hover);
    transform: scale(1.1);
}

.live-dj-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-count {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
}

.dj-avatar--xs {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

/* ============================================
   TWITCH EMBED - COLLAPSIBLE
   ============================================ */

.embed-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* PiP Mode */
.embed-pip {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 220px;
    z-index: 9999;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.embed-pip .embed-pip-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.embed-pip .embed-expanded-content {
    display: none;
}

.embed-pip-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.embed-pip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: move;
    flex-shrink: 0;
}

.embed-pip-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    flex: 1;
}

.embed-pip-info .embed-live-badge {
    color: #ef4444;
    font-size: 10px;
    flex-shrink: 0;
}

.embed-pip-name {
    color: white;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embed-pip-viewers {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    flex-shrink: 0;
}

.embed-pip-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.embed-pip-actions button {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embed-pip-actions button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.embed-pip-player {
    flex: 1;
    min-height: 0;
    background: #000;
    position: relative;
}

.embed-pip-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Expanded - Static above live cards (V1 style) */
.embed-expanded {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto var(--space-lg) auto;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.embed-expanded-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.embed-pip .embed-expanded-content { display: none; }
.embed-expanded .embed-pip-content { display: none; }

.embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.embed-header-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.embed-dj-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.embed-dj-avatar--initials {
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.embed-dj-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    flex-shrink: 0;
}

.embed-viewers {
    color: var(--text-secondary);
    font-size: 13px;
    flex-shrink: 0;
}

.embed-divider {
    color: var(--border-color);
    font-size: 13px;
    flex-shrink: 0;
}

.embed-venue-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.embed-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.embed-actions .embed-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
}

.embed-actions .embed-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Active state — green means "this feature is ON" */
.embed-actions .embed-btn.active {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.45) !important;
    color: #22c55e !important;
}

/* Close button — red on hover */
.embed-actions .embed-btn--close:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}


.embed-player-wrapper {
    flex: 1;
    min-height: 0;
    background: #000;
    position: relative;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.embed-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-height: 900px) {
    .embed-expanded {
        height: 85vh;
        max-height: none;
    }
}

@media (max-width: 1500px) {
    .embed-expanded {
        width: 95vw;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .embed-expanded {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        max-width: none;
        max-height: none;
    }
    
    .embed-pip {
        width: 280px;
        height: 200px;
        bottom: 10px;
        right: 10px;
    }
    
    .live-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .live-streams-grid,
    .open-venues-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CLUB HOPPING PANEL
   ============================================ */

.club-hop-panel {
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--secondary);
    padding: 16px;
    color: white;
}

.club-hop-panel--pip {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    border-radius: 8px 8px 0 0;
    border-top: none;
    border-bottom: 2px solid var(--secondary);
}

.club-hop-panel--expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    border-top: none;
    border-bottom: 2px solid var(--secondary);
    max-height: 60%;
    overflow-y: auto;
}

.club-hop-content h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
}

.club-hop-djs-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.club-hop-dj {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}

.club-hop-dj:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.club-hop-dj--current { border-left: 3px solid var(--success); }
.club-hop-dj--next { border-left: 3px solid var(--secondary); }

.club-hop-dj .label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 6px;
}

.club-hop-dj-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.club-hop-dj-header .label {
    margin-bottom: 0;
}

.btn-reveal-next-dj {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    line-height: 1;
    border-radius: 3px;
    transition: color 0.15s ease;
}

.btn-reveal-next-dj:hover {
    color: rgba(255, 255, 255, 0.9);
}

.btn-reveal-next-dj--active {
    color: rgba(255, 255, 255, 0.75);
}

.club-hop-dj--hidden {
    cursor: default !important;
}

.club-hop-dj--hidden:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.dj-avatar-mystery {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.dj-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-mini img,
.dj-mini .initials {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.dj-mini .dj-name {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dj-mini .dj-venue {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: auto;
    white-space: nowrap;
}

.club-hop-timer-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    min-width: 80px;
}

.club-hop-timer-compact .label {
    font-size: 9px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.club-hop-timer-compact .timer {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.club-hop-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.club-hop-progress-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 2px;
    transition: width 1s linear, background 0.5s ease;
    width: 100%;
}

/* 5-minute warning: amber */
.club-hop-timer--warning {
    color: #f59e0b !important;
}
.club-hop-progress-fill--warning {
    background: #f59e0b !important;
}

/* 1-minute urgent: red + pulse */
.club-hop-timer--urgent {
    color: #ef4444 !important;
    animation: hop-pulse 1s ease-in-out infinite;
}
.club-hop-progress-fill--urgent {
    background: #ef4444 !important;
}

@keyframes hop-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

.label-interval {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 0.4px;
}

.club-hop-actions-compact {
    display: flex;
    gap: 8px;
}

.club-hop-actions-compact .btn-hop-now,
.club-hop-actions-compact .btn-stop {
    flex: 1;
    padding: 10px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.club-hop-actions-compact .btn-hop-now {
    background: var(--success);
    color: white;
}

.club-hop-actions-compact .btn-hop-now:hover { background: #22c55e; }

.club-hop-actions-compact .btn-stop {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.club-hop-actions-compact .btn-stop:hover {
    background: rgba(239, 68, 68, 0.3);
}

.watch-party-hop-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 4px 0 0;
    font-style: italic;
}

.interval-buttons-compact {
    display: flex;
    gap: 8px;
}

.interval-buttons-compact .btn-interval {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.interval-buttons-compact .btn-interval:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ============================================
   FORCE VISIBLE - DEBUG
   ============================================ */

.embed-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.embed-expanded {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto var(--space-lg) auto;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    background: #000;
}

.embed-expanded-content {
    display: flex !important;
}

.embed-expanded .embed-expanded-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.embed-expanded .embed-pip-content {
    display: none;
}



/* ============================================
   EMBED MAIN CONTENT - Player + DJ Card
   ============================================ */

.embed-main-content {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 0;
    position: relative;
}

.embed-player-wrapper {
    flex: 1;
    min-height: 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.embed-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Favorite button (positioned like live cards) */
.embed-dj-card .btn-favorite-card {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    min-width: 40px; /* Prevent stretching */
    min-height: 40px; /* Prevent stretching */
    padding: 0; /* Remove padding that causes oval */
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    line-height: 1; /* Center the star vertically */
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    aspect-ratio: 1 / 1; /* Force square aspect ratio */
}

.embed-dj-card .btn-favorite-card:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: var(--warning);
}

.embed-dj-card .btn-favorite-card.active {
    background: rgba(245, 158, 11, 0.3);
    border-color: var(--warning);
    color: #fbbf24;
}

/* DJ Info Card */
.embed-dj-card {
    width: 320px;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    overflow-y: auto;
    position: relative;
}

.embed-dj-card-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 32px;
    height: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.embed-dj-card-close:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

/* DJ Card Header */
.embed-dj-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-right: 50px; /* Space for favorite button */
}

.embed-dj-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    flex-shrink: 0;
}

.embed-dj-card-avatar--initials {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.embed-dj-card-info {
    flex: 1;
    min-width: 0;
}

.embed-dj-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embed-live-badge {
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Stream Title - Matching Live Cards */
.embed-dj-title {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: var(--space-xs) 0;
}

.embed-header-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

/* Venue Section - Matching Live Cards */
.embed-dj-venue-section {
    background: var(--bg-secondary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    margin-top: auto;
}

.embed-dj-venue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: 4px;
}

.embed-dj-venue-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.embed-dj-venue-section .btn-copy-li-inline {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.embed-dj-venue-section .btn-copy-li-inline:hover {
    background: var(--secondary-hover);
    transform: scale(1.1);
}

.embed-dj-venue-address {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: monospace;
}


/* Social Links - Matching Live Cards */
.embed-dj-socials {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: var(--space-xs) 0;
}

.embed-dj-social-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.embed-dj-social-btn:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

/* Socials bar in embed card */
.embed-socials-bar {
    margin: var(--space-xs) 0;
}


.embed-viewer-count {
    color: var(--text-secondary);
    font-size: 13px;
}

.embed-streaming-now {
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
}

/* Social Links */
.embed-dj-card-socials {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.embed-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.embed-social-btn:hover {
    transform: translateY(-2px);
    background: var(--card-bg-hover);
    border-color: var(--secondary);
}

.embed-social-icon {
    font-size: 18px;
}

/* Card Sections */
.embed-dj-card-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.embed-dj-card-title {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.embed-dj-card-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.embed-viewer-count {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Venue bar in embed card */
.embed-venue-bar {
  /*  margin-top: auto; */
    background: var(--bg-secondary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.embed-venue-bar .stream-venue-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
    min-width: 0;
}

.embed-venue-bar .stream-venue-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.embed-venue-bar .stream-venue-address {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: monospace;
}

.embed-btn-copy-li {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.embed-btn-copy-li:hover {
    background: var(--secondary-hover);
    transform: translateY(-1px);
}

.embed-btn-copy-li::before {
    content: '🏠';
}

/* Responsive */
@media (max-width: 1200px) {
    .embed-dj-card {
        width: 280px;
    }
}

@media (max-width: 900px) {
    .embed-main-content {
        flex-direction: column;
    }
    
    .embed-dj-card {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color);
        max-height: 300px;
    }
}

/* Hide DJ card in PiP mode */
.embed-pip .embed-dj-card {
    display: none;
}

.embed-pip .embed-main-content {
    display: block;
}

.embed-pip .embed-player-wrapper {
    height: 100%;
}

/* Raid Notification */
.raid-notification {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #9146ff 0%, #772ce8 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(145, 71, 255, 0.4);
    z-index: 100000;
    animation: slideDown 0.3s ease;
    min-width: 300px;
    max-width: 90%;
}

.raid-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.raid-icon {
    font-size: 24px;
    animation: pulse 1s infinite;
}

.raid-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.raid-viewers {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

.btn-dismiss {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Primary Social Button - Compact Embed Version */
.card-social-links.primary-layout {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}

.btn-primary-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--secondary);
    color: var(--bg-primary);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    width: auto;  /* Don't stretch full width */
    align-self: flex-start;  /* Align left instead of center */
}

.btn-primary-social:hover {
    background: var(--secondary-hover);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

.btn-primary-social i {
    font-size: 14px;
}

.secondary-socials {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Make secondary icons smaller */
.secondary-socials .stream-social-icon-small {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

/* ============================================
   WATCH PARTY
   ============================================ */

.watch-party-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.club-hop-actions-compact .btn-pause-resume {
    flex: 1;
    padding: 10px;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.club-hop-actions-compact .btn-pause-resume:hover {
    background: rgba(245, 158, 11, 0.25);
}

/* Watch party button wrapper — needed to anchor the count badge */
.watch-party-btn-wrap {
    position: relative;
    display: inline-flex;
}

/* Viewer count badge overlaid on the button */
.watch-party-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #22c55e;
    color: #000;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    border-radius: 8px;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
}

/* Watch party avatar stack */
.watch-party-avatars {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    vertical-align: middle;
}

.watch-party-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--card-bg);
    object-fit: cover;
    margin-left: -6px;
    flex-shrink: 0;
}

.watch-party-avatars .watch-party-avatar:first-child {
    margin-left: 0;
}

/* Anon avatar — Rolladeck logo on a dark circle */
.watch-party-avatar--anon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    overflow: hidden;
}

.watch-party-avatar--anon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: 0.6;
}

/* Overflow count circle */
.watch-party-avatar--overflow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Watch party room name — clickable copy */
.watch-party-room {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(145, 71, 255, 0.15);
    border: 1px solid rgba(145, 71, 255, 0.35);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 4px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    letter-spacing: 0.02em;
    user-select: none;
}

.watch-party-room:hover {
    background: rgba(145, 71, 255, 0.28);
    border-color: rgba(145, 71, 255, 0.55);
}

/* ============================================
   POPOUT MODE — In-game window view
   ?watch=username&popout
   ============================================ */

body.popout-mode header,
body.popout-mode .search-container,
body.popout-mode .directory-section,
body.popout-mode #filtersPanel,
body.popout-mode #liveSection,
body.popout-mode .site-footer,
body.popout-mode #scrollToTop,
body.popout-mode .stream-chat-input-area,
body.popout-mode .chat-input-wrapper,
body.popout-mode .embed-controls,
body.popout-mode .btn-favorite-card  {
    display: none !important;
}

body.popout-mode {
    overflow: hidden;
}

body.popout-mode #twitchEmbedContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 1 !important;
}

body.popout-mode .embed-container {
    height: 100vh !important;
    border-radius: 0 !important;
}

body.popout-mode .embed-main-content {
    height: 100% !important;
}

/* Hide controls that don't make sense in a read-only window */
body.popout-mode .embed-btn--close,
body.popout-mode .embed-btn[title="Picture-in-Picture"],
body.popout-mode .club-hop-panel {
    display: none !important;
}

/* ── Rolladeck branding ── */
.popout-branding {
    display: none; /* hidden on normal embed */
}

body.popout-mode .popout-branding {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.popout-mode .popout-branding img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

body.popout-mode .popout-branding span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hidden on normal embed, shown in popout */
.popout-header-logo {
    display: none;
}
body.popout-mode .popout-header-logo {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    opacity: 0.7;
    vertical-align: middle;
}

/* ── Embed Share Dropdown ── */
.embed-share-wrapper {
    position: relative;
}

.embed-share-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    min-width: 220px;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.embed-share-dropdown.active {
    display: block;
}

.embed-share-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    text-align: left;
    white-space: nowrap;
}

.embed-share-dropdown button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.embed-share-dropdown button i {
    width: 14px;
    color: var(--text-secondary);
}

/* Hide share wrapper in popout mode (already have the link) */
body.popout-mode .embed-share-wrapper {
    display: none !important;
}

/* ============================================
   RENDERING HELPERS - replaces inline styles
   ============================================ */

/* View More button */
.view-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-lg);
}

.btn-view-more {
    padding: 12px 32px;
    font-size: 16px;
}

/* Stream thumbnail aspect ratio + fallback */
.stream-thumbnail-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

/* No-preview avatar fallback */
.stream-thumbnail-no-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.no-preview-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.no-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-preview-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: white;
}

.no-preview-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    opacity: 0.6;
}

/* Viewer count positioned at bottom of thumbnail */
.stream-viewer-count--bottom {
    top: auto;
    bottom: var(--space-sm);
}

/* Venue bar clickable cursor */
.venue-bar--clickable {
    cursor: pointer;
}

/* Stream venue info row */
.stream-venue-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

/* Venue icon elements */
.venue-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.venue-icon-pin {
    font-size: 18px;
    flex-shrink: 0;
}

.venue-info-text {
    min-width: 0;
}

/* Pin emoji icon */
.pin-icon {
    font-size: 16px;
}

/* Avatar image cover fill */
.avatar-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Genre tags with top spacing (stream card context) */
.genre-tags--stream {
    margin-top: 4px;
}

/* Live DJs section variants */
.live-djs-section--column {
    flex-direction: column;
    gap: var(--space-sm);
}

.live-djs-section--bordered {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
}

/* Non-interactive DJ row */
.live-dj-row--static {
    cursor: default;
}

/* Discord-branded avatar */
.dj-avatar--discord {
    background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
    flex-shrink: 0;
}

/* Discord brand color */
.text-discord {
    color: #5865F2;
}

/* Extra-small icon */
.icon-xs {
    font-size: 10px;
}

/* Section block with top spacing */
.section-block {
    margin-top: var(--space-xl);
}

/* Venue/DJ section heading */
.section-heading {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

/* Count pill badge (in section headings) */
.count-pill {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: var(--space-sm);
}

/* Discord icon fallback (shown when no event image) */
.icon-discord-fallback {
    color: white;
    font-size: 16px;
}
