html[data-access-locked="true"],
html[data-access-locked="true"] body {
  overflow: hidden !important;
  background: #000;
}

html[data-access-locked="true"] body > :not(#access-gate) {
  visibility: hidden !important;
}

.access-gate {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 100, 254, 0.18), transparent 34%),
    #000;
  color: #fff;
  font-family: Hurme, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

.access-gate[hidden],
html[data-access-locked="false"] .access-gate {
  display: none !important;
}

.access-gate__panel {
  width: min(440px, 100%);
  padding: 42px 40px 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  text-align: center;
}

.access-gate__brand {
  margin-bottom: 38px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.access-gate__eyebrow {
  margin: 0 0 13px;
  color: #8eb9ff;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.access-gate__title {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.access-gate__copy {
  margin: 12px 0 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.access-gate__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.access-gate__input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  outline: none;
  background: #111;
  color: #fff;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.access-gate__input:focus {
  border-color: #4c91ff;
  box-shadow: 0 0 0 3px rgba(0, 100, 254, 0.2);
}

.access-gate__submit {
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  background: #0064fe;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 180ms ease, transform 180ms ease;
}

.access-gate__submit:hover {
  background: #1b74ff;
}

.access-gate__submit:active {
  transform: translateY(1px);
}

.access-gate__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.access-gate__error {
  min-height: 22px;
  margin: 13px 0 0;
  color: #ff8c8c;
  font-size: 13px;
}

@media (max-width: 520px) {
  .access-gate {
    padding: 16px;
  }

  .access-gate__panel {
    padding: 34px 22px 30px;
    border-radius: 16px;
  }

  .access-gate__brand {
    margin-bottom: 32px;
    font-size: 30px;
  }

  .access-gate__title {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-gate__input,
  .access-gate__submit {
    transition: none;
  }
}
