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

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

.sl__scene {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(110px, 32vh, 160px);
  border: 3px solid #fff7e6;
  border-radius: 16px;
  background: #2a272c;
}

.sl__word {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max-content;
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(255, 247, 230, 0.78);
  font-weight: 800;
  font-size: clamp(20px, 6vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.sl__star {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 247, 230, 0.55);
  transform: rotate(45deg);
}

.sl__light {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 247, 230, 0.95) 0%, rgba(255, 210, 63, 0.38) 38%, rgba(255, 210, 63, 0) 68%);
  mix-blend-mode: screen;
  border-radius: 50%;
  will-change: transform;
}

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

.sl.is-demo .sl__light {
  animation: slSweep 2s ease-out infinite;
}

@keyframes slSweep {
  0%, 6% {
    transform: translate3d(-96px, -46px, 0);
  }
  44%, 54% {
    transform: translate3d(190px, -30px, 0);
  }
  88%, 100% {
    transform: translate3d(-96px, -46px, 0);
  }
}
@media (max-width: 340px) {
  .sl {
    gap: 8px;
  }
  .sl__scene {
    height: clamp(96px, 28vh, 130px);
  }
  .sl__word {
    font-size: clamp(16px, 5vw, 22px);
  }
  .sl.is-demo .sl__light {
    animation-name: slSweepNarrow;
  }
}
@keyframes slSweepNarrow {
  0%, 6% {
    transform: translate3d(-100px, -44px, 0);
  }
  44%, 54% {
    transform: translate3d(160px, -30px, 0);
  }
  88%, 100% {
    transform: translate3d(-100px, -44px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sl.is-demo .sl__light {
    animation: none !important;
  }
  .sl.is-demo .sl__light {
    transform: translate3d(60px, -40px, 0) !important;
  }
}
