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

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

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

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

.fv9__status {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  width: 18px;
  color: #4cd4a6;
  opacity: 0;
  transform: scale(0.5);
}

.fv9__status::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.fv9__msg {
  margin: 0;
  color: #4cd4a6;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
  opacity: 0;
}

@keyframes fv9-pop {
  0%, 10% {
    opacity: 0;
    transform: scale(0.5);
  }
  40% {
    opacity: 1;
    transform: scale(1.15);
  }
  46% {
    transform: scale(1.08);
  }
  52% {
    transform: scale(1.12);
  }
  58% {
    transform: scale(1);
  }
  55%, 85% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes fv9-msg {
  0%, 30% {
    opacity: 0;
  }
  55%, 85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fv9-surge {
  0%, 38% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(76, 212, 166, 0);
  }
  40% {
    opacity: 0.35;
    box-shadow: 0 0 0 3px rgba(76, 212, 166, 0.3);
  }
  54% {
    opacity: 0;
    box-shadow: 0 0 0 8px rgba(76, 212, 166, 0);
  }
  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(76, 212, 166, 0);
  }
}
.fv9.is-demo .fv9__status {
  animation: fv9-pop 600ms cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.fv9.is-demo .fv9__msg {
  animation: fv9-msg 600ms cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.fv9.is-demo .fv9__status::after {
  animation: fv9-surge 600ms cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fv9.is-demo .fv9__status,
  .fv9.is-demo .fv9__msg {
    animation: none !important;
  }
  .fv9.is-demo .fv9__status {
    opacity: 1;
    transform: scale(1);
  }
  .fv9.is-demo .fv9__msg {
    opacity: 1;
  }
  .fv9.is-demo .fv9__status::after {
    animation: none !important;
    opacity: 0;
  }
}
