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

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

.kb {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb__hint {
  margin: 0;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: #17141a;
}

.kb__ic {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

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

.kb__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 500;
  font-size: 12px;
  color: #17141a;
  caret-color: #0a4fe8;
}

.kb__list {
  margin: 0;
  padding: 4px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 128px;
  overflow-y: auto;
  background: #fff7e6;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.kb__item {
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  color: #17141a;
  background: transparent;
  transform: scale(1);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kb__item.is-active {
  background: #0a4fe8;
  color: #fff7e6;
  transform: scale(1.03);
}

@media (max-width: 340px) {
  .kb {
    max-width: 260px;
  }
  .kb__list {
    height: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kb__item {
    transition: none;
  }
}
