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

@property --v {
  syntax: "<integer>";
  inherits: true;
  initial-value: 0;
}
.pl {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(228px, 86vw);
  display: grid;
  gap: 8px;
  color: #fff7e6;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.pl__row {
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.07);
  transition: --v 600ms cubic-bezier(0.2, 0.8, 0.2, 1), background 220ms ease-out;
}

.pl__row:hover {
  background: rgba(255, 247, 230, 0.14);
}

.pl__hit {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: inherit;
  text-align: left;
}

.pl__dial {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pl__svg {
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
}

.pl__track {
  fill: none;
  stroke: rgba(255, 247, 230, 0.16);
  stroke-width: 4;
}

.pl__ring {
  fill: none;
  stroke: #4cd4a6;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 87.965;
  stroke-dashoffset: calc(87.965 * (1 - var(--v) / 100));
}

.pl__ic {
  position: absolute;
  display: inline-flex;
  color: rgba(255, 247, 230, 0.6);
}

.pl__name {
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 700;
}

.pl__pct {
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #4cd4a6;
}

.pl__pct::after {
  counter-reset: v var(--v);
  content: counter(v) "%";
}

.pl.is-demo .pl__row:nth-child(1) {
  animation: pl-fill-1 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: 0s;
}

@keyframes pl-fill-1 {
  0% {
    --v: 0;
  }
  45%, 55% {
    --v: 78;
  }
  100% {
    --v: 0;
  }
}
.pl.is-demo .pl__row:nth-child(2) {
  animation: pl-fill-2 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: 0.12s;
}

@keyframes pl-fill-2 {
  0% {
    --v: 0;
  }
  45%, 55% {
    --v: 52;
  }
  100% {
    --v: 0;
  }
}
.pl.is-demo .pl__row:nth-child(3) {
  animation: pl-fill-3 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: 0.24s;
}

@keyframes pl-fill-3 {
  0% {
    --v: 0;
  }
  45%, 55% {
    --v: 34;
  }
  100% {
    --v: 0;
  }
}
@media (max-width: 340px) {
  .pl__hit {
    gap: 8px;
  }
  .pl__name {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pl.is-demo .pl__row {
    animation: none !important;
  }
  .pl__row {
    transition: none;
  }
}
