/* Baltz Street: The sign-in card shown until a neighbor is signed in (Firebase). */

/* the street stays hidden behind the card until sign-in finishes */
body.gated .map-wrap,
body.gated .mapbar,
body.gated .sheet,
body.gated .demobar,
body.gated #menuBtn {
  visibility: hidden;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--ground);
  overflow: auto;
}

.gate[hidden] {
  display: none;
}

.gate-card {
  width: 100%;
  max-width: 400px;
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gate-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gate .txtbtn {
  align-self: center;
}

.gate .err {
  color: var(--danger);
}

.gate .mono {
  font-family: var(--mono);
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

.gate .code {
  font-family: var(--mono);
  letter-spacing: 0.3em;
  text-align: center;
}

/* the invisible reCAPTCHA check for texted codes */
#recap {
  position: fixed;
}
