/* Mobile bottom navigation */
.site-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(168, 85, 247, 0.35);
    backdrop-filter: blur(12px);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
.site-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    max-width: 520px;
    margin: 0 auto;
}
.site-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 12px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 600;
    transition: color 0.15s, background 0.15s;
}
.site-bottom-nav a .icon { font-size: 1.15rem; line-height: 1; }
.site-bottom-nav a.active {
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.18);
}
.site-bottom-nav a.submit-cta { color: #fbcfe8; }
.site-bottom-nav a.submit-cta.active {
    background: rgba(236, 72, 153, 0.2);
    color: #fce7f3;
}

.live-stream-banner {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.35), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(248, 113, 113, 0.45);
    border-left: 4px solid #ef4444;
    border-radius: 1rem;
    padding: 14px 16px;
    margin-bottom: 1.5rem;
    animation: liveBannerPulse 2s ease-in-out infinite;
}
.live-stream-banner.hidden { display: none; }
@keyframes liveBannerPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
    50% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.25); }
}
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    margin-right: 6px;
    animation: liveDotBlink 1.2s ease-in-out infinite;
}
@keyframes liveDotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.feed-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.feed-filters label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 2px;
}
.feed-filters select {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.6);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #e2e8f0;
    min-width: 120px;
}

@media (max-width: 767px) {
    .site-bottom-nav { display: block; }
    body.site-has-bottom-nav {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    body.site-has-bottom-nav #globalRecoMiniPlayer.show {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    body.site-has-bottom-nav .mobile-queue-btn {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}
