/* Transport state is independent of the selected transport and instrument palette. */
html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state]{opacity:1;transition:background-color .12s,color .12s,border-color .12s}
html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state=idle]{background:#232932!important;border-color:#53606b!important;color:#e9e6df!important;box-shadow:none!important}
html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state=queued]{background:#ffd166!important;border-color:#ffd166!important;color:#281b00!important;animation:transport-cue 1s steps(2,end) infinite}
html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state=playing]{background:#82e3a0!important;border-color:#82e3a0!important;color:#092817!important;box-shadow:0 0 12px #82e3a055!important;animation:none}
html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state=stop-queued]{background:#ff7a89!important;border-color:#ff7a89!important;color:#31070e!important;animation:transport-cue 1s steps(2,end) infinite}
html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state=stopped]{background:#81bcff!important;border-color:#81bcff!important;color:#081e37!important;box-shadow:0 0 8px #81bcff33!important;animation:none}
@keyframes transport-cue{0%,100%{filter:brightness(1)}50%{filter:brightness(.48)}}
@media(prefers-reduced-motion:reduce){html body :is(#play,#play-song,#stop,.play-dock button,.play-recording-controls button)[data-transport-state]{animation:none!important;transition:none}}

/* Shared mixer feedback: blinking amber is pending; solid red/blue is active. */
html body :is(#mixer,#instrument-panel,.play-dock) button[data-mix-state=queued]{background:#ffd166!important;border-color:#ffd166!important;color:#281b00!important;animation:transport-cue 1s steps(2,end) infinite!important}
html body :is(#mixer,#instrument-panel,.play-dock) button[data-mix-state=active][data-mix-kind=mute]{background:#ff6b78!important;border-color:#ff6b78!important;color:#290b0f!important;animation:none!important}
html body :is(#mixer,#instrument-panel,.play-dock) button[data-mix-state=active][data-mix-kind=solo]{background:#79bdff!important;border-color:#79bdff!important;color:#071c31!important;animation:none!important}
html body :is(#mixer,#instrument-panel,.play-dock) button[data-mix-state=idle]{background:#232932!important;border-color:#53606b!important;color:#e9e6df!important;animation:none!important}
@media(prefers-reduced-motion:reduce){html body :is(#mixer,#instrument-panel,.play-dock) button[data-mix-state=queued]{animation:none!important}}
