/* ── Nav auth element ─────────────────────────────────────────────────────── */
.nav-auth {
    display: flex;
    align-items: center;
    margin-left: 16px;
    flex-shrink: 0;
}

.nav-signin-btn {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.65);
    background: none;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    padding: 0 10px;
    height: 26px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.nav-signin-btn:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.45);
}

.nav-user {
    display: none;
    align-items: center;
    gap: 8px;
}

.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-username {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-signout-btn {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.38);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 2px;
    letter-spacing: 0.04em;
    font-family: inherit;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-signout-btn:hover { color: rgba(255,255,255,0.7); }

/* ── Welcome toast ────────────────────────────────────────────────────────── */
#smt-welcome-toast {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 9999;
    background: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* Hide ticker below 1200px so the auth button always has room */
@media (max-width: 1200px) {
    .nav-ticker { display: none !important; }
    /* Ticker's margin-left:auto is gone, so auth takes over as the right anchor */
    .nav-auth { margin-left: auto; }
}

@media (max-width: 768px) {
    /* Mobile nav is horizontally scrollable — revert to fixed margin */
    .nav-auth { margin-left: 16px; flex-shrink: 0; }
    .nav-username { display: none; }
}
