.auth-pending body > *:not(.auth-gate){
  display:none !important;
}

.auth-gate{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(231,183,172,.35), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(200,161,90,.2), transparent 32%),
    #faf6f1;
  color:#2a2f3a;
  font-family:Inter, system-ui, sans-serif;
}

.auth-panel{
  width:min(420px, 100%);
  background:#ffffff;
  border:1px solid #e7ddd4;
  border-radius:18px;
  box-shadow:0 28px 78px -34px rgba(22,35,61,.55);
  padding:34px;
}

.auth-panel h1{
  margin:0 0 10px;
  color:#16233d;
  font-family:Fraunces, Georgia, serif;
  font-size:2rem;
  line-height:1.1;
  font-weight:600;
}

.auth-panel p{
  margin:0 0 24px;
  color:#5c6472;
  line-height:1.55;
}

.auth-panel label{
  display:block;
  margin-bottom:8px;
  color:#16233d;
  font-weight:700;
  font-size:.84rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.auth-row{
  display:flex;
  gap:10px;
}

.auth-row input{
  min-width:0;
  flex:1;
  border:1.5px solid #d7cabf;
  border-radius:100px;
  padding:14px 18px;
  color:#2a2f3a;
  font:inherit;
}

.auth-row input:focus{
  outline:none;
  border-color:#c8a15a;
  box-shadow:0 0 0 3px rgba(200,161,90,.18);
}

.auth-row button{
  border:0;
  border-radius:100px;
  padding:14px 22px;
  background:#16233d;
  color:#ffffff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.auth-row button:hover,
.auth-row button:focus-visible{
  background:#1f3355;
}

.auth-error{
  min-height:1.4em;
  margin-top:12px;
  color:#9a332b;
  font-size:.9rem;
  font-weight:600;
}

@media (max-width:520px){
  .auth-panel{
    padding:28px 22px;
  }

  .auth-row{
    flex-direction:column;
  }

  .auth-row button{
    width:100%;
  }
}
