/**
 * Stealth login — quiet guest entry (desktop rightmost / mobile sheet bottom).
 * Not a primary CTA: low opacity until hover/focus.
 */

.nav-stealth-login {
  --nsl-fg: rgba(255, 255, 255, 0.38);
  --nsl-fg-hover: rgba(255, 255, 255, 0.92);
  --nsl-fg-sheet: #94a3b8;
  --nsl-fg-sheet-hover: #be123c;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.55rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--nsl-fg);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  touch-action: manipulation;
  transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.nav-stealth-login:hover,
.nav-stealth-login:focus-visible {
  color: var(--nsl-fg-hover);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-stealth-login:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.nav-stealth-login--desktop {
  display: none;
  margin-inline-start: 0.25rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-stealth-login--desktop {
    display: inline-flex;
  }
}

.nav-stealth-login--sheet {
  display: flex;
  width: 100%;
  min-height: 2.25rem;
  margin: 0;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0;
  background: #f8fafc;
  color: var(--nsl-fg-sheet);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color-scheme: light;
}

.nav-stealth-login--sheet:hover,
.nav-stealth-login--sheet:focus-visible {
  color: var(--nsl-fg-sheet-hover);
  background: #fff1f2;
}

.nav-stealth-login--sheet:focus-visible {
  outline: 2px solid #be123c;
  outline-offset: -2px;
}

@media (prefers-color-scheme: dark) {
  .nav-stealth-login--sheet {
    color-scheme: light;
    background: #f8fafc;
    color: #64748b;
  }
}
