html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.vj {
  position: relative;
  width: min(92vw, 160vh - 12.8vw);
  aspect-ratio: 480/300;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: rgb(95.0588235294%, 90.7215686275%, 91.9607843137%);
  container-type: inline-size;
}

.vj__scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.stack {
  display: grid;
  justify-items: center;
  gap: 1.6cqw;
  padding-top: 5cqw;
}

.cap {
  font-size: max(10px, 3.1cqw);
  font-weight: 700;
  line-height: 1.3;
  color: #17141a;
  text-align: center;
}

.cap--bad {
  color: #c2361a;
}

.odo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #17141a;
}

.odo.lg {
  font-size: 16.5cqw;
}

.odo.xl {
  font-size: 19cqw;
}

.odo.md {
  font-size: 6.4cqw;
}

.odo.sm {
  font-size: 6.6cqw;
}

.odo__sep {
  padding: 0 0.04em;
  font-size: 0.7em;
  color: rgba(23, 20, 26, 0.6);
  align-self: flex-end;
  margin-bottom: 0.1em;
}

.odo__sep--unit {
  margin-left: 0.2em;
  font-size: 0.5em;
  color: #17141a;
}

.dg {
  position: relative;
  display: inline-block;
  width: 0.64em;
  height: 1.12em;
  margin: 0 0.03em;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 -0.05em 0 rgba(23, 20, 26, 0.08);
}

.dg__col {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1200%;
  display: flex;
  flex-direction: column;
}

.dg__cell {
  flex: 0 0 8.3333333333%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dg__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(110, 200, 255, 0.5), rgba(185, 160, 255, 0.5));
}

.dg__bar {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4%;
  height: 5%;
  border-radius: 4px;
  background: #6ec8ff;
  transform: scaleX(0);
}

.dg__bar.is-over {
  background: #ff9ebb;
}

.panel {
  position: relative;
  padding: 3cqw 5cqw;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.panel .dg {
  background: rgba(255, 255, 255, 0.55);
}

.panel__flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.panel.is-up .panel__flash {
  background: rgba(76, 212, 166, 0.55);
}

.panel.is-down .panel__flash {
  background: rgba(255, 158, 187, 0.6);
}

.fl {
  position: relative;
  display: inline-block;
  width: 0.66em;
  height: 1.12em;
  margin: 0 0.03em;
  perspective: 2.4em;
}

.fl__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
}

.fl__top,
.fl__ft {
  top: 0;
  border-radius: 8px 8px 0 0;
  background: rgb(93.4117647059%, 91.0588235294%, 100%);
}

.fl__bot,
.fl__fb {
  bottom: 0;
  border-radius: 0 0 8px 8px;
  background: rgb(97.2549019608%, 96.2745098039%, 100%);
}

.fl__ft {
  z-index: 2;
  transform-origin: 50% 100%;
}

.fl__fb {
  z-index: 2;
  transform-origin: 50% 0;
  opacity: 0;
}

.fl__num {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17141a;
}

.fl__top .fl__num,
.fl__ft .fl__num {
  top: 0;
}

.fl__bot .fl__num,
.fl__fb .fl__num {
  bottom: 0;
}

.fl__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  z-index: 1;
  border-radius: 0 0 8px 8px;
  background: #17141a;
  opacity: 0;
  pointer-events: none;
}

.fl__seam {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  z-index: 3;
  background: rgba(23, 20, 26, 0.2);
}

.dr {
  position: relative;
  width: 28cqw;
  height: 42cqw;
  margin: 0 1cqw;
  overflow: hidden;
  border-radius: 16px;
  font-size: 8cqw;
  background: linear-gradient(180deg, rgba(23, 20, 26, 0.14), rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.9) 62%, rgba(23, 20, 26, 0.14));
}

.dr__band {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 16%;
  margin-top: -8%;
  border-radius: 8px;
  background: rgba(185, 160, 255, 0.38);
}

.dr__groove {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.5);
  opacity: 0;
}

.dr__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 16%;
  margin-top: -8%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  opacity: 0;
}

.ruler {
  position: relative;
  width: 90cqw;
  height: 9.6cqw;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.ruler__track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
}

.ruler__tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7cqw;
  margin-left: -3.5cqw;
  padding-top: 4.4cqw;
  box-sizing: border-box;
  font-size: 3.4cqw;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: rgba(23, 20, 26, 0.6);
}

.ruler__tick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.6cqw;
  height: 2.8cqw;
  margin-left: -0.3cqw;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.4);
}

.ruler__tick.is-major {
  color: #17141a;
}

.ruler__tick.is-major::before {
  height: 4cqw;
  background: #17141a;
}

.ruler__needle {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1cqw;
  margin-left: -0.5cqw;
  border-radius: 4px;
  background: #ff9ebb;
}

.hero {
  display: flex;
  gap: 2.6cqw;
}

.hero__stat {
  display: grid;
  justify-items: center;
  gap: 1cqw;
  padding: 2.6cqw 2.8cqw;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.hero__label {
  font-size: max(10px, 2.8cqw);
  font-weight: 700;
  color: #17141a;
}

.vj__pad {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.vj__pad:focus-visible {
  outline: 3px solid #17141a;
  outline-offset: -3px;
}

.vj__pause {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 12px;
  border: 2px solid #17141a;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vj__pause[aria-pressed=true] {
  background: #fff7e6;
  color: #17141a;
}

.vj__pause:hover {
  transform: translateY(-2px);
}

.vj__pause:active {
  transform: translateY(1px);
}

.vj__pause:focus-visible {
  outline: 3px solid #17141a;
  outline-offset: 3px;
}

.vj__status {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.vj__live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 340px) {
  .vj__pause,
  .vj__status {
    font-size: 10px;
    padding: 0 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vj__pause {
    transition: none !important;
  }
  .vj__pause:hover,
  .vj__pause:active {
    transform: none !important;
  }
}
