/* ═══════════════════════════════════════
   EFFECT PACKS — the steps' settings box and the Playback clip canvas.
   Both steps use the shared generator step rules in workbench-pages.css.
   ═══════════════════════════════════════ */

/* A plain wrapper whose only job is to lock its fields while a run is going
   (the `disabled` attribute reaches every input inside). */
.wbfx-set {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.wbfx-set:disabled {
  opacity: 0.6;
}

/* The clip preview: drawn at a fixed size, scaled to the light table. It
   paints its own black backdrop, the one the game composites over. */
.wbfx-canvas {
  display: block;
  width: min(720px, 100%);
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* The play controls under the clip: Play, Loop, the frame slider and which
   frame it is on. */
.wbfx-transport {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.wbfx-scrub {
  width: 200px;
  accent-color: var(--accent);
}

.wbfx-frame {
  min-width: 92px;
  font: 12px var(--font-mono);
  color: var(--text-secondary);
}

.wbfx-canvas:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}
