/* ============================================================================
   reperform-blend.css — the live blend monitor for the Sing-Along path
   ----------------------------------------------------------------------------
   Loaded after reperform-spine.css so it can lean on the rack tokens.
   Additive only: it never renames an id or class, never changes display or
   visibility of an interactive element (except the range input's opacity,
   which stays hit-testable), and never touches layout order.

   The fader geometry is driven by one custom property, --p (0..1), set on
   #sa-blend by reperform-blend.js. Everything else derives from it, so the
   rail, the fill, the thumb and the warning band can never drift apart.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. CHASSIS
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend{
  position: relative;
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--rk-edge);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(180deg, var(--rk-metal-1) 0%, var(--rk-metal-2) 54%, var(--rk-metal-3) 100%);
  box-shadow:
    inset 0 1px 0 var(--rk-hi),
    inset 0 -1px 0 rgba(0,0,0,.6),
    0 10px 26px -12px rgba(0,0,0,.85);
  transition: opacity .2s ease, filter .2s ease;
}

/* Idle: no take yet. Everything stays in place so the panel does not jump
   when the take lands — it just goes cold and stops accepting input. */
#sa-blend-section .sa-blend.is-idle{
  opacity: .42;
  filter: saturate(.35);
  pointer-events: none;
}
#sa-blend-section .sa-blend.is-idle .sa-blend-big{ color: #5a6472; }

#sa-blend-idle{ margin: 0 0 4px; }

/* ---------------------------------------------------------------------------
   2. READOUT
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-read{
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 2px 2px 12px;
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 0 1px 0 var(--rk-hi-2);
  margin-bottom: 14px;
}

#sa-blend-section .sa-blend-big{
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--rk-phos);
  text-shadow: 0 0 18px rgba(53,255,158,.42), 0 0 3px rgba(53,255,158,.7);
  font-variant-numeric: tabular-nums;
  transition: color .18s ease, text-shadow .18s ease;
}
#sa-blend-section .sa-blend-big.is-warn{
  color: var(--rk-amber);
  text-shadow: 0 0 20px rgba(255,107,53,.5), 0 0 3px rgba(255,107,53,.8);
}

#sa-blend-section .sa-blend-cap{
  flex: 1 1 220px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8b95a4;
  max-width: 58ch;
}

/* ---------------------------------------------------------------------------
   3. THE FADER
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-fader{
  position: relative;
  padding-bottom: 22px;
}

#sa-blend-section .sa-blend-track{
  position: relative;
  height: 58px;
  display: flex;
  align-items: center;
}

/* recessed groove */
#sa-blend-section .sa-blend-rail{
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(180deg, #05070a 0%, #0b0e13 100%);
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,.9),
    inset 0 -1px 0 rgba(255,255,255,.05),
    0 1px 0 rgba(255,255,255,.045);
  overflow: hidden;
}

/* the live portion of the groove */
#sa-blend-section .sa-blend-fill{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(6px + (100% - 12px) * var(--p, .625));
  border-radius: 7px 0 0 7px;
  background: linear-gradient(180deg, rgba(53,255,158,.85) 0%, rgba(31,107,69,.9) 100%);
  box-shadow: 0 0 14px rgba(53,255,158,.35), inset 0 1px 0 rgba(255,255,255,.28);
  transition: background .18s ease, box-shadow .18s ease;
}
#sa-blend-section .sa-blend.is-warn .sa-blend-fill{
  background: linear-gradient(180deg, rgba(255,150,90,.9) 0%, rgba(150,60,20,.92) 100%);
  box-shadow: 0 0 16px rgba(255,107,53,.42), inset 0 1px 0 rgba(255,255,255,.28);
}

