/* banner.css – top-of-panel banners and pills */

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.banner-note {
    font-size: 12px;
    color: #777777;
    text-align: center;
    margin-bottom: 2px;
    line-height: 1.2;
}

.banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 24px 0;
}

/* Pills */

.banner-pill {
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

/* Live / offline states */

.banner-pill-live {
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background: #e02424;
    box-shadow: 0 0 12px rgba(224, 36, 36, 0.6);
    animation: banner-live-pulse 1.2s ease-in-out infinite;
}

.banner-pill-offline {
    font-size: 0.75rem;
    text-align: center;
    justify-content: center;
    color: #ffffff;
    background: #000000;
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
    font-weight: 500;
}

/* Dot */

.banner-pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

/* Passcode row */

.banner-passcode {
    margin-top: 6px;
    font-size: 14px;
    text-align: center;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* Animation */

@keyframes banner-live-pulse {
    0% {
        box-shadow: 0 0 6px rgba(224, 36, 36, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 18px rgba(255, 80, 80, 0.95);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 6px rgba(224, 36, 36, 0.5);
        transform: scale(1);
    }
}