.auth-page {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-card {
  width: min(400px, 100%);
}

.auth-step[hidden] {
  display: none !important;
}

.auth-channel {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-channel__btn {
  flex: 1;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-inset);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
}

.auth-channel__btn.is-active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #1c1a26 0%, #13111a 100%);
}

.auth-code-input {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.1rem;
}

.auth-meta {
  font-size: 0.62rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.auth-link {
  background: none;
  border: none;
  color: var(--purple-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.62rem;
  padding: 0;
  margin-top: 0.5rem;
}

.auth-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-username {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-inset);
  font-size: 0.68rem;
  text-align: center;
  color: var(--purple-soft);
}
