html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.pf2 {
  width: min(420px, 95vw);
}

.pf2__heading {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(11px, 3.2vw, 12px);
  line-height: 1.4;
  font-family: inherit;
  color: #fff7e6;
}

.pf2__form {
  display: flex;
  gap: 4px;
}

.pf2__input {
  flex: 1 1 auto;
  box-sizing: border-box;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 247, 230, 0.28);
  background: rgba(255, 247, 230, 0.06);
  color: #fff7e6;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.6;
  font-family: inherit;
}

.pf2__input.is-shake {
  animation: pf2-shake 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes pf2-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
.pf2__submit {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 0;
  border-radius: 8px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  font-family: inherit;
  cursor: pointer;
  animation: pf2-glow 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes pf2-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(47, 109, 246, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(47, 109, 246, 0);
  }
}
.pf2__check {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  transition: stroke-dashoffset 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.pf2__form.is-done .pf2__check {
  stroke-dashoffset: 0;
}

.pf2__status {
  min-height: 14px;
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 9px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.6);
}

.pf2__cols {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.pf2__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf2__col-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 9px;
  line-height: 1.3;
  font-family: inherit;
  letter-spacing: 0.08em;
  color: rgba(255, 247, 230, 0.72);
}

.pf2__col a {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.6;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.75);
  text-decoration: none;
}

@media (max-width: 340px), (max-height: 220px) {
  .pf2__cols {
    display: none;
  }
  .pf2__heading {
    margin-bottom: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf2__input.is-shake {
    animation: none !important;
  }
  .pf2__submit {
    animation: none !important;
  }
  .pf2__check {
    transition: none;
  }
}
