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

.addr {
  box-sizing: border-box;
  width: min(300px, 88vw);
  background: #fff7e6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}
.addr__label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}
.addr__field {
  position: relative;
}
.addr__input {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: clamp(14px, 4.2vw, 16px);
  font-family: inherit;
  color: #17141a;
  background: #fff;
  transition: border-color 220ms ease-out;
}
.addr__input:focus {
  outline: none;
  border-color: #4cd4a6;
}
.addr__listbox {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  box-sizing: border-box;
  max-height: 160px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  z-index: 10;
  transform-origin: top;
  opacity: 0;
  transform: scaleY(0.92) translateY(-4px);
  pointer-events: none;
}
.addr__listbox.is-open {
  opacity: 1;
  transform: scaleY(1) translateY(0);
  pointer-events: auto;
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}
.addr__option {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: #17141a;
  cursor: pointer;
}
.addr__option--active {
  background: rgba(76, 212, 166, 0.28);
}
.addr__hint {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .addr__listbox {
    transition: none !important;
  }
  .addr__input {
    transition: none;
  }
}
