/* Temporary staging gate styles */
html.gate-locked body > *:not(#testGate) {
  display: none !important;
}

#testGate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  padding: 24px;
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.test-gate-card {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.test-gate-title {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

#testGateForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#testGatePw {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #111827;
}

#testGatePw:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

#testGateForm button {
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: #4f46e5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#testGateForm button:hover {
  background: #4338ca;
}

.test-gate-err {
  margin: 0;
  color: #dc2626;
  font-size: 0.9rem;
}
