/* ─── AUTH MODAL STYLES ─── */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,14,17,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999;
}
.auth-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.auth-modal {
  background: #14181c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
  position: relative;
}
.auth-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted, #9aa4ab);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted, #9aa4ab);
  cursor: pointer;
  font-size: 14px;
}
.auth-tab.active {
  border-color: var(--teal-l, #2FBBAD);
  color: #fff;
}
.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.active { display: flex; }
.auth-form label {
  font-size: 13px;
  color: var(--muted, #9aa4ab);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
}
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
.auth-error { font-size: 13px; color: #ff6b6b; min-height: 16px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 14px;
  color: var(--muted, #9aa4ab);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.auth-oauth { display: flex; gap: 10px; }
.auth-oauth-btn {
  flex: 1;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
#nav-auth-slot { display: inline-flex; align-items: center; gap: 8px; }
.nav-user { color: var(--teal-l, #2FBBAD); font-size: 14px; }