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

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

.zzm {
  box-sizing: border-box;
  width: clamp(280px, 92vw, 448px);
  border: 3px solid #241f26;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 0 #241f26;
}

.zzm__sec {
  box-sizing: border-box;
  padding: 16px 20px;
}

.zzm__sec--top {
  background: #cec29c;
}

.zzm__sec--bottom {
  background: #71b9ab;
}

.zzm__kicker {
  margin: 0 0 4px;
  color: #241f26;
  font-weight: 700;
  font-size: clamp(9px, 2.2vw, 10.5px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.14em;
}

.zzm__head {
  margin: 0;
  color: #241f26;
  font-weight: 800;
  font-size: clamp(13px, 3vw, 16px);
  line-height: 1.3;
  font-family: inherit;
}

.zzm__zip {
  position: relative;
  height: 32px;
  background: #fdf4ec;
}

.zzm__teeth {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 32px;
}

.zzm__teeth--down {
  background: conic-gradient(from 315deg at 50% 100%, #cec29c 0 90deg, transparent 90deg 360deg);
  background-size: 16px 16px;
  background-repeat: repeat-x;
  animation: teethFlow 2s linear infinite;
}

.zzm__teeth--up {
  top: 16px;
  background: conic-gradient(from 135deg at 50% 0%, #71b9ab 0 90deg, transparent 90deg 360deg);
  background-size: 16px 16px;
  background-repeat: repeat-x;
  background-position: 8px 0;
  animation: teethFlow 2s linear infinite reverse;
}

.zzm__chip {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #241f26;
  color: #241f26;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  font-family: inherit;
}

@keyframes teethFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-32px);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .zzm {
    width: 244px;
  }
  .zzm__sec {
    padding: 12px 16px;
  }
  .zzm__head {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zzm__teeth {
    animation: none !important;
    transform: none;
  }
}
