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

.cr-wrap {
  position: relative;
  width: min(320px, 88vw);
  height: min(220px, 62vh);
  overflow: hidden;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.06);
}

.cr-banner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  color: #17141a;
  font: 700 18px/1.3 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.cr-piece {
  position: absolute;
  top: -220px;
  width: 9px;
  height: 16px;
  border-radius: 4px;
  opacity: 0.95;
  animation-duration: 2s;
}

.cr-piece:nth-child(2) {
  left: 5.2631578947%;
  top: -40px;
  background: #ff4d1f;
  animation-duration: 1840ms;
}

.cr-piece:nth-child(3) {
  left: 10.5263157895%;
  top: 160px;
  background: #17141a;
  animation-duration: 1980ms;
}

.cr-piece:nth-child(4) {
  left: 15.7894736842%;
  top: -180px;
  background: #fff7e6;
  animation-duration: 2120ms;
}

.cr-piece:nth-child(5) {
  left: 21.0526315789%;
  top: 20px;
  background: #2f6df6;
  animation-duration: 2260ms;
}

.cr-piece:nth-child(6) {
  left: 26.3157894737%;
  top: 100px;
  background: #ff4d1f;
  animation-duration: 1700ms;
}

.cr-piece:nth-child(7) {
  left: 31.5789473684%;
  top: -120px;
  background: #17141a;
  animation-duration: 1840ms;
}

.cr-piece:nth-child(8) {
  left: 36.8421052632%;
  top: 60px;
  background: #fff7e6;
  animation-duration: 1980ms;
}

.cr-piece:nth-child(9) {
  left: 42.1052631579%;
  top: -200px;
  background: #2f6df6;
  animation-duration: 2120ms;
}

.cr-piece:nth-child(10) {
  left: 47.3684210526%;
  top: 140px;
  background: #ff4d1f;
  animation-duration: 2260ms;
}

.cr-piece:nth-child(11) {
  left: 52.6315789474%;
  top: -20px;
  background: #17141a;
  animation-duration: 1700ms;
}

.cr-piece:nth-child(12) {
  left: 57.8947368421%;
  top: 180px;
  background: #fff7e6;
  animation-duration: 1840ms;
}

.cr-piece:nth-child(13) {
  left: 63.1578947368%;
  top: -100px;
  background: #2f6df6;
  animation-duration: 1980ms;
}

.cr-piece:nth-child(14) {
  left: 68.4210526316%;
  top: 40px;
  background: #ff4d1f;
  animation-duration: 2120ms;
}

.cr-piece:nth-child(15) {
  left: 73.6842105263%;
  top: -160px;
  background: #17141a;
  animation-duration: 2260ms;
}

.cr-piece:nth-child(16) {
  left: 78.9473684211%;
  top: 120px;
  background: #fff7e6;
  animation-duration: 1700ms;
}

.cr-piece:nth-child(17) {
  left: 84.2105263158%;
  top: -60px;
  background: #2f6df6;
  animation-duration: 1840ms;
}

.cr-piece:nth-child(18) {
  left: 89.4736842105%;
  top: 200px;
  background: #ff4d1f;
  animation-duration: 1980ms;
}

.cr-piece:nth-child(19) {
  left: 94.7368421053%;
  top: -140px;
  background: #17141a;
  animation-duration: 2120ms;
}

@keyframes cr-fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(520px) rotate(300deg);
  }
}
.cr-wrap.is-demo .cr-piece {
  animation-name: cr-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cr-wrap.is-demo .cr-piece {
    animation: none !important;
    opacity: 0 !important;
  }
}
