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

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

.sc {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.sc__badge {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.06);
  color: #17141a;
  font-weight: 700;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.sc__viewport {
  width: min(100%, 320px);
  height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.04);
  scrollbar-width: thin;
}

.sc__viewport:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

.sc__track {
  display: grid;
  justify-items: center;
  padding-top: 24px;
}

.sc__word {
  position: sticky;
  top: 16px;
  margin: 0;
  font-weight: 800;
  font-size: clamp(48px, 16vw, 80px);
  line-height: 1;
  white-space: nowrap;
  color: #17141a;
  will-change: text-shadow;
}

.sc__spacer {
  height: 260px;
  width: 1px;
}

.sc__hint {
  margin: 0;
  color: rgba(23, 20, 26, 0.55);
  font-size: 11px;
}

@media (max-width: 340px) {
  .sc {
    gap: 4px;
  }
  .sc__word {
    font-size: clamp(32px, 18vw, 48px);
  }
  .sc__viewport {
    height: 84px;
  }
  .sc__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc__word {
    transition: none;
  }
}
