/* Model B — moulded grey case, dark slider panel, red accents (SH-101 spirit). */

.mb {
  --ink: #f2f2ef;
  --ink-dim: #8f959b;
  --line: rgba(242, 242, 239, 0.5);
  --accent: #e2482f;

  width: max-content;
  padding: 12px 12px 14px;
  border-radius: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #686e75 0%, #50555c 35%, #42464c 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 -4px 0 rgba(0, 0, 0, 0.3),
    0 26px 34px rgba(0, 0, 0, 0.55),
    0 5px 10px rgba(0, 0, 0, 0.45);
  color: var(--ink);
}

/* --- slider panel ---------------------------------------------------------- */

.mb-panel {
  display: flex;
  align-items: stretch;
  padding: 12px 6px 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, #202327, #17191c);
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.12);
}
.mb-sec {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.mb-sec:last-child { border-right: 0; }
.mb-ctls {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}
.mb-title,
.mb-group-title {
  margin: 10px 0 0;
  padding-top: 5px;
  border-top: 2px solid var(--accent);
  font: 800 9.5px/1 var(--font);
  letter-spacing: 0.22em;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
}
.mb-patch .mb-jacks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* --- strip: logo, presets, output ------------------------------------------- */

.mb-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 8px 10px;
}
.mb-logo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 250px; } /* the subtitle on a line of its own */
.mb-wordmark {
  font: 700 26px/1 var(--logo-font);
  letter-spacing: -0.01em;
  color: #eceef0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.mb-model { font: 800 15px/1 var(--font); letter-spacing: 0.1em; color: var(--accent); }
.mb-sub { flex-basis: 100%; font: 700 7.5px var(--font); letter-spacing: 0.28em; color: #c3c8cd; }
.mb .preset-bar { margin-left: auto; }
.mb .vfd { width: 280px; }
.mb-out { display: flex; align-items: center; gap: 8px; }
.mb-power { display: flex; align-items: center; gap: 10px; margin-left: 4px; }
.mb-leds { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 14px; }
.mb-leds .jewel { margin-top: 0; }
.mb .voice-leds { padding: 0; }

/* --- keybed ------------------------------------------------------------------- */

.mb-keybed {
  display: flex;
  gap: 14px;
  padding: 12px 10px 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #121315, #1d1f22 30%, #18191b);
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.85);
}
.mb-left {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 12px;
}
.mb-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 8px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
}
.mb-left > ws-switch { align-self: center; }
/* An expander: PORTAMENTO, ACCENT and BENDER sit with the other sections. */
.mb-panel > .mb-group {
  justify-content: space-between;
  padding: 0 9px;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
}
.mb ws-keyboard { height: 164px; }
.mb ws-wheel .wheel-slot { height: 96px; }
