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

.ss {
  position: relative;
  box-sizing: border-box;
  width: min(232px, 84vw);
  padding-bottom: 116px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
}

.ss__label {
  display: block;
  font-size: 10px;
  line-height: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 4px;
}

.ss__btn {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 220ms cubic-bezier(0.2, 1.4, 0.4, 1), background 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ss__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ss.is-open .ss__btn {
  border-color: #2f6df6;
}

.ss__caret {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ss.is-open .ss__caret {
  transform: rotate(180deg);
}

.ss__list {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform-origin: top center;
  transform: translateY(-6px) scaleY(0.72);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ss.is-open .ss__list {
  transform: translateY(0) scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.ss__list:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.ss__opt {
  box-sizing: border-box;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ss__opt.is-active {
  background: rgba(47, 109, 246, 0.12);
}

.ss__tick {
  display: inline-flex;
  color: #2f6df6;
  opacity: 0;
}

.ss__opt.is-sel .ss__tick {
  opacity: 1;
}

.ss.is-demo .ss__list {
  animation: ss-open 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes ss-open {
  0%, 100% {
    opacity: 0;
    transform: translateY(-6px) scaleY(0.72);
  }
  22% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  78% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ss.is-demo .ss__list {
    animation: none !important;
  }
  .ss__list, .ss__btn, .ss__caret {
    transition: none;
  }
}
