.stage html, .stage body {
  margin: 0;
  overflow: hidden;
}
.stage .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 {
  width: min(100%, 300px);
  background: #231f28;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tf__tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 247, 230, 0.08);
  border-radius: 999px;
  padding: 4px;
}

.tf__tab {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: rgba(255, 247, 230, 0.6);
  font-size: 11px;
  border-radius: 999px;
  padding: 4px 8px;
  cursor: pointer;
}

.tf__tab[aria-selected=true] {
  background: #0a4fe8;
  color: #fff7e6;
}

.tf__body {
  position: relative;
  min-height: 132px;
}

.tf__list {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}

.tf__list--out {
  opacity: 0;
  transform: translateY(-10px);
}

.tf__item {
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.06);
  color: #fff7e6;
  font-size: 12px;
  line-height: 1.3;
  padding: 8px 12px;
  box-sizing: border-box;
}

.tf__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  border: 0;
}

@media (max-width: 340px) {
  .tf {
    width: 100%;
  }
  .tf__body {
    min-height: 108px;
  }
  .tf__list {
    max-height: 108px;
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tf__list {
    transition: none;
  }
}