/* the warning band: -9 dB to 0 dB */
#sa-blend-section .sa-blend-band{
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(6px + (100% - 12px) * .775);
  right: 0;
  border-radius: 0 7px 7px 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,107,53,.20) 0 5px,
      rgba(255,107,53,.05) 5px 10px);
  border-left: 1px solid rgba(255,107,53,.55);
  pointer-events: none;
}
#sa-blend-section .sa-blend-band::after{
  content: "\2212 9 dB";
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: rgba(255,140,90,.75);
  white-space: nowrap;
  pointer-events: none;
}

/* the cap */
#sa-blend-section .sa-blend-thumb{
  position: absolute;
  top: 50%;
  left: calc(6px + (100% - 12px) * var(--p, .625));
  width: 26px;
  height: 44px;
  margin-left: -13px;
  margin-top: -22px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, #4a525f 0%, #2b313b 46%, #171b21 100%);
  border: 1px solid #06080b;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 0 rgba(0,0,0,.6),
    0 4px 12px rgba(0,0,0,.75);
  pointer-events: none;
  z-index: 3;
}
/* the white index line across the cap */
#sa-blend-section .sa-blend-thumb::after{
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: #eef2f6;
  box-shadow: 0 0 8px rgba(238,242,246,.55);
}
#sa-blend-section .sa-blend.is-warn .sa-blend-thumb::after{
  background: #ffd0b8;
  box-shadow: 0 0 9px rgba(255,107,53,.8);
}

/* the real control: invisible, but full-size and hit-testable */
#sa-blend-section .sa-blend-range{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  z-index: 4;
  touch-action: pan-y;
}
#sa-blend-section .sa-blend-range::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 44px;
  height: 58px;
}
#sa-blend-section .sa-blend-range::-moz-range-thumb{
  width: 44px;
  height: 58px;
  border: 0;
  background: transparent;
}
#sa-blend-section .sa-blend-range:focus{ outline: none; }
#sa-blend-section .sa-blend-range:focus-visible ~ .sa-blend-thumb,
#sa-blend-section .sa-blend-track:focus-within .sa-blend-thumb{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 0 rgba(0,0,0,.6),
    0 0 0 3px rgba(53,255,158,.45),
    0 4px 12px rgba(0,0,0,.75);
}

/* scale markings */
#sa-blend-section .sa-blend-ticks{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #5c6675;
}
#sa-blend-section .sa-blend-ticks span{
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
#sa-blend-section .sa-blend-ticks span.warn{ color: rgba(255,140,90,.8); }

/* ---------------------------------------------------------------------------
   4. WARNING COPY
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-warn{
  display: none;
  margin: 4px 0 14px;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255,107,53,.34);
  border-left: 3px solid var(--rk-amber);
  background: linear-gradient(180deg, rgba(255,107,53,.10) 0%, rgba(255,107,53,.035) 100%);
  font-size: 12px;
  line-height: 1.6;
  color: #c9b3a8;
}
#sa-blend-section .sa-blend-warn.is-on{ display: block; }
#sa-blend-section .sa-blend-warn b{ color: #ffb79a; }

/* ---------------------------------------------------------------------------
   5. TRANSPORT
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-transport{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0 0;
  border-top: 1px solid rgba(0,0,0,.5);
  box-shadow: 0 -1px 0 var(--rk-hi-2);
  margin-top: 2px;
}
#sa-blend-section .sa-blend-transport .rp-btn{
  padding: 7px 14px;
  font-size: 12px;
}
#sa-blend-section .sa-blend-transport .rp-btn[disabled]{
  opacity: .4;
  cursor: not-allowed;
}
#sa-blend-section .sa-blend-transport .rp-btn.is-on{
  border-color: rgba(53,255,158,.45);
  color: var(--rk-phos);
  box-shadow:
    inset 0 1px 0 var(--rk-hi),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 0 0 1px rgba(53,255,158,.18),
    0 0 14px -2px rgba(53,255,158,.4);
}

#sa-blend-section .sa-blend-sp{ flex: 1 1 12px; }

/* segmented window selector */
#sa-blend-section .sa-blend-win{
  display: inline-flex;
  border-radius: 7px;
  border: 1px solid var(--rk-edge);
  background: linear-gradient(180deg, #0a0d11 0%, #12161c 100%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.7);
  overflow: hidden;
}
#sa-blend-section .sa-blend-win button{
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(0,0,0,.7);
  background: transparent;
  color: #6f7a89;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 7px 11px;
  cursor: pointer;
  transition: color .14s ease, background .14s ease;
}
#sa-blend-section .sa-blend-win button:last-child{ border-right: 0; }
#sa-blend-section .sa-blend-win button:hover{ color: #cdd4dd; background: rgba(255,255,255,.045); }
#sa-blend-section .sa-blend-win button.on{
  color: #0b1210;
  background: linear-gradient(180deg, #6dffb8 0%, #35ff9e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 12px -2px rgba(53,255,158,.6);
}
#sa-blend-section .sa-blend-win button:focus-visible{
  outline: 2px solid rgba(53,255,158,.6);
  outline-offset: -2px;
}

