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

.pg {
  display: grid;
  gap: 12px;
  justify-items: center;
  color: #ffffff;
}

.pg__nav {
  display: flex;
  gap: 4px;
}

.pg__b {
  box-sizing: border-box;
  width: 28px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  will-change: transform;
}

.pg__b.is-lit {
  background: #b9a0ff;
  border-color: #b9a0ff;
  color: #17141a;
}

.pg__b.is-cur {
  background: #4cd4a6;
  border-color: #4cd4a6;
  color: #17141a;
}

.pg__b:focus-visible {
  outline: 2px solid #6ec8ff;
  outline-offset: 2px;
}

.pg__track {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  width: 284px;
}

.pg__dot {
  position: absolute;
  left: 0;
  top: -4px;
  width: 28px;
  height: 12px;
  border-radius: 999px;
  background: #ff9ebb;
  will-change: transform;
}

.pg__read {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
}

.pg__read b {
  color: #6ec8ff;
  font-variant-numeric: tabular-nums;
}

.pg__arrow, .pg__k {
  color: rgba(255, 255, 255, 0.82);
}

.pg__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 340px) {
  .pg__b {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pg__b {
    transition: none;
  }
}
