/* ==========================================
   LunarStar Offline Banner
   Fixed top, auto-hide on reconnect.
========================================== */

.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 120, 120, 0.08);
    border-bottom: 1px solid rgba(255, 120, 120, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    animation: offline-slide-in 0.35s var(--ease-standard);
    letter-spacing: 0.02em;
}

@keyframes offline-slide-in {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

.offline-banner.hidden {
    animation: offline-slide-out 0.35s var(--ease-standard) forwards;
}

@keyframes offline-slide-out {
    to { transform: translateY(-100%); }
}
