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

.peq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(400px, 92vw);
}

.peq__hint {
  margin: 0;
  color: #17141a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.peq__panel {
  width: 100%;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.07);
  box-shadow: 0 0 0 1px rgba(23, 20, 26, 0.16);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.peq__play {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #17141a;
  color: #ff4d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 300ms ease-out;
}

.peq__play:hover {
  transform: scale(1.06);
}

.peq__play:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.peq__play:active {
  transform: scale(0.96);
}

.peq__ico {
  width: 16px;
  height: 16px;
}

.peq__ico--pause {
  display: none;
}

.is-playing .peq__ico--play {
  display: none;
}

.is-playing .peq__ico--pause {
  display: block;
}

.peq__bands {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.peq__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}

.peq__bars {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.peq__bar {
  flex: 1 1 auto;
  max-width: 8px;
  height: 100%;
  border-radius: 4px 4px 0 0;
  background: #17141a;
  transform: scaleY(0.3);
  transform-origin: bottom center;
}

.peq__slider {
  width: 100%;
  accent-color: #17141a;
}

.peq__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(23, 20, 26, 0.78);
}

@media (max-width: 340px) {
  .peq__panel {
    padding: 4px;
    gap: 4px;
  }
  .peq__play {
    width: 28px;
    height: 28px;
  }
  .peq__bands {
    gap: 4px;
  }
  .peq__bars {
    height: 40px;
  }
  .peq__label {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .peq__play {
    transition: none;
  }
}
