html.auth-checking,
html.auth-checking body {
  min-height: 100%;
}

html.auth-checking body > :not(#password-gate) {
  display: none !important;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(201, 162, 77, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 80%, rgba(47, 111, 94, 0.22), transparent 28rem),
    #0b0b0b;
  color: #f7f1e4;
  font-family: Georgia, "Times New Roman", serif;
}

.password-gate__panel {
  width: min(100%, 28rem);
  border: 1px solid rgba(201, 162, 77, 0.42);
  background: rgba(12, 12, 12, 0.82);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.password-gate__label {
  display: block;
  margin-bottom: 0.7rem;
  color: #c9a24d;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.password-gate__title {
  margin: 0 0 1.6rem;
  font-size: clamp(2rem, 9vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.password-gate__form {
  display: grid;
  gap: 0.9rem;
}

.password-gate__input {
  width: 100%;
  border: 1px solid rgba(247, 241, 228, 0.38);
  border-radius: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 0.95rem 1rem;
}

.password-gate__input:focus {
  border-color: #c9a24d;
  outline: 2px solid rgba(201, 162, 77, 0.24);
  outline-offset: 2px;
}

.password-gate__button {
  border: 0;
  border-radius: 0;
  background: #c9a24d;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 1rem;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.password-gate__button:hover,
.password-gate__button:focus-visible {
  background: #e0bd69;
}

.password-gate__button:active {
  transform: translateY(1px);
}

.password-gate__error {
  min-height: 1.2rem;
  color: #df907b;
  font-size: 0.9rem;
}
