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

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

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

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

.db__field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff7e6;
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.db__ic {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #17141a;
}

.db__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: #17141a;
  caret-color: #17141a;
}

.db__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 116px;
}

.db__item {
  padding: 4px 12px;
  border-radius: 8px;
  background: #fff7e6;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.6;
  color: #17141a;
}

.db__item--empty {
  color: rgba(23, 20, 26, 0.72);
  font-weight: 400;
}

.db__item--skel {
  background: rgba(255, 247, 230, 0.6);
  overflow: hidden;
  position: relative;
}

.db__bar {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
  overflow: hidden;
  position: relative;
}

.db__sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 247, 230, 0), rgba(255, 247, 230, 0.9), rgba(255, 247, 230, 0));
  transform: translateX(-120%);
  will-change: transform;
}

@media (max-width: 340px) {
  .db {
    max-width: 280px;
  }
  .db__item {
    font-size: 11px;
  }
  .db__list {
    min-height: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .db__sweep {
    display: none;
  }
  .db__bar {
    background: rgba(23, 20, 26, 0.2);
  }
}
