@font-face {
  font-family: Manrope;
  src: url("assets/manrope-regular.ttf");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-medium.ttf");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Unbounded;
  src: url("assets/unbounded.ttf");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --panel: #17171c;
  --raised: #222228;
  --line: #34343d;
  --button: #2a2b2e;
  --ink: #f3f3f0;
  --muted: #9b9ba9;
  --blue: #1f2bff;
  --light: #a9b2ff;
  --purple: #7668b3;
}
* {
  box-sizing: border-box;
  scrollbar-width: none;
}
*::-webkit-scrollbar {
  display: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 14px/1.4 Manrope,
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
}
h1 {
  font-size: 27px;
  line-height: 1.25;
}
h2 {
  font-size: 20px;
  line-height: 1.25;
}
h3 {
  font-size: 16px;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  color: var(--ink);
  border: 0;
}
button {
  background: var(--button);
  border-radius: 18px;
  padding: 0 12px;
  height: 40px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
button:hover:not(:disabled) {
  background: #3b3c46;
}
button.primary,
button[aria-pressed="true"] {
  background: var(--blue);
}
button.primary:hover:not(:disabled),
button[aria-pressed="true"]:hover {
  background: #3944ff;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button:focus:not(:focus-visible) {
  outline: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
}
button,
select,
input {
  touch-action: manipulation;
}
input[type="range"] {
  accent-color: var(--light);
  height: 24px;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  margin: 0;
  background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--line);
  border-radius: 8px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--ink);
  border-radius: 50%;
  height: 12px;
  width: 12px;
  margin-top: -4px;
}
input[type="range"] {
  -webkit-appearance: none;
}
select {
  background: transparent;
  cursor: pointer;
  width: 100%;
  height: 100%;
  text-align: center;
  appearance: none;
  padding: 0 8px;
}
option {
  background: var(--panel);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.muted {
  color: var(--muted);
}
.studio {
  max-width: 1600px;
  margin: auto;
  padding: 24px 32px 32px;
}
.panel {
  background: var(--panel);
  border-radius: 18px;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
  margin-bottom: 24px;
}
.topbar h1 {
  width: 320px;
  flex-shrink: 0;
}
.project-caption {
  flex: 1;
  color: var(--muted);
  font-size: 16px;
}
.topbar #new {
  width: 180px;
}
.topbar #help {
  width: 260px;
}
.transport {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  min-height: 64px;
  margin-bottom: 24px;
}
.transport button,
.select-pill,
.meta-pill {
  height: 44px;
  flex-shrink: 0;
}
.transport #play {
  width: 144px;
  font-size: 16px;
}
.transport #stop {
  width: 92px;
  font-size: 16px;
}
.transport #record {
  width: 176px;
  font-size: 16px;
}
.select-pill,
.meta-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--button);
  border-radius: 18px;
  min-width: 0;
  font-size: 16px;
}
.select-pill {
  width: 112px;
}
.select-pill:has(#key) {
  width: 128px;
}
.meta-pill {
  width: 112px;
}
#clock {
  flex: 1;
  white-space: nowrap;
  font-size: 16px;
}
#example {
  width: 160px;
}
#download {
  width: 140px;
}
.rack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.deck {
  padding: 18px 20px 8px;
  min-height: 488px;
}
.deck-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  height: 64px;
}
.deck-letter {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--button);
  font-size: 18px;
  flex-shrink: 0;
}
.deck-letter.active {
  background: var(--blue);
}
.deck-title {
  flex: 1;
  min-width: 0;
}
.deck-title h2 {
  font-size: 18px;
  line-height: 1.25;
}
.deck-title p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.deck-bpm {
  color: var(--light);
  width: 130px;
  font-size: 14px;
}
.wave {
  height: 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.wave canvas {
  width: 100%;
  height: 64px;
  display: block;
}
.idle-wave {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 50%;
}
.idle-wave img {
  display: block;
}
.deck-transport {
  display: flex;
  gap: 8px;
  height: 36px;
  margin-bottom: 12px;
}
.deck-transport button {
  font-size: 14px;
  height: 36px;
}
.deck-transport button:first-child {
  width: 132px;
}
.deck-transport button:nth-child(2) {
  width: 114px;
}
.deck-transport .loop-length {
  height: 36px;
  flex: 1;
  background: var(--button);
  border-radius: 18px;
  font-size: 14px;
}
.layer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--muted);
}
.layer-heading button {
  height: 28px;
  width: 150px;
  font-size: 12px;
}
.layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 208px;
}
.layer {
  display: grid;
  grid-template-columns: 132px 76px 38px 44px 62px;
  gap: 8px;
  align-items: center;
  min-height: 46px;
}
.layer-title {
  min-width: 0;
}
.layer-name {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.layer-meta {
  font-size: 11px;
  color: var(--muted);
}
.layer button {
  padding: 0 6px;
  height: 26px;
  font-size: 11px;
}
.layer input {
  width: 76px;
}
.deck-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  min-height: 17px;
}
.empty-deck {
  color: var(--muted);
  padding: 32px 0;
  max-width: 360px;
}
.mixer {
  background: var(--raised);
  padding: 18px 0 10px;
}
.mixer-inner {
  width: 256px;
  margin: auto;
  position: relative;
  min-height: 460px;
}
.mixer h2 {
  font:
    500 14px/1.3 Manrope,
    sans-serif;
  margin: 0 24px 16px;
}
.eq-grid {
  display: grid;
  grid-template-columns: 44px 100px 44px;
  column-gap: 8px;
  row-gap: 7px;
  justify-content: center;
  align-items: center;
}
.eq-grid .letter {
  font-size: 14px;
  color: var(--light);
  text-align: center;
}
.eq-label {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.knob {
  width: 44px;
  height: 44px;
  position: relative;
}
.knob img {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.12s;
}
.knob input {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  opacity: 0;
  cursor: ew-resize;
}
.eq-value {
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 60px;
  text-align: center;
  color: var(--light);
  font-size: 9px;
  pointer-events: none;
  opacity: 0;
}
.knob:focus-within .eq-value,
.knob:hover .eq-value {
  opacity: 1;
}
.faders {
  display: flex;
  justify-content: space-between;
  margin: 24px 40px 0;
}
.fader {
  width: 72px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.fader-body {
  height: 112px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.fader input {
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: auto;
  -webkit-appearance: slider-vertical;
  width: 24px;
  height: 112px;
  accent-color: var(--ink);
}
.meter {
  width: 8px;
  height: 100px;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.meter i {
  display: block;
  width: 8px;
  flex: 1;
  background: var(--line);
  border-radius: 1px;
}
.meter i.lit {
  background: var(--light);
}
.cross {
  display: block;
  margin: 28px 24px 0;
  font-size: 11px;
  color: var(--muted);
}
.cross input {
  display: block;
  margin-top: 10px;
}
.cross-letters {
  display: flex;
  justify-content: space-between;
  margin: 8px 24px 0;
  color: var(--light);
  font-size: 12px;
}
.library {
  padding: 16px 20px 12px;
  margin-bottom: 24px;
  min-height: 288px;
}
.library-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.library-heading h2 {
  width: 120px;
  flex-shrink: 0;
}
.categories {
  display: flex;
  gap: 8px;
  align-items: center;
}
.categories button {
  height: 32px;
  font-size: 12px;
  padding: 0 16px;
}
.library-tools {
  display: flex;
  gap: 8px;
  flex: 1;
}
.library-tools button {
  height: 32px;
  flex: 1;
  font-size: 12px;
}
.loop-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 12px;
}
.loop {
  min-width: 0;
  min-height: 104px;
  background: var(--raised);
  border-radius: 12px;
  padding: 10px;
}
.loop-name {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.loop-meta {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}
.assign {
  display: flex;
  gap: 8px;
}
.assign button {
  flex: 1;
  min-width: 0;
  height: 24px;
  font-size: 12px;
}
.effects {
  padding: 18px 20px 24px;
  margin-bottom: 24px;
  min-height: 144px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  width: 180px;
}
.section-heading p {
  font-size: 13px;
}
.fx-body {
  display: flex;
  gap: 24px;
  align-items: center;
}
.fx-buttons {
  display: flex;
  gap: 12px;
  flex: 1;
}
.fx-buttons button {
  flex: 1;
  min-width: 0;
  height: 44px;
}
.depth {
  width: 220px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
}
.depth span {
  display: flex;
  justify-content: space-between;
}
.depth input {
  margin-top: 4px;
}
#reset-fx {
  width: 140px;
  height: 44px;
}
#drop {
  width: 244px;
  height: 64px;
  font-size: 20px;
}
.scenes {
  padding: 16px 20px 20px;
  min-height: 120px;
}
.scenes .section-heading {
  margin-bottom: 20px;
}
.scenes .section-heading h2 {
  width: 144px;
}
.scene-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.scene-buttons button {
  min-width: 0;
  height: 36px;
  font-size: 13px;
}
.saved-scene {
  border: 1px solid var(--purple);
}
dialog {
  max-width: min(760px, calc(100% - 32px));
  max-height: 90dvh;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(8px);
}
dialog h2 {
  font-size: 24px;
  margin: 12px 0 24px;
}
dialog h3 {
  margin: 24px 0 12px;
}
dialog p,
dialog li {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 12px;
}
dialog ol {
  padding-left: 24px;
}
dialog .close {
  display: block;
  margin-left: auto;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
#beat-dialog {
  width: 1080px;
  max-width: calc(100% - 32px);
}
.beat-row {
  display: grid;
  grid-template-columns: 80px repeat(16, minmax(0, 1fr));
  gap: 5px;
  align-items: center;
  margin: 8px 0;
}
.beat-row span {
  font-size: 12px;
}
.step {
  border-radius: 6px;
  min-width: 0;
  height: 34px;
  padding: 0;
}
.step:nth-of-type(4n + 1) {
  border-left: 2px solid var(--light);
}
.step.current {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.beat-controls {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-top: 24px;
  flex-wrap: wrap;
}
.beat-controls label {
  width: 180px;
}
.beat-controls output {
  float: right;
}
#notice {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--raised);
  padding: 14px 22px;
  max-width: calc(100% - 32px);
  box-shadow: 0 8px 30px #0008;
  text-align: center;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1399px) and (min-width: 901px) {
  .transport {
    gap: 8px;
    flex-wrap: wrap;
  }
  .project-caption {
    display: none;
  }
  .topbar h1 {
    flex: 1;
  }
  .rack {
    grid-template-columns: minmax(0, 1fr) 224px minmax(0, 1fr);
    gap: 16px;
  }
  .mixer-inner {
    width: 224px;
  }
  .deck-bpm {
    display: none;
  }
  .layer {
    grid-template-columns: minmax(80px, 1fr) 60px 38px 44px 52px;
    gap: 5px;
  }
  .layer input {
    width: 60px;
  }
  .deck-title h2 {
    font-size: 15px;
  }
  .deck-transport button:first-child {
    width: 80px;
  }
  .deck-transport button:nth-child(2) {
    width: 80px;
  }
  .library-heading {
    flex-wrap: wrap;
  }
  .loop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fx-body {
    flex-wrap: wrap;
  }
  .fx-buttons {
    flex-basis: 50%;
  }
}
@media (max-width: 900px) {
  .studio {
    padding: 24px 24px 32px;
  }
  .topbar {
    height: 92px;
    display: grid;
    grid-template-columns: 180px 220px;
    grid-template-rows: 34px 40px;
    gap: 16px 12px;
  }
  .topbar h1 {
    font-size: 25px;
    grid-column: 1/-1;
    width: auto;
  }
  .project-caption {
    display: none;
  }
  .topbar #new,
  .topbar #help {
    width: 100%;
    font-size: 13px;
  }
  .transport {
    min-height: 176px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 144px 92px 176px 100px 112px;
    grid-template-rows: 44px 44px;
    gap: 12px 8px;
    align-content: start;
  }
  .transport #play,
  .transport #stop,
  .transport #record,
  .select-pill,
  .select-pill:has(#key),
  .meta-pill,
  #example,
  #download {
    width: 100%;
    font-size: 13px;
  }
  .meta-pill {
    grid-column: 1;
    grid-row: 2;
    width: 112px;
  }
  .transport #example {
    grid-column: 2/4;
    grid-row: 2;
    width: 180px;
    margin-left: -24px;
  }
  .transport #download {
    grid-column: 4;
    grid-row: 2;
    width: 140px;
    margin-left: -128px;
  }
  #clock {
    grid-column: 5;
    grid-row: 2;
    align-self: center;
    width: 192px;
    margin-left: -80px;
    font-size: 13px;
  }
  .rack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .deck {
    min-height: 668px;
  }
  .mixer {
    grid-column: 1/-1;
    grid-row: 2;
    min-height: 488px;
  }
  .deck-bpm {
    display: none;
  }
  .deck-title h2 {
    font-size: 15px;
  }
  .deck-title p {
    font-size: 12px;
  }
  .deck-heading {
    height: 66px;
  }
  .deck-transport {
    height: 44px;
    gap: 6px;
    margin-bottom: 8px;
  }
  .deck-transport button:first-child,
  .deck-transport button:nth-child(2) {
    width: 87px;
    height: 44px;
    font-size: 13px;
  }
  .deck-transport .loop-length {
    height: 44px;
    font-size: 13px;
  }
  .layer-heading {
    height: 56px;
    margin-bottom: 12px;
  }
  .layer-heading button {
    width: 146px;
    height: 40px;
    font-size: 13px;
  }
  .layers {
    gap: 8px;
    min-height: 360px;
  }
  .layer {
    grid-template-columns: 70px 76px minmax(76px, 1fr);
    grid-template-rows: 36px 36px;
    column-gap: 8px;
    row-gap: 8px;
    min-height: 84px;
  }
  .layer-title {
    grid-column: 1/3;
    grid-row: 1;
    width: calc(100% - 10px);
  }
  .layer input {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 76px;
  }
  .layer button {
    height: 36px;
    font-size: 13px;
  }
  .layer button:last-child {
    width: 92px;
  }
  .deck-hint {
    margin-top: 18px;
    font-size: 11px;
  }
  .library {
    min-height: 624px;
  }
  .library-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }
  .library-heading h2 {
    width: auto;
  }
  .categories {
    gap: 6px;
    flex-wrap: wrap;
  }
  .categories button {
    height: 36px;
    font-size: 13px;
    padding: 0 14px;
  }
  .library-tools {
    gap: 8px;
  }
  .library-tools button {
    height: 40px;
    font-size: 13px;
  }
  .loop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
  }
  .loop .assign button {
    height: 36px;
    font-size: 13px;
  }
  .loop-name {
    font-size: 16px;
  }
  .effects {
    min-height: 214px;
    padding-bottom: 24px;
  }
  .section-heading {
    display: block;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    width: auto !important;
    margin-bottom: 12px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .fx-body {
    display: grid;
    grid-template-columns: 220px 136px 1fr;
    gap: 16px;
  }
  .fx-buttons {
    grid-column: 1/-1;
    gap: 8px;
  }
  .fx-buttons button {
    font-size: 13px;
  }
  .depth {
    width: 220px;
  }
  #reset-fx {
    width: 136px;
  }
  #drop {
    width: 100%;
    height: 44px;
    font-size: 16px;
  }
  .scenes {
    min-height: 190px;
  }
  .scene-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .scene-buttons button {
    height: 40px;
    font-size: 13px;
  }
  .scenes .section-heading {
    margin-bottom: 18px;
  }
}
@media (max-width: 600px) {
  .studio {
    padding: 24px 20px 32px;
  }
  .topbar {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 16px 8px;
    margin-bottom: 24px;
  }
  .topbar h1 {
    font-size: 21px;
  }
  .transport {
    min-height: 232px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, 44px);
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 24px;
  }
  .transport #play {
    grid-column: 1/4;
  }
  .transport #stop {
    grid-column: 4/7;
  }
  .transport #record {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .select-pill {
    grid-column: span 2;
    grid-row: 3;
  }
  .meta-pill {
    grid-column: 5/7;
    grid-row: 3;
    width: auto;
  }
  .transport #example {
    grid-column: 1/4;
    grid-row: 4;
    width: 100%;
    margin: 0;
  }
  .transport #download {
    grid-column: 4/7;
    grid-row: 4;
    width: 100%;
    margin: 0;
  }
  #clock {
    display: none;
  }
  .rack {
    grid-template-columns: 1fr;
  }
  .mixer {
    grid-row: auto;
  }
  .deck {
    min-height: 668px;
  }
  .deck-title h2 {
    font-size: 15px;
  }
  .deck-hint {
    margin-top: 18px;
  }
  .library {
    min-height: 928px;
    padding-top: 16px;
  }
  .library-heading {
    gap: 14px;
    margin-bottom: 20px;
  }
  .categories {
    max-width: 334px;
  }
  .categories button {
    padding: 0 16px;
  }
  .library-tools button {
    font-size: 12px;
    padding: 0 6px;
  }
  .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
  .loop-name {
    font-size: 14px;
  }
  .loop-meta {
    font-size: 10px;
  }
  .loop {
    padding: 10px;
    min-height: 104px;
  }
  .assign {
    gap: 6px;
  }
  .effects {
    min-height: 328px;
  }
  .fx-body {
    grid-template-columns: minmax(0, 1fr) 136px;
    gap: 16px;
  }
  .fx-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .fx-buttons button {
    width: 100%;
    font-size: 13px;
  }
  .depth {
    width: 100%;
  }
  #drop {
    grid-column: 1/-1;
  }
  .scenes {
    min-height: 244px;
  }
  .scene-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .beat-row {
    grid-template-columns: 48px repeat(8, minmax(0, 1fr));
    gap: 4px;
    grid-template-rows: 34px 34px;
  }
  .beat-row span {
    grid-row: 1/3;
    font-size: 10px;
  }
  .step {
    height: 34px;
  }
  .step:nth-of-type(n + 9) {
    grid-row: 2;
  }
  .beat-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .beat-controls label {
    grid-column: 1/-1;
    width: 100%;
  }
  .beat-controls button {
    font-size: 12px;
  }
  .beat-controls #beat-save {
    grid-column: 1/-1;
  }
  dialog {
    padding: 20px;
  }
  dialog h2 {
    font-size: 20px;
  }
  dialog p,
  dialog li {
    font-size: 14px;
  }
  .layer input {
    width: 76px;
  }
  .deck-transport button:first-child,
  .deck-transport button:nth-child(2) {
    width: 87px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.assign button[aria-pressed="true"]:disabled {
  opacity: 1;
}
@media (max-width: 600px) {
  #deck-a {
    order: 1;
  }
  #deck-b {
    order: 2;
  }
  .mixer {
    order: 3;
  }
  .categories button[data-category="Все"] {
    width: 58px;
  }
  .categories button[data-category="Ударные"] {
    width: 96px;
  }
  .categories button[data-category="Бас"] {
    width: 62px;
  }
  .categories button[data-category="Мелодии"] {
    width: 102px;
  }
  .categories button[data-category="Аккорды"] {
    width: 102px;
  }
  .categories button[data-category="Атмосфера"] {
    width: 118px;
  }
  .categories button[data-category="FX"] {
    width: 58px;
  }
  .library-heading {
    gap: 14px;
  }
}
.layer-heading {
  margin-bottom: 0;
}
.effects > .section-heading {
  margin-bottom: 13px;
}
@media (max-width: 900px) {
  .layer-heading {
    height: 54px;
    margin-bottom: 0;
  }
  .effects > .section-heading {
    margin-bottom: 18px;
  }
}
input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--light) 0 var(--fill, 50%),
    var(--line) var(--fill, 50%) 100%
  );
}
input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 8px;
}
input[type="range"]::-moz-range-progress {
  height: 4px;
  background: var(--light);
  border-radius: 8px;
}
