/* Federal Sound FS-2 — club transition mixer */

.fs2-section { margin: 8px auto 72px; scroll-margin-top: 88px; }

.fs2-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 0 0 16px;
}
.fs2-intro h2 {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.fs2-intro p {
  color: var(--dim);
  font-size: 13px;
  max-width: 62ch;
  margin-top: 6px;
}
.fs2-intro p b { color: var(--text); font-weight: 600; }

/* ---------- faceplate (FS-2 club mixer) ---------- */
.fs-mixer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fs2-soft {
  background: #101014;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 10px 12px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
}
.fs2-soft-hd { margin-bottom: 8px; }
.fs2-soft .fs2-status {
  grid-column: auto;
  justify-content: flex-start;
}

.fs2 {
  --fs-lime: #d6ff3e;
  --fs-cyan: #4de8ff;
  --fs-amber: #ffb020;
  --fs-red: #ff4d4d;
  --fs-led-g: #3dcc5a;
  --fs-metal: #1a1c20;
  --fs-ink: #0a0a0d;
  position: relative;
  border-radius: 8px;
  padding: 14px 12px 12px;
  color: #d4d2cc;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07) 0%, transparent 18%, rgba(0,0,0,.28) 100%),
    repeating-linear-gradient(90deg, #1a1c20 0px, #1e2024 1px, #17181c 2px, #1c1e22 3px);
  border: 1px solid #0a0a0c;
  box-shadow:
    0 0 0 1px #050506,
    0 1px 0 rgba(255,255,255,.1) inset,
    0 18px 40px rgba(0,0,0,.5);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.fs2::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fs2-screw {
  position: absolute;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8a8a90, #3a3a40 55%, #101012);
  box-shadow: 0 1px 2px rgba(0,0,0,.8), inset 0 1px 1px rgba(255,255,255,.3);
  z-index: 2;
}
.fs2-screw::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(#0a0a0c,#0a0a0c) center/1.4px 6.5px no-repeat,
    linear-gradient(#0a0a0c,#0a0a0c) center/6.5px 1.4px no-repeat;
}
.fs2-screw.tl { top: 8px; left: 8px; }
.fs2-screw.tr { top: 8px; right: 8px; }
.fs2-screw.bl { bottom: 8px; left: 8px; }
.fs2-screw.br { bottom: 8px; right: 8px; }

/* ---------- top bar ---------- */
.fs2-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 1;
}
.fs2-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fs2-seal {
  width: 28px; height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 2px 6px rgba(0,0,0,.5);
  background: #050506;
}
.fs2-wordmark { display: flex; flex-direction: column; gap: 0; }
.fs2-wordmark strong {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 600;
  color: #e8e6e0;
  text-shadow: none;
}
.fs2-wordmark em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .2em;
  color: #8a8882;
  text-transform: uppercase;
}
.fs2-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a9892;
}
.fs2-status b { color: var(--fs-lime); font-weight: 600; }
.fs2-lamp {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2a2a30;
  box-shadow: inset 0 1px 2px #000;
}
.fs2-lamp.on {
  background: var(--fs-led-g);
  box-shadow: 0 0 8px var(--fs-led-g);
}
.fs2-lamp.rec { background: #3a1010; }
.fs2-lamp.rec.on {
  background: var(--fs-red);
  box-shadow: 0 0 8px var(--fs-red);
}
.fs2-master {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fs2-master-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c8c6c0;
  text-align: center;
  margin-bottom: 4px;
}

/* ---------- FX column ---------- */
.fs2-fx {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 8px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.18));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  border-radius: 4px;
  min-width: 132px;
  grid-column: 3;
  grid-row: 1 / 3;
}
.fs2-fx-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c8c6c0;
  text-align: center;
}
.fs2-lcd {
  background: #0b1a14;
  border-radius: 2px;
  padding: 7px 8px 6px;
  box-shadow: inset 0 1px 4px #000, 0 0 0 1px #050806;
  font-family: var(--font-mono);
  color: #7dff9a;
  text-shadow: 0 0 6px rgba(125,255,154,.35);
}
.fs2-lcd-line { font-size: 11px; letter-spacing: .14em; }
.fs2-lcd-sub { font-size: 8px; letter-spacing: .1em; opacity: .75; margin-top: 2px; }
.fs2-fx-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.fs2-fx-knobs { display: flex; gap: 4px; justify-content: space-between; }
.fs2-assign { display: flex; gap: 4px; justify-content: center; }
.fs2-assign .fs2-btn { padding: 0 8px; height: 24px; flex: 1; }

