/* ==========================================================
   限定公開のための簡易ロック
   本番公開前に外す前提。外すときは index.html から
   このファイルの <link> と js/access-gate.js の <script> を
   削除するだけでよい。他ファイルへの依存はこの2箇所のみ。
   ========================================================== */

html.mz-gate-lock body {
  visibility: hidden;
}

.mz-gate {
  visibility: visible;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 30%, #0c2a52 0%, #050b1a 70%);
}

.mz-gate-panel {
  width: 100%;
  max-width: 320px;
  padding: 28px 24px;
  background: rgba(8, 20, 46, 0.92);
  border: 1px solid var(--color-text-cyan-light);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(0, 169, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mz-gate-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-text-cyan-light);
  text-align: center;
  letter-spacing: 0.06em;
}

.mz-gate-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--color-text-cyan-pale);
}

.mz-gate-field input {
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--color-bg-blue-light);
  background: #fff;
  font-size: 0.95rem;
}

.mz-gate-error {
  margin: 0;
  font-size: 0.76rem;
  color: #ff7a90;
  text-align: center;
}

.mz-gate-panel button {
  margin-top: 4px;
  padding: 10px;
  border: none;
  border-radius: 999px;
  background: var(--color-text-cyan);
  color: #04122c;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}

.mz-gate-panel button:hover,
.mz-gate-panel button:focus-visible {
  filter: brightness(1.08);
}
