/* Layout des Audio-Visualizers: Steuerung links, große Canvas-Bühne rechts. */

.audio-app {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 16px;
  padding: 16px;
  max-width: 1500px;
  margin: 0 auto;
}

.sidebar { display: flex; flex-direction: column; gap: 12px; }

.status { font-size: 0.85rem; margin: 0; min-height: 1.4em; }
.status.working { color: var(--accent); }
.status.error { color: var(--danger); }

.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; }
.field output { font-family: var(--mono); color: var(--text); }

select {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  width: 100%;
}
input[type="color"] {
  width: 100%; height: 34px; padding: 2px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); cursor: pointer;
}

/* Bühne */
.stage {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0e14;
  min-height: 70vh;
}
#viz { display: block; width: 100%; height: 100%; }

.stage .hint-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
}
.stage.active .hint-overlay { display: none; }

@media (max-width: 1000px) {
  .audio-app { grid-template-columns: 1fr; }
  .stage { min-height: 50vh; }
}
