/* Site-wide announcement bar — fixed so flex-centered auth pages stay intact */
.site-announce-banner {
    --site-banner-accent: #00ff9d;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    width: 100%;
    background: linear-gradient(
        90deg,
        #0a2a22 0%,
        #1a0a2a 50%,
        #0a1a2a 100%
    );
    border-bottom: 1px solid rgba(0, 255, 157, 0.45);
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.18);
    color: #e0f8ff;
    font-size: 0.875rem;
    line-height: 1.35;
}

/* Reserve space under fixed banner (auth flex pages, marketing, app) */
body.has-site-announce {
    padding-top: var(--site-banner-h, 2.75rem);
    box-sizing: border-box;
}

.site-announce-banner__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 0.85rem;
    flex-wrap: wrap;
    text-align: center;
}

.site-announce-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 157, 0.55);
    background: rgba(0, 255, 157, 0.12);
    color: #00ff9d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-announce-banner__text {
    color: rgba(224, 248, 255, 0.92);
}

.site-announce-banner__text strong {
    color: #fff;
    font-weight: 700;
}

.site-announce-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #00ff9d;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.site-announce-banner__link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* Sticky stack: app header sticks below fixed banner */
.site-top-chrome {
    position: sticky;
    top: var(--site-banner-h, 2.75rem);
    z-index: 1030;
}

.site-top-chrome .app-header {
    position: relative;
    top: auto;
}

/* Marketing: fixed/sticky navs sit under banner height */
body.has-site-announce .app-navbar.fixed,
body.has-site-announce nav.app-navbar.fixed,
body.has-site-announce nav.sticky {
    top: var(--site-banner-h, 2.75rem);
}

@media (max-width: 640px) {
    .site-announce-banner {
        font-size: 0.8rem;
    }

    .site-announce-banner__inner {
        padding: 0.5rem 0.75rem;
        gap: 0.35rem 0.55rem;
    }
}
