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

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

.fv6 {
  width: min(240px, 86vw);
}

.fv6__field {
  position: relative;
  display: block;
}

.fv6__input {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 32px 8px 12px;
  border-radius: 8px;
  border: 2px solid #17141a;
  background: rgba(23, 20, 26, 0.06);
  color: #17141a;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
}

.fv6__icon {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  width: 18px;
}

.fv6__icon svg {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.fv6__spinner {
  color: #17141a;
}

.fv6__check {
  color: #4cd4a6;
}

.fv6__cross {
  color: #c2361a;
}

.fv6__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

@keyframes fv6-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fv6-spinner-show {
  0%, 32% {
    opacity: 1;
  }
  38%, 100% {
    opacity: 0;
  }
}
@keyframes fv6-check-show {
  0%, 32% {
    opacity: 0;
  }
  40%, 62% {
    opacity: 1;
  }
  70%, 100% {
    opacity: 0;
  }
}
@keyframes fv6-cross-show {
  0%, 62% {
    opacity: 0;
  }
  70%, 96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fv6-shake {
  0%, 40% {
    transform: translateX(0);
  }
  42% {
    transform: translateX(-2px);
  }
  44% {
    transform: translateX(2px);
  }
  46% {
    transform: translateX(-1.4px);
  }
  48% {
    transform: translateX(1.2px);
  }
  50% {
    transform: translateX(-0.7px);
  }
  52%, 70% {
    transform: translateX(0);
  }
  72% {
    transform: translateX(-3px);
  }
  74% {
    transform: translateX(3px);
  }
  76% {
    transform: translateX(-2.2px);
  }
  78% {
    transform: translateX(2px);
  }
  80% {
    transform: translateX(-1.2px);
  }
  82% {
    transform: translateX(0.8px);
  }
  84%, 100% {
    transform: translateX(0);
  }
}
@keyframes fv6-surge {
  0%, 38% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(76, 212, 166, 0);
  }
  40% {
    opacity: 0.9;
    box-shadow: 0 0 0 4px rgba(76, 212, 166, 0.55);
  }
  46% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px rgba(76, 212, 166, 0.3);
  }
  54% {
    opacity: 0;
    box-shadow: 0 0 0 12px rgba(76, 212, 166, 0);
  }
  68% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(194, 54, 26, 0);
  }
  70% {
    opacity: 0.9;
    box-shadow: 0 0 0 4px rgba(194, 54, 26, 0.5);
  }
  78% {
    opacity: 0.6;
    box-shadow: 0 0 0 9px rgba(194, 54, 26, 0.25);
  }
  88% {
    opacity: 0;
    box-shadow: 0 0 0 13px rgba(194, 54, 26, 0);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(76, 212, 166, 0);
  }
}
.fv6.is-demo .fv6__spinner {
  animation: fv6-spin 300ms linear infinite, fv6-spinner-show 2s ease-out infinite;
}

.fv6.is-demo .fv6__check {
  animation: fv6-check-show 2s ease-out infinite;
}

.fv6.is-demo .fv6__cross {
  animation: fv6-cross-show 2s ease-out infinite;
}

.fv6.is-demo .fv6__input {
  animation: fv6-shake 2s ease-out infinite;
}

.fv6.is-demo .fv6__icon::after {
  animation: fv6-surge 2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fv6.is-demo .fv6__spinner,
  .fv6.is-demo .fv6__check,
  .fv6.is-demo .fv6__cross {
    animation: none !important;
    opacity: 0;
  }
  .fv6.is-demo .fv6__check {
    opacity: 1;
  }
  .fv6.is-demo .fv6__input,
  .fv6.is-demo .fv6__icon::after {
    animation: none !important;
  }
  .fv6.is-demo .fv6__icon::after {
    opacity: 0;
  }
}
