/* ------------------------------------------------------------------
   Review mixer (assets/js/review-mixer.js): the host's live mixer panel (.rvm--live)
   and the read-only mirror used by the OBS widget (.rvm--view).
   Everything is prefixed rvm- and sized in em, so the whole component scales with
   the font-size of whatever contains it (the overlay sets that from the viewport).
   Colours come from the site tokens (site.css) with the same values as fallbacks, so
   the file also works on pages that do not load site.css (the overlay).
   Michroma ships one weight: emphasis is colour and size, never font-weight.
-------------------------------------------------------------------*/
.rvm {
  --rvm-bg:      var(--surface, #18120b);
  --rvm-bg2:     var(--surface-2, #201808);
  --rvm-line:    var(--hairline, #3a2c17);
  --rvm-ink:     var(--ink, #f7efdd);
  --rvm-dim:     var(--ink-dim, #c6b489);
  --rvm-faint:   var(--ink-faint, #8c7b57);
  --rvm-gold:    var(--gold, #c9a227);
  --rvm-gold-hi: var(--gold-hi, #f4d67c);
  --rvm-danger:  var(--danger, #e2604a);
  --rvm-ok:      #8fc98a;
  --rvm-meter-h: 9em;

  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: 1.1em 1.2em 1.2em;
  font-family: var(--font-body, "Michroma", "Segoe UI", sans-serif);
  font-size: 13px;
  line-height: 1.4;
  color: var(--rvm-ink);
  background: var(--rvm-bg);
  border: 1px solid var(--rvm-line);
  border-radius: 0.8em;
  text-align: left;
}
.rvm *, .rvm *::before, .rvm *::after { box-sizing: border-box; }
.rvm [hidden] { display: none !important; }

/* ---- header ---- */
.rvm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em 0.8em; }
.rvm-title { font-size: 0.85em; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rvm-gold-hi); }
.rvm-chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.25em 0.8em; font-size: 0.72em; color: var(--rvm-dim);
  border: 1px solid var(--rvm-line); border-radius: 999px;
}
.rvm-chip::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--rvm-faint); }
.rvm[data-mode="element"] .rvm-chip::before,
.rvm[data-mode="stream"] .rvm-chip::before,
.rvm[data-mode="stems"] .rvm-chip::before { background: var(--rvm-ok); }
.rvm[data-pending] .rvm-chip { color: var(--rvm-gold-hi); border-color: var(--rvm-gold-dim, #8a6c1f); }
.rvm[data-pending] .rvm-chip::before { background: var(--rvm-gold); }
.rvm-actions { display: flex; flex-wrap: wrap; gap: 0.5em; margin-left: auto; }

.rvm-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 0.5em 1em; font: inherit; font-size: 0.74em; letter-spacing: 0.04em;
  color: var(--rvm-dim); background: transparent;
  border: 1px solid var(--rvm-line); border-radius: 999px;
}
.rvm-btn:hover:not(:disabled) { color: var(--rvm-gold-hi); border-color: var(--rvm-gold); }
.rvm-btn:focus-visible, .rvm-ms-btn:focus-visible, .rvm-slider:focus-visible { outline: 2px solid var(--rvm-gold-hi); outline-offset: 2px; }
.rvm-btn:disabled { opacity: 0.4; cursor: default; }
.rvm-btn.is-on { color: #1a1304; background: var(--rvm-gold); border-color: var(--rvm-gold); }
.rvm-btn--gold { color: var(--rvm-gold-hi); border-color: var(--rvm-gold); }
.rvm-badge {
  padding: 0.3em 0.9em; font-size: 0.7em; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1a1304; background: var(--rvm-gold); border-radius: 999px;
}

/* ---- main strip ---- */
.rvm-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.9em 1.6em; }
.rvm-mix { display: flex; flex: 1 1 22em; align-items: flex-end; gap: 1.6em; min-width: 0; }
.rvm-master { display: flex; align-items: flex-end; gap: 0.9em; }
.rvm-knobs { display: flex; flex: 1 1 auto; align-items: flex-end; justify-content: space-between; gap: 0.8em; min-width: 0; transition: opacity 0.2s; }
.rvm[data-bypass="1"] .rvm-knobs { opacity: 0.4; }

.rvm-ctl { display: flex; flex-direction: column; align-items: center; gap: 0.35em; min-width: 0; }
.rvm-ctl-value { min-height: 1.1em; font-size: 0.66em; color: var(--rvm-dim); white-space: nowrap; }
.rvm-ctl-label { font-size: 0.64em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rvm-faint); }

.rvm-slider { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; cursor: ns-resize; border-radius: 0.3em; }
.rvm-slider--knob { width: 4.2em; height: 4.2em; }
.rvm-slider--knob svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rvm-knob-track { stroke: var(--rvm-line); stroke-width: 3.2; stroke-linecap: round; }
.rvm-knob-arc { stroke: var(--rvm-gold); stroke-width: 3.2; stroke-linecap: round; }
.rvm-knob-cap { fill: var(--rvm-bg2); stroke: var(--rvm-line); stroke-width: 1.2; }
.rvm-knob-ptr { stroke: var(--rvm-gold-hi); stroke-width: 2.6; stroke-linecap: round; }

.rvm-slider--fader { width: 2.4em; height: var(--rvm-meter-h); }
.rvm-fader-rail, .rvm-fader-fill { position: absolute; left: 50%; width: 0.38em; margin-left: -0.19em; border-radius: 0.2em; }
.rvm-fader-rail { top: 0; bottom: 0; background: var(--rvm-line); }
.rvm-fader-fill { bottom: 0; height: 0; background: var(--rvm-gold); opacity: 0.85; }
.rvm-fader-thumb {
  position: absolute; left: 50%; bottom: 0; width: 1.7em; height: 0.8em; margin: 0 0 -0.4em -0.85em;
  background: var(--rvm-bg2); border: 1px solid var(--rvm-gold); border-radius: 0.25em;
  box-shadow: inset 0 0 0 1px rgba(244, 214, 124, 0.12);
}
.rvm-fader-thumb::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 1px; background: var(--rvm-gold-hi); }
.rvm-fader-unity { position: absolute; left: 12%; right: 12%; height: 1px; background: var(--rvm-faint); opacity: 0.6; pointer-events: none; }
.rvm-ctl--volume .rvm-ctl-label { letter-spacing: 0.1em; }

/* ---- level meter ---- */
.rvm-meter {
  display: grid; grid-template-columns: 0.6em 0.6em; grid-template-rows: 0.55em 1fr; column-gap: 0.25em; row-gap: 0.3em;
  height: var(--rvm-meter-h);
}
.rvm-meter-bar {
  grid-row: 2; position: relative; overflow: hidden; border-radius: 0.2em;
  background: linear-gradient(to top, #4f9d5b 0%, #8fc98a 55%, var(--rvm-gold) 78%, var(--rvm-gold-hi) 90%, var(--rvm-danger) 100%);
}
.rvm-meter-cover { position: absolute; inset: 0; background: var(--rvm-bg2); transform-origin: top; transform: scaleY(1); }
.rvm-meter-peak { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rvm-ink); opacity: 0.9; }
.rvm-clip { grid-row: 1; grid-column: 1 / 3; border-radius: 0.15em; background: var(--rvm-line); }
.rvm-clip--on { background: var(--rvm-danger); }

/* ---- stems ---- */
.rvm-stems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8em; margin-top: 1.1em; padding-top: 1em; border-top: 1px solid var(--rvm-line); }
.rvm-stems.is-loading { opacity: 0.5; }
.rvm-stem { display: flex; flex-direction: column; align-items: center; gap: 0.5em; min-width: 0; }
.rvm-ctl--stem .rvm-slider--fader { height: 6em; }
.rvm-ms { display: flex; gap: 0.35em; }
.rvm-stem.is-silent .rvm-fader-fill, .rvm-stem.is-silent .rvm-bar-fill { opacity: 0.25; }
.rvm-slider--bar { width: 100%; height: 0.5em; overflow: hidden; background: var(--rvm-line); border-radius: 0.3em; cursor: default; }
.rvm-bar-fill { width: 100%; height: 100%; background: var(--rvm-gold); border-radius: 0.3em; transform-origin: left; transform: scaleX(0); }
.rvm-ctl--bar { width: 100%; }
.rvm-ctl--bar .rvm-ctl-label { order: -1; }
.rvm-ctl--bar .rvm-ctl-value { display: none; }
.rvm-ms-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer; display: inline-block; min-width: 1.9em; padding: 0.3em 0.45em;
  font: inherit; font-size: 0.68em; text-align: center; color: var(--rvm-dim); background: transparent;
  border: 1px solid var(--rvm-line); border-radius: 0.35em;
}
.rvm-ms-btn:first-child.is-on { color: #1a0a06; background: var(--rvm-danger); border-color: var(--rvm-danger); }
.rvm-ms-btn:last-child.is-on { color: #1a1304; background: var(--rvm-gold); border-color: var(--rvm-gold); }

/* ---- capture + notes (host only) ---- */
.rvm-capture { margin-top: 1.1em; padding-top: 1em; border-top: 1px dashed var(--rvm-line); }
.rvm-capture-title { font-size: 0.74em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rvm-gold-hi); }
.rvm-capture-text { margin: 0.6em 0 0.8em; font-size: 0.74em; line-height: 1.65; color: var(--rvm-dim); overflow-wrap: anywhere; }
.rvm-capture-row { display: flex; flex-wrap: wrap; gap: 0.5em; }
.rvm-capture-status { min-height: 1.2em; margin: 0.7em 0 0; font-size: 0.74em; line-height: 1.55; color: var(--rvm-dim); overflow-wrap: anywhere; }
.rvm-capture-status.is-bad { color: #f2a591; }
.rvm-note { margin: 0.9em 0 0; font-size: 0.74em; line-height: 1.55; color: var(--rvm-dim); overflow-wrap: anywhere; }

/* ---- read-only mirror (OBS widget) ---- */
.rvm--view {
  --rvm-bg: transparent; --rvm-bg2: rgba(8, 6, 3, 0.78);
  padding: 0; border: 0; border-radius: 0; background: transparent;
  pointer-events: none; user-select: none; -webkit-user-select: none; transition: opacity 0.4s;
}
.rvm--view * { pointer-events: none; cursor: default; }
.rvm--view .rvm-head { position: absolute; top: 0; right: 0; margin: 0; }
.rvm--view .rvm-title, .rvm--view .rvm-chip { display: none; }
.rvm--view .rvm-body { margin-top: 0; }
.rvm--view .rvm-stems { margin-top: 0.6em; padding-top: 0.6em; gap: 0.7em; }
.rvm--view .rvm-stem { flex-direction: column; gap: 0.3em; width: 100%; }
.rvm--view .rvm-ms { gap: 0.25em; }
.rvm--view .rvm-ms-btn { min-width: 1.6em; padding: 0.1em 0.3em; font-size: 0.6em; opacity: 0.35; }
.rvm--view .rvm-ms-btn.is-on { opacity: 1; }
.rvm--view .rvm-slider:focus-visible { outline: 0; }
.rvm--view[data-mode="none"] .rvm-body { opacity: 0.5; }
.rvm--view.is-stale { opacity: 0.3; }

/* ---- Simple | Mvox mode (Mixer v2), extended in v3 ---- */
.rvm {
  --rvm-vocal: #79c3d9;          /* Vocal's colour (Beat is the site's gold); both appear wherever the panel says which slide it shows */
  --rvm-slide: var(--rvm-gold);
}
html[data-theme="light"] .rvm { --rvm-vocal: #1f7089; }
.rvm[data-slide="vocal"] { --rvm-slide: var(--rvm-vocal); }
.rvm-fx { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em 1.6em; margin-top: 0.9em; }
.rvm-fxgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 0.8em; min-width: 0; }
.rvm-fx-label { font-size: 0.64em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rvm-faint); }
.rvm-seg { display: inline-flex; overflow: hidden; border: 1px solid var(--rvm-line); border-radius: 999px; }
.rvm-seg-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding: 0.55em 1.4em; font: inherit; font-size: 0.74em; letter-spacing: 0.06em;
  color: var(--rvm-dim); background: transparent; border: 0;
}
.rvm-seg-btn + .rvm-seg-btn { border-left: 1px solid var(--rvm-line); }
.rvm-seg-btn:hover:not(:disabled):not(.is-on) { color: var(--rvm-gold-hi); }
.rvm-seg-btn.is-on { color: #1a1304; background: var(--rvm-gold); }
.rvm-seg-btn:disabled { opacity: 0.4; cursor: default; }
.rvm-seg-btn:focus-visible { outline: 2px solid var(--rvm-gold-hi); outline-offset: -2px; }
.rvm-seg-btn.is-on:focus-visible { outline-color: #1a1304; outline-offset: -3px; }
.rvm-fxnote { flex: 1 1 14em; font-size: 0.72em; line-height: 1.55; color: var(--rvm-dim); overflow-wrap: anywhere; }
.rvm-fxnote.is-bad { color: #f2a591; }
.rvm:not([data-fx="mvox"]) .rvm-mvox-only { display: none !important; }
.rvm[data-fx="mvox"] .rvm-simple-only { display: none; }
.rvm[data-fx="mvox"] .rvm-knobs { justify-content: flex-start; }

/* Beat | Vocal and Edit both: the shown slide has its own colour (Beat gold, Vocal blue), repeated on the effects below */
.rvm-seg-btn--slide { display: inline-flex; align-items: center; gap: 0.55em; }
.rvm-seg-btn--slide[data-slide="beat"].is-on { background: var(--rvm-gold); }
.rvm-seg-btn--slide[data-slide="vocal"].is-on { background: var(--rvm-vocal); }
.rvm-seg-count { padding: 0.05em 0.6em; font-size: 0.82em; letter-spacing: 0.04em; border-radius: 999px; background: var(--rvm-line); color: var(--rvm-dim); }
.rvm-seg-btn.is-on .rvm-seg-count { background: rgba(0, 0, 0, 0.26); color: #1a1304; }
.rvm-both {
  appearance: none; -webkit-appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.45em 1em; font: inherit; font-size: 0.74em; letter-spacing: 0.06em;
  color: var(--rvm-dim); background: transparent; border: 1px solid var(--rvm-line); border-radius: 999px;
}
.rvm-both:hover:not(.is-on) { color: var(--rvm-gold-hi); border-color: var(--rvm-gold); }
.rvm-both.is-on { color: #1a1304; background: var(--rvm-gold); border-color: var(--rvm-gold); }
.rvm-both:focus-visible, .rvm-link:focus-visible { outline: 2px solid var(--rvm-gold-hi); outline-offset: 2px; }
.rvm-chain { display: block; width: 2.1em; height: 1em; overflow: visible; }
.rvm-chain rect { stroke: currentColor; stroke-width: 1.8; transition: transform 0.15s; }
.rvm-chain.is-broken .rvm-chain-l { transform: translateX(-3.5px); }
.rvm-chain.is-broken .rvm-chain-r { transform: translateX(3.5px); }
.rvm-bothnote { font-size: 0.66em; letter-spacing: 0.04em; color: var(--rvm-faint); }
.rvm-targetnote { flex: 1 1 22em; margin: 0; font-size: 0.72em; line-height: 1.5; color: var(--rvm-dim); overflow-wrap: anywhere; }

/* Stems: ready ... (the host's one-line status; both modes) */
.rvm-stemsrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1em 0.55em; margin-top: 0.6em; font-size: 0.72em; line-height: 1.5; color: var(--rvm-dim); }
.rvm-stemsrow-dot { width: 0.6em; height: 0.6em; align-self: center; border-radius: 50%; background: var(--rvm-faint); }
.rvm-stemsrow[data-tone="ok"] .rvm-stemsrow-dot { background: var(--rvm-ok); }
.rvm-stemsrow[data-tone="bad"] .rvm-stemsrow-dot { background: var(--rvm-danger); }
.rvm-stemsrow-k { color: var(--rvm-faint); }
.rvm-stemsrow-v { color: var(--rvm-ink); }
.rvm-stemsrow[data-tone="bad"] .rvm-stemsrow-v { color: #f2a591; }
.rvm-stemsrow-h { color: var(--rvm-dim); overflow-wrap: anywhere; }

/* The strip's Master group: Pitch - Link - Speed (whole song, after every effect), and the read-only tempo line */
.rvm-mgroup { display: flex; flex-direction: column; gap: 0.3em; min-width: 0; padding: 0.4em 0.7em 0.5em; border: 1px solid var(--rvm-line); border-radius: 0.6em; }
.rvm-mgroup-label { font-size: 0.58em; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rvm-faint); }
.rvm-mrow { display: flex; align-items: flex-end; justify-content: center; gap: 0.5em; }
.rvm-ctl--master .rvm-slider--knob { width: 3.8em; height: 3.8em; }
.rvm-link-slot { display: flex; align-items: center; justify-content: center; width: 2.9em; height: 3.8em; }
.rvm-link {
  appearance: none; -webkit-appearance: none; cursor: pointer; display: block; padding: 0.55em 0.5em;
  color: var(--rvm-faint); background: transparent; border: 1px solid var(--rvm-line); border-radius: 0.6em; font-size: 1em; line-height: 0;
}
.rvm-link:hover:not(:disabled) { border-color: var(--rvm-gold); }
.rvm-link.is-on { color: var(--rvm-gold-hi); border-color: var(--rvm-gold); }
.rvm-link:disabled { opacity: 0.4; cursor: default; }
.rvm-link .rvm-chain { width: 1.9em; height: 0.9em; }
.rvm-ctl.is-disabled { opacity: 0.45; }
.rvm-slider[aria-disabled="true"] { cursor: not-allowed; }
.rvm-tempo { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.1em 0.6em; font-size: 0.64em; line-height: 1.4; color: var(--rvm-dim); }
.rvm-tempo-k { letter-spacing: 0.14em; text-transform: uppercase; color: var(--rvm-faint); }
.rvm-tempo-v { white-space: nowrap; }
.rvm-mnote { margin: 0; max-width: 20em; font-size: 0.62em; line-height: 1.45; color: var(--rvm-gold-hi); overflow-wrap: anywhere; }

/* the host's panel: row 1 = strip, EQ, Comp; row 2 = Space, Delay. The panel is a CSS container, so it follows ITS width (not the window's). The thresholds are CONTENT
   widths (the panel's own padding and border, about 33 px, come off its outer width): under 608 px (outer 640) everything is stacked; 608-868 px (outer 640-900) the strip has
   a row of its own, then EQ | Comp, then Space | Delay; from 868 px (outer 900) the strip stands left of the EQ and Comp. */
.rvm--live { container-type: inline-size; container-name: rvmlive; }
.rvm--live .rvm-main { margin-top: 1em; }
.rvm-row1, .rvm-row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6em; min-width: 0; }
.rvm-row2 { margin-top: 0.6em; }
.rvm-row1 > *, .rvm-row2 > * { min-width: 0; }
.rvm-fxhost { display: flex; flex-direction: column; min-width: 0; }
.rvm-fxhost > .mvx { flex: 1 1 auto; }
.rvm--live .rvm-fxhost > .mvx { box-shadow: inset 3px 0 0 var(--rvm-slide); }
/* the host page's own `.rh-shell select` rule (full width, 13 px type) reaches the panels' drop-downs: put them back to the panel's look (the compact size and padding already win by specificity) */
.rvm--live .mvx select.mvx-select { width: auto; font-family: inherit; font-size: 0.78em; background: var(--mvx-btn); color: var(--mvx-silver); border: 1px solid var(--mvx-border); border-radius: 0.5em; }
.rvm--live .mvx .mvx-fld > select.mvx-select, .rvm--live .mvx .mvx-notebox select.mvx-select { width: 100%; }
.rvm--live .mvx .mvx-notebox select.mvx-select { font-size: 0.72em; }
/* ...and two more host element rules reach the panels: `.rh-shell p { margin: 0 0 10px }` (specificity 0,1,1 beats every single-class paragraph below, so each one got a 10 px bottom margin
   and lost its own top margin) and `.rh-shell input[type="number"]` (0,2,1: full width, 13 px type, 40 px tall) for the Delay's SONG bpm field. Same values as the panel's own rules, one
   class higher; the coarse-pointer height is repeated because the reset below would otherwise cancel it. */
.rvm--live .mvx-msg, .rvm--live .mvx-ezhint, .rvm--live .rvm-targetnote, .rvm--live .rvm-mnote { margin: 0; }
.rvm--live .mvx-note { margin: 0.5em 0 0; }
.rvm--live .mvx-hint { margin: 0.7em 0 0; }
.rvm--live .rvm-note { margin: 0.9em 0 0; }
.rvm--live .rvm-capture-text { margin: 0.6em 0 0.8em; }
.rvm--live .rvm-capture-status { margin: 0.7em 0 0; }
.rvm--live .mvx input.mvx-bpm-in {
  width: 4.4em; min-height: 0; padding: 0.35em 0.5em; font: inherit; font-size: 0.78em; text-align: right; color: var(--mvx-silver);
  background: var(--mvx-bg); border: 1px solid var(--mvx-border); border-radius: 0.5em;
}
.rvm--live .mvx input.mvx-bpm-in:focus { border-color: var(--mvx-border); }
@media (pointer: coarse) { .rvm--live .mvx input.mvx-bpm-in { min-height: 44px; } }
@container rvmlive (min-width: 608px) {
  .rvm-row1 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .rvm-row1 > .rvm-body { grid-column: 1 / -1; }
  .rvm-row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@container rvmlive (min-width: 868px) {
  .rvm[data-fx="mvox"] .rvm-row1 { grid-template-columns: 15.5em minmax(0, 1.15fr) minmax(0, 1fr); }
  .rvm[data-fx="mvox"] .rvm-row1 > .rvm-body { grid-column: auto; }
  .rvm[data-fx="mvox"] .rvm-body {
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; gap: 0.7em;
    padding: 0.6em 0.7em; border: 1px solid var(--rvm-line); border-radius: 0.7em; background: var(--rvm-bg2);
  }
  .rvm[data-fx="mvox"] .rvm-mix { flex: 0 0 auto; justify-content: space-between; gap: 0.8em; --rvm-meter-h: 7.2em; }       /* (a shorter fader: the strip must not be taller than the EQ beside it) */
}
@container rvmlive (max-width: 520px) {
  .rvm .rvm-body { flex-direction: column; align-items: stretch; gap: 1em; }
  .rvm .rvm-master { justify-content: center; }
  .rvm .rvm-mix { flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 1em; }
  .rvm .rvm-knobs { flex-wrap: wrap; justify-content: space-around; row-gap: 0.8em; }
  .rvm .rvm-slider--knob { width: 3.6em; height: 3.6em; }
  .rvm[data-fx="mvox"] .rvm-knobs { justify-content: center; }
  .rvm[data-fx="mvox"] .rvm-mix { flex-direction: row; justify-content: center; align-items: flex-end; --rvm-meter-h: 7.2em; }       /* (Mvox mode: just the fader and Trim, so they share a line) */
  .rvm .rvm-mgroup { align-self: center; }
}

/* ---- read-only mirror (OBS widget): Mvox mode ---- */
/* the host's markup nests the strip in .rvm-main > .rvm-row1; the widget wants it as a direct flex child, as before */
.rvm--view .rvm-main, .rvm--view .rvm-row1 { display: contents; }
.rvm--view .rvm-mix { flex: 1 1 auto; gap: 0.9em; }
/* the widget: volume + meter, the EQ curve and the gain-reduction dome in one row, the same height as the simple strip */
.rvm--view[data-fx="mvox"] { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5em 1em; }
.rvm--view[data-fx="mvox"] .rvm-body, .rvm--view[data-fx="mvox"] .rvm-mix { flex: 0 0 auto; }
.rvm--view[data-fx="mvox"] .rvm-knobs { display: none; }
.rvm--view .rvm-mvox { display: flex; flex: 1 1 11em; align-items: flex-end; gap: 0.6em; margin: 0; }
.rvm--view .rvm-fxhost { min-width: 0; }
.rvm--view .rvm-mvox { justify-content: flex-start; }
.rvm--view .rvm-mvox .rvm-fxhost--eq { flex: 0 1 15em; }        /* (capped: the EQ mirror is as tall as it is wide / 2.5, and the widget has little height) */
.rvm--view .rvm-mvox .rvm-fxhost--comp { flex: 0 0 7.1em; }
.rvm--view .rvm-fxrow { display: flex; flex: 1 1 100%; gap: 0.6em; }
.rvm--view .rvm-fxrow > .rvm-fxhost { flex: 1 1 0; }
/* Space / Delay mirrors in the widget: smaller type, one or two lines */
.rvm--view .mvx-fxm-wrap { gap: 0.2em; padding: 0.25em 0.45em 0.3em; }
.rvm--view .mvx-fxm-name { font-size: 0.56em; }
.rvm--view .mvx-fxm-vals { font-size: 0.5em; gap: 0 0.6em; }
.rvm--view .mvx-fxm-off { font-size: 0.44em; }
.rvm--view .mvx-fxm-bar { height: 0.18em; }
.rvm--view .rvm-capline { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: baseline; gap: 0.1em 1.2em; font-size: 0.64em; line-height: 1.2; letter-spacing: 0.12em; color: var(--rvm-dim); white-space: nowrap; }
.rvm--view .mvx-compm-info { letter-spacing: 0.03em; }
.rvm--view:not([data-fx="mvox"]) .rvm-capline { margin-top: 0.6em; }
.rvm--view .rvm-cap-target { color: var(--rvm-gold-hi); }
.rvm--view .rvm-cap-target[data-slide="vocal"] { color: var(--rvm-vocal); }
.rvm--view .rvm-cap-ps { margin-left: auto; color: var(--rvm-gold-hi); }
.rvm--view .rvm-capline .rvm-badge { padding: 0.1em 0.9em; font-size: 0.95em; letter-spacing: 0.1em; text-transform: none; }
/* with the four effects in view the stem faders shrink to bars (muted ones dim; the M / S marks go) */
.rvm--view[data-fx="mvox"] .rvm-stems { flex: 1 1 100%; margin-top: 0; padding-top: 0.4em; gap: 0.6em; }
.rvm--view[data-fx="mvox"] .rvm-ms { display: none; }
.rvm--view[data-fx="mvox"] .rvm-ctl--stem { flex-direction: row; align-items: center; gap: 0.5em; }
.rvm--view[data-fx="mvox"] .rvm-ctl--stem .rvm-ctl-label { font-size: 0.5em; letter-spacing: 0.1em; }
.rvm--view[data-fx="mvox"] .rvm-ctl--stem .rvm-slider--bar { flex: 1 1 auto; }
/* ---- narrow screens ---- */
/* (live panel only: the read-only mirror sizes itself from its container, never from the viewport) */
@media (max-width: 520px) {
  .rvm--live { padding: 0.9em; }
}
@media (prefers-reduced-motion: reduce) {
  .rvm, .rvm * { transition: none !important; }
}
