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

.wr-frame {
  position: relative;
  width: min(260px, 78vw);
  aspect-ratio: 8/5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.wr-photo {
  position: absolute;
  inset: 0;
  background: radial-gradient(120px circle at 72% 28%, rgba(255, 255, 255, 0.55), transparent 60%), linear-gradient(150deg, #2f6df6, #17141a);
}

.wr-cover {
  position: absolute;
  inset: 0;
  background: #fff7e6;
  transform-origin: 100% 50%;
  transform: scaleX(1);
}

.wr-cover {
  transition: transform 600ms ease-out;
}

.wr-focal:hover .wr-cover {
  transform: scaleX(0);
}

@keyframes wr-wipe {
  0% {
    transform: scaleX(1);
  }
  8% {
    transform: scaleX(1);
  }
  45% {
    transform: scaleX(0);
  }
  60% {
    transform: scaleX(0);
  }
  95% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}
.wr-frame.is-demo .wr-cover {
  animation: wr-wipe 2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wr-focal:hover .wr-cover,
  .wr-frame.is-demo .wr-cover {
    animation: none !important;
    transition: none !important;
    transform: scaleX(0) !important;
  }
}
