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

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

.ip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 12px;
}

.ip__field {
  width: 100%;
  max-width: 300px;
  min-height: 64px;
  border: none;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.06);
  color: #17141a;
  font-size: 13px;
  line-height: 1.6;
  padding: 8px;
  resize: none;
  box-shadow: 0 0 0 1px rgba(23, 20, 26, 0.12) inset;
  font-family: inherit;
}

.ip__field:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.ip__panel {
  display: flex;
  gap: 8px;
}

.ip__pick {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(47, 109, 246, 0.14);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 220ms ease-out;
}

.ip__pick:hover, .ip__pick:focus-visible {
  background: rgba(47, 109, 246, 0.26);
  transform: scale(1.12);
}

.ip__pick--pop {
  animation: ipPop 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ip__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

@keyframes ipPop {
  0% {
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 340px) {
  .ip__field {
    max-width: 260px;
    min-height: 56px;
    font-size: 12px;
  }
  .ip__pick {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ip__pick {
    transition: none;
  }
  .ip__pick--pop {
    animation: none;
  }
}
