.site-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    background: var(--headerColor);
    flex-wrap: wrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 6px;
}

.nav-logo img {
    height: 36px;
    display: block;
}

.nav-links-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 4px 10px;
    border-radius: 4px;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.site-nav a.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-player-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9rem;
}

.nav-player-label {
    white-space: nowrap;
}

.nav-signin-button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 4px 10px;
    margin: 0;
    box-shadow: none;
}

.nav-signin-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Shared "low-key action" button style — used wherever a control (Sign Out,
   etc.) should read as secondary rather than a primary call to action. */
.discreet-button {
    background: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    padding: 4px 6px;
    margin: 0;
    box-shadow: none;
}

.discreet-button:hover {
    background: none;
    color: white;
    text-decoration: underline;
}

/* --- Mobile nav drawer: hidden/unused above the breakpoint below --- */

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    padding: 0;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: white;
    border-radius: 1px;
}

.nav-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav-drawer-overlay.open {
    display: flex;
    justify-content: flex-end;
}

.nav-drawer {
    width: min(78vw, 300px);
    height: 100%;
    background: var(--headerColor);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.nav-drawer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 8px;
    border-radius: 4px;
}

.nav-drawer a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-drawer a.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    line-height: 1;
    padding: 4px 8px;
    margin: 0 0 12px;
    box-shadow: none;
    cursor: pointer;
}

@media (max-width: 720px) {
    .nav-logo {
        flex: 1;
        margin-right: 0;
        min-width: 0;
    }

    /* Freed up by the links row only showing Gym/Game On now. */
    .nav-logo img {
        height: 52px;
    }

    /* Only persistent links (Gym, Game On) stay in the bar — everything
       else is reachable through the drawer instead. */
    .nav-links-inline a:not(.nav-persistent) {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .nav-player-status {
        flex-basis: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }
}
