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

.ct {
  box-sizing: border-box;
  width: min(248px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  text-align: center;
  color: #fff7e6;
}

.ct__track {
  box-sizing: border-box;
  width: 100%;
  height: 64px;
  display: grid;
  place-items: center;
  border-bottom: 1px dashed rgba(255, 247, 230, 0.28);
  overflow: hidden;
}

.ct__cart {
  display: block;
  font-size: clamp(36px, 11vw, 48px);
  line-height: 0;
  color: #fff7e6;
  transform-origin: 50% 78%;
}

.ct__title {
  margin: 0;
  font-size: clamp(12px, 4vw, 14px);
  line-height: 1.3;
  font-weight: 800;
}

.ct__sub {
  margin: 0;
  min-height: 14px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: rgba(255, 247, 230, 0.62);
}

.ct.is-filled .ct__sub {
  color: #fff7e6;
}

.ct__btn {
  height: 28px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ct__btn:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.ct.is-demo .ct__cart {
  animation: ct-roll 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes ct-roll {
  0%, 100% {
    transform: translateX(-74px) rotate(-14deg);
  }
  38% {
    transform: translateX(0) rotate(0deg);
  }
  52% {
    transform: translateX(0) rotate(-9deg);
  }
  66% {
    transform: translateX(0) rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct.is-demo .ct__cart {
    animation: none !important;
    transform: translateX(0);
  }
}