#sa-blend-section .sa-blend-tc{
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #7c8797;
  font-variant-numeric: tabular-nums;
  min-width: 92px;
  text-align: right;
}

/* ---------------------------------------------------------------------------
   6. THE STRIP (two lanes + playhead)
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-strip{
  position: relative;
  margin-top: 12px;
  padding: 7px 8px 9px;
  border-radius: 9px;
  border: 1px solid #05070a;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, var(--rk-screen-1) 0%, var(--rk-screen-2) 100%);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.85), inset 0 -1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

#sa-blend-section .sa-blend-hdr{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #4e5867;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  margin-bottom: 6px;
}
#sa-blend-section .sa-blend-hdr .r{ color: var(--rk-phos-dim); }

#sa-blend-section .sa-blend-lane{
  position: relative;
  height: 26px;
  border-radius: 4px;
  margin-bottom: 4px;
  background: rgba(53,255,158,.055);
  border: 1px solid rgba(53,255,158,.10);
  overflow: hidden;
}
#sa-blend-section .sa-blend-lane:last-of-type{ margin-bottom: 0; }
#sa-blend-section .sa-blend-lane.take{
  background: rgba(255,107,53,.055);
  border-color: rgba(255,107,53,.12);
}
#sa-blend-section .sa-blend-lane .lbl{
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(53,255,158,.5);
  z-index: 2;
  pointer-events: none;
}
#sa-blend-section .sa-blend-lane.take .lbl{ color: rgba(255,140,90,.55); }

/* waveform blocks are painted by JS as inline spans */
#sa-blend-section .sa-blend-lane i{
  position: absolute;
  top: 50%;
  width: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: rgba(53,255,158,.55);
  transform: translateY(-50%);
}
#sa-blend-section .sa-blend-lane.take i{ background: rgba(255,140,90,.6); }

/* the take lane dims when solo is off, so the eye reads the sum */
#sa-blend-section .sa-blend-lane.take.is-muted{ opacity: .28; }

#sa-blend-section .sa-blend-playhead{
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 1.5px;
  background: #eef2f6;
  box-shadow: 0 0 8px rgba(238,242,246,.75), 0 0 2px rgba(255,255,255,.9);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
#sa-blend-section .sa-blend-strip.is-playing .sa-blend-playhead{ opacity: 1; }

