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

.pm {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  width: min(100%, 440px);
  height: min(252px, 100vh - 2 * clamp(8px, 4vw, 24px));
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.07);
  color: #fff7e6;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  user-select: none;
}

.pm b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pm__live {
  position: absolute;
  left: 12px;
  top: 8px;
  margin: 0;
  z-index: 9;
  color: #9a93a6;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

.pm button {
  font-family: inherit;
}

.pm button:focus-visible {
  outline: 3px solid #ff9ebb;
  outline-offset: 2px;
}

.pm__btns {
  position: absolute;
  right: 12px;
  top: 8px;
  z-index: 8;
  display: flex;
  gap: 4px;
}

.pm__btn {
  height: 24px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.14);
  color: #fff7e6;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  cursor: pointer;
}

.pm__hub {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6ec8ff;
  box-shadow: 0 0 0 4px rgba(110, 200, 255, 0.3);
}

.pm__chip {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  height: 26px;
  border-radius: 999px;
  background: #ff9ebb;
  color: #17141a;
  font-style: normal;
  font-size: 12px;
  line-height: 26px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.pm__chip:nth-of-type(odd) {
  background: #b9a0ff;
}

.pm__chip:nth-of-type(3n) {
  background: #4cd4a6;
}

@media (prefers-reduced-motion: reduce) {
  .pm__btn {
    transition: none;
  }
}
