/* (EDIT CLIP AUDIO) The clip's sound in the Edit tool (js/edit-clip-audio.js; Simon, 8 Nov 2026: "Turn the audio on or
   off and dial up and down the volume on the clip in the edit tool"). A speaker and a small slider beside the room's
   transport (#cv-aud, after the frame-forward button), and at the right end of the viewer's bar when the room is seated
   on the viewer. Brand pink while the sound is on; crossed out and faint while it is off. */
.eca-wrap { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.eca-wrap.hidden { display: none; }
.cv-time .cv-aud { display: inline-flex; flex: none; }
.eca-wrap .eca-mute {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 28px; height: 26px; padding: 0; box-sizing: border-box; cursor: pointer; touch-action: none;
  color: var(--accent); border-color: rgba(var(--accent-rgb, 229, 10, 78), .5);
}
.eca-wrap .eca-mute svg { width: 14px; height: 14px; display: block; flex: none; }
.eca-wrap .eca-mute.off { color: var(--text-faint); border-color: var(--border); }
.eca-wrap .eca-mute.off:hover { color: var(--text-dim); }
.eca-wrap .eca-mute:focus-visible { outline: none; box-shadow: var(--focus-ring, 0 0 0 2px rgba(229, 10, 78, .55)); }
.eca-wrap .eca-vol {
  width: 64px; height: 14px; margin: 0; flex: none; cursor: pointer;
  accent-color: var(--accent);
}
.eca-wrap.off .eca-vol { opacity: .45; }
.cv-time.tight .eca-wrap { gap: 4px; }
.cv-time.tight .eca-wrap .eca-vol { width: 44px; }
/* On the viewer's bar: the bar's own button size (.ev-vbar-go). */
#ev-vbar .eca-vbar .eca-mute { width: 26px; height: 24px; border-radius: 5px; background: transparent; }
#ev-vbar .eca-vbar .eca-vol { width: 56px; }
