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

.panel {
  position: relative;
  overflow: hidden;
  width: clamp(200px, 70vw, 260px);
  height: clamp(120px, 42vw, 150px);
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: #fff7e6;
  color: #17141a;
  box-sizing: border-box;
  padding: clamp(12px, 5vw, 18px);
  text-align: left;
}

.panel__title {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: clamp(12px, 3.6vw, 15px);
  line-height: 1.3;
  font-family: inherit;
}

.panel__line {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 55%;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.25;
}

.wipe {
  position: absolute;
  z-index: 0;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #17141a;
  transform-origin: 78% 22%;
  transform: scale(0);
  animation: wipe-scale 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.origin {
  position: absolute;
  z-index: 2;
  top: clamp(8px, 3vw, 12px);
  right: clamp(8px, 3vw, 12px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffd23f;
  animation: origin-pulse 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes wipe-scale {
  0%, 10% {
    transform: scale(0);
  }
  45%, 55% {
    transform: scale(1);
  }
  90%, 100% {
    transform: scale(0);
  }
}
@keyframes origin-pulse {
  0%, 10% {
    opacity: 1;
    transform: scale(1);
  }
  45%, 55% {
    opacity: 0.4;
    transform: scale(1.3);
  }
  90%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wipe, .origin {
    animation: none !important;
    transform: scale(0);
  }
}
