:root {
  --bg: #0c0f14;
  --bg-2: #121621;
  --panel: rgba(26, 31, 45, 0.7);
  --card: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f6f7fb;
  --muted: #a7b1c4;
  --accent: #7ae3ff;
  --accent-2: #f3ac3c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --pad8x8-size: 350px;
  --pad8x8-bottom: 260px;
  --pad8x8-right: 101px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(160% 140% at 50% 20%, #1a2233, #0c0f14);
  background: radial-gradient(160% 140% at 50% 20%, #1a2233, #111);
  /*background: #111;*/
  font-family: "Space Grotesk", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

button {
  font-family: inherit;
}

.top-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.brand .title {
  font-size: 26px;
  font-weight: 600;
  margin-top: 4px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-label {
  font-size: 14px;
  color: var(--muted);
}

.toggle-group {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 4px;
  gap: 6px;
}

.toggle-button {
  border: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toggle-button:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.toggle-button.is-active {
  background: linear-gradient(135deg, #5de0ff, #8dd5ff);
  color: #0b1826;
  font-weight: 600;
}

.layout {
  display: flex;
  gap: 24px;
  padding: 16px 0 24px;
  min-height: calc(100vh - 82px);
  align-items: stretch;
  justify-content: center;
}

.device-area {
  /*flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;*/
  max-width:1920px;
  min-width:1920px;
}

.device-frame {
  width: 1920px;
  /*background: var(--panel);
  border: 1px solid var(--stroke);*/
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.real-view,
.schematic-view {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.real-stack {
  position: relative;
  width: 1920px;
  height: 968px;
  margin: 0 auto;
}

.real-top-row {
  position: absolute;
  top: -36px;
  left: 292px;
  width: 978px;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.real-stack .device {
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.real-stack .device.key61 {
  position: absolute;
  bottom: 363px;
  left: 80px;
  width: 1400px;
  height: auto;
}

.key61-screen {
  position: absolute;
  top: 203px;
  left: 663px;
  width: 240px;
  height: auto;
  z-index: 4;
  pointer-events: none;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.bottom-row {
  position: absolute;
  bottom: 204px;
  left: 207px;
  width: 1250px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.bottom-row .device.worlde {
  width: 575px;
  max-width: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.korg-row {
  position: absolute;
  bottom: 59px;
  left: 207px;
  width: 1250px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.korg-row .device.korg {
  width: 575px;
  max-width: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.controller-8x8 {
  position: absolute;
  bottom: var(--pad8x8-bottom);
  right: var(--pad8x8-right);
  width: var(--pad8x8-size);
  height: var(--pad8x8-size);
  border-radius: 18px;
  background: linear-gradient(180deg, #0f121a, #0b0e15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.controller-8x8 .pads-body {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
}

.controller-8x8 .pad {
  background: linear-gradient(145deg, #1a1d23, #0f1217);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 12px rgba(0, 0, 0, 0.3);
}

.controller-8x8 .pad.pad-off {
  background: linear-gradient(145deg, #1a1d23, #0f1217);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 12px rgba(0, 0, 0, 0.3);
}

.controller-8x8 .pad.pad-red    { background: linear-gradient(145deg, #d64545, #b23131); }
.controller-8x8 .pad.pad-orange { background: linear-gradient(145deg, #d17c3a, #ad6123); }
.controller-8x8 .pad.pad-yellow { background: linear-gradient(145deg, #e4c75a, #c7a843); }
.controller-8x8 .pad.pad-green  { background: linear-gradient(145deg, #6ec48a, #4ba96c); }
.controller-8x8 .pad.pad-blue   { background: linear-gradient(145deg, #5da5e0, #3e81b9); }
.controller-8x8 .pad.pad-purple { background: linear-gradient(145deg, #aa7ae2, #875ac1); }
.controller-8x8 .pad.pad-grey   { background: linear-gradient(145deg, #3b3f46, #2b2e34); }
.controller-8x8 .pad.pad-pink   { background: linear-gradient(145deg, #f8a7d1, #e17fb6); }
.controller-8x8 .pad.pad-white  { background: linear-gradient(145deg, #f5f7fb, #e3e7ef); }
.controller-8x8 .pad.pad-miami-green { background: linear-gradient(145deg, #7df0c2, #4ec79b); }

.real-stack .device.mwave-pad {
  position: absolute;
  bottom: 584px;
  right: 450px;
  transform: none;
  max-width: 220px;
  width: 207px;
  z-index: 5;
  pointer-events: none;
}

.real-stack .device.mwave {
  position: relative;
  width: 338px;
  height: auto;
}

.overlay-label {
  position: absolute;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f6f7fb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.smc-label {
  top: 164px;
  left: 704px;
  z-index: 1;
}

.smc-pad-label {
  top: 35px;
  right: 472px;
  z-index: 6;
}

.smc-pad-hitgrid {
  position: absolute;
  top: 76px;
  right: 464px;
  width: 180px;
  height: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  row-gap: 15px;
  column-gap: 10px;
  align-items: center;
  justify-items: center;
  z-index: 6;
  pointer-events: auto;
}

.smc-pad-hitgrid .knob-hit {
  background: transparent;
  border: 0;
  padding: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 50%;
}

.smc-pad-sends {
  position: absolute;
  top: 147px;
  right: 457px;
  width: 190px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 0px;
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d8dce6;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 7;
}

body.labels-off .smc-pad-sends {
  display: none;
}

.smc-pad-bank-hitgrid {
  position: absolute;
  top: 159px;
  right: 462px;
  width: 182px;
  height: 178px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
  z-index: 6;
  pointer-events: auto;
}

.smc-pad-bank-hitgrid .pad-bank-hit {
  width: 36px;
  height: 36px;
  border-radius: 1px;
  /*border: 1px solid rgba(255, 255, 255, 0.15);*/
  background: rgba(255, 255, 255, 0.04);
  color: #d8dce6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smc-pad-bank-hitgrid .pad-bank-spacer {
  width: 36px;
  height: 36px;
  pointer-events: none;
}

body.values-off .smc-pad-bank-hitgrid .pad-bank-hit {
  color: transparent !important;
  text-shadow: none !important;
}

body:not(.values-on) .smc-pad-bank-hitgrid .pad-bank-hit {
  color: transparent !important;
  text-shadow: none !important;
  font-size: 0;
}

.smc-pad-knob-bank-hitgrid {
  position: absolute;
  bottom: 595px;
  right: 483px;
  width: 49px;
  height: 26px;
  display: grid;
  align-items: center;
  justify-items: center;
  z-index: 7;
  pointer-events: auto;
}

.smc-pad-knob-bank-hitgrid .knob-bank-hit {
  width: 12px;
  height: 16px;
  border-radius: 1px;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.smc-pad-knob-bank-hitgrid .knob-bank-hit.is-active {
  outline: 2px solid #7df0c2;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.smc-pad-values {
  position: absolute;
  top: 80px;
  right: 464px;
  width: 180px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  row-gap: 25px;
  column-gap: 10px;
  z-index: 5;
  pointer-events: none;
}

.smc-pad-values .knob-value {
  border-radius: 6px;
  padding: 0 4px;
  height: 18px;
  color: #fff;
}

.od-a-label {
  top: 164px;
  left: 380px;
  z-index: 1;
}

.od-b-label {
  top: 164px;
  left: 1032px;
  z-index: 1;
}

.send-label {
  left: 230px;
}

.send-1 { top: 20px; }
.send-2 { top: 56px; }
.send-3 { top: 92px; }
.send-4 { top: 128px; }

.worlde-label {
  z-index: 1;
}

.worlde-a-label {
  top: 565px;
  left: 449px;
}

.worlde-b-label {
  top: 565px;
  left: 1067px;
}

.korg-label {
  z-index: 1;
}

.korg-a-label {
  top: 910px;
  left: 465px;
}

.korg-b-label {
  top: 910px;
  left: 1090px;
}

.mystrix-label {
  bottom: 609px;
  right: 217px;
  z-index: 6;
}

.pad-ll-row-hitgrid {
  position: absolute;
  bottom: 274px;
  right: 115px;
  width: 322px;
  height: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
  z-index: 6;
  pointer-events: none;
}

.pad-ll-row-hitgrid .pad-hit {
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.pad-ll-row-hitgrid .hit-ll-0 { grid-column: 1; grid-row: 8; }
.pad-ll-row-hitgrid .hit-ll-1 { grid-column: 2; grid-row: 8; }
.pad-ll-row-hitgrid .hit-ll-2 { grid-column: 3; grid-row: 8; }
.pad-ll-row-hitgrid .hit-ll-3 { grid-column: 4; grid-row: 8; }
.pad-ll-row-hitgrid .hit-ll-4 { grid-column: 1; grid-row: 7; }
.pad-ll-row-hitgrid .hit-ll-5 { grid-column: 2; grid-row: 7; }
.pad-ll-row-hitgrid .hit-ll-6 { grid-column: 3; grid-row: 7; }
.pad-ll-row-hitgrid .hit-ll-7 { grid-column: 4; grid-row: 7; }
.pad-ll-row-hitgrid .hit-ll-8 { grid-column: 1; grid-row: 6; }
.pad-ll-row-hitgrid .hit-ll-9 { grid-column: 2; grid-row: 6; }
.pad-ll-row-hitgrid .hit-ll-10 { grid-column: 3; grid-row: 6; }
.pad-ll-row-hitgrid .hit-ll-11 { grid-column: 4; grid-row: 6; }
.pad-ll-row-hitgrid .hit-ll-12 { grid-column: 1; grid-row: 5; }
.pad-ll-row-hitgrid .hit-ll-13 { grid-column: 2; grid-row: 5; }
.pad-ll-row-hitgrid .hit-ll-14 { grid-column: 3; grid-row: 5; }
.pad-ll-row-hitgrid .hit-ll-15 { grid-column: 4; grid-row: 5; }

.pad-ll-row-values {
  position: absolute;
  bottom: 274px;
  right: 115px;
  width: 322px;
  height: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
  z-index: 5;
  pointer-events: none;
}

.pad-ll-row-values .knob-value {
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.pad-ll-row-values .pllv-0 { grid-column: 1; grid-row: 8; }
.pad-ll-row-values .pllv-1 { grid-column: 2; grid-row: 8; }
.pad-ll-row-values .pllv-2 { grid-column: 3; grid-row: 8; }
.pad-ll-row-values .pllv-3 { grid-column: 4; grid-row: 8; }
.pad-ll-row-values .pllv-4 { grid-column: 1; grid-row: 7; }
.pad-ll-row-values .pllv-5 { grid-column: 2; grid-row: 7; }
.pad-ll-row-values .pllv-6 { grid-column: 3; grid-row: 7; }
.pad-ll-row-values .pllv-7 { grid-column: 4; grid-row: 7; }
.pad-ll-row-values .pllv-8 { grid-column: 1; grid-row: 6; }
.pad-ll-row-values .pllv-9 { grid-column: 2; grid-row: 6; }
.pad-ll-row-values .pllv-10 { grid-column: 3; grid-row: 6; }
.pad-ll-row-values .pllv-11 { grid-column: 4; grid-row: 6; }
.pad-ll-row-values .pllv-12 { grid-column: 1; grid-row: 5; }
.pad-ll-row-values .pllv-13 { grid-column: 2; grid-row: 5; }
.pad-ll-row-values .pllv-14 { grid-column: 3; grid-row: 5; }
.pad-ll-row-values .pllv-15 { grid-column: 4; grid-row: 5; }

body.values-off .pad-ll-row-values { display: none; }
body.values-on .pad-ll-row-values .knob-value { display: flex; }

.pad-ll-row-labels {
  position: absolute;
  bottom: 255px;
  right: 115px;
  width: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 20px;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

.pad-ll-row-labels .pad-label {
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d8dce6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

body.labels-off .pad-ll-row-labels {
  display: none;
}

.pad-ll-row-labels .pll-label-1 { grid-column: 1; }
.pad-ll-row-labels .pll-label-2 { grid-column: 2; }
.pad-ll-row-labels .pll-label-3 { grid-column: 3; }
.pad-ll-row-labels .pll-label-4 { grid-column: 4; }

body.labels-off .pad-ll-col-labels {
  display: none;
}

.pad-ll-col-labels {
  position: absolute;
  bottom: 274px;
  right: 440px;
  width: 40px;
  height: 322px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
  z-index: 4;
  pointer-events: none;
  align-items: center;
  justify-items: center;
}

.pad-ll-col-labels .pad-label {
  width: 100%;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d8dce6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  padding: 2px 4px;
}

.pad-ll-col-labels .plc-label-1 { grid-row: 5; }
.pad-ll-col-labels .plc-label-2 { grid-row: 6; }
.pad-ll-col-labels .plc-label-3 { grid-row: 7; }
.pad-ll-col-labels .plc-label-4 { grid-row: 8; }

body.labels-off .pad-tl-side-label {
  display: none;
}

.pad-tl-side-label {
  position: absolute;
  right: 438px;
  width: 44px;
  text-align: center;
  padding: 4px 0px;
  font-size: 12px;
  z-index: 5;
}

.pad-tl-dg1 { bottom: 465px; }
.pad-tl-dg2 { bottom: 546px; }

body.labels-off .pad-br-row-label {
  display: none;
}

.pad-br-row-label {
  position: absolute;
  bottom: 255px;
  right: 115px;
  width: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 20px;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

.pad-br-row-label .pad-label {
  grid-column: 5 / span 4;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d8dce6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.pad-tr-quad-hitgrid,
.pad-tr-quad-values {
  position: absolute;
  bottom: 274px;
  right: 115px;
  width: 322px;
  height: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
}

.pad-tr-quad-hitgrid {
  z-index: 6;
  pointer-events: none;
}

.pad-tr-quad-values {
  z-index: 5;
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

.pad-tr-quad-values .knob-value {
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.pad-tr-quad-hitgrid .pad-hit {
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.pad-tr-quad-hitgrid .hit-tr-0 { grid-column: 5; grid-row: 4; }
.pad-tr-quad-hitgrid .hit-tr-1 { grid-column: 6; grid-row: 4; }
.pad-tr-quad-hitgrid .hit-tr-2 { grid-column: 7; grid-row: 4; }
.pad-tr-quad-hitgrid .hit-tr-3 { grid-column: 8; grid-row: 4; }
.pad-tr-quad-hitgrid .hit-tr-4 { grid-column: 5; grid-row: 3; }
.pad-tr-quad-hitgrid .hit-tr-5 { grid-column: 6; grid-row: 3; }
.pad-tr-quad-hitgrid .hit-tr-6 { grid-column: 7; grid-row: 3; }
.pad-tr-quad-hitgrid .hit-tr-7 { grid-column: 8; grid-row: 3; }
.pad-tr-quad-hitgrid .hit-tr-8 { grid-column: 5; grid-row: 2; }
.pad-tr-quad-hitgrid .hit-tr-9 { grid-column: 6; grid-row: 2; }
.pad-tr-quad-hitgrid .hit-tr-10 { grid-column: 7; grid-row: 2; }
.pad-tr-quad-hitgrid .hit-tr-11 { grid-column: 8; grid-row: 2; }
.pad-tr-quad-hitgrid .hit-tr-12 { grid-column: 5; grid-row: 1; }
.pad-tr-quad-hitgrid .hit-tr-13 { grid-column: 6; grid-row: 1; }
.pad-tr-quad-hitgrid .hit-tr-14 { grid-column: 7; grid-row: 1; }
.pad-tr-quad-hitgrid .hit-tr-15 { grid-column: 8; grid-row: 1; }

.pad-tr-quad-values .ptrv-0 { grid-column: 5; grid-row: 4; }
.pad-tr-quad-values .ptrv-1 { grid-column: 6; grid-row: 4; }
.pad-tr-quad-values .ptrv-2 { grid-column: 7; grid-row: 4; }
.pad-tr-quad-values .ptrv-3 { grid-column: 8; grid-row: 4; }
.pad-tr-quad-values .ptrv-4 { grid-column: 5; grid-row: 3; }
.pad-tr-quad-values .ptrv-5 { grid-column: 6; grid-row: 3; }
.pad-tr-quad-values .ptrv-6 { grid-column: 7; grid-row: 3; }
.pad-tr-quad-values .ptrv-7 { grid-column: 8; grid-row: 3; }
.pad-tr-quad-values .ptrv-8 { grid-column: 5; grid-row: 2; }
.pad-tr-quad-values .ptrv-9 { grid-column: 6; grid-row: 2; }
.pad-tr-quad-values .ptrv-10 { grid-column: 7; grid-row: 2; }
.pad-tr-quad-values .ptrv-11 { grid-column: 8; grid-row: 2; }
.pad-tr-quad-values .ptrv-12 { grid-column: 5; grid-row: 1; }
.pad-tr-quad-values .ptrv-13 { grid-column: 6; grid-row: 1; }
.pad-tr-quad-values .ptrv-14 { grid-column: 7; grid-row: 1; }
.pad-tr-quad-values .ptrv-15 { grid-column: 8; grid-row: 1; }

body.values-off .pad-tr-quad-values { display: none; }
body.values-on .pad-tr-quad-values .knob-value { display: flex; }

.pad-tl-quad-hitgrid,
.pad-tl-quad-values {
  position: absolute;
  bottom: 274px;
  right: 115px;
  width: 322px;
  height: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
}

.pad-tl-quad-hitgrid {
  z-index: 6;
  pointer-events: none;
}

.pad-tl-quad-values {
  z-index: 5;
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

.pad-tl-quad-values .knob-value {
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.pad-quad-dark .knob-value {
  color: #0b0e15;
  text-shadow: none;
}

.pad-tl-quad-hitgrid .pad-hit {
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.pad-tl-quad-hitgrid .hit-tl-0 { grid-column: 1; grid-row: 4; }
.pad-tl-quad-hitgrid .hit-tl-1 { grid-column: 2; grid-row: 4; }
.pad-tl-quad-hitgrid .hit-tl-2 { grid-column: 3; grid-row: 4; }
.pad-tl-quad-hitgrid .hit-tl-3 { grid-column: 4; grid-row: 4; }
.pad-tl-quad-hitgrid .hit-tl-4 { grid-column: 1; grid-row: 3; }
.pad-tl-quad-hitgrid .hit-tl-5 { grid-column: 2; grid-row: 3; }
.pad-tl-quad-hitgrid .hit-tl-6 { grid-column: 3; grid-row: 3; }
.pad-tl-quad-hitgrid .hit-tl-7 { grid-column: 4; grid-row: 3; }
.pad-tl-quad-hitgrid .hit-tl-8 { grid-column: 1; grid-row: 2; }
.pad-tl-quad-hitgrid .hit-tl-9 { grid-column: 2; grid-row: 2; }
.pad-tl-quad-hitgrid .hit-tl-10 { grid-column: 3; grid-row: 2; }
.pad-tl-quad-hitgrid .hit-tl-11 { grid-column: 4; grid-row: 2; }
.pad-tl-quad-hitgrid .hit-tl-12 { grid-column: 1; grid-row: 1; }
.pad-tl-quad-hitgrid .hit-tl-13 { grid-column: 2; grid-row: 1; }
.pad-tl-quad-hitgrid .hit-tl-14 { grid-column: 3; grid-row: 1; }
.pad-tl-quad-hitgrid .hit-tl-15 { grid-column: 4; grid-row: 1; }

.pad-tl-quad-values .ptlv-0 { grid-column: 1; grid-row: 4; }
.pad-tl-quad-values .ptlv-1 { grid-column: 2; grid-row: 4; }
.pad-tl-quad-values .ptlv-2 { grid-column: 3; grid-row: 4; }
.pad-tl-quad-values .ptlv-3 { grid-column: 4; grid-row: 4; }
.pad-tl-quad-values .ptlv-4 { grid-column: 1; grid-row: 3; }
.pad-tl-quad-values .ptlv-5 { grid-column: 2; grid-row: 3; }
.pad-tl-quad-values .ptlv-6 { grid-column: 3; grid-row: 3; }
.pad-tl-quad-values .ptlv-7 { grid-column: 4; grid-row: 3; }
.pad-tl-quad-values .ptlv-8 { grid-column: 1; grid-row: 2; }
.pad-tl-quad-values .ptlv-9 { grid-column: 2; grid-row: 2; }
.pad-tl-quad-values .ptlv-10 { grid-column: 3; grid-row: 2; }
.pad-tl-quad-values .ptlv-11 { grid-column: 4; grid-row: 2; }
.pad-tl-quad-values .ptlv-12 { grid-column: 1; grid-row: 1; }
.pad-tl-quad-values .ptlv-13 { grid-column: 2; grid-row: 1; }
.pad-tl-quad-values .ptlv-14 { grid-column: 3; grid-row: 1; }
.pad-tl-quad-values .ptlv-15 { grid-column: 4; grid-row: 1; }

body.values-off .pad-tl-quad-values { display: none; }
body.values-on .pad-tl-quad-values .knob-value { display: flex; }

.pad-br-quad-hitgrid,
.pad-br-quad-values {
  position: absolute;
  bottom: 274px;
  right: 115px;
  width: 322px;
  height: 322px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
}

.pad-br-quad-hitgrid {
  z-index: 6;
  pointer-events: none;
}

.pad-br-quad-values {
  z-index: 5;
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

.pad-br-quad-values .knob-value {
  height: 100%;
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.pad-br-quad-hitgrid .pad-hit {
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
}

.pad-br-quad-hitgrid .hit-br-0 { grid-column: 5; grid-row: 8; }
.pad-br-quad-hitgrid .hit-br-1 { grid-column: 6; grid-row: 8; }
.pad-br-quad-hitgrid .hit-br-2 { grid-column: 7; grid-row: 8; }
.pad-br-quad-hitgrid .hit-br-3 { grid-column: 8; grid-row: 8; }
.pad-br-quad-hitgrid .hit-br-4 { grid-column: 5; grid-row: 7; }
.pad-br-quad-hitgrid .hit-br-5 { grid-column: 6; grid-row: 7; }
.pad-br-quad-hitgrid .hit-br-6 { grid-column: 7; grid-row: 7; }
.pad-br-quad-hitgrid .hit-br-7 { grid-column: 8; grid-row: 7; }
.pad-br-quad-hitgrid .hit-br-8 { grid-column: 5; grid-row: 6; }
.pad-br-quad-hitgrid .hit-br-9 { grid-column: 6; grid-row: 6; }
.pad-br-quad-hitgrid .hit-br-10 { grid-column: 7; grid-row: 6; }
.pad-br-quad-hitgrid .hit-br-11 { grid-column: 8; grid-row: 6; }
.pad-br-quad-hitgrid .hit-br-12 { grid-column: 5; grid-row: 5; }
.pad-br-quad-hitgrid .hit-br-13 { grid-column: 6; grid-row: 5; }
.pad-br-quad-hitgrid .hit-br-14 { grid-column: 7; grid-row: 5; }
.pad-br-quad-hitgrid .hit-br-15 { grid-column: 8; grid-row: 5; }

.pad-br-quad-values .pbrv-0 { grid-column: 5; grid-row: 8; }
.pad-br-quad-values .pbrv-1 { grid-column: 6; grid-row: 8; }
.pad-br-quad-values .pbrv-2 { grid-column: 7; grid-row: 8; }
.pad-br-quad-values .pbrv-3 { grid-column: 8; grid-row: 8; }
.pad-br-quad-values .pbrv-4 { grid-column: 5; grid-row: 7; }
.pad-br-quad-values .pbrv-5 { grid-column: 6; grid-row: 7; }
.pad-br-quad-values .pbrv-6 { grid-column: 7; grid-row: 7; }
.pad-br-quad-values .pbrv-7 { grid-column: 8; grid-row: 7; }
.pad-br-quad-values .pbrv-8 { grid-column: 5; grid-row: 6; }
.pad-br-quad-values .pbrv-9 { grid-column: 6; grid-row: 6; }
.pad-br-quad-values .pbrv-10 { grid-column: 7; grid-row: 6; }
.pad-br-quad-values .pbrv-11 { grid-column: 8; grid-row: 6; }
.pad-br-quad-values .pbrv-12 { grid-column: 5; grid-row: 5; }
.pad-br-quad-values .pbrv-13 { grid-column: 6; grid-row: 5; }
.pad-br-quad-values .pbrv-14 { grid-column: 7; grid-row: 5; }
.pad-br-quad-values .pbrv-15 { grid-column: 8; grid-row: 5; }

body.values-off .pad-br-quad-values { display: none; }
body.values-on .pad-br-quad-values .knob-value { display: flex; }

.worlde-a-bank {
  --worlde-bank-dot-size: 7px;
  --worlde-bank-dot-gap: 4px;
  --worlde-bank-top: 737px;
  --worlde-bank-left: 217px;
  position: absolute;
  top: var(--worlde-bank-top);
  left: var(--worlde-bank-left);
  display: inline-flex;
  align-items: center;
  gap: 0px;
  pointer-events: auto;
  z-index: 3;
}

.worlde-a-bank-toggle {
  width: 64px;
  height: 22px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
}

.worlde-a-bank-toggle:focus-visible {
  outline: 2px solid #7df0c2;
  outline-offset: 2px;
}

.worlde-a-bank-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  background: transparent;
}

.worlde-a-bank-indicators {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: min-content;
  column-gap: var(--worlde-bank-dot-gap);
  pointer-events: none;
}

.worlde-a-bank-dot {
  width: var(--worlde-bank-dot-size);
  height: var(--worlde-bank-dot-size);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  opacity: 0.75;
}

.worlde-a-bank.bank-a .worlde-a-bank-dot[data-bank="a"],
.worlde-a-bank.bank-b .worlde-a-bank-dot[data-bank="b"],
.worlde-a-bank.bank-c .worlde-a-bank-dot[data-bank="c"],
.worlde-a-bank.bank-d .worlde-a-bank-dot[data-bank="d"] {
  background: linear-gradient(145deg, #7df0c2, #4ec79b);
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.worlde-a-values {
  --worlde-a-left: 393px;
  --worlde-a-top: 607px;
  --worlde-a-width: 414px;
  position: absolute;
  top: var(--worlde-a-top);
  left: var(--worlde-a-left);
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  column-gap: 8px;
  row-gap: 0;
  width: var(--worlde-a-width);
  z-index: 2;
  pointer-events: none;
}

/*.worlde-a-hitgrid {
  position: absolute;
  top: 602px;
  left: 397px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: var(--worlde-a-width);
  z-index: 3;
}*/

.worlde-a-hitgrid{
  position: absolute;
  top: 608px;
  left: 403px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: 406px;
  z-index: 3;
}

.worlde-a-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.worlde-a-slider-values {
  position: absolute;
  top: 630px;
  left: 393px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  column-gap: 8px;
  row-gap: 0;
  width: 414px;
  z-index: 2;
  pointer-events: none;
}

.worlde-a-slider-hitgrid {
  position: absolute;
  top: 630px;
  left: 403px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: 406px;
  z-index: 3;
}

.worlde-a-slider-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.worlde-a-button-values {
  position: absolute;
  top: 703px;
  left: 393px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  column-gap: 8px;
  row-gap: 0;
  width: 414px;
  z-index: 2;
  pointer-events: none;
}

.worlde-a-button-hitgrid {
  position: absolute;
  top: 704px;
  left: 403px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: 406px;
  z-index: 3;
}

.worlde-a-button-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.worlde-a-misc-values {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 2;
  pointer-events: none;
}

.worlde-a-misc-values .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.worlde-a-misc-values .wavm-67 { top: 572px; left: 211px; }
.worlde-a-misc-values .wavm-64 { top: 572px; left: 300px; }
.worlde-a-misc-values .wavm-60 { top: 663px; left: 242px; }
.worlde-a-misc-values .wavm-5  { top: 681px; left: 277px; }
.worlde-a-misc-values .wavm-1  { top: 681px; left: 312px; }

.worlde-b-misc-values .wavm-67 { top: 572px; left: 836px; }
.worlde-b-misc-values .wavm-64 { top: 572px; left: 925px; }
.worlde-b-misc-values .wavm-60 { top: 663px; left: 242px; }
.worlde-b-misc-values .wavm-5  { top: 681px; left: 277px; }
.worlde-b-misc-values .wavm-1  { top: 681px; left: 312px; }

.worlde-a-misc-hitgrid {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 1px;
  height: 1px;
  z-index: 3;
}

.worlde-a-misc-hitgrid .knob-hit {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.worlde-a-misc-hitgrid .hit-67 { top: 572px; left: 225px; }
.worlde-a-misc-hitgrid .hit-64 { top: 572px; left: 314px; }
.worlde-a-misc-hitgrid .hit-60 { top: 663px; left: 256px; }
.worlde-a-misc-hitgrid .hit-5  { top: 681px; left: 291px; }
.worlde-a-misc-hitgrid .hit-1  { top: 681px; left: 326px; }

.worlde-b-bank {
  --worlde-bank-dot-size: 7px;
  --worlde-bank-dot-gap: 4px;
  --worlde-bank-top: 737px;
  --worlde-bank-left: 842px;
  position: absolute;
  top: var(--worlde-bank-top);
  left: var(--worlde-bank-left);
  display: inline-flex;
  align-items: center;
  gap: 0px;
  pointer-events: auto;
  z-index: 3;
}

.worlde-b-bank-toggle {
  width: 64px;
  height: 22px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
}

.worlde-b-bank-toggle:focus-visible {
  outline: 2px solid #7df0c2;
  outline-offset: 2px;
}

.worlde-b-bank-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  background: transparent;
}

.worlde-b-bank-indicators {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: min-content;
  column-gap: var(--worlde-bank-dot-gap);
  pointer-events: none;
}

.worlde-b-bank-dot {
  width: var(--worlde-bank-dot-size);
  height: var(--worlde-bank-dot-size);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  opacity: 0.75;
}

.worlde-b-bank.bank-a .worlde-b-bank-dot[data-bank="a"],
.worlde-b-bank.bank-b .worlde-b-bank-dot[data-bank="b"],
.worlde-b-bank.bank-c .worlde-b-bank-dot[data-bank="c"],
.worlde-b-bank.bank-d .worlde-b-bank-dot[data-bank="d"] {
  background: linear-gradient(145deg, #7df0c2, #4ec79b);
  border-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.worlde-b-values {
  position: absolute;
  top: 607px;
  left: 1018px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  column-gap: 8px;
  row-gap: 0;
  width: 414px;
  z-index: 2;
  pointer-events: none;
}

.worlde-b-hitgrid{
  position: absolute;
  top: 608px;
  left: 1028px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: 406px;
  z-index: 3;
}

.worlde-b-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.worlde-b-slider-values {
  position: absolute;
  top: 630px;
  left: 1018px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  column-gap: 8px;
  row-gap: 0;
  width: 414px;
  z-index: 2;
  pointer-events: none;
}

.worlde-b-slider-hitgrid {
  position: absolute;
  top: 630px;
  left: 1028px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: 406px;
  z-index: 3;
}

.worlde-b-slider-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.worlde-b-button-values {
  position: absolute;
  top: 703px;
  left: 1018px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  column-gap: 8px;
  row-gap: 0;
  width: 414px;
  z-index: 2;
  pointer-events: none;
}

.worlde-b-button-hitgrid {
  position: absolute;
  top: 704px;
  left: 1028px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 32px;
  column-gap: 14.5px;
  width: 406px;
  z-index: 3;
}

.worlde-b-button-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.worlde-b-misc-values {
  position: absolute;
  top: 40px;
  left: 665px;
  z-index: 2;
  pointer-events: none;
}

.worlde-b-misc-values .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.worlde-b-misc-values .wbmv-67 { top: 572px; left: 211px; }
.worlde-b-misc-values .wbmv-64 { top: 572px; left: 300px; }
.worlde-b-misc-values .wbmv-60 { top: 663px; left: 242px; }
.worlde-b-misc-values .wbmv-5  { top: 681px; left: 277px; }
.worlde-b-misc-values .wbmv-1  { top: 681px; left: 312px; }

.worlde-b-misc-hitgrid {
  position: absolute;
  top: 40px;
  left: 665px;
  width: 1px;
  height: 1px;
  z-index: 3;
}

.worlde-b-misc-hitgrid .knob-hit {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.worlde-b-misc-hitgrid .hit-67 { top: 572px; left: 225px; }
.worlde-b-misc-hitgrid .hit-64 { top: 572px; left: 314px; }
.worlde-b-misc-hitgrid .hit-60 { top: 663px; left: 256px; }
.worlde-b-misc-hitgrid .hit-5  { top: 681px; left: 291px; }
.worlde-b-misc-hitgrid .hit-1  { top: 681px; left: 326px; }

.korg-a-values {
  position: absolute;
  top: 782px;
  left: 416px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-hitgrid {
  position: absolute;
  top: 781px;
  left: 424px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-a-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-row2-values {
  position: absolute;
  top: 799px;
  left: 406px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-row2-hitgrid {
  position: absolute;
  top: 799px;
  left: 413px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-a-row2-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-row3-values {
  position: absolute;
  top: 819px;
  left: 394px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-row3-hitgrid {
  position: absolute;
  top: 819px;
  left: 401px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-a-row3-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-row4-values {
  position: absolute;
  top: 845px;
  left: 394px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-row4-hitgrid {
  position: absolute;
  top: 845px;
  left: 401px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-a-row4-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-row5-values {
  position: absolute;
  top: 872px;
  left: 394px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-row5-hitgrid {
  position: absolute;
  top: 872px;
  left: 401px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-a-row5-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}
.korg-a-row4-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-row6-values {
  position: absolute;
  top: 872px;
  left: 255px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  column-gap: 12px;
  row-gap: 0;
  width: 127px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-row6-hitgrid {
  position: absolute;
  top: 873px;
  left: 253px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 32px;
  column-gap: 8px;
  width: 127px;
  z-index: 3;
}

.korg-a-row6-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-misc-one {
  position: absolute;
  top: 815px;
  left: 239px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-misc-one .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-a-misc-one-hitgrid {
  position: absolute;
  top: 815px;
  left: 252px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-a-misc-one-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-misc-two {
  position: absolute;
  top: 815px;
  left: 267px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-misc-two .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-a-misc-two-hitgrid {
  position: absolute;
  top: 815px;
  left: 281px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-a-misc-two-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}
.korg-a-misc-three {
  position: absolute;
  top: 837px;
  left: 239px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-misc-three .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-a-misc-three-hitgrid {
  position: absolute;
  top: 837px;
  left: 253px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-a-misc-three-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-misc-four {
  position: absolute;
  top: 837px;
  left: 294px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-misc-four .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-a-misc-four-hitgrid {
  position: absolute;
  top: 837px;
  left: 308px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-a-misc-four-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-misc-five {
  position: absolute;
  top: 837px;
  left: 322px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-misc-five .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-a-misc-five-hitgrid {
  position: absolute;
  top: 837px;
  left: 336px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-a-misc-five-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-a-misc-six {
  position: absolute;
  top: 837px;
  left: 350px;
  z-index: 2;
  pointer-events: none;
}

.korg-a-misc-six .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-a-misc-six-hitgrid {
  position: absolute;
  top: 837px;
  left: 364px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-a-misc-six-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-values {
  position: absolute;
  top: 782px;
  left: 1041px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-hitgrid {
  position: absolute;
  top: 781px;
  left: 1049px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-b-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-row2-values {
  position: absolute;
  top: 799px;
  left: 1031px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-row2-hitgrid {
  position: absolute;
  top: 799px;
  left: 1038px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-b-row2-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-row3-values {
  position: absolute;
  top: 819px;
  left: 1019px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-row3-hitgrid {
  position: absolute;
  top: 819px;
  left: 1026px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-b-row3-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-row4-values {
  position: absolute;
  top: 845px;
  left: 1019px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-row4-hitgrid {
  position: absolute;
  top: 845px;
  left: 1026px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-b-row4-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-row5-values {
  position: absolute;
  top: 872px;
  left: 1019px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  column-gap: 14px;
  row-gap: 0;
  width: 376px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-row5-hitgrid {
  position: absolute;
  top: 872px;
  left: 1026px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 32px;
  column-gap: 14px;
  width: 376px;
  z-index: 3;
}

.korg-b-row5-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-row6-values {
  position: absolute;
  top: 872px;
  left: 880px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  column-gap: 12px;
  row-gap: 0;
  width: 127px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-row6-hitgrid {
  position: absolute;
  top: 873px;
  left: 878px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 32px;
  column-gap: 8px;
  width: 127px;
  z-index: 3;
}

.korg-b-row6-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-misc-one {
  position: absolute;
  top: 815px;
  left: 864px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-misc-one .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-b-misc-one-hitgrid {
  position: absolute;
  top: 815px;
  left: 877px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-b-misc-one-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-misc-two {
  position: absolute;
  top: 815px;
  left: 892px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-misc-two .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-b-misc-two-hitgrid {
  position: absolute;
  top: 815px;
  left: 906px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-b-misc-two-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-misc-three {
  position: absolute;
  top: 837px;
  left: 864px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-misc-three .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-b-misc-three-hitgrid {
  position: absolute;
  top: 837px;
  left: 878px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-b-misc-three-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-misc-four {
  position: absolute;
  top: 837px;
  left: 919px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-misc-four .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-b-misc-four-hitgrid {
  position: absolute;
  top: 837px;
  left: 933px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-b-misc-four-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-misc-five {
  position: absolute;
  top: 837px;
  left: 947px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-misc-five .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-b-misc-five-hitgrid {
  position: absolute;
  top: 837px;
  left: 961px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-b-misc-five-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}

.korg-b-misc-six {
  position: absolute;
  top: 837px;
  left: 975px;
  z-index: 2;
  pointer-events: none;
}

.korg-b-misc-six .knob-value {
  position: absolute;
  width: 48px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.korg-b-misc-six-hitgrid {
  position: absolute;
  top: 837px;
  left: 989px;
  width: 48px;
  height: 20px;
  z-index: 3;
}

.korg-b-misc-six-hitgrid .knob-hit {
  width: 20px;
  height: 20px;
}
.od-a-columns {
  position: absolute;
  top: 7px;
  left: 310px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 286px;
  z-index: 1;
}

.od-b-columns {
  position: absolute;
  top: 7px;
  left: 970px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 286px;
  z-index: 1;
}

.od-a-values {
  position: absolute;
  top: 27px;
  left: 311px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, auto);
  column-gap: 2px;
  row-gap: 15.2px;
  width: 285px;
  z-index: 2;
  pointer-events: none;
}

.od-b-values {
  position: absolute;
  top: 27px;
  left: 969px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, auto);
  column-gap: 2px;
  row-gap: 15.2px;
  width: 285px;
  z-index: 2;
  pointer-events: none;
}

.knob-value {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  color: #f6f7fb;
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.values-on .knob-value { display: flex; }
.labels-off .overlay-label { display: none; }

.detail-card {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 260px;
  background: rgba(12, 15, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  padding: 12px 12px 8px;
  color: #f6f7fb;
  z-index: 12;
}

.detail-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.detail-card th,
.detail-card td {
  text-align: left;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-card th {
  font-weight: 700;
  color: #a7b1c4;
}

.detail-card td {
  font-weight: 700;
}
.col-label {
  position: relative;
  text-align: center;
  padding: 0;
  font-size: 9px;
  line-height: 1.1;
}

.smc-columns {
  position: absolute;
  top: 4px;
  left: 614px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  width: 310px;
  z-index: 1;
}

.smc-values {
  position: absolute;
  top: 18px;
  left: 615px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  width: 310px;
  z-index: 2;
  pointer-events: none;
}

.smc-values-2 {
  top: 40px;
}

.smc-values-2 .knob-value {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  padding: 0 2px;
  color: #fff;
  height: 15px;
}

.smc-values-3 {
  top: 56px;
  left: 636px;
}

.smc-values-3 .knob-value {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  padding: 0 2px;
  color: #fff;
  height: 15px;
}

.smc-values-4 {
  top: 73px;
  left: 636px;
}

.smc-values-4 .knob-value {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  padding: 0 2px;
  color: #fff;
  height: 15px;
}

.smc-values-5 {
  top: 90px;
  left: 636px;
}

.smc-values-5 .knob-value {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  padding: 0 2px;
  color: #fff;
  height: 15px;
}

.smc-values-6 {
  top: 107px;
  left: 636px;
}

.smc-values-6 .knob-value {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  padding: 0 2px;
  color: #fff;
  height: 15px;
}

.smc-hitgrid {
  position: absolute;
  top: 19px;
  left: 620px;
  width: 300px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  row-gap: 10px;
  z-index: 3;
  column-gap: 20px;
}

.smc-hitgrid-2 {
  position: absolute;
  top: 39px;
  left: 620px;
  width: 300px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  row-gap: 10px;
  column-gap: 20px;
  z-index: 3;
}

.smc-hitgrid-3 {
  position: absolute;
  top: 54px;
  left: 641px;
  width: 299px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  row-gap: 10px;
  column-gap: 20px;
  z-index: 3;
}

.smc-hitgrid-4 {
  position: absolute;
  top: 72px;
  left: 641px;
  width: 299px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  row-gap: 10px;
  column-gap: 20px;
  z-index: 3;
}

.smc-hitgrid-5 {
  position: absolute;
  top: 89px;
  left: 641px;
  width: 299px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  row-gap: 10px;
  column-gap: 20px;
  z-index: 3;
}

.smc-hitgrid-6 {
  position: absolute;
  top: 106px;
  left: 641px;
  width: 299px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  row-gap: 10px;
  column-gap: 20px;
  z-index: 3;
}

.overlay-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.toggle-chip {
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6f7fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.toggle-chip.is-active {
  background: linear-gradient(135deg, #5de0ff, #8dd5ff);
  color: #0b1826;
}

.toggle-chip[data-layer="values"].is-active {
  background: linear-gradient(145deg, #f8a7d1, #e17fb6);
}

.toggle-chip:focus-visible {
  outline: 2px solid #7ae3ff;
  outline-offset: 2px;
}

body.labels-off .overlay-label {
  display: none;
}

.real-stack .device.controller {
  position: relative;
  width: 320px;
  aspect-ratio: 2.1;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f121a, #0b0e15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  padding: 12px 24px 8px;
}

.controller-body {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 13px;
}

.od-a-hitgrid {
  position: absolute;
  top: 12px;
  right: 21px;
  bottom: 8px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  row-gap: 13px;
  column-gap: 14px;
}

.knob-hit {
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  outline: none;
}

.knob-hit:hover {
  outline: 2px solid rgba(255, 255, 255, 0.25);
  outline-offset: 2px;
}

.knob-hit.is-active {
  outline: 2px solid #ffd449;
  outline: 2px solid #7df0c2;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.od-b-hitgrid {
  position: absolute;
  top: 12px;
  right: 21px;
  bottom: 8px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  row-gap: 13px;
  column-gap: 14px;
}

.controller-body .knob {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  /*border: 1px solid rgba(255, 255, 255, 0.08);*/
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 12px rgba(0, 0, 0, 0.35);
}

.controller-body .knob:nth-child(-n + 8) {
  background: linear-gradient(145deg, #3b3f46, #2b2e34);
}

.controller-body .knob:nth-child(n + 9):nth-child(-n + 16) {
  background: linear-gradient(145deg, #1a1c21, #0f1116);
}

.controller-body .knob:nth-child(n + 17):nth-child(-n + 24) {
  /*background: linear-gradient(145deg, #d9d9df, #b9bcc2);*/
  background: linear-gradient(145deg, #d9d9df, #989898);
}

.controller-body .knob:nth-child(n + 25) {
  background: linear-gradient(145deg, #d64545, #b23131);
}

.schematic-body {
  position: relative;
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 5;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--stroke);
  background: radial-gradient(120% 100% at 20% 20%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)) #131827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.schematic-deck {
  position: absolute;
  inset: 10% 4% 10% 4%;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

.control-region {
  --accent-local: var(--accent);
  position: absolute;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  color: var(--text);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.control-region .control-label {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
}

.control-region .control-mini {
  font-size: 12px;
  color: var(--muted);
}

.control-region:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.control-region:focus-visible,
.bank-button:focus-visible {
  outline: 2px solid var(--accent);x
  outline-offset: 2px;
}

.control-region.is-active {
  border-color: var(--accent-local);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--accent-local) 30%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-local) 18%, rgba(255, 255, 255, 0.12)), rgba(255, 255, 255, 0.03));
}

.control-region.type-knob { --accent-local: #78d7ff; }
.control-region.type-pad { --accent-local: #f3c463; }
.control-region.type-slider { --accent-local: #7de6c1; }
.control-region.type-display { --accent-local: #d59cff; }
.control-region.type-keys { --accent-local: #8bd3ff; }

.info-panel {
  width: 360px;
  min-width: 320px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  display: none;
}

.panel-header {
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 12px;
}

.panel-title {
  font-size: 18px;
  font-weight: 700;
}

.panel-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.panel-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 140px;
}

.panel-empty {
  color: var(--muted);
  margin: 0;
}

.control-name {
  font-size: 20px;
  font-weight: 700;
}

.control-meta {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 12px;
}

.kv dt {
  font-size: 12px;
  color: var(--muted);
}

.kv dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.bank-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bank-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bank-button {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bank-button:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.bank-button.is-active {
  background: linear-gradient(135deg, var(--accent), #a5f3ff);
  color: #0c1220;
  font-weight: 700;
  border-color: transparent;
}

.notes {
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--stroke);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 999px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.legend-dot.knob { background: #78d7ff; }
.legend-dot.pad { background: #f3c463; }
.legend-dot.slider { background: #7de6c1; }
.legend-dot.display { background: #d59cff; }
.legend-dot.keys { background: #8bd3ff; }

.hidden {
  display: none !important;
}
