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

.lv {
  box-sizing: border-box;
  width: min(360px, 94vw);
  display: flex;
  align-items: flex-end;
  gap: 20px;
  background: #fff7e6;
  color: #17141a;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.lv__left {
  flex: 1 1 auto;
  min-width: 0;
}

.lv__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.lv__ic {
  display: inline-flex;
  color: #2f6df6;
}

.lv__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #c2361a;
  font-weight: 800;
  font-size: 10px;
  line-height: 1.2;
}

.lv__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c2361a;
  animation-name: lv-pulse;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

@keyframes lv-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.45;
  }
}
.lv__count {
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}

.lv__n {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #2f6df6;
}

.lv__st {
  margin: 4px 0 0;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.3;
  color: rgba(23, 20, 26, 0.6);
}

.lv__bars {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  width: 132px;
  height: 72px;
}

.lv__bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.lv__bar i {
  display: block;
  width: 12px;
  height: 100%;
  border-radius: 4px;
  background: #2f6df6;
  transform: scaleY(var(--v, 0.5));
  transform-origin: bottom;
  transition: transform 300ms ease-out;
}

.stage.is-demo .lv__bar i {
  animation-name: lv-wave;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  animation-delay: calc(var(--i) * 90ms);
}

@keyframes lv-wave {
  0%, 100% {
    transform: scaleY(0.34);
  }
  35% {
    transform: scaleY(1);
  }
  70% {
    transform: scaleY(0.58);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lv__dot, .stage.is-demo .lv__bar i, .lv__bar i {
    animation: none !important;
    transition: none !important;
  }
  .stage.is-demo .lv__bar i {
    transform: scaleY(var(--v, 0.5)) !important;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .lv {
    width: min(292px, 92vw);
    gap: 12px;
    padding: 12px;
  }
  .lv__head {
    gap: 4px;
  }
  .lv__ic svg {
    width: 14px;
    height: 14px;
  }
  .lv__live {
    padding: 0 4px;
    font-size: 9px;
  }
  .lv__count {
    margin-top: 4px;
    font-size: 11px;
  }
  .lv__n {
    font-size: 28px;
  }
  .lv__st {
    margin-top: 0;
    font-size: 9px;
  }
  .lv__bars {
    gap: 4px;
    width: 80px;
    height: 46px;
  }
  .lv__bar i {
    width: 8px;
  }
}
