#wb-live-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(17, 19, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px;
    box-sizing: border-box;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.3s ease;
}

#wb-live-banner.is-live-glow {
    box-shadow: 0 4px 25px rgba(34, 197, 94, 0.2), inset 0 -1px 0 rgba(34, 197, 94, 0.4);
}

body {
    padding-top: 52px !important;
}

body.admin-bar #wb-live-banner {
    top: 32px;
}

.wb-banner-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.wb-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wb-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wb-social-links a {
    display: flex;
    align-items: center;
    color: #a0a8b8 !important;
    background: transparent !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.wb-social-links a:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.wb-icon {
    width: 18px;
    height: 18px;
    fill: currentColor !important;
}

.wb-brand-name {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.4px;
    color: #ffffff;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 14px;
}

.wb-banner-middle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(26, 29, 36, 0.9);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.wb-status-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wb-status-icon {
    width: 18px;
    height: 18px;
    transition: fill 0.15s ease, filter 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.wb-status-item.status-scanning .wb-status-icon {
    fill: #4b5563 !important;
    opacity: 0.5;
    transform: scale(0.95);
}

.wb-status-item.flash-green .wb-status-icon {
    fill: #22c55e !important;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.9));
    transform: scale(1.2);
}

.wb-status-item.flash-red .wb-status-icon {
    fill: #ef4444 !important;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.9));
    transform: scale(1.2);
}

.wb-status-item.status-offline .wb-status-icon {
    fill: #ef4444 !important;
    opacity: 0.85;
    filter: none;
    transform: scale(1);
}

.wb-status-item.status-online .wb-status-icon {
    fill: #22c55e !important;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.7));
    animation: wb-pulse 2s infinite;
}

@keyframes wb-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.wb-status-label {
    display: inline-block;
    min-width: 72px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding-left: 10px;
    margin-left: 2px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.wb-status-label.scanning {
    color: #9ca3af;
    animation: wb-text-blink 1.2s infinite;
}

.wb-status-label.is-live {
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.wb-status-label.is-offline {
    color: #ef4444;
    opacity: 0.9;
}

.wb-viewer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.wb-viewer-icon {
    width: 13px;
    height: 13px;
    fill: #38bdf8;
}

.wb-countdown {
    font-family: 'Courier New', Courier, monospace, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #e5e7eb !important;
    background: linear-gradient(to bottom, #2d333b 0%, #1c2128 48%, #0d1117 52%, #161b22 100%) !important;
    border: 1px solid #30363d !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    margin-left: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.6) !important;
    position: relative !important;
    letter-spacing: 1.2px !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

.wb-countdown::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: #010409 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    pointer-events: none !important;
}

.wb-countdown.is-live {
    color: #ffffff !important;
    border-color: #2ea043 !important;
    background: linear-gradient(to bottom, #238636 0%, #196c2e 48%, #0d2215 52%, #11321d 100%) !important;
}

.wb-audio-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    padding: 2px !important;
    cursor: pointer !important;
    transition: transform 0.15s ease !important;
    margin-left: 2px !important;
}

.wb-audio-btn:hover {
    transform: scale(1.1);
}

.wb-audio-icon {
    width: 15px !important;
    height: 15px !important;
    fill: #6b7280 !important;
    transition: fill 0.2s ease !important;
}

.wb-audio-btn.muted .speaker-wave-1,
.wb-audio-btn.muted .speaker-mute {
    display: none !important;
}

.wb-audio-btn.active .speaker-mute {
    display: none !important;
}

.wb-audio-btn.active .wb-audio-icon {
    fill: #22c55e !important;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.6)) !important;
}

@keyframes wb-text-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.wb-banner-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

#wb-live-banner .wb-watch-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #22c55e !important;
    background-color: #22c55e !important;
    color: #111317 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    padding: 7px 14px !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 6px !important;
    transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

/* Multi-Platform Active Green Button + Marquee */
#wb-live-banner .wb-watch-btn.multi-live {
    background: #22c55e !important;
    background-color: #22c55e !important;
    color: #111317 !important;
    overflow: hidden !important;
    position: relative !important;
}

.wb-marquee-viewport {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 140px;
    position: relative;
    vertical-align: middle;
}

.wb-marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: wb-marquee-scroll 7s linear infinite;
}

.wb-marquee-track span {
    font-weight: 800;
    color: #111317 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    padding-right: 20px;
}

@keyframes wb-marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

#wb-live-banner .wb-watch-btn:hover,
#wb-live-banner .wb-watch-btn:focus {
    filter: brightness(1.1) !important;
    color: inherit !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

#wb-live-banner .wb-btn-icons-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

#wb-live-banner .wb-btn-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    display: block !important;
}

#wb-live-banner .wb-btn-text {
    color: #ffffff !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    body { padding-top: 86px !important; }
    body.admin-bar #wb-live-banner { top: 46px; }
    .wb-banner-container { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .wb-brand-name { font-size: 14px; }
}