@property --mx {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}
@property --my {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}
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);
}

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

.lt__panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: clamp(216px, 56vw, 280px);
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.06);
}

.lt__panel:focus-visible {
  outline: 3px solid #2f6df6;
  outline-offset: 8px;
}

.lt__surface {
  position: relative;
  overflow: hidden;
  height: clamp(72px, 19vw, 92px);
  border-radius: 8px;
  isolation: isolate;
}

.lt__surface--facet {
  background: conic-gradient(from 210deg at 50% 50%, rgba(47, 109, 246, 0.92) 0deg 60deg, rgba(47, 109, 246, 0.55) 60deg 120deg, rgba(47, 109, 246, 0.78) 120deg 180deg, rgba(47, 109, 246, 0.42) 180deg 240deg, rgba(47, 109, 246, 0.86) 240deg 300deg, rgba(47, 109, 246, 0.6) 300deg 360deg);
}

.lt__surface--wave {
  background: repeating-radial-gradient(circle at 50% 120%, rgba(255, 247, 230, 0.22) 0 8px, rgba(255, 247, 230, 0.04) 8px 16px);
}

.lt__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 76px at var(--mx) var(--my), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.28) 42%, rgba(255, 255, 255, 0) 72%);
  mix-blend-mode: screen;
}

.lt__label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff7e6;
  font-weight: 800;
  font-size: clamp(10px, 2.6vw, 12px);
  text-shadow: 0 1px 3px rgba(23, 20, 26, 0.7);
}

.lt__ico {
  position: absolute;
  right: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  color: rgba(255, 210, 63, 0.9);
}

.lt__hint {
  margin: 0;
  color: rgba(255, 247, 230, 0.78);
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
}

.lt.is-demo .lt__surface {
  animation-name: ltSweep;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.lt.is-demo .lt__surface--wave {
  animation-name: ltSweepWave;
}

@keyframes ltSweep {
  0%, 6% {
    --mx: 6%;
    --my: 88%;
  }
  46%, 58% {
    --mx: 92%;
    --my: 16%;
  }
  94%, 100% {
    --mx: 6%;
    --my: 88%;
  }
}
@keyframes ltSweepWave {
  0%, 22% {
    --mx: -18%;
    --my: 96%;
  }
  62%, 74% {
    --mx: 68%;
    --my: 12%;
  }
  96%, 100% {
    --mx: -18%;
    --my: 96%;
  }
}
@media (max-width: 340px) {
  .lt__panel {
    gap: 8px;
    padding: 8px;
  }
  .lt__surface {
    height: clamp(56px, 18vw, 72px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lt.is-demo .lt__surface {
    animation: none !important;
    --mx: 62% !important;
    --my: 34% !important;
  }
}
