.auth-page {
  padding-top: 12px;
}

.auth-gate-card,
.auth-form-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.auth-gate-card {
  margin-top: 34px;
  padding: 26px 18px 22px;
  text-align: center;
}

.auth-about-card {
  margin-top: 16px;
  padding: 22px 18px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.auth-about-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.auth-about-card p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.6;
}

.auth-about-card p:last-child {
  margin-bottom: 0;
}

.auth-about-card blockquote {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}

.auth-community-art {
  width: 158px;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.auth-community-logo {
  width: 154px;
  height: auto;
  display: block;
  object-fit: contain;
}

.auth-kicker {
  margin: 0 0 5px !important;
  color: var(--coral) !important;
  font-size: 0.65rem !important;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-gate-card h2 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.auth-gate-card > p:not(.auth-kicker) {
  max-width: 310px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.auth-gate-actions,
.auth-form {
  display: grid;
  gap: 10px;
}

.auth-primary,
.auth-secondary {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  font-size: 0.78rem;
  font-weight: 850;
}

.auth-primary {
  border: 0;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 127, 118, 0.15);
}

.auth-secondary {
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--primary);
}

.auth-prototype-note {
  display: block;
  margin-top: 15px;
  color: #8a9694;
  font-size: 0.58rem;
  line-height: 1.4;
}

.auth-form-page {
  padding-top: 7px;
  padding-bottom: 26px;
}

.auth-mini-header {
  min-height: 52px;
  margin-bottom: 7px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.auth-mini-header > span {
  color: var(--muted);
  font-size: 0.62rem;
}

.auth-back {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.auth-progress {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.auth-progress span {
  height: 4px;
  border-radius: 999px;
  background: #dfe7e5;
}

.auth-progress span.active {
  background: var(--primary);
}

.auth-form-card {
  padding: 18px 16px;
}

.auth-form-heading {
  margin-bottom: 15px;
}

.auth-form-heading h2 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.auth-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.45;
}

.auth-field {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.71rem;
  font-weight: 800;
}

.auth-field > small {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 500;
}

.auth-field input,
.username-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fbfcfc;
}

.auth-field input {
  padding: 0 12px;
  outline: 0;
  color: var(--text);
  font-size: 0.8rem;
}

.auth-field input:focus,
.username-input:focus-within {
  border-color: rgba(13, 127, 118, 0.7);
  box-shadow: 0 0 0 3px rgba(13, 127, 118, 0.08);
}

.username-input {
  display: flex;
  align-items: center;
}

.username-input b {
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.username-input input {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none !important;
}

.auth-terms {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

.auth-terms input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--primary);
}

.auth-error {
  min-height: 17px;
  color: #a5483c;
  font-size: 0.64rem;
  text-align: center;
}

.auth-text-button {
  width: 100%;
  margin-top: 13px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.66rem;
}

.auth-text-button strong {
  color: var(--primary);
}

.coverage-card {
  text-align: left;
}

.coverage-illustration {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverage-current {
  margin-bottom: 11px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfcfc;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
  color: var(--primary);
}

.coverage-current > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverage-current div {
  display: grid;
  gap: 2px;
}

.coverage-current strong {
  color: var(--text);
  font-size: 0.7rem;
}

.coverage-current small {
  color: var(--muted);
  font-size: 0.62rem;
}

.auth-location-button {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--primary);
  border-radius: 14px;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 850;
}

.auth-location-button.selected {
  background: var(--primary-soft);
}

.auth-location-status {
  min-height: 34px;
  margin: 8px 2px 12px;
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.4;
  text-align: center;
}
