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

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

.fl {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 440px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 16px;
  background: transparent;
  color: #17141a;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.fl__field {
  position: relative;
}

.fl__box {
  --ln: rgb(72.7058823529%, 72.3529411765%, 73.0588235294%);
  position: relative;
  z-index: 1;
  height: 52px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1.5px var(--ln), 0 0 0 calc(var(--p, 0) * 3px) rgba(10, 79, 232, 0.3);
}

.fl__box[data-up] {
  --ln: #0a4fe8;
}

.fl__box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: #0a4fe8;
  opacity: calc(var(--p, 0) * 0.12);
  pointer-events: none;
}

.fl__input {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 24px 12px 4px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #17141a;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  outline: none;
}

.fl__input:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

.fl__label {
  position: absolute;
  left: 12px;
  top: 0;
  z-index: 2;
  line-height: 52px;
  font-size: 16px;
  font-weight: 500;
  color: rgb(43.5921568627%, 42.862745098%, 44.3215686275%);
  white-space: nowrap;
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

.fl__box[data-up] .fl__label {
  color: #0a4fe8;
}

.fl__box {
  box-shadow: 0 1px 2px rgba(23, 20, 26, 0.1);
  will-change: transform;
}

.fl__box::after {
  opacity: calc(var(--p, 0) * 0.06);
}

.fl__box[data-up] {
  --ln: #0a4fe8;
}

@media (max-height: 250px) {
  .fl__field:nth-child(n+3) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fl__label, .fl__box {
    will-change: auto;
  }
}