.fs2-btn {
  appearance: none;
  height: 26px;
  padding: 0 8px;
  border-radius: 3px;
  border: 1px solid #2a2a30;
  background: linear-gradient(180deg, #3a3a42, #1c1c22);
  color: #d8d6d0;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 1px 2px rgba(0,0,0,.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.fs2-btn:hover { filter: brightness(1.08); }
.fs2-btn .led {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2a2a30;
  box-shadow: inset 0 1px 1px #000;
}
.fs2-btn.is-on {
  background: linear-gradient(180deg, #2a2a32, #141418);
  color: #f3f0e8;
  box-shadow: inset 0 1px 3px #000, 0 0 0 1px rgba(255,255,255,.06);
}
.fs2-btn.is-on .led {
  background: var(--fs-led-g);
  box-shadow: 0 0 6px var(--fs-led-g);
}
.fs2-btn.is-armed { border-color: #5a2020; }
.fs2-btn.is-armed.is-on,
.fs2-btn.rec.is-on {
  color: #ffd0d0;
}
.fs2-btn.rec.is-on .led {
  background: var(--fs-red);
  box-shadow: 0 0 6px var(--fs-red);
}
.fs2-btn-lime {
  background: linear-gradient(180deg, #d6ff3e, #b4d42a);
  color: #12140a;
  border-color: #8aa01a;
  font-weight: 600;
}
.fs2-btn-lime .led { background: #12140a; }

.fs2-beats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  align-items: center;
}
.fs2-beats-lbl {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9a9892;
  text-align: center;
}
.fs2-beat {
  appearance: none;
  height: 22px;
  border-radius: 2px;
  border: 1px solid #2a2a30;
  background: linear-gradient(180deg, #2e2e36, #18181c);
  color: #c8c6c0;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  cursor: pointer;
  padding: 0;
}
.fs2-beat.is-on {
  color: #0a0c0a;
  background: var(--fs-led-g);
  border-color: #2a8a3e;
}
.fs2-fx-power {
  appearance: none;
  height: 36px;
  border-radius: 3px;
  border: 1px solid #2a2a30;
  background: linear-gradient(180deg, #3a3a42, #16161a);
  color: #f3f0e8;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 2px 4px rgba(0,0,0,.5);
}
.fs2-fx-power .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2a2a30;
}
.fs2-fx-power.is-on .led {
  background: var(--fs-led-g);
  box-shadow: 0 0 8px var(--fs-led-g);
}

/* ---------- body / decks ---------- */
.fs2-body {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 8px 10px;
  padding: 10px 4px 4px;
  position: relative;
  z-index: 1;
}
.fs2-deck {
  border-radius: 4px;
  padding: 8px 6px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.fs2-deck[data-deck="a"] { grid-column: 1; grid-row: 1; }
.fs2-deck[data-deck="b"] { grid-column: 2; grid-row: 1; }
.fs2-deck-hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  padding: 0 2px;
  width: 100%;
  gap: 6px;
}
.fs2-deck-hd h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e8e6e0;
  font-weight: 600;
}
.fs2-deck[data-deck="a"] .fs2-deck-hd h3 { color: #d8e8a0; }
.fs2-deck[data-deck="b"] .fs2-deck-hd h3 { color: #a8d8e0; }
.fs2-deck-hd span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #8a8882;
  letter-spacing: .04em;
  max-width: 62%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs2-col-knobs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
}
.fs2-row { display: flex; justify-content: space-around; align-items: flex-start; gap: 4px; }
.fs2-eq-row { margin: 8px 0 4px; }
.fs2-eq-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.fs2-kill {
  width: 32px; height: 16px;
  border-radius: 2px;
  border: 1px solid #2a2a30;
  background: linear-gradient(180deg, #2a2a32, #141418);
  color: #8a8882;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset;
  padding: 0;
}
.fs2-kill.is-on {
  color: #fff;
  background: var(--fs-red);
  border-color: #ff8080;
  box-shadow: 0 0 8px rgba(255,77,77,.45);
}

.fs2-cue {
  appearance: none;
  width: 64px;
  height: 22px;
  border-radius: 2px;
  border: 1px solid #2a2a30;
  background: linear-gradient(180deg, #3a3a42, #1a1a20);
  color: #e8e6e0;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 4px;
}
.fs2-cue .led {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2a2a30;
}
.fs2-cue.is-on .led {
  background: var(--fs-amber);
  box-shadow: 0 0 6px var(--fs-amber);
}

.fs2-deck-bottom {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
  margin-top: 8px;
  min-height: 168px;
  width: 100%;
}

/* ---------- knobs (rubber, white tick) ---------- */
.fs2-knob {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 52px;
  cursor: ns-resize;
  touch-action: none;
}
.fs2-knob.is-over { filter: drop-shadow(0 0 5px rgba(255,255,255,.18)); }
.fs2-knob-cap {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #4a4a50, #1c1c20 55%, #0a0a0c 100%);
  box-shadow:
    0 2px 4px rgba(0,0,0,.7),
    inset 0 1px 1px rgba(255,255,255,.22),
    inset 0 -3px 4px rgba(0,0,0,.7),
    0 0 0 3px #141416,
    0 0 0 4px #2a2a30;
  border: 1px solid #0a0a0c;
}
.fs2-knob-cap::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2a2a30, #121214 70%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.8);
}
.fs2-knob-tick {
  position: absolute;
  left: 50%; top: 3px;
  width: 2px; height: 10px;
  margin-left: -1px;
  background: #f3f0e8;
  border-radius: 1px;
  box-shadow: 0 0 2px rgba(0,0,0,.8);
  z-index: 1;
}
.fs2-knob-val {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #6a6864;
  min-height: 10px;
  letter-spacing: .04em;
}
.fs2-knob-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c8c6c0;
}
.fs2-knob.lg .fs2-knob-cap { width: 42px; height: 42px; }
.fs2-knob.lg .fs2-knob-cap::after { inset: 10px; }
.fs2-knob.lg .fs2-knob-tick { height: 11px; }
.fs2-knob.sm { width: 40px; }
.fs2-knob.sm .fs2-knob-cap { width: 28px; height: 28px; box-shadow: 0 2px 3px rgba(0,0,0,.7), inset 0 1px 1px rgba(255,255,255,.22), inset 0 -2px 3px rgba(0,0,0,.7), 0 0 0 2px #141416, 0 0 0 3px #2a2a30; }
.fs2-knob.sm .fs2-knob-cap::after { inset: 6px; }
.fs2-knob.sm .fs2-knob-tick { height: 7px; top: 2px; }

/* ---------- faders ---------- */
.fs2-fader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: ns-resize;
  touch-action: none;
}
.fs2-fader.is-over .fs2-fader-cap { box-shadow: 0 0 8px rgba(255,255,255,.2), 0 2px 4px #000; }
.fs2-fader-track {
  position: relative;
  width: 14px;
  height: 168px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a0a0c, #2a2a30 45%, #0a0a0c);
  box-shadow: inset 0 1px 6px rgba(0,0,0,.9), 0 0 0 1px #050506;
}
.fs2-fader-fill {
  position: absolute;
  left: 3px; right: 3px; bottom: 0;
  border-radius: 1px;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.fs2-fader-cap {
  position: absolute;
  left: 50%;
  width: 26px; height: 18px;
  margin-left: -13px;
  margin-top: -9px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(180deg, #3a3a42 0 2px, #1c1c22 2px 4px),
    linear-gradient(90deg, #2a2a30, #1a1a20);
  background-blend-mode: overlay, normal;
  box-shadow: 0 2px 4px #000, inset 0 1px 0 rgba(255,255,255,.2);
  border: 1px solid #0a0a0c;
}
.fs2-fader-cap::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: #f3f0e8;
}
.fs2-fader-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c8c6c0;
}
.fs2-xf-wrap {
  grid-column: 1 / 3;
  grid-row: 2;
  padding: 4px 8px 2px;
}
.fs2-xf {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  cursor: ew-resize;
  touch-action: none;
}
.fs2-xf-track {
  position: relative;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, #0a0a0c, #1a1a20 50%, #0a0a0c);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.85), 0 0 0 1px #050506;
}
.fs2-xf-cap {
  position: absolute;
  top: 2px; bottom: 2px;
  width: 44px;
  margin-left: -22px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, #3a3a44 0 2px, #22222a 2px 4px),
    linear-gradient(180deg, #4a4a54, #22222a);
  background-blend-mode: overlay, normal;
  box-shadow: 0 2px 4px #000, inset 0 1px 0 rgba(255,255,255,.25);
  border: 1px solid #0a0a0c;
}
.fs2-xf-cap::after {
  content: "";
  position: absolute;
  top: 4px; bottom: 4px; left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #f3f0e8;
}
.fs2-xf-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8a8882;
}
.fs2-xf-labels .a { color: #c8d888; }
.fs2-xf-labels .b { color: #88c8d0; }

/* ---------- VU meters ---------- */
.fs2-vu {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 168px;
}
.fs2-vu.master { height: 48px; }
.fs2-vu-col {
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
  width: 8px;
  height: 100%;
}
.fs2-vu-seg {
  flex: 1;
  border-radius: 0;
  background: #1a1e1a;
  box-shadow: inset 0 0 0 1px #0a0c0a;
  opacity: 1;
}
.fs2-vu-seg.lvl-g { background: #16301c; }
.fs2-vu-seg.lvl-a { background: #302414; }
.fs2-vu-seg.lvl-r { background: #301414; }
.fs2-vu-seg.on { opacity: 1; }
.fs2-vu-seg.lvl-g.on { background: var(--fs-led-g); box-shadow: 0 0 3px rgba(61,204,90,.55); }
.fs2-vu-seg.lvl-a.on { background: var(--fs-amber); box-shadow: 0 0 3px rgba(255,176,32,.55); }
.fs2-vu-seg.lvl-r.on { background: var(--fs-red); box-shadow: 0 0 4px rgba(255,77,77,.6); }

/* ---------- software strip / transport ---------- */
.fs2-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 4px 0;
  min-width: 0;
}
.fs2-transport {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  margin-top: 8px;
}
.fs2-timeline {
  margin-top: 0;
  padding: 8px 8px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.fs2-timeline-hd {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a8882;
  margin-bottom: 8px;
}
.fs2-timeline-hd b { color: var(--fs-lime); font-weight: 600; }
.fs2-lane {
  position: relative;
  height: 28px;
  border-radius: 4px;
  background: #0c0c10;
  overflow: hidden;
  box-shadow: inset 0 1px 3px #000;
}
.fs2-lane-seg {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 3px;
  opacity: .85;
  pointer-events: none;
}
.fs2-lane-seg.bass { background: rgba(214,255,62,.28); }
.fs2-lane-seg.xf { background: rgba(77,232,255,.28); }
.fs2-lane-seg.echo { background: rgba(255,77,138,.3); }
.fs2-lane-seg.filter { background: rgba(255,176,32,.28); }
.fs2-playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--fs-lime);
  box-shadow: 0 0 8px var(--fs-lime);
  left: 0;
  pointer-events: none;
}
.fs2-lane-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a8882;
}
.fs2-lane-legend i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: -1px;
}
.fs2-lane-legend .bass { background: rgba(214,255,62,.6); }
.fs2-lane-legend .xf { background: rgba(77,232,255,.6); }
.fs2-lane-legend .echo { background: rgba(255,77,138,.7); }
.fs2-lane-legend .filter { background: rgba(255,176,32,.7); }

.fs2-note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #8a8882;
  letter-spacing: .04em;
  line-height: 1.45;
  text-align: left;
}
.fs2-note strong { color: #d8d6d0; font-weight: 600; }

/* cue-panel jump button */
.cue-panel .hd { align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.cue-panel .hd .btn-sm { margin-left: auto; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .fs2 { padding: 12px 8px 10px; border-radius: 8px; }
  .fs2-intro { flex-direction: column; align-items: flex-start; }
  .fs2-top { gap: 8px; }
  .fs2-body { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .fs2-fx { grid-column: 1 / -1; grid-row: 3; min-width: 0; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .fs2-fx-btns { grid-template-columns: repeat(4, 1fr); }
  .fs2-xf-wrap { grid-column: 1 / -1; grid-row: 2; }
  .fs2-deck-bottom { min-height: 140px; }
  .fs2-fader-track, .fs2-vu { height: 140px; }
  .fs2-knob { width: 46px; }
  .fs2-transport .fs2-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .fs2-knob.lg .fs2-knob-cap { width: 36px; height: 36px; }
  .fs2-xf-cap { width: 38px; margin-left: -19px; }
  .fs2-deck { padding: 8px 4px 10px; }
}

/* ---------- Save / Export mix ---------- */
.fs2-export {
  margin-top: 18px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.fs2-export h2 {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.fs2-export .sub {
  color: var(--dim);
  font-size: 13px;
  margin-bottom: 16px;
  max-width: 72ch;
}
.fs2-export-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 18px 28px;
  align-items: start;
}
.fs2-field { margin-bottom: 12px; }
.fs2-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.fs2-field select,
.fs2-field input[type="text"] {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0b0b0e;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
}
.fs2-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fs2-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fs2-chip {
  appearance: none;
  border: 1px solid var(--line-2);
  background: #0b0b0e;
  color: var(--text);
  border-radius: 999px;
  height: 34px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  cursor: pointer;
}
.fs2-chip.is-on {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
  font-weight: 600;
}
.fs2-chip.is-server { opacity: .9; }
.fs2-chip.is-server.is-on {
  background: var(--cyan-soft);
  color: var(--cyan);
  border-color: var(--cyan);
}
.fs2-legal {
  margin-top: 14px;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 70ch;
}
.fs2-legal strong { color: var(--dim); font-weight: 600; }
.fs2-export-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fs2-status-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
  min-height: 16px;
  margin-top: 10px;
}
.fs2-status-msg.is-warn { color: var(--amber); }

@media (max-width: 860px) {
  .fs2-export-grid, .fs2-opts { grid-template-columns: 1fr; }
}

/* ---------- Share sheet ---------- */
.share-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

.b2b-share-root[hidden] { display: none !important; }
.b2b-share-root {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.b2b-share-root .b2b-share-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  border: 0;
  cursor: pointer;
}
.b2b-share-sheet {
  position: relative;
  width: min(560px, 100% - 24px);
  max-height: min(92vh, 860px);
  overflow: auto;
  margin: 12px;
  background: var(--elev);
  border: 1px solid var(--line-2);
  border-radius: 20px 20px 16px 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  padding: 18px 18px 22px;
  color: var(--text);
}
.b2b-share-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.b2b-share-hd h3 {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: -.03em;
}
.b2b-share-hd p { color: var(--dim); font-size: 13px; margin-top: 4px; }
.b2b-share-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}
.b2b-share-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 8px;
}
.b2b-share-badge.live { background: var(--lime-soft); color: var(--lime); }
.b2b-share-badge.saved { background: var(--cyan-soft); color: var(--cyan); }
.b2b-share-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  margin: 8px 0 14px;
  word-break: break-all;
}
.b2b-share-cards {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 12px;
  margin-bottom: 16px;
}
.b2b-share-card {
  background: #0b0b0e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.b2b-share-card canvas,
.b2b-share-card img { width: 100%; height: auto; display: block; }
.b2b-share-card figcaption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 8px 10px;
}
.b2b-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.b2b-share-grid a,
.b2b-share-grid button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
}
.b2b-share-grid a:hover,
.b2b-share-grid button:hover { border-color: var(--lime); }
.b2b-share-grid .ico {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 auto;
  background: #1a1a20;
  color: var(--lime);
}
.b2b-share-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.5;
}
.b2b-share-native { margin-top: 10px; width: 100%; }
@media (max-width: 560px) {
  .b2b-share-cards, .b2b-share-grid { grid-template-columns: 1fr; }
}

/* profile connect + share on cards */
.profile-connect {
  margin: 0 0 22px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.profile-connect h3 {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.profile-connect .sub { color: var(--dim); font-size: 13px; margin-bottom: 14px; }
.connect-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.connect-row:first-of-type { border-top: 0; }
.toggle {
  position: relative;
  width: 42px; height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2a2a33;
  border: 0;
  cursor: pointer;
}
.toggle.is-on { background: var(--lime); }
.toggle i {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .15s ease;
}
.toggle.is-on i { transform: translateX(18px); }
.chain-card .card-share {
  height: 30px;
  padding: 0 10px;
  font-size: 11px;
  margin-left: auto;
}
.chain-card .card-foot { align-items: center; gap: 10px; }

/* ========== DJ booth: waveforms, DD-1 decks, crate, editor ========== */
.fs-booth {
  margin-top: 8px;
  background: #0a0a0e;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow);
}
.fs-phone-tabs { display: none; }

/* ---- waveforms ---- */
.fs-waves { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.fs-wave {
  position: relative;
  height: 84px;
  border-radius: 8px;
  background: #070709;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  cursor: pointer;
}
.fs-wave canvas { display: block; width: 100%; height: 100%; }
.fs-wave-meta {
  position: absolute;
  left: 8px; top: 4px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d6ff3e;
  pointer-events: none;
  text-shadow: 0 1px 4px #000;
}
.fs-wave[data-wave="b"] .fs-wave-meta { color: #4de8ff; }
.fs-wave-playhead {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 8px #d6ff3e;
  pointer-events: none;
  z-index: 3;
}

/* ---- booth row: TT | mixer | TT ---- */
.fs-booth-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(420px, 1.4fr) minmax(200px, 0.85fr);
  gap: 8px;
  align-items: stretch;
}
.fs-tt { min-width: 0; overflow: visible; }
.fs-booth-row > #fs2 { min-width: 0; }
.fs-booth-row .fs2 { padding: 12px 8px 10px; }
.fs-booth-row .fs2-seal { width: 28px; height: 28px; }
.fs-booth-row .fs2-wordmark strong { font-size: 10px; }
.fs-booth-row .fs2-fader-track, .fs-booth-row .fs2-vu { height: 160px; }
.fs-booth-row .fs2-deck-bottom { min-height: 160px; }
.fs-booth-row .fs2-knob-cap { width: 34px; height: 34px; }
.fs-booth-row .fs2-knob.lg .fs2-knob-cap { width: 40px; height: 40px; }

/* ---- Federal Sound FS DD-1 direct drive ---- */
.fs-tt {
  background:
    linear-gradient(180deg, #d8d5ce 0%, #b8b4ab 18%, #9a968c 50%, #c4c0b8 100%);
  border-radius: 12px;
  padding: 8px 8px 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 8px 20px rgba(0,0,0,.35);
  color: #1a1a1c;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.fs-tt-head {
  background: #111114;
  color: #f3f0e8;
  border-radius: 8px;
  padding: 7px 8px 6px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(214,255,62,.15);
}
.fs-tt-head:hover { box-shadow: inset 0 0 0 1px rgba(214,255,62,.4); }
.fs-tt-head .ttl {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-tt-head .sub {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9b98a4;
  margin-top: 2px;
}
.fs-tt-head .sub b { color: #d6ff3e; font-weight: 600; }
.fs-tt[data-deck="b"] .fs-tt-head .sub b { color: #4de8ff; }

.fs-tt-plinth {
  position: relative;
  aspect-ratio: 1;
  max-height: 300px;
  margin: 0 auto;
  width: 100%;
}
.fs-platter {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #b8b4ac 0 62%, #8a867e 78%, #5c5a54 100%);
  box-shadow:
    0 0 0 3px #9a968e,
    0 0 0 5px #6a6760,
    0 10px 18px rgba(0,0,0,.5),
    inset 0 0 16px rgba(0,0,0,.28);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.fs-platter.is-grab { cursor: grabbing; }
.fs-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-origin: 50% 50%;
  will-change: transform;
}
.fs-platter .strobe {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(#efece6 0 1.1deg, transparent 1.1deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent 95.2%, #000 95.6%, #000 98.8%, transparent 99.3%);
          mask: radial-gradient(closest-side, transparent 95.2%, #000 95.6%, #000 98.8%, transparent 99.3%);
  opacity: .22;
  pointer-events: none;
}
.fs-record {
  position: absolute;
  inset: 4.6%;
  border-radius: 50%;
  background: #0a0a0c;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 0 0 1px #1a1a1c,
    inset 0 0 30px rgba(0,0,0,.55);
  overflow: hidden;
  pointer-events: none;
}
.fs-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      #0a0a0c 0px,
      #141416 0.55px,
      #08080a 1.05px,
      #1a1a1e 1.5px,
      #0c0c0e 2.05px,
      #161618 2.45px);
}
.fs-grooves::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%,
    transparent 0 1.15px,
    rgba(255,255,255,.028) 1.35px,
    transparent 1.7px);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 33%, #000 34.5%);
          mask: radial-gradient(circle at 50% 50%, transparent 33%, #000 34.5%);
}
.fs-gaps i {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  margin-left: calc(var(--r) * -1);
  margin-top: calc(var(--r) * -1);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #070708, 0 0 0 4px #151518, 0 0 0 5px #070708;
  pointer-events: none;
}
.fs-gaps i.lead {
  box-shadow: 0 0 0 5px #08080a, 0 0 0 7px #121214;
}
.fs-label {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  box-shadow:
    0 0 0 2px #1c1c16,
    inset 0 0 10px rgba(0,0,0,.25);
}
.fs-label.lime {
  background:
    radial-gradient(circle at 40% 30%, #e8ff8a, #c6e04a 45%, #9ab82e 100%);
}
.fs-label.cyan {
  background:
    radial-gradient(circle at 40% 30%, #c8f6ff, #5ad4e8 48%, #2aa8bc 100%);
}
.fs-label-face {
  position: relative;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #1a1a12;
  padding: 11% 10% 12%;
  box-sizing: border-box;
}
.fs-label-face small {
  font-family: var(--font-mono);
  font-size: 5.2px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
  flex: 0 0 auto;
}
.fs-label-face b {
  font-family: var(--font-head);
  font-size: 7.8px;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-top: 1px;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 0 0 auto;
}
.fs-label-hole {
  flex: 1 1 auto;
  width: 28%;
  min-height: 22%;
  margin: 3px 0;
  pointer-events: none;
}
.fs-label-face em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 5.2px;
  letter-spacing: .04em;
  opacity: .8;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 0 auto;
  margin-top: 0;
}
.fs-label-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
  pointer-events: none;
}
.fs-sheen {
  position: absolute;
  inset: 4.6%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background:
    conic-gradient(from 205deg at 50% 50%,
      transparent 0deg,
      rgba(255,255,255,.03) 18deg,
      rgba(255,255,255,.28) 34deg,
      rgba(255,255,255,.08) 50deg,
      transparent 78deg,
      transparent 198deg,
      rgba(255,255,255,.1) 228deg,
      transparent 268deg);
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 32%, #000 34%, #000 99%, transparent 100%);
          mask: radial-gradient(circle at 50% 50%, transparent 32%, #000 34%, #000 99%, transparent 100%);
}
.fs-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(118deg, rgba(255,255,255,.2) 0%, transparent 26%, transparent 64%, rgba(255,255,255,.07) 100%);
}
.fs-spindle {
  position: absolute;
  left: 50%; top: 50%;
  width: 5.4%; height: 5.4%;
  margin: -2.7% 0 0 -2.7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f3f1ec, #b8b4ac 42%, #6a6862 70%, #2a2a28 100%);
  box-shadow: 0 1px 2px #000, inset 0 1px 1px rgba(255,255,255,.7);
  pointer-events: none;
  z-index: 4;
}
.fs-spin { transform-origin: 50% 50%; will-change: transform; }

.fs-arm-base {
  position: absolute;
  left: 95.5%;
  top: 15.5%;
  width: 10.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 32%, #d8d5ce, #8a8780 48%, #3a3835 100%);
  box-shadow:
    0 0 0 2px #2a2926,
    0 0 0 4px #b0ada6,
    0 2px 4px rgba(0,0,0,.45);
  z-index: 6;
  pointer-events: none;
}
.fs-arm-base::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #4a4844, #121110);
  box-shadow: inset 0 1px 2px #000;
}
.fs-arm-rest {
  position: absolute;
  left: 95.5%;
  top: 56%;
  width: 8%;
  height: 16%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.fs-arm-rest .post {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 28%;
  height: 70%;
  margin-left: -14%;
  border-radius: 2px;
  background: linear-gradient(90deg, #6a6862, #d0cdc6 40%, #8a8780 70%, #3a3835);
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.fs-arm-rest .clip {
  position: absolute;
  left: 50%;
  top: 0;
  width: 70%;
  height: 28%;
  margin-left: -35%;
  border: 2px solid #c8c5be;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
  background: transparent;
}
.fs-arm {
  position: absolute;
  left: 95.5%;
  top: 15.5%;
  width: 40%;
  height: 82%;
  margin-left: -20%;
  margin-top: -8.2%; /* 10% of height — SVG pivot at y=28/280 */
  transform-origin: 50% 10%;
  transform: rotate(var(--arm-deg, 0deg));
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  z-index: 5;
}
.fs-arm.is-tracking { transition: none; }
.fs-arm-svg { width: 100%; height: 100%; overflow: visible; }

.fs-light {
  position: absolute;
  left: 8%;
  top: 14%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #5a3a10;
  box-shadow: inset 0 1px 2px #000;
  z-index: 4;
}
.fs-tt.is-on .fs-light, .fs-tt.is-loaded .fs-light {
  background: #ffb020;
  box-shadow: 0 0 10px #ffb020;
}

.fs-tt-brand {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2a2a2c;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.fs-tt-brand strong { display: block; letter-spacing: .22em; font-size: 10px; }

.fs-tt-controls {
  display: grid;
  grid-template-columns: 1fr auto 36px;
  gap: 6px;
  align-items: end;
}
.fs-tt-btns { display: flex; flex-wrap: wrap; gap: 4px; }
.fs-tt-btns button {
  appearance: none;
  height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid #6a6860;
  background: linear-gradient(180deg, #f0eee8, #c0bdb6);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a1a1c;
  cursor: pointer;
  box-shadow: 0 1px 0 #fff inset, 0 1px 2px rgba(0,0,0,.25);
}
.fs-tt-btns button.is-on {
  background: linear-gradient(180deg, #d6ff3e, #b8d62a);
  border-color: #8aa01a;
}
.fs-pitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: ns-resize;
  touch-action: none;
}
.fs-pitch .fs2-fader-track { height: 90px; width: 14px; background: #3a3a40; }
.fs-pitch-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2a2a2c;
}
.fs-pitch-val { font-family: var(--font-mono); font-size: 9px; color: #111; }

/* ---- crate ---- */
.fs-crate {
  margin-top: 10px;
  background: #0c0c10;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
}
.fs-crate-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d6ff3e;
  background: #111114;
}
.fs-crate-actions { display: flex; gap: 6px; }
.fs-crate-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fs-crate-table th, .fs-crate-table td {
  padding: 7px 10px;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.05);
  white-space: nowrap;
}
.fs-crate-table th {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6d6a74;
  font-weight: 500;
}
.fs-crate-table tr[data-track] { cursor: grab; }
.fs-crate-table tr[data-track]:hover { background: rgba(214,255,62,.06); }
.fs-crate-table tr.is-on { background: rgba(214,255,62,.1); }
.fs-crate-table tr.is-off { opacity: 1; cursor: default; }
.fs-crate-table tr.is-off td:not(.fs-crate-preview) { opacity: .72; }
.fs-crate-table .muted { color: #6d6a74; font-size: 11px; }
.fs-tt.drag-over { outline: 2px solid #d6ff3e; outline-offset: 2px; }

/* ---- waveform editor ---- */
.fs-ed-root[hidden] { display: none !important; }
.fs-ed-root {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-ed-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.7);
  border: 0;
  cursor: pointer;
  z-index: 0;
}
.fs-ed-sheet {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 24px));
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #0c0c10;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  padding: 16px 16px 18px;
  color: var(--text);
}
.fs-ed-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.fs-ed-hd h3 { font-family: var(--font-head); font-size: 20px; letter-spacing: -.03em; }
.fs-ed-hd p { color: var(--dim); font-size: 12px; margin-top: 4px; }
.fs-ed-view {
  position: relative;
  background: #070709;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  height: 260px;
  touch-action: none;
}
.fs-ed-view canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.fs-ed-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.fs-ed-tools label { font-size: 12px; color: var(--dim); display: inline-flex; align-items: center; gap: 6px; }
.fs-ed-readout { font-family: var(--font-mono); font-size: 11px; color: #d6ff3e; margin-left: auto; }

@media (max-width: 900px) {
  .fs-phone-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 8px;
    position: sticky;
    top: 60px;
    z-index: 30;
    background: rgba(8, 8, 10, 0.94);
    padding: 8px 0;
    backdrop-filter: blur(10px);
  }
  .fs-phone-tabs button {
    flex: 1;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    background: #111114;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .fs-phone-tabs button.is-on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
  .fs-booth-row { grid-template-columns: 1fr; }
  .fs-booth[data-tab="a"] .fs-tt-b,
  .fs-booth[data-tab="a"] #fs2 { display: none; }
  .fs-booth[data-tab="b"] .fs-tt-a,
  .fs-booth[data-tab="b"] #fs2 { display: none; }
  .fs-booth[data-tab="mix"] .fs-tt { display: none; }
  .fs-ed-view { height: 200px; }
  .fs-crate-table .hide-sm { display: none; }
}

#fs-mixer.wrap { width: min(1400px, calc(100% - 32px)); }

.fs2-lane { overflow: hidden; }
.fs2-lane-seg { display: flex; align-items: flex-end; padding: 0 4px 2px; box-sizing: border-box; }
.fs2-lane-seg span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f3f0e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
}
.fs2-lane-seg.mid { background: rgba(243,240,232,.22); }
.fs2-lane-seg.high { background: rgba(77,232,255,.22); }
.fs2-lane-seg.fader { background: rgba(255,176,32,.22); }
.fs2-lane-seg.spin { background: rgba(180,140,255,.3); }
.fs2-lane-seg.ending { background: rgba(214,255,62,.18); box-shadow: inset 0 0 0 1px rgba(214,255,62,.45); }
.fs-lane-style { color: #d6ff3e; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.fs-lane-style b { color: #f3f0e8; font-weight: 600; }

/* Transition styles */
.fs-styles {
  margin: 0 0 16px;
  padding: 16px 16px 18px;
  background: #0c0c10;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.fs-styles-intro h2 { font-family: var(--font-head); font-size: 26px; letter-spacing: -.03em; margin: 2px 0 8px; }
.fs-styles-intro p { color: var(--dim); font-size: 14px; max-width: 70ch; }
.fs-styles-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.3fr);
  gap: 14px;
  margin-top: 14px;
}
.fs-style-lib h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d6ff3e;
  margin: 10px 0 6px;
}
.fs-style-card {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  background: #111114;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 6px;
  color: var(--text);
  cursor: pointer;
}
.fs-style-card strong { display: block; font-family: var(--font-head); font-size: 15px; letter-spacing: -.02em; }
.fs-style-card span, .fs-style-card em { display: block; font-style: normal; font-size: 11px; color: var(--dim); margin-top: 2px; }
.fs-style-card.is-on { border-color: #d6ff3e; background: rgba(214,255,62,.08); }
.fs-style-builder {
  background: #0a0a0e;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 12px;
}
.fs-style-builder-hd {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.fs-style-builder-hd label, .fs-step label, .cue-style-row label, .vote-style label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9b98a4;
}
.fs-style-builder-hd input, .fs-style-builder-hd select,
.fs-step input, .fs-step select,
.cue-style-row select, .vote-style select {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #111114;
  color: var(--text);
  padding: 0 8px;
  font-size: 13px;
}
.fs-style-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fs-style-builder { overflow-x: auto; }
.fs-step {
  display: grid;
  grid-template-columns: 28px 72px minmax(88px, 0.9fr) 84px 70px 70px 88px minmax(110px, 1.2fr) auto;
  gap: 6px;
  align-items: end;
  background: #111114;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 8px;
}
.fs-step-del { padding: 0 10px; white-space: nowrap; }
.fs-step-move { display: flex; flex-direction: column; gap: 2px; }
.fs-step-move button, .fs-step-del {
  appearance: none;
  height: 22px;
  min-width: 22px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background: #1a1a20;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
}
.fs-style-builder-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fs-style-msg { min-height: 1.2em; margin-top: 8px; font-size: 12px; color: #d6ff3e; }

.cue-style { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cue-style-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 8px; }
#cue-style-chip { color: #d6ff3e; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }

.vote { flex-wrap: wrap; }
.vote-style {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  padding: 6px 0 0 0;
}
.vote-style .muted { font-size: 11px; color: #9b98a4; padding-bottom: 8px; }

@media (max-width: 1100px) {
  .fs-step { grid-template-columns: 28px 1fr 1fr 1fr; }
  .fs-step-label { grid-column: 1 / -1; }
  .fs-step-del { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .fs-styles-grid, .fs-style-builder-hd { grid-template-columns: 1fr; }
  .fs-step { grid-template-columns: 28px 1fr 1fr; }
  .fs-step-label, .fs-step-del { grid-column: 1 / -1; }
  #fs-mixer.wrap { width: min(100% - 32px, 1400px); }
  .fs-ed-root { align-items: flex-start; padding: 8px 0; }
  .fs-ed-sheet {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
    padding: 12px;
    box-sizing: border-box;
  }
  .fs-ed-view { height: 180px; }
  .fs-ed-hd h3 { font-size: 16px; }
  .fs-ed-readout { margin-left: 0; flex-basis: 100%; }
}


/* ---------- Preview next track ---------- */
.fs-preview-btn {
  min-width: 92px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 12px;
}
.fs-crate-preview { text-align: right; white-space: nowrap; width: 1%; }
.fs-crate-table tr[data-track].is-off { cursor: default; }
.fs-crate-skim { display: none; background: #0a0a0e; }
.fs-crate-table tr[data-track]:hover + .fs-crate-skim,
.fs-crate-table tr[data-track].is-sel + .fs-crate-skim,
.fs-crate-table tr[data-track].is-skim + .fs-crate-skim,
.fs-crate-table tr[data-track].is-open + .fs-crate-skim,
.fs-crate-skim:hover { display: table-row; }
.fs-crate-skim td { padding: 6px 10px 10px; border-top: none; }
.fs-mini-wave {
  display: block;
  width: 100%;
  height: 44px;
  cursor: pointer;
  border-radius: 6px;
  background: #070709;
  border: 1px solid rgba(243,240,232,.08);
}
.fs-mini-hint {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d6a74;
}
.vote { grid-template-columns: 44px 1fr auto; }
.vote-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vote-style, .vote-skim { grid-column: 1 / -1; }
.vote-skim { display: none; padding: 0 0 6px; }
.vote:hover .vote-skim,
.vote.is-skim .vote-skim,
.vote.is-open .vote-skim { display: block; }

.fs-pv-root[hidden] { display: none !important; }
.fs-pv-root {
  position: fixed;
  inset: 0;
  z-index: 145;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.fs-pv-bg {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4,4,6,.55);
  pointer-events: auto;
  cursor: pointer;
}
.fs-pv-sheet {
  position: relative;
  pointer-events: auto;
  width: min(1120px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  overflow: auto;
  margin: 0 auto 18px;
  background: #121218;
  border: 1px solid rgba(243,240,232,.12);
  border-radius: 18px 18px 14px 14px;
  box-shadow: 0 -18px 60px rgba(0,0,0,.55);
  padding: 16px 18px 14px;
  color: #f3f0e8;
}
.fs-pv-handle {
  display: none;
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: rgba(243,240,232,.22);
  margin: 0 auto 10px;
}
.fs-pv-hd {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fs-pv-nav { display: flex; gap: 6px; padding-top: 4px; }
.fs-pv-arrow {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(243,240,232,.16);
  background: #1a1a22;
  color: #f3f0e8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.fs-pv-arrow:hover { border-color: #d6ff3e; color: #d6ff3e; }
.fs-pv-id { flex: 1; min-width: 0; }
.fs-pv-kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b98a4;
}
.fs-pv-hd h3 {
  margin: 2px 0 0;
  font-family: "Bebas Neue", "Syne", sans-serif;
  font-size: 28px;
  letter-spacing: 0.03em;
  font-weight: 400;
}
.fs-pv-artist { margin: 2px 0 0; color: #9b98a4; font-size: 13px; }
.fs-pv-stream-note {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(77,232,255,.08);
  border: 1px solid rgba(77,232,255,.25);
  color: #4de8ff;
  font-size: 12px;
}
.fs-pv-wave-wrap {
  margin-top: 12px;
  background: #070709;
  border-radius: 10px;
  border: 1px solid rgba(243,240,232,.1);
  overflow: hidden;
}
#fs-pv-wave { display: block; width: 100%; height: 110px; cursor: pointer; }
.fs-pv-transport {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.fs-pv-mode { display: inline-flex; gap: 4px; }
.fs-pv-mode .is-on, #fs-pv-play.is-on, #fs-pv-skim.is-on, #fs-pv-full.is-on {
  background: #d6ff3e;
  color: #111;
  border-color: #d6ff3e;
}
.fs-pv-vol-lab, .fs-pv-auto-lab, .fs-pv-style-lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b98a4;
}
#fs-pv-vol { width: 90px; accent-color: #d6ff3e; }
.fs-pv-time {
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #f3f0e8;
}
.fs-pv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: #9b98a4;
}
.fs-pv-meta b { color: #f3f0e8; font-weight: 650; margin-left: 4px; }
.fs-pv-compat {
  flex: 1 1 240px;
  position: relative;
  height: 28px;
  border-radius: 8px;
  background: #0c0c10;
  border: 1px solid rgba(243,240,232,.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.fs-pv-compat-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, #3dcc5a, #d6ff3e);
  opacity: 0.35;
}
.fs-pv-compat [data-pv-compat-label] {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f3f0e8;
}
.fs-pv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.fs-pv-actions select {
  background: #1a1a22;
  color: #f3f0e8;
  border: 1px solid rgba(243,240,232,.16);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}
.fs-pv-msg {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 13px;
  color: #d6ff3e;
}
.fs-pv-keys {
  margin: 8px 0 0;
  font-size: 11px;
  color: #6d6a74;
}

@media (max-width: 720px) {
  .fs-pv-root { align-items: flex-end; }
  .fs-pv-sheet {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding: 10px 14px 18px;
  }
  .fs-pv-handle { display: block; }
  .fs-pv-hd h3 { font-size: 22px; }
  #fs-pv-wave { height: 88px; }
  .fs-pv-arrow { width: 36px; height: 36px; }
  .fs-crate-preview { text-align: left; }
}
