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);
}

.hs {
  width: min(260px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  perspective: 500px;
}

.hs__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
  color: #fff7e6;
}

.hs__input {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 2px solid #c2361a;
  background: rgba(255, 255, 255, 0.06);
  color: #fff7e6;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
}

.hs__msg {
  margin: 0;
  color: #ffe0d8;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
}

@keyframes hs-shake {
  0% {
    transform: translateX(0);
  }
  6.5% {
    transform: translateX(-6px) rotateY(-9deg);
  }
  18.5% {
    transform: translateX(5px) rotateY(7deg);
  }
  31.5% {
    transform: translateX(-3px) rotateY(-5deg);
  }
  43.5% {
    transform: translateX(2px) rotateY(3deg);
  }
  50%, 100% {
    transform: translateX(0);
  }
}
.hs__input.hs--shake {
  animation: hs-shake 900ms ease-out;
}

.hs.is-demo .hs__input {
  animation: hs-shake 900ms ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hs__input.hs--shake,
  .hs.is-demo .hs__input {
    animation: none !important;
  }
}
