/* HyodoGame — LauncherGuard · auth error (HyodoShopWeb parity) */

.hyodo-guard-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(160deg, #dce7ef, #f4eed9);
  color: #183457;
  font-family: "Malgun Gothic", "맑은 고딕", sans-serif;
}

.hyodo-guard-overlay h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.35;
}

.hyodo-guard-overlay p {
  margin: 0;
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  color: #3f566f;
}

.hyodo-guard-overlay .hyodo-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #178b8820;
  color: #178b88;
  font-size: 1rem;
  font-weight: 800;
}

.hyodo-auth-error {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(24, 52, 87, 0.45);
}

.hyodo-auth-error.is-open {
  display: flex;
}

.hyodo-auth-error-card {
  width: min(100%, 28rem);
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff8e9;
  text-align: center;
  box-shadow: 0 10px 36px rgba(24, 52, 87, 0.2);
}

.hyodo-auth-error-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: #183457;
}

.hyodo-auth-error-card p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #3f566f;
}

.hyodo-auth-error-card button {
  min-height: 3rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: #178b88;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

html.hyodo-guard-pending body > :not(.hyodo-guard-overlay):not(.hyodo-auth-error) {
  visibility: hidden;
}
