/**
 * Shared auth card chrome for /me, /review claim, and similar surfaces.
 */
#view-auth {
  padding: clamp(20px, 5vh, 40px) 16px calc(36px + env(safe-area-inset-bottom));
  min-height: calc(100dvh - var(--fw-nav-h, 60px));
  display: none;
  align-items: flex-start;
  justify-content: center;
}

#view-auth.active {
  display: flex;
}

.auth-card.fw-auth {
  width: 100%;
  max-width: 440px;
  margin: 0;
}

.auth-card.fw-auth .eyebrow {
  display: block;
  text-align: center;
}

.auth-card.fw-auth h1 {
  text-align: center;
  font-size: clamp(26px, 5vw, 34px);
  letter-spacing: 0.02em;
}

.auth-card.fw-auth .sub {
  text-align: center;
  line-height: 1.55;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.fw-auth-google {
  width: 100%;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 13px 20px;
  border-radius: 999px;
  min-height: 48px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.fw-auth-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  background: #fafafa;
}

.fw-auth-google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.fw-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.38);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 600;
}

.fw-auth-divider::before,
.fw-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.fw-auth-label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
}

.btn.fw-auth-primary {
  width: 100%;
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 14px;
  min-height: 48px;
}

.btn.fw-auth-primary:disabled {
  opacity: 0.55;
  transform: none;
  cursor: default;
}

.fw-auth-msg {
  font-size: 13px;
  line-height: 1.55;
  margin-top: 12px;
  min-height: 18px;
  text-align: center;
}

.fw-auth-msg.ok {
  color: #7fd8a0;
}

.fw-auth-msg.err {
  color: #ff8080;
}

@media (max-width: 480px) {
  .auth-card.fw-auth {
    padding: 28px 20px;
  }
}
