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

.sc {
  display: flex;
  gap: 12px;
  width: min(420px, 94vw);
}

.sc__card {
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: calc((100% - 12px * 2) / 3);
  overflow: hidden;
  border-radius: 16px;
  padding: 16px 8px 12px;
  background: rgba(255, 247, 230, 0.06);
  text-align: center;
}

.sc__card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: #2f6df6;
  transform-origin: center;
  animation: sc-pulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.sc__card:nth-child(1)::before {
  animation-delay: 0ms;
}

.sc__card:nth-child(2)::before {
  animation-delay: 220ms;
}

.sc__card:nth-child(3)::before {
  animation-delay: 440ms;
}

@keyframes sc-pulse {
  0%, 70%, 100% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }
  30% {
    transform: scaleX(1);
    opacity: 1;
  }
}
.sc__num {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: clamp(20px, 7vw, 28px);
  line-height: 1;
  font-family: inherit;
  color: #fff7e6;
  font-variant-numeric: tabular-nums;
}

.sc__label {
  margin: 0;
  font-weight: 600;
  font-size: clamp(9px, 2.6vw, 10px);
  line-height: 1.3;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.58);
}

@media (max-width: 340px), (max-height: 220px) {
  .sc {
    gap: 8px;
  }
  .sc__card {
    padding: 8px 4px;
  }
  .sc__num {
    font-size: 16px;
  }
  .sc__label {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc__card::before {
    animation: none !important;
    transform: scaleX(1);
    opacity: 1;
  }
}
