.pbc-password-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f8f7f2;
  background:
    linear-gradient(135deg, rgba(210, 154, 54, 0.16), transparent 38%),
    linear-gradient(180deg, #030303 0%, #111315 100%);
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html.pbc-auth-pending body {
  min-height: 100vh;
  overflow: hidden;
}

html.pbc-auth-pending body > :not(.pbc-password-gate) {
  visibility: hidden;
}

html.pbc-auth-granted .pbc-password-gate {
  display: none;
}

.pbc-password-panel {
  width: min(100%, 420px);
  padding: 30px;
  border: 1px solid rgba(210, 154, 54, 0.44);
  border-radius: 8px;
  background: rgba(8, 9, 10, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.pbc-password-logo {
  display: block;
  width: min(188px, 58vw);
  height: auto;
  margin: 0 0 28px;
}

.pbc-password-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.12;
}

.pbc-password-panel p {
  margin: 12px 0 0;
  color: #c9ced3;
  font-size: 15px;
  line-height: 1.55;
}

.pbc-password-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pbc-password-form label {
  color: #f6f4ee;
  font-size: 13px;
  font-weight: 700;
}

.pbc-password-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.pbc-password-form input:focus {
  outline: 2px solid rgba(241, 197, 109, 0.82);
  outline-offset: 2px;
  border-color: rgba(241, 197, 109, 0.9);
}

.pbc-password-form button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: #16120a;
  background: #f1c56d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pbc-password-form button:hover,
.pbc-password-form button:focus-visible {
  background: #ffd982;
}

.pbc-password-error {
  min-height: 22px;
  margin: 0;
  color: #ffb2a6;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .pbc-password-gate {
    padding: 18px;
  }

  .pbc-password-panel {
    padding: 24px;
  }

  .pbc-password-panel h1 {
    font-size: 24px;
  }
}
