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

.ck {
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.ck__art {
  position: relative;
  width: clamp(96px, 26vw, 120px);
  height: clamp(96px, 26vw, 120px);
}

.ck__icon {
  display: block;
  width: 100%;
  height: 100%;
  color: #17141a;
}

.ck__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ck__crumb {
  position: absolute;
  border-radius: 50%;
  background: #17141a;
  opacity: 0;
}

.ck__crumb--a {
  width: 8px;
  height: 8px;
  left: calc(50% - 4px);
  top: calc(50% - 4px);
}

.ck__crumb--b {
  width: 10px;
  height: 10px;
  left: calc(50% - 5px);
  top: calc(50% - 5px);
}

.ck__crumb--c {
  width: 6px;
  height: 6px;
  left: calc(50% - 3px);
  top: calc(50% - 3px);
}

.ck__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(12px, 3.2vw, 14px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ck__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.16);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ck__btn {
  border: 0;
  border-radius: 999px;
  background: #17141a;
  color: #ffd23f;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}

.ck__btn:hover {
  opacity: 0.84;
}

.ck__btn:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.ck__btn:active {
  transform: scale(0.96);
}

.ck.is-demo .ck__icon,
.ck.is-burst .ck__icon {
  animation: ck-pop 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ck.is-demo .ck__crumb--a,
.ck.is-burst .ck__crumb--a {
  animation: ck-crumb-a 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ck.is-demo .ck__crumb--b,
.ck.is-burst .ck__crumb--b {
  animation: ck-crumb-b 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ck.is-demo .ck__crumb--c,
.ck.is-burst .ck__crumb--c {
  animation: ck-crumb-c 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ck.is-burst .ck__icon,
.ck.is-burst .ck__crumb {
  animation-iteration-count: 1;
}

@keyframes ck-pop {
  0% {
    transform: scale(1);
  }
  18% {
    transform: scale(0.88);
  }
  44% {
    transform: scale(1.08);
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ck-crumb-a {
  0% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
  16% {
    transform: translate(-12px, -10px) scale(1);
    opacity: 1;
  }
  46% {
    transform: translate(-34px, -26px) scale(1);
    opacity: 1;
  }
  78% {
    transform: translate(-10px, -8px) scale(0.7);
    opacity: 0.5;
  }
  100% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
}
@keyframes ck-crumb-b {
  0% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
  16% {
    transform: translate(10px, -12px) scale(1);
    opacity: 1;
  }
  46% {
    transform: translate(30px, -32px) scale(1);
    opacity: 1;
  }
  78% {
    transform: translate(8px, -10px) scale(0.7);
    opacity: 0.5;
  }
  100% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
}
@keyframes ck-crumb-c {
  0% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
  16% {
    transform: translate(8px, 10px) scale(1);
    opacity: 1;
  }
  46% {
    transform: translate(24px, 28px) scale(1);
    opacity: 1;
  }
  78% {
    transform: translate(6px, 8px) scale(0.7);
    opacity: 0.5;
  }
  100% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
}
@media (max-width: 340px) {
  .ck {
    gap: 8px;
  }
  .ck__btn {
    padding: 4px 12px;
  }
  .ck__count {
    min-width: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ck.is-demo .ck__icon, .ck.is-burst .ck__icon,
  .ck.is-demo .ck__crumb, .ck.is-burst .ck__crumb {
    animation: none !important;
  }
  .ck__crumb {
    opacity: 1;
  }
  .ck__crumb--a {
    transform: translate(-34px, -26px);
  }
  .ck__crumb--b {
    transform: translate(30px, -32px);
  }
  .ck__crumb--c {
    transform: translate(24px, 28px);
  }
  .ck__btn {
    transition: none;
  }
}
