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: 16px;
  justify-items: center;
  color: #ffffff;
}

.pg__nav {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.pg__pill {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #b9a0ff;
  transform-origin: 50% 50%;
  will-change: transform;
}

.pg__b {
  position: relative;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.pg__b.is-under {
  color: #17141a;
}

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

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

.pg__k {
  color: rgba(255, 255, 255, 0.82);
  margin-right: 4px;
}

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

.pg__read b {
  color: #ff9ebb;
  font-variant-numeric: tabular-nums;
  min-width: 24px;
  text-align: right;
}

.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: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pg__pill {
    transition: none;
  }
}
