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

.wrap {
  width: 260px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.gauge {
  --ring-w: 6px;
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(#2f6df6 0 var(--fill-deg), rgba(255, 247, 230, 0.16) var(--fill-deg) 360deg);
  transition: background 300ms ease-out;
  overflow: hidden;
}

.gaugeHole {
  position: absolute;
  inset: var(--ring-w);
  border-radius: 50%;
  background: #17141a;
  display: grid;
  place-items: center;
}

.gaugePct {
  color: #fff7e6;
  font-size: 16px;
  font-weight: 800;
}

.shine {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.55) 12deg, transparent 26deg);
  opacity: 0;
  transform: rotate(0deg);
}
.shine.play {
  animation: shineSweep 2s ease-out 1;
}

@keyframes shineSweep {
  0% {
    opacity: 0;
    transform: rotate(0deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(360deg);
  }
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 4px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  background: #fff7e6;
  transition: background 300ms ease-out;
}
.row[data-done="1"] .rowText {
  text-decoration: line-through;
  color: rgba(23, 20, 26, 0.55);
}
.row.justToggled {
  background: rgba(47, 109, 246, 0.22);
}

.check {
  appearance: none;
  border: 2px solid rgba(23, 20, 26, 0.3);
  border-radius: 4px;
  width: 20px;
  height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  background: #fff;
  cursor: pointer;
  transition: background 220ms ease-out, border-color 220ms ease-out;
}
.check[aria-checked=true] {
  background: #2f6df6;
  border-color: #2f6df6;
}
.check:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 2px;
}

.checkMark {
  width: 14px;
  height: 14px;
  color: #fff;
  display: block;
}

.rowText {
  color: #17141a;
  font-size: 13px;
}

@media (max-width: 340px) {
  .wrap {
    width: 200px;
    gap: 8px;
  }
  .gauge {
    width: 64px;
    height: 64px;
  }
  .row {
    padding: 0 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gauge {
    transition: none !important;
  }
  .shine.play {
    animation: none !important;
  }
  .check {
    transition: none !important;
  }
  .row {
    transition: none !important;
  }
}
