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

.se {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 2px solid rgba(23, 20, 26, 0.25);
  padding: 12px 16px;
  cursor: text;
  background: #fff7e6;
  width: 148px;
  position: relative;
  transition: width 300ms cubic-bezier(0.3, 1.4, 0.4, 1), border-color 300ms cubic-bezier(0.3, 1.4, 0.4, 1);
}

.se:focus-within {
  width: 240px;
  border-color: #17141a;
}

.se__bloom {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(ellipse at 50% 50%, rgba(23, 20, 26, 0.18) 0%, rgba(23, 20, 26, 0) 70%);
  opacity: 0;
  pointer-events: none;
}

.se:focus-within .se__bloom {
  animation: se-bloom 300ms ease-out;
}

@keyframes se-bloom {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
.se__icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: #17141a;
  stroke-width: 2;
  stroke-linecap: round;
}

.se__input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-weight: 500;
  font-size: clamp(13px, 3.8vw, 15px);
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}

@media (prefers-reduced-motion: reduce) {
  .se {
    transition: none;
  }
  .se:focus-within .se__bloom {
    animation: none;
  }
}