/* ---------------------------------------------------------------------------
   7. METERS
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-meters{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
#sa-blend-section .sa-blend-meter{
  padding: 7px 9px 8px;
  border-radius: 7px;
  border: 1px solid rgba(0,0,0,.7);
  background: linear-gradient(180deg, #0a0d11 0%, #10141a 100%);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.8);
  transition: opacity .18s ease;
}
#sa-blend-section .sa-blend-meter.is-dim{ opacity: .34; }
#sa-blend-section .sa-blend-meter .top{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #5c6675;
  margin-bottom: 5px;
}
#sa-blend-section .sa-blend-meter .top b{
  font-size: 10px;
  letter-spacing: 0;
  color: #9aa5b3;
  font-variant-numeric: tabular-nums;
}
#sa-blend-section .sa-blend-meter .bar{
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: #05070a;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.9);
  overflow: hidden;
}
#sa-blend-section .sa-blend-meter .bar i{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--rk-phos-dim) 0%, var(--rk-phos) 100%);
  transition: width .06s linear;
}
#sa-blend-section .sa-blend-meter.take .bar i{
  background: linear-gradient(90deg, #7a3a1c 0%, var(--rk-amber) 100%);
}
#sa-blend-section .sa-blend-meter.sum .bar i{
  background: linear-gradient(90deg, #2a4f6b 0%, #6fc4ff 100%);
}

/* ---------------------------------------------------------------------------
   8. HUD
   --------------------------------------------------------------------------- */
#sa-blend-section .sa-blend-hud{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.5);
  box-shadow: 0 -1px 0 var(--rk-hi-2);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  color: #4e5867;
}
#sa-blend-section .sa-blend-hud b{
  color: #93a0b0;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
#sa-blend-section .sa-blend-hud .is-amber{ color: rgba(255,140,90,.85); }
#sa-blend-section .sa-blend-hud .is-amber b{ color: var(--rk-amber); }
#sa-blend-section #sa-blend-hud-norm{
  margin-left: auto;
  color: #3f4855;
}

#sa-blend-section #sa-blend-foot{
  margin: 11px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #6f7a89;
}
#sa-blend-section #sa-blend-foot b{ color: #9aa5b3; }

/* ---------------------------------------------------------------------------
   9. PER-SECTION FADER — lives inside the verse-by-verse inspector
   --------------------------------------------------------------------------- */
