/* ── Connection Banner ─────────────────────────── */
.connection-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f04747;
    /* var(--red) fallback */
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    animation: bannerSlideDown 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

.connection-banner.hidden {
    display: none;
}

@keyframes bannerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}