.dawcito-export-visualizer {
  width: min(100%, 980px);
  margin: clamp(1rem, 3vw, 1.75rem) auto 0;
}

.dawcito-export-copy {
  margin: 0 auto 0.9rem;
  border: 1px solid rgba(255, 122, 0, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 28px rgba(255, 106, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  line-height: 1.48;
  padding: clamp(0.9rem, 2vw, 1.15rem);
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.82);
}

.dawcito-export-copy p {
  margin: 0;
}

.dawcito-export-copy p + p {
  margin-top: 0.7rem;
}

.dawcito-export-copy p:first-child {
  color: #fff;
  font-weight: 800;
}

.dawcito-export-stage {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 6.8;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.34);
  border-radius: 8px;
  background: #000;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.56),
    0 0 40px rgba(255, 106, 0, 0.12);
}

.dawcito-export-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 122, 0, 0.08), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 106, 0, 0.16), transparent 55%);
}

#dawcito-export-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.dawcito-export-controls {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: min(calc(100% - 24px), 360px);
  transform: translateX(-50%);
  pointer-events: none;
}

.dawcito-export-controls button {
  min-width: 92px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: 800 0.95rem/1.2 Arial, sans-serif;
  letter-spacing: 0.06em;
  padding: 0.72rem 1.1rem;
  pointer-events: auto;
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.38);
}

#dawcito-export-play {
  border: 1px solid rgba(255, 122, 0, 0.9);
  background: linear-gradient(180deg, #ff8a00, #f05a00);
}

#dawcito-export-stop {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(18, 18, 18, 0.92);
}

#dawcito-export-play:hover,
#dawcito-export-play.is-playing {
  background: linear-gradient(180deg, #ff9d21, #ff6a00);
}

#dawcito-export-stop:hover {
  border-color: rgba(255, 122, 0, 0.85);
  background: rgba(38, 20, 8, 0.96);
}

#dawcito-export-play:disabled:not(.is-playing),
#dawcito-export-stop:disabled {
  cursor: wait;
  opacity: 0.82;
}

#dawcito-export-play.is-playing:disabled {
  cursor: default;
  opacity: 1;
}

#dawcito-export-audio {
  display: none;
}

@media (max-width: 640px) {
  .dawcito-export-visualizer {
    margin-top: 0.9rem;
  }

  .dawcito-export-copy {
    max-height: 46vh;
    overflow: auto;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .dawcito-export-stage {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .dawcito-export-controls {
    top: 12px;
    gap: 0.5rem;
  }

  .dawcito-export-controls button {
    min-width: 76px;
    font-size: 0.82rem;
    padding: 0.62rem 0.8rem;
  }
}