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

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

.wg {
  width: min(280px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wg__row {
  display: flex;
  align-items: center;
  gap: 8px;
  transform-origin: left center;
  cursor: pointer;
}

.wg__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #c2361a;
}

.wg__text {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  font-family: inherit;
  color: #17141a;
}

.wg__msg {
  margin: 0;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #ffffff;
  color: #c2361a;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
}

@keyframes wg-wiggle {
  0%, 100% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(-4deg);
  }
  30% {
    transform: rotate(4deg);
  }
  45% {
    transform: rotate(-3deg);
  }
  60% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-1.5deg);
  }
  90% {
    transform: rotate(1.5deg);
  }
}
.wg__row.wg--wiggle {
  animation: wg-wiggle 600ms ease-out;
}

.wg.is-demo .wg__row {
  animation: wg-wiggle 600ms ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wg__row.wg--wiggle,
  .wg.is-demo .wg__row {
    animation: none !important;
  }
}
