.site-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: clamp(18px, 4vw, 48px);
  overflow: auto;
  background:
    radial-gradient(circle at 50% 22%, rgba(44, 214, 215, .2), transparent 34%),
    linear-gradient(145deg, rgba(2, 17, 28, .98), rgba(5, 40, 52, .97));
  color: #f7fdff;
  font-family: Heebo, Arial, sans-serif;
}

.site-lock-overlay[hidden] {
  display: none !important;
}

.site-lock-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(129, 245, 240, .32);
  border-radius: 30px;
  background: rgba(5, 25, 36, .86);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
  text-align: center;
  backdrop-filter: blur(16px);
}

.site-lock-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, #39dfdc, #1196ae);
  color: #042332;
  font-size: 30px;
  box-shadow: 0 14px 36px rgba(33, 210, 211, .28);
}

.site-lock-card h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.65rem, 5vw, 2.55rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.site-lock-message {
  max-width: 48ch;
  margin: 0 auto 28px;
  color: #cce3e9;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.site-lock-form {
  display: grid;
  gap: 12px;
  text-align: right;
}

.site-lock-form label {
  font-weight: 700;
}

.site-lock-password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  direction: rtl;
  border: 1px solid rgba(164, 225, 231, .36);
  border-radius: 15px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.site-lock-password-row:focus-within {
  border-color: #45e4de;
  box-shadow: 0 0 0 3px rgba(69, 228, 222, .18);
}

.site-lock-password-row input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.site-lock-password-row button {
  min-width: 50px;
  min-height: 50px;
  border: 0;
  border-inline-start: 1px solid rgba(164, 225, 231, .22);
  background: transparent;
  color: #c9f7f5;
  cursor: pointer;
}

.site-lock-submit {
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #39dfdc, #1196ae);
  color: #042332;
  font: 800 1rem Heebo, Arial, sans-serif;
  cursor: pointer;
}

.site-lock-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.site-lock-error {
  min-height: 1.6em;
  margin: 2px 0 0;
  color: #ffd1d1;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 480px) {
  .site-lock-overlay {
    align-items: start;
    padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  }

  .site-lock-card {
    margin-block: auto;
    padding: 26px 18px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-lock-overlay *,
  .site-lock-overlay *::before,
  .site-lock-overlay *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