.vbx-blend{
  margin-top: 10px;
  padding: 9px 10px 8px;
  border-radius: 9px;
  border: 1px solid rgba(0,0,0,.65);
  background: linear-gradient(180deg, #10141a 0%, #0b0e13 100%);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.7);
}

.vbx-blend-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.vbx-blend-head span{
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .11em;
  color: #566070;
}
.vbx-blend-head b{
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  color: var(--rk-phos);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(53,255,158,.35);
}
.vbx-blend-head b.is-warn{
  color: var(--rk-amber);
  text-shadow: 0 0 10px rgba(255,107,53,.4);
}

.vbx-blend-row{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* the per-section range is a real, visible control — it is the one place a
   native slider is the right answer, because it sits in a dense list */
.vbx-blend-row input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 0;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
}
.vbx-blend-row input[type="range"]::-webkit-slider-runnable-track{
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    rgba(53,255,158,.55) 0%,
    rgba(53,255,158,.55) var(--vp, 62.5%),
    #05070a var(--vp, 62.5%),
    #05070a 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.9);
}
.vbx-blend-row input[type="range"]::-moz-range-track{
  height: 5px;
  border-radius: 3px;
  background: #05070a;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.9);
}
.vbx-blend-row input[type="range"]::-moz-range-progress{
  height: 5px;
  border-radius: 3px;
  background: rgba(53,255,158,.55);
}
.vbx-blend-row input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border-radius: 50%;
  border: 1px solid #05070a;
  background: radial-gradient(circle at 34% 30%, #e9eef4 0%, #9aa5b3 48%, #4a525f 100%);
  box-shadow: 0 2px 5px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.vbx-blend-row input[type="range"]::-moz-range-thumb{
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #05070a;
  background: radial-gradient(circle at 34% 30%, #e9eef4 0%, #9aa5b3 48%, #4a525f 100%);
  box-shadow: 0 2px 5px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.vbx-blend-row input[type="range"].is-warn::-webkit-slider-runnable-track{
  background: linear-gradient(90deg,
    rgba(255,107,53,.6) 0%,
    rgba(255,107,53,.6) var(--vp, 77.5%),
    #05070a var(--vp, 77.5%),
    #05070a 100%);
}
.vbx-blend-row input[type="range"].is-warn::-moz-range-progress{
  background: rgba(255,107,53,.6);
}
.vbx-blend-row input[type="range"]:focus-visible{
  outline: 2px solid rgba(53,255,158,.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.vbx-blend-play{
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--rk-edge);
  background: linear-gradient(180deg, #252a35 0%, #1a1e26 100%);
  box-shadow: inset 0 1px 0 var(--rk-hi), 0 2px 4px rgba(0,0,0,.45);
  color: #9aa5b3;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  transition: color .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.vbx-blend-play:hover{
  color: #e8eaed;
  border-color: #343b49;
}
.vbx-blend-play.is-on{
  color: var(--rk-phos);
  border-color: rgba(53,255,158,.45);
  box-shadow: inset 0 1px 0 var(--rk-hi), 0 0 12px -2px rgba(53,255,158,.55);
}
.vbx-blend-play:focus-visible{
  outline: 2px solid rgba(53,255,158,.55);
  outline-offset: 2px;
}

.vbx-blend-note{
  margin: 7px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #616b7a;
}
.vbx-blend-note b{ color: #8b95a4; }

/* ---------------------------------------------------------------------------
   10. SMALL SCREENS
   --------------------------------------------------------------------------- */
@media (max-width: 820px){
  #sa-blend-section .sa-blend{ padding: 13px 12px 12px; border-radius: 12px; }
  #sa-blend-section .sa-blend-big{ font-size: 27px; }
  #sa-blend-section .sa-blend-read{ gap: 10px; padding-bottom: 10px; margin-bottom: 12px; }
  #sa-blend-section .sa-blend-cap{ flex-basis: 100%; font-size: 11.5px; }
  #sa-blend-section .sa-blend-track{ height: 46px; }
  #sa-blend-section .sa-blend-thumb{ height: 36px; margin-top: -18px; width: 24px; margin-left: -12px; }
  #sa-blend-section .sa-blend-range::-webkit-slider-thumb{ height: 46px; }
  #sa-blend-section .sa-blend-range::-moz-range-thumb{ height: 46px; }
  #sa-blend-section .sa-blend-band::after{ display: none; }
  #sa-blend-section .sa-blend-meters{ grid-template-columns: 1fr 1fr; }
  #sa-blend-section .sa-blend-meter.sum{ display: none; }
  #sa-blend-section .sa-blend-win{ display: none; }
  #sa-blend-section .sa-blend-lane{ height: 20px; }
  #sa-blend-section .sa-blend-tc{ min-width: 0; }
  #sa-blend-section .sa-blend-hud{ gap: 5px 12px; font-size: 8.5px; }
  #sa-blend-section #sa-blend-hud-norm{ margin-left: 0; }
  #sa-blend-section .sa-blend-transport .rp-btn{ flex: 1 1 auto; }
  #sa-blend-section .sa-blend-sp{ display: none; }
}

@media (max-width: 420px){
  #sa-blend-section .sa-blend{ padding: 11px 10px 10px; }
  #sa-blend-section .sa-blend-big{ font-size: 23px; }
  #sa-blend-section .sa-blend-ticks{ font-size: 8.5px; }
  #sa-blend-section .sa-blend-transport .rp-btn{ font-size: 11px; padding: 7px 10px; }
  #sa-blend-section .sa-blend-hud{ font-size: 8px; }
}

/* Reduced motion: the meters and playhead are the only things that move. */
@media (prefers-reduced-motion: reduce){
  #sa-blend-section .sa-blend-meter .bar i{ transition: none; }
  #sa-blend-section .sa-blend{ transition: none; }
}

/* a lane goes quiet when the other one is soloed */
#sa-blend-section .sa-blend-lane.is-muted{ opacity: .22; }

/* An assembled vocal is stitched neutral, so the fader stays live and the
   warning band still applies: the master is a trim on top of the per-part
   values, never a second tuck. */
#sa-blend-section .sa-blend.is-assembled .sa-blend-fader{ opacity: 1; }
