html.site-locked { overflow: hidden; }
html.site-locked body > :not(.site-password-gate) { visibility: hidden !important; }
.site-password-gate, .site-password-gate * { box-sizing: border-box; }
.site-password-gate { font-family: 'DM Sans', sans-serif; color: #fff; overflow-y: auto; }
.site-password-gate p, .site-password-gate h2 { margin: 0; }
.site-password-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(1, 1, 13, 0.48);
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.site-password-gate[aria-hidden='true'] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.site-password-gate__card {
  width: min(100%, 430px);
  padding: 42px;
  border: 1px solid #a9c6fa40;
  border-radius: 22px;
  background: linear-gradient(130deg, #202b3e, #151c28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56), 0 0 70px rgba(113, 155, 242, 0.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-password-gate__eyebrow {
  margin-bottom: 14px;
  color: #b7cdfb;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-password-gate__title {
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.site-password-gate__copy {
  margin-top: 14px;
  color: #a3afc1;
  font-size: 14px;
  line-height: 1.6;
}

.site-password-gate__label {
  display: block;
  margin: 28px 0 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.site-password-gate__input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-password-gate__input:focus {
  border-color: #b7cdfb;
  box-shadow: 0 0 0 3px rgba(113, 155, 242, 0.16);
}

.site-password-gate__input[aria-invalid='true'] {
  border-color: rgba(255, 112, 129, 0.85);
}

.site-password-gate__error {
  min-height: 19px;
  margin-top: 8px;
  color: #ff8c9a;
  font-size: 12px;
}

.site-password-gate__button {
  width: 100%;
  height: 50px;
  margin-top: 9px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #4887fc 0%, #6ba3ff 100%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: filter 180ms ease, transform 180ms ease;
}

.site-password-gate__button:hover,
.site-password-gate__button:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}


.site-password-gate { background: #080b10; z-index: 2147483647; }
@media (max-width: 768px) { .site-password-gate__card { padding: 32px 24px; } }
