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

.ms {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms__hint {
  margin: 0;
  padding: 0 4px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.72);
}

.ms__field {
  background: #fff7e6;
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.ms__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 500;
  font-size: 13px;
  color: #17141a;
}

.ms__sheet {
  background: #fff7e6;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  padding: 4px;
}

.ms__handle {
  display: none;
  width: 32px;
  height: 4px;
  margin: 0 auto 4px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.24);
}

.ms__list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: hidden;
  max-height: calc(28px + 64px * var(--kb, 0));
}

.ms__item {
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  color: #17141a;
}

.is-sheet .ms {
  position: relative;
  height: 130px;
}

.is-sheet .ms__hint {
  display: none;
}

.is-sheet .ms__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.is-sheet .ms__handle {
  display: block;
}

@media (max-width: 340px) {
  .ms {
    max-width: 220px;
  }
  .ms__input {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ms__list {
    transition: none;
  }
}
