.ckb-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ckb-gate-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  width: 100%;
  max-width: 400px;
  padding: 28px 24px 24px;
  animation: ckbGateIn 0.35s ease;
}
@keyframes ckbGateIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ckb-gate-modal h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #111827;
  text-align: center;
}
.ckb-gate-modal p {
  margin: 0 0 20px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  line-height: 1.5;
}
.ckb-gate-modal input {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}
.ckb-gate-modal input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.ckb-gate-btn {
  width: 100%;
  height: 46px;
  margin-top: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.ckb-gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ckb-gate-err {
  margin-top: 10px;
  font-size: 13px;
  color: #dc2626;
  text-align: center;
  min-height: 18px;
}
body.ckb-gated {
  overflow: hidden;
}
