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

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

.zl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 288px;
}

.zl__view {
  box-sizing: border-box;
  width: 100%;
  height: 124px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff7e6;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.zl__layer {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 82% 16%, #ff9ebb 0 6%, transparent 7%), repeating-linear-gradient(0deg, rgba(23, 20, 26, 0.68) 0 2.4%, transparent 2.4% 9%), linear-gradient(#fff7e6, #fff7e6);
  transform-origin: center center;
  transform: scale(1);
}

.zl__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.88);
  color: #fff7e6;
}

.zl__btn {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 247, 230, 0.14);
  color: inherit;
  cursor: pointer;
}

.zl__btn:disabled {
  opacity: 0.38;
  cursor: default;
}

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

.zl__btn--fit {
  background: rgba(255, 210, 63, 0.32);
}

.zl__pct {
  position: relative;
  width: 56px;
  height: 20px;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.zl__n {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
}

.zl__n--1 {
  opacity: 1;
}

.zl.is-demo .zl__layer,
.zl.is-demo .zl__n {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.zl.is-demo .zl__layer {
  animation-name: zl-zoom;
}

.zl.is-demo .zl__n--1 {
  animation-name: zl-n1;
}

.zl.is-demo .zl__n--2 {
  animation-name: zl-n2;
}

.zl.is-demo .zl__n--3 {
  animation-name: zl-n3;
}

.zl.is-demo .zl__n--4 {
  animation-name: zl-n4;
}

@keyframes zl-zoom {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.5);
  }
  28% {
    transform: scale(2);
  }
  44% {
    transform: scale(3);
  }
  58% {
    transform: scale(2);
  }
  72% {
    transform: scale(1.5);
  }
  86% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes zl-n1 {
  0% {
    opacity: 1;
  }
  14% {
    opacity: 0;
  }
  86% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes zl-n2 {
  0% {
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  28% {
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  86% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes zl-n3 {
  0% {
    opacity: 0;
  }
  28% {
    opacity: 1;
  }
  44% {
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  72% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes zl-n4 {
  0% {
    opacity: 0;
  }
  44% {
    opacity: 1;
  }
  58% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 360px) {
  .zl__view {
    height: 116px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zl.is-demo .zl__layer,
  .zl.is-demo .zl__n {
    animation: none !important;
  }
  .zl.is-demo .zl__layer {
    transform: scale(2);
  }
  .zl.is-demo .zl__n--1 {
    opacity: 0;
  }
  .zl.is-demo .zl__n--3 {
    opacity: 1;
  }
}
