#auth-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease both;
}
.auth-card {
  width: min(340px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.auth-field { position: relative; width: 100%; }
.auth-field input {
  width: 100%;
  background: var(--fill);
  border: 0;
  border-radius: 14px;
  padding: 12px 48px 12px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: box-shadow 0.15s ease, background-color 0.25s ease;
}
.auth-field input::placeholder { color: var(--muted); }
.auth-field input:focus { box-shadow: 0 0 0 2px var(--accent); }
.ghost-icon {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.ghost-icon:hover { color: var(--text); background: var(--fill-strong); }
.auth-btn { width: 100%; padding: 12px 18px; font-size: 16px; font-weight: 600; border-radius: 14px; margin-top: 4px; }
.auth-error { min-height: 18px; font-size: 13px; color: var(--danger); }
.auth-field.shake { animation: shake 0.4s ease; }

.auth-wide { width: min(380px, 92vw); }
#auth-tabs {
  height: 48px;
  margin-bottom: 6px;
}
.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 16px 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--separator);
}
.github-btn {
  width: 100%;
  height: 48px;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--separator);
  font-weight: 550;
}
.user-meta { display: flex; flex-direction: column; gap: 8px; }
.user-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}
.user-meta-row:last-child { border-bottom: 0; }
