/* SIDE A stations: The Lectern, Satchel Two, Rotunda. Self-contained; 1100px hardware
   zoomed by container width, switching to a horizontal pan below 858px like the rigs. */

.instrument.stn {
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --focus: #ffd27a;
  --dial: 44px;
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  font-family: var(--sans);
  color: #efe6d6;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.stn *, .stn *::before, .stn *::after { box-sizing: border-box; }
.stn-pan { position: relative; }
/* --z mirrors the container zoom so control names and readouts render at 14px or more. */
.stn-body { position: relative; width: 1100px; margin-inline: auto; --z: 1; }
.stn-pan-hint { display: none; margin: 6px 0 0; text-align: center; font: 600 14px/1.2 var(--mono); letter-spacing: .08em; color: rgba(255, 244, 228, .8); }
.stn .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@container (max-width: 1099.98px) { .stn-body { zoom: .92; --z: .92; } }
@container (max-width: 1011px) { .stn-body { zoom: .84; --z: .84; } }
@container (max-width: 923px) { .stn-body { zoom: .78; --z: .78; } }
@container (max-width: 857px) {
  .stn-pan { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 14px 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
  .stn-body { zoom: 1; --z: 1; margin-inline: 0; }
  .stn-pan-hint { display: block; }
  .lc-deck, .lc-card, .lc-side, .sc-deck, .sc-mixer, .rt-transport, .rt-mixer { scroll-snap-align: center; }
}

/* ── shared controls: real inputs and buttons under drawn art ── */
.stn button { appearance: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; touch-action: manipulation; }
.stn :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.stn-control { position: relative; display: block; margin: 0; cursor: grab; }
.stn-control:active { cursor: grabbing; }
.stn-control > input { appearance: none; -webkit-appearance: none; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; background: transparent; cursor: inherit; touch-action: none; }
.stn-control > input[data-orient="vertical"] { writing-mode: vertical-lr; direction: rtl; }
.stn-control > input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border: 0; background: transparent; }
.stn-control > input::-moz-range-thumb { width: 28px; height: 28px; border: 0; background: transparent; }
.stn-control:has(> input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 10px; }
.stn-legend { display: block; font: 600 calc(14px / var(--z, 1))/1.05 var(--mono); letter-spacing: .02em; text-align: center; white-space: nowrap; pointer-events: none; }
.stn-value { position: absolute; left: 50%; top: -30px; z-index: 40; translate: -50% 4px; padding: 5px 8px; border-radius: 6px; background: rgba(16, 14, 12, .95); color: var(--focus); font: 600 calc(14px / var(--z, 1))/1 var(--mono); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .14s, translate .14s; }
.stn-control:is(:hover, :focus-within) .stn-value { opacity: 1; translate: -50% 0; }
.stn-brand { font: 600 14px/1 var(--mono); letter-spacing: .22em; }
.stn-brand small { display: block; margin-top: 6px; font: 500 12px/1 var(--mono); letter-spacing: .14em; opacity: .7; }

/* dials: --v rotates the cap through 270° and fills the ring */
.stn-control--dial { width: 68px; height: calc(var(--dial) + 42px); }
.stn-control--dial .knob-art { position: absolute; inset: 0 0 auto 0; height: calc(var(--dial) + 18px); display: grid; place-items: center; pointer-events: none; }
.stn-dial-ring { position: absolute; width: calc(var(--dial) + 14px); height: calc(var(--dial) + 14px); border-radius: 50%;
  background: conic-gradient(from -135deg, var(--ring, #e6bf74) 0 calc(var(--v) * 270deg), rgba(255, 255, 255, .14) 0 270deg, transparent 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); }
.stn-dial-body { position: relative; width: var(--dial); height: var(--dial); border-radius: 50%; background: var(--dial-bg, radial-gradient(circle at 35% 28%, #5a524a, #221d19 60%, #0e0c0a)); box-shadow: 0 4px 8px rgba(0, 0, 0, .55), inset 0 1px 1px rgba(255, 255, 255, .18); rotate: calc(-135deg + var(--v) * 270deg); }
.stn-dial-body i { position: absolute; left: calc(50% - 1.5px); top: 4px; width: 3px; height: calc(var(--dial) * .28); border-radius: 2px; background: var(--dial-mark, #fff6e4); }
.stn-control--dial .stn-legend { position: absolute; left: 50%; bottom: 0; width: calc(84px / var(--z, 1)); translate: -50% 0; white-space: normal; }

/* faders */
.stn-control--fader { width: 58px; height: 190px; }
.stn-fader { position: absolute; inset: 6px 0 26px; pointer-events: none; }
.stn-fader-slot { position: absolute; left: calc(50% - 3px); top: 0; bottom: 0; width: 6px; border-radius: 3px; background: #0b0907; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 255, 255, .08); }
.stn-fader-cap { position: absolute; left: calc(50% - 21px); bottom: calc(var(--v) * (100% - 24px)); width: 42px; height: 24px; border-radius: 5px; background: var(--cap, linear-gradient(#eee6d6, #a99f8d)); box-shadow: 0 4px 7px rgba(0, 0, 0, .55); }
.stn-fader-cap::after { content: ""; position: absolute; left: 5px; right: 5px; top: calc(50% - 1px); height: 2px; background: #1b1712; }
.stn-control--fader .stn-legend { position: absolute; left: 50%; bottom: 0; width: calc(76px / var(--z, 1)); translate: -50% 0; white-space: normal; }
.stn-control--fader:has(> input[data-orient="horizontal"]) .stn-legend { width: 100%; white-space: nowrap; }
.stn-control--fader:has(> input[data-orient="horizontal"]) { width: auto; height: 64px; }
.stn-control--fader:has(> input[data-orient="horizontal"]) .stn-fader { inset: 8px 0 24px; }
.stn-control--fader:has(> input[data-orient="horizontal"]) .stn-fader-slot { left: 12px; right: 12px; top: calc(50% - 3px); bottom: auto; width: auto; height: 6px; }
.stn-control--fader:has(> input[data-orient="horizontal"]) .stn-fader-cap { left: calc(12px + var(--v) * (100% - 24px) - 13px); bottom: auto; top: calc(50% - 16px); width: 26px; height: 32px; }
.stn-control--fader:has(> input[data-orient="horizontal"]) .stn-fader-cap::after { left: calc(50% - 1px); right: auto; top: 5px; bottom: 5px; width: 2px; height: auto; }

/* position strips */
.stn-control--strip { height: 46px; }
.stn-strip { position: absolute; left: 0; right: 0; top: 6px; height: 14px; border-radius: 7px; background: #0d0b09; box-shadow: inset 0 1px 3px #000; overflow: hidden; pointer-events: none; }
.stn-strip-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, #a07c3c, #f0d293); }
.stn-control--strip .stn-legend { position: absolute; left: 0; bottom: 0; }

/* buttons and meters */
.stn-btn { position: relative; display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 8px; background: var(--btn, linear-gradient(#3a332c, #221d18)); box-shadow: 0 4px 0 #0d0b09, 0 6px 10px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); color: #f3e9d6; transition: translate .08s, box-shadow .08s, background .15s; }
/* The `.stn button` reset outranks single-class rules; restate the face at .stn scope so
   pressed (gold), loop (blue) and assigned (green) states paint behind their labels. */
.stn .stn-btn { background: var(--btn, linear-gradient(#3a332c, #221d18)); }
.stn .stn-btn:is([data-on="true"], [aria-pressed="true"]) { box-shadow: 0 4px 0 #0d0b09, 0 0 12px rgba(242, 198, 111, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
.stn-btn:active { translate: 0 2px; box-shadow: 0 2px 0 #0d0b09, 0 3px 6px rgba(0, 0, 0, .45); }
.stn-btn .stn-legend { font-size: calc(14px / var(--z, 1)); }
.stn-btn:is([data-on="true"], [aria-pressed="true"]) { --btn: linear-gradient(#f2c66f, #c48d35); color: #241a0e; }
.stn-btn[data-assigned="true"] { --btn: linear-gradient(#5f8c71, #37594a); }
.stn-meter { display: flex; flex-direction: column-reverse; gap: 2px; width: 9px; height: 150px; pointer-events: none; }
.stn-meter i { flex: 1; border-radius: 2px; background: #56d38e; opacity: clamp(.12, calc((var(--m) * 10 - var(--i)) * 1.8), 1); }
.stn-meter i:nth-last-child(-n + 3) { background: #f1bf47; }
.stn-meter i:nth-last-child(1) { background: #f05a3c; }

/* ═══════════ THE LECTERN: walnut, green felt, a brass clip ═══════════ */
.lc-body { display: grid; grid-template-columns: 340px 290px 1fr; grid-template-rows: auto 1fr auto; gap: 18px 20px; min-height: 610px; padding: 24px 26px 22px; border-radius: 20px 20px 12px 12px;
  background: radial-gradient(120% 80% at 20% 0, rgba(255, 214, 150, .16), transparent 55%), repeating-linear-gradient(92deg, rgba(0, 0, 0, .08) 0 3px, transparent 3px 11px), linear-gradient(170deg, #6a4128, #43281a 55%, #2a180e);
  box-shadow: 0 30px 50px -14px rgba(0, 0, 0, .75), inset 0 2px 0 rgba(255, 220, 170, .2); }
.lc-wood { position: absolute; left: 50%; bottom: -24px; width: 160px; height: 26px; translate: -50% 0; border-radius: 0 0 10px 10px; background: linear-gradient(#3a2316, #1d110a); }
.lc-brand { grid-column: 1 / -1; color: #f3dcb2; }
.lc-deck { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lc-platter { position: relative; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, #2a1d14 60%, #120c08); box-shadow: 0 10px 22px rgba(0, 0, 0, .6), inset 0 0 0 4px #8a6a3a; cursor: grab; touch-action: none; }
.lc-felt { position: absolute; inset: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3c6e48, #1f4129 70%); }
.lc-vinyl { position: absolute; inset: 14px; border-radius: 50%; background: repeating-radial-gradient(circle, #141414 0 2px, #1f1f1f 2px 3px); box-shadow: 0 2px 6px rgba(0, 0, 0, .6); rotate: var(--stn-a0, 0deg); }
.lc-vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 40deg, rgba(255, 255, 255, .08) 50deg, transparent 70deg 220deg, rgba(255, 255, 255, .06) 230deg, transparent 250deg); }
.lc-label { position: absolute; inset: 33%; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4); }
.lc-spindle { position: absolute; left: calc(50% - 6px); top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1c9, #a07c3c); }
.lc-transport { display: flex; gap: 14px; align-items: center; }
.lc-round { width: 66px; height: 66px; border-radius: 50%; }
.lc-play { width: 82px; height: 82px; }
.lc-play .stn-legend, .lc-round .stn-legend { font-size: calc(14px / var(--z, 1)); }
.lc-load { padding: 0 16px; }
.lc-seek { width: 300px; color: #f3dcb2; }
.lc-card { position: relative; align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 34px 22px 20px; border-radius: 4px; background: linear-gradient(#f4ecd8, #e6dabd); color: #2b241b; box-shadow: 0 12px 20px rgba(0, 0, 0, .45); rotate: -.8deg; }
.lc-clip { position: absolute; left: calc(50% - 46px); top: -14px; width: 92px; height: 34px; border-radius: 6px 6px 14px 14px; background: linear-gradient(#f3d79b, #a8803c 60%, #6c4e1d); box-shadow: 0 4px 6px rgba(0, 0, 0, .4); }
.lc-kicker { margin: 0; font: 600 12px/1 var(--mono); letter-spacing: .14em; color: #6d5a3d; }
.lc-title { margin: 0; font: 500 26px/1.15 var(--serif); }
.lc-meta { margin: 0; font: 500 calc(14px / var(--z, 1))/1.3 var(--mono); color: #4b3f2e; }
.lc-lamps { display: flex; gap: 10px; }
.lc-lamps i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6b5a40, #3a3022); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .5); font-style: normal; }
.lc-lamps b { font: 600 calc(14px / var(--z, 1))/1 var(--mono); color: #f3e3c2; }
.lc-lamps i.on { background: radial-gradient(circle at 40% 35%, #fff2c4, #e7a63b); box-shadow: 0 0 18px rgba(240, 180, 70, .9); }
.lc-lamps i.on b { color: #3b250c; }
.lc-lamps i:first-child.on { background: radial-gradient(circle at 40% 35%, #ffe0c4, #d9643b); }
.lc-section { margin: 0; min-height: 44px; font: 500 calc(16px / var(--z, 1))/1.4 var(--sans); }
.lc-map { position: relative; display: flex; height: 40px; border-radius: 4px; overflow: visible; background: #d8caa8; }
.lc-map i { position: relative; display: flex; align-items: flex-end; min-width: 0; padding: 0 3px 3px; border-right: 1px solid rgba(43, 36, 27, .35); background: hsl(calc(30 + var(--i) * 28) 32% calc(70% - var(--i) * 2%)); font-style: normal; overflow: hidden; }
.lc-map i span { font: 500 12px/1.1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2b241b; }
.lc-head { position: absolute; top: -5px; bottom: -5px; left: calc(var(--lc-pos, 0) * 100%); width: 3px; border-radius: 2px; background: #b3412c; }
.lc-base { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 calc(14px / var(--z, 1))/1.3 var(--sans); color: #5b4c36; }
.lc-base input { width: 82px; min-height: 36px; padding: 4px 8px; border: 1px solid #8a7656; border-radius: 4px; background: #fffaf0; color: #2b241b; font: 500 calc(14px / var(--z, 1)) var(--mono); }
.lc-side { display: grid; gap: 14px; align-content: start; }
.lc-group { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(12, 8, 5, .38); box-shadow: inset 0 1px 0 rgba(255, 230, 190, .1); }
.lc-group-title { font: 600 12px/1 var(--mono); letter-spacing: .14em; color: #e8cf9e; }
.lc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-pad { width: 56px; height: 46px; }
.lc-loop { width: 50px; height: 44px; }
.lc-wide { padding: 0 14px; justify-self: start; }
.lc-dials { display: flex; justify-content: space-between; }
.lc-tone { --ring: #9cc58d; }
.lc-level { display: flex; align-items: flex-end; gap: 14px; }
.lc-fader { height: 170px; }
.lc-meter { height: 140px; margin-bottom: 26px; }
.lc-preview { display: grid; gap: 8px; justify-items: start; }
.lc-bnote { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 12px 16px; border-left: 3px solid #d3b06a; border-radius: 4px; background: rgba(10, 7, 4, .45); font: 400 calc(16px / var(--z, 1))/1.45 var(--sans); color: #efe0c4; }
.lc-bnote b { font-weight: 600; color: #ffdca0; }
.stn .lc-bpause { min-height: 40px; padding: 0 14px; border: 1px solid #d3b06a; border-radius: 6px; background: rgba(211, 176, 106, .15); font: 500 calc(14px / var(--z, 1)) var(--sans); }

/* ═══════════ SATCHEL TWO: waxed canvas, rubber pads, a leather strap ═══════════ */
.sc-body { display: grid; grid-template-columns: 340px 1fr 340px; gap: 16px; padding: 46px 22px 26px; border-radius: 34px;
  background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 5px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 6px), radial-gradient(120% 90% at 30% 0, #77714f, #4e4a33 60%, #36331f);
  box-shadow: 0 30px 50px -14px rgba(0, 0, 0, .75), inset 0 0 0 3px rgba(30, 26, 14, .55), inset 0 0 0 6px rgba(220, 200, 150, .12); }
.sc-canvas { position: absolute; inset: 10px; border-radius: 28px; border: 2px dashed rgba(235, 220, 180, .28); pointer-events: none; }
.sc-handle { position: absolute; left: calc(50% - 110px); top: -26px; width: 220px; height: 40px; border-radius: 40px 40px 0 0; border: 12px solid #6e4126; border-bottom: 0; }
.sc-brand { position: absolute; left: 50%; top: 18px; translate: -50% 0; color: #f0e2bf; }
.sc-brand b { color: #ffcf8a; }
.sc-deck { display: grid; grid-template-columns: 66px 1fr; grid-template-areas: "head head" "load load" "tempo jog" "mode mode" "pads pads" "trans trans"; gap: 12px; align-items: center; }
.sc-deck--b { grid-template-columns: 1fr 66px; grid-template-areas: "head head" "load load" "jog tempo" "mode mode" "pads pads" "trans trans"; }
.sc-head { grid-area: head; display: flex; align-items: baseline; gap: 10px; min-width: 0; font: 500 calc(14px / var(--z, 1))/1.2 var(--sans); }
.sc-letter { font: 600 22px/1 var(--mono); color: #ffcf8a; }
.sc-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sc-bpm { font: 500 calc(14px / var(--z, 1)) var(--mono); color: #e8dcc0; }
.sc-load { grid-area: load; justify-self: start; padding: 0 16px; }
.sc-deck--b .sc-load { justify-self: end; }
.sc-tempo { grid-area: tempo; height: 230px; justify-self: center; }
.sc-jog { grid-area: jog; position: relative; justify-self: center; width: 236px; height: 236px; border-radius: 50%; background: radial-gradient(circle, #1a1a1a 62%, #0b0b0b); box-shadow: 0 10px 18px rgba(0, 0, 0, .6), inset 0 0 0 2px #000; cursor: grab; touch-action: none; }
.sc-jog-rubber { position: absolute; inset: 6px; border-radius: 50%; background: repeating-conic-gradient(#2a2a2a 0 4deg, #161616 4deg 8deg); }
.sc-jog-top { position: absolute; inset: 30px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #4c4c4c, #1b1b1b); box-shadow: inset 0 2px 4px rgba(255, 255, 255, .12); rotate: var(--stn-a0, 0deg); }
.sc-deck--b .sc-jog-top { rotate: var(--stn-a1, 0deg); }
.sc-jog-art { position: absolute; inset: 28%; border-radius: 50%; background-size: cover; background-position: center; }
.sc-jog-mark { position: absolute; left: calc(50% - 2px); top: 34px; width: 4px; height: 20px; border-radius: 2px; background: #ffcf8a; rotate: var(--stn-a0, 0deg); transform-origin: 2px 84px; }
.sc-deck--b .sc-jog-mark { rotate: var(--stn-a1, 0deg); }
.sc-padmode { grid-area: mode; display: flex; gap: 6px; }
.sc-mode { flex: 1; min-height: 40px; border-radius: 6px; background: rgba(0, 0, 0, .3); font: 600 calc(14px / var(--z, 1))/1 var(--mono); letter-spacing: .04em; color: #e8dcc0; }
.sc-mode[aria-checked="true"] { background: #ffcf8a; color: #2a1d0c; }
.stn .sc-mode { background: rgba(0, 0, 0, .3); color: #e8dcc0; box-shadow: inset 0 0 0 1px rgba(255, 207, 138, .25); }
.stn .sc-mode[aria-checked="true"] { background: #ffcf8a; color: #2a1d0c; box-shadow: none; }
.sc-pads { grid-area: pads; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sc-pad { height: 58px; border-radius: 10px; --btn: linear-gradient(#3b3b38, #252522); }
.sc-pad--loop { --btn: linear-gradient(#3b4250, #262b33); }
.sc-pad--loop:is([aria-pressed="true"]) { --btn: linear-gradient(#9fd1ff, #4b8fd0); color: #0c1a2a; }
.sc-transport { grid-area: trans; display: flex; justify-content: space-between; gap: 10px; }
.sc-deck--b .sc-transport { flex-direction: row-reverse; }
.sc-round { width: 66px; height: 66px; border-radius: 50%; }
.sc-play { --btn: linear-gradient(#4f5a43, #2f3727); }
.sc-sync { --btn: linear-gradient(#45505a, #2a3138); }
.sc-mixer { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "browse browse browse" "a center b" "x x x"; gap: 10px 6px; align-content: start; padding: 14px 10px; border-radius: 20px; background: rgba(20, 17, 9, .42); box-shadow: inset 0 1px 0 rgba(255, 240, 200, .1); --dial: 38px; }
.sc-browse { grid-area: browse; justify-self: center; padding: 0 22px; }
.sc-strip { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sc-strip--a { grid-area: a; }
.sc-strip--b { grid-area: b; }
.sc-preview { margin: 6px 0; padding: 0 10px; }
.sc-fader-row { display: flex; align-items: flex-end; gap: 6px; }
.sc-volume { height: 160px; }
.sc-meter { height: 130px; margin-bottom: 26px; }
.sc-center { grid-area: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sc-eqnote { margin: 8px 0 0; font: 500 calc(16px / var(--z, 1))/1.35 var(--sans); color: #d9cba8; text-align: center; }
.sc-xfader { grid-area: x; }
.sc-xfader .stn-fader-slot { height: 14px !important; top: calc(50% - 7px) !important; border-radius: 7px; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 220, 170, .35) 9px 11px) center / 100% 2px no-repeat, linear-gradient(#7a4a2a, #4b2b17); box-shadow: inset 0 1px 0 rgba(255, 220, 170, .25), 0 2px 4px rgba(0, 0, 0, .5); }
.sc-xfader { --cap: linear-gradient(#e8d6b0, #a88a58); }

/* ═══════════ ROTUNDA: smoked oak, bakelite knobs, two transport strips ═══════════ */
.rt-body { display: grid; grid-template-columns: 220px 1fr 220px; gap: 16px; padding: 22px; border-radius: 16px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 13px), linear-gradient(175deg, #4a3527, #2b1e15 60%, #1a120c);
  box-shadow: 0 30px 50px -14px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 220, 170, .18); }
.rt-oak { position: absolute; inset: 8px; border-radius: 12px; border: 1px solid rgba(255, 220, 170, .1); pointer-events: none; }
.rt-transport { display: flex; flex-direction: column; gap: 12px; padding: 16px 14px; border-radius: 12px; background: rgba(8, 5, 3, .42); align-self: start; }
.rt-head { display: flex; align-items: center; justify-content: space-between; }
.rt-letter { font: 600 28px/1 var(--mono); color: #f0c47a; }
.rt-disc { width: 64px; height: 64px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 6px #121212, 0 0 0 7px #3a3a3a; }
.rt-title { margin: 0; min-height: 40px; font: 500 calc(16px / var(--z, 1))/1.25 var(--sans); }
.rt-read { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin: 0; font: 500 calc(14px / var(--z, 1))/1.3 var(--mono); color: #e1d2b5; }
.rt-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rt-key { height: 48px; }
.rt-play { --btn: linear-gradient(#5d4a2b, #3a2c17); }
.rt-tempo, .rt-seek { width: 100%; }
.rt-mixer { position: relative; display: grid; grid-template-columns: 1fr 150px 1fr; grid-template-rows: auto 1fr; gap: 12px; padding: 16px 14px 18px; border-radius: 26px;
  background: radial-gradient(90% 60% at 50% 0, rgba(255, 200, 140, .1), transparent 70%), linear-gradient(#251b15, #15100c); box-shadow: inset 0 0 0 2px #0b0806, inset 0 0 0 4px rgba(184, 138, 74, .35), 0 8px 18px rgba(0, 0, 0, .5);
  --dial: 40px; --dial-bg: radial-gradient(circle at 35% 28%, #6b3f26, #3a1e10 60%, #1a0c05); --ring: #e3ac5c; }
.rt-brand { grid-column: 1 / -1; text-align: center; color: #f0c47a; }
.rt-channel { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 0 6px; align-content: start; }
.rt-ch { grid-column: 1 / -1; margin-bottom: 4px; font: 600 calc(14px / var(--z, 1))/1 var(--mono); letter-spacing: .14em; color: #f0c47a; }
.rt-fx { grid-column: 1 / -1; display: flex; justify-content: center; gap: 2px; padding: 6px 0 0; border-top: 1px solid rgba(240, 196, 122, .18); --dial: 34px; --ring: #8fb7c8; }
.rt-cue { grid-column: 1 / -1; margin: 8px 0 4px; padding: 0 22px; }
.rt-level-row { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 10px; }
.rt-level { --dial: 92px; width: 122px; --dial-bg: radial-gradient(circle at 35% 28%, #7a4a2c, #40210f 60%, #1c0d05); }
.rt-level .stn-legend { font-size: calc(14px / var(--z, 1)); }
.rt-meter { height: 120px; margin-bottom: 30px; }
.rt-center { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 22px; }
.rt-master { --dial: 56px; }
.rt-note { margin: 12px 0 0; padding: 10px; border-radius: 8px; background: rgba(240, 196, 122, .1); font: 400 calc(16px / var(--z, 1))/1.45 var(--sans); color: #ecdcbc; text-align: center; }
.rt-note b { display: block; font-weight: 600; color: #f0c47a; }

/* ── rooms ── */
.stn-scene { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.stn-scene .s-glow { opacity: calc(.45 + var(--master-meter, 0) * .55); }
.stn-scene--satchel .s-string circle { opacity: calc(.55 + max(var(--d0-meter, 0), var(--d1-meter, 0)) * .45); }

@media (prefers-reduced-motion: reduce) {
  .stn-btn, .stn-value { transition: none; }
  .lc-vinyl, .sc-jog-top, .sc-jog-mark { rotate: 0deg !important; }
  .stn-scene .s-glow { opacity: .7; }
}
