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

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

@property --n {
  syntax: "<integer>";
  inherits: true;
  initial-value: 0;
}
.cu-box {
  position: relative;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  --n: 0;
}

.cu-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cu-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#fff7e6 calc(var(--n) * 1%), rgba(23, 20, 26, 0.45) 0);
  mask: radial-gradient(farthest-side, rgba(0, 0, 0, 0) calc(100% - 20px), #000 calc(100% - 19px));
}

.cu-num {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #fff7e6;
  counter-reset: n var(--n);
}

.cu-num::after {
  content: counter(n) "%";
}

.cu-box.is-loading,
.cu-box.is-demo {
  animation: cu-count 2s linear infinite;
}

@keyframes cu-count {
  from {
    --n: 0;
  }
  to {
    --n: 100;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cu-box.is-loading,
  .cu-box.is-demo {
    animation: none !important;
    --n: 100 !important;
  }
}
