html.auth-locked,
html.auth-locked body {
  min-height: 100%;
  overflow: hidden;
}

html.auth-locked body > :not(#auth-gate) {
  visibility: hidden;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #0b0b0b;
  color: #fff;
  visibility: visible;
}

.auth-card {
  width: min(100%, 360px);
  display: grid;
  gap: 16px;
}

.auth-brand {
  margin-bottom: 24px;
  font-size: clamp(42px, 12vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.auth-card label {
  font-size: 16px;
}

.auth-card input,
.auth-card button {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  border-radius: 0;
  font: inherit;
}

.auth-card input {
  border: 1px solid #777;
  padding: 0 14px;
  background: #151515;
  color: #fff;
  outline: none;
}

.auth-card input:focus {
  border-color: #fff;
}

.auth-card button {
  border: 1px solid #fff;
  padding: 0 18px;
  background: #fff;
  color: #0b0b0b;
  cursor: pointer;
}

.auth-error {
  min-height: 20px;
  margin: 0;
  color: #ff8a8a;
  font-size: 14px;
}
