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

.tf {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff7e6;
}

.tf__col {
  width: 96px;
}

.tf__h {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 247, 230, 0.5);
  margin-bottom: 4px;
}

.tf__list {
  list-style: none;
  margin: 0;
  padding: 4px;
  height: 128px;
  overflow: auto;
  border: 1px solid rgba(255, 247, 230, 0.16);
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.04);
}

.tf__item {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 300ms cubic-bezier(0.2, 1.4, 0.4, 1), transform 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.tf__item.is-sel {
  background: rgba(47, 109, 246, 0.35);
  transform: translateX(2px);
}

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

.tf__mid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tf__btn {
  appearance: none;
  border: 1px solid rgba(255, 247, 230, 0.2);
  background: rgba(255, 247, 230, 0.06);
  color: #fff7e6;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  transition: transform 300ms cubic-bezier(0.2, 1.4, 0.4, 1), background-color 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.tf__btn:active {
  transform: scale(0.88);
}

@media (prefers-reduced-motion: reduce) {
  .tf__item, .tf__btn {
    transition: none;
  }
}
