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

.ez {
  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: #17141a;
}

.ez__in {
  position: absolute;
  left: 0;
  top: 0;
  width: 480px;
  height: 300px;
  transform-origin: 0 0;
}

.ez__pad {
  position: absolute;
  inset: 0;
  outline: none;
  cursor: default;
}

.ez__pad:focus-visible {
  outline: 3px solid #fff7e6;
  outline-offset: -3px;
}

.ez__ctrl {
  position: absolute;
  right: 16px;
  top: 12px;
}

.ez__pause {
  padding: 0 12px;
  border: 2px solid #fff7e6;
  border-radius: 999px;
  background: #fff7e6;
  color: #17141a;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

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

.ez__pause:focus-visible {
  outline: 3px solid #fff7e6;
  outline-offset: 3px;
}

.ez__status {
  position: absolute;
  left: 16px;
  top: 12px;
  width: 300px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff7e6;
  color: #17141a;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  box-sizing: border-box;
}

.ez__scene,
.ez__probe {
  position: absolute;
  left: 16px;
  top: 44px;
  width: 448px;
  height: 128px;
  border-radius: 16px;
  overflow: hidden;
}

.ez__scene {
  background: rgb(19.0274509804%, 17.6352941176%, 18.9960784314%);
}

.ez__probe {
  visibility: hidden;
  pointer-events: none;
}

.ez__chart {
  position: absolute;
  left: 16px;
  top: 180px;
  width: 448px;
  height: 72px;
  border-radius: 16px;
  background: rgb(19.0274509804%, 17.6352941176%, 18.9960784314%);
  overflow: hidden;
}

.ez__reada,
.ez__readb {
  position: absolute;
  left: 16px;
  width: 448px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 16px;
}

.ez__reada {
  top: 258px;
  color: rgb(78.1647058824%, 75.4980392157%, 70.9960784314%);
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Noto Sans KR", monospace;
}

.ez__readb {
  top: 276px;
  color: #fff7e6;
  font-weight: 700;
}

.ez__done {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sc {
  position: absolute;
  inset: 0;
}

.clk {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  animation: clk 2s linear both;
}

@keyframes clk {
  from {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}
.k0 {
  background: #ff9ebb;
}

.k1 {
  background: #4cd4a6;
}

.k2 {
  background: #b9a0ff;
}

.k3 {
  background: #6ec8ff;
}

.k4 {
  background: #fff7e6;
}

.bar,
.mk,
.ph {
  position: absolute;
  display: block;
  border-radius: 4px;
}

.mk {
  background: #ff9ebb;
}

.ph {
  left: 0;
  top: 4px;
  width: 2px;
  height: 48px;
  background: #fff7e6;
  border-radius: 0;
}

.ax {
  position: absolute;
  display: block;
  font-weight: 400;
  font-size: 10px;
  line-height: 14px;
  color: rgb(78.1647058824%, 75.4980392157%, 70.9960784314%);
  font-variant-numeric: tabular-nums;
}

.ax--r {
  text-align: right;
}

.tag {
  position: absolute;
  display: block;
  font-weight: 700;
  font-size: 10px;
  line-height: 14px;
  color: rgb(78.1647058824%, 75.4980392157%, 70.9960784314%);
  white-space: nowrap;
}

@media (max-width: 340px) {
  .ez__pause,
  .ez__status {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ez * {
    animation: none !important;
  }
  .ez__pause {
    transition: none !important;
  }
}
.s1 {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  padding: 12px;
}

.s1__c {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  animation: s1rise var(--dur, 520ms) cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * var(--gap, 120ms));
}

.s1__n {
  font-size: 18px;
  font-weight: 700;
  color: #17141a;
}

@keyframes s1rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
