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

.tps {
  width: 100%;
  max-width: 240px;
}

.tps__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.tps__row {
  position: absolute;
  left: 0;
  width: 100%;
  height: 26px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: rgba(255, 247, 230, 0.06);
  border-radius: 4px;
  color: #fff7e6;
  font: 400 12px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.tps__cell--num {
  font-variant-numeric: tabular-nums;
}

.tps__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.tps__btn {
  border: 1px solid rgba(255, 247, 230, 0.3);
  background: transparent;
  color: #fff7e6;
  border-radius: 8px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.tps__page {
  color: #fff7e6;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .tps {
    max-width: 200px;
  }
  .tps__row {
    height: 24px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tps__row {
    transition: none;
  }
}
