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

.wp {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
}

.wp__field {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(110px, 32vh, 160px);
}

.wp__frame {
  box-sizing: border-box;
  width: min(100%, 300px);
  height: clamp(96px, 28vh, 140px);
  padding: 8px;
  background: #fff7e6;
  border: 3px solid #fff7e6;
  border-radius: 16px;
}

.wp__art {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, #b9a0ff 0%, #ff9ebb 74%, #ff4d1f 130%);
  will-change: transform;
}

.wp__sun {
  position: absolute;
  right: 16%;
  top: 22%;
  width: 26px;
  height: 26px;
  background: #ffd23f;
  border-radius: 50%;
}

.wp__ridge {
  position: absolute;
  left: -6%;
  right: -6%;
  border-radius: 999px 999px 0 0;
}

.wp__ridge--far {
  bottom: 30%;
  height: 30%;
  background: rgba(23, 20, 26, 0.38);
}

.wp__ridge--near {
  bottom: -4%;
  height: 42%;
  background: rgba(23, 20, 26, 0.82);
}

.wp__hint {
  margin: 0;
  color: #fff7e6;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
}

.wp.is-demo .wp__art {
  animation: wpStretch 2s ease-out infinite;
}

@keyframes wpStretch {
  0%, 8% {
    transform: skewX(0deg) scale(1);
  }
  22% {
    transform: skewX(-9deg) scale(1.1);
  }
  36%, 48% {
    transform: skewX(0deg) scale(1);
  }
  62% {
    transform: skewX(9deg) scale(1.1);
  }
  76%, 100% {
    transform: skewX(0deg) scale(1);
  }
}
@media (max-width: 340px) {
  .wp {
    gap: 8px;
  }
  .wp__field {
    height: clamp(96px, 28vh, 130px);
  }
  .wp__frame {
    height: clamp(84px, 24vh, 112px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wp.is-demo .wp__art {
    animation: none !important;
  }
  .wp.is-demo .wp__art {
    transform: skewX(0deg) scale(1) !important;
  }
}
