.auth-root {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 32px 16px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
}

.auth-logo {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.auth-title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-shadow: 0 0 16px rgba(77,217,236,0.3);
}

.auth-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 8px;
}

.auth-anon-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.auth-skip-link {
  color: var(--accent);
  text-decoration: none;
}
.auth-skip-link:hover { text-decoration: underline; }

.auth-error {
  background: rgba(240,96,96,0.1);
  border: 1px solid rgba(240,96,96,0.35);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 0.82rem;
  padding: 10px 14px;
  margin-bottom: 18px;
  text-align: left;
}

.auth-form { text-align: left; }

.auth-field { margin-bottom: 16px; }

.auth-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.auth-optional {
  font-weight: 400;
  opacity: 0.6;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.auth-btn {
  width: 100%;
  margin-top: 8px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px;
  cursor: pointer;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.auth-btn:hover { opacity: 0.88; box-shadow: 0 0 18px rgba(77,217,236,0.35); }
.auth-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.auth-status {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: left;
}
.auth-status.success {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.35);
  color: var(--success);
}
.auth-status.info {
  background: rgba(77,217,236,0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.auth-status.error {
  background: rgba(240,96,96,0.1);
  border: 1px solid rgba(240,96,96,0.35);
  color: var(--danger);
}
