body.beta-mvp.auth-pending,
body.beta-mvp.auth-logged-out {
  min-height: 100dvh;
  background: #050505;
}

[data-private-ui][hidden],
#fuelGuardAuthBoundary[hidden],
#fuelGuardAuthBoundary [hidden] {
  display: none !important;
}

body.beta-mvp #fuelGuardPrivateApp[data-private-ui][hidden],
body.beta-mvp .mobile-bottom-nav[data-private-ui][hidden] {
  display: none !important;
}

.fuel-auth-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(22px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
  background: #050505;
  color: #fff;
}

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

.fuel-auth-loading {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.fuel-auth-loading .fuel-guard-mark {
  width: 72px;
  height: 72px;
  border: 1px solid #292929;
}

.fuel-auth-loading-quote {
  margin: 0;
  max-width: 25rem;
  color: #f4f4f4;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: balance;
}

.fuel-auth-loading-status {
  color: #8f8f8f;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fuel-auth-card {
  padding: clamp(24px, 7vw, 38px);
  border: 1px solid #2a2a2a;
  border-radius: 26px;
  background: #0b0b0b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.fuel-auth-brand {
  display: grid;
  justify-items: start;
  gap: 15px;
  margin-bottom: 24px;
}

.fuel-auth-brand .fuel-guard-mark {
  width: 64px;
  height: 64px;
  border: 1px solid #292929;
  border-radius: 18px;
}

.fuel-auth-brand h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.fuel-auth-brand p {
  margin: 0;
  color: #b8b8b8;
  font-size: .95rem;
  line-height: 1.55;
}

.fuel-auth-google,
.fuel-auth-apple,
.fuel-auth-email-action,
.fuel-auth-secondary-action {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.fuel-auth-provider-stack,
.fuel-auth-email-stack { display: grid; gap: 10px; }

.fuel-auth-google,
.fuel-auth-apple {
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
}

.fuel-auth-apple { background: #050505; color: #fff; }

.fuel-auth-google:focus-visible,
.fuel-auth-apple:focus-visible,
.fuel-auth-email-action:focus-visible,
.fuel-auth-secondary-action:focus-visible,
.fuel-auth-card input:focus-visible,
.fuel-auth-footer a:focus-visible {
  outline: 3px solid #b9ff66;
  outline-offset: 3px;
}

.fuel-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #7d7d7d;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fuel-auth-divider::before,
.fuel-auth-divider::after {
  content: "";
  height: 1px;
  background: #2c2c2c;
}

.fuel-auth-fields {
  display: grid;
  gap: 14px;
}

.fuel-auth-card label {
  display: grid;
  gap: 7px;
  color: #dedede;
  font-size: .82rem;
  font-weight: 800;
}

.fuel-auth-card input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #353535;
  border-radius: 13px;
  background: #151515;
  color: #fff;
  font: inherit;
}

.fuel-auth-name-onboarding {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5,5,5,.82);
}
.fuel-auth-name-card { width: min(100%, 390px); padding: 28px; border-radius: 24px; background: #fff; color: #050505; box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.fuel-auth-name-card .fuel-guard-mark { width: 54px; height: 54px; }
.fuel-auth-name-card h2 { margin: 18px 0 8px; font-size: 1.65rem; letter-spacing: -.03em; }
.fuel-auth-name-card p { color: #555; line-height: 1.5; }
.fuel-auth-name-card label { display: grid; gap: 7px; font-weight: 800; }
.fuel-auth-name-card input { min-height: 50px; padding: 0 14px; border: 1px solid #bbb; border-radius: 13px; font: inherit; }

.fuel-auth-email-action {
  margin-top: 16px;
  border: 1px solid #fff;
  background: #050505;
  color: #fff;
}

.fuel-auth-secondary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 14px;
  color: #9d9d9d;
  font-size: .82rem;
}

.fuel-auth-secondary-action {
  width: auto;
  min-height: 38px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fuel-auth-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  color: #d6d6d6;
  font-size: .84rem;
  line-height: 1.45;
}

.fuel-auth-status[data-tone="error"] { color: #ffb2b2; }
.fuel-auth-status[data-tone="success"] { color: #b9ff66; }

.fuel-auth-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.fuel-auth-footer a {
  color: #aaa;
  font-size: .8rem;
  font-weight: 750;
  text-underline-offset: 3px;
}

@media (max-width: 420px) {
  .fuel-auth-shell { padding-inline: 12px; }
  .fuel-auth-card { border-radius: 22px; }
  .fuel-auth-secondary-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .fuel-auth-shell *,
  .fuel-auth-shell *::before,
  .fuel-auth-shell *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
