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

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

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

.fv1__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;
}

.fv1__msg {
  margin: 0;
  color: #c2361a;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
  opacity: 0;
  transform: translateY(-6px);
}

@keyframes fv1-in {
  0%, 6% {
    opacity: 0;
    transform: translateY(-6px);
  }
  28%, 78% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.fv1.is-demo .fv1__msg {
  animation: fv1-in 2s ease-out infinite;
}

.fv1.is-demo .fv1__input {
  animation: fv1-shake 2s ease-out infinite, fv1-surge 2s ease-out infinite;
}

@keyframes fv1-shake {
  0%, 28%, 34%, 100% {
    transform: translateX(0);
  }
  29.5% {
    transform: translateX(0.6px);
  }
  31% {
    transform: translateX(-0.4px);
  }
  32.5% {
    transform: translateX(0.2px);
  }
}
@keyframes fv1-surge {
  0%, 28% {
    box-shadow: 0 0 0 0 rgba(194, 54, 26, 0);
  }
  30% {
    box-shadow: 0 0 0 6px rgba(194, 54, 26, 0.45);
  }
  32% {
    box-shadow: 0 0 0 2px rgba(194, 54, 26, 0.2);
  }
  34% {
    box-shadow: 0 0 0 3.5px rgba(194, 54, 26, 0.28);
  }
  38%, 100% {
    box-shadow: 0 0 0 0 rgba(194, 54, 26, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fv1.is-demo .fv1__msg {
    animation: none !important;
    opacity: 1;
    transform: translateY(0);
  }
  .fv1.is-demo .fv1__input {
    animation: none !important;
  }
}
