@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  color-scheme: dark;
  --bg-0: #09090a;
  --bg-1: #121316;
  --bg-2: #1a1d22;
  --panel: rgba(14, 16, 19, 0.9);
  --panel-strong: rgba(23, 26, 32, 0.96);
  --line: rgba(255, 244, 214, 0.1);
  --line-strong: rgba(255, 244, 214, 0.22);
  --text: #f4ecd2;
  --muted: #b4ab8f;
  --amber: #ffd26e;
  --gold: #ffb23f;
  --red: #ff6a4c;
  --green: #78f089;
  --aqua: #80f4ea;
  --blue: #74b6ff;
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 178, 63, 0.16), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(120, 240, 137, 0.11), transparent 22%),
    radial-gradient(circle at 64% 84%, rgba(116, 182, 255, 0.09), transparent 28%),
    linear-gradient(180deg, #040404 0%, #0d0f11 42%, #08090b 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.26;
  mask-image: radial-gradient(circle at center, black 28%, transparent 86%);
}

body::after {
  background:
    radial-gradient(circle at center, rgba(255, 210, 110, 0.05), transparent 38%),
    radial-gradient(circle at center, rgba(120, 240, 137, 0.04), transparent 62%);
  animation: roomPulse 12s ease-in-out infinite;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100vw - 28px));
  margin: 14px auto 22px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(135deg, rgba(255, 178, 63, 0.04), transparent 44%),
    linear-gradient(180deg, rgba(14, 16, 19, 0.96), rgba(8, 9, 11, 0.94));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.012) 48%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

.eyebrow,
.info-label,
.slider-card span,
.legend-chip,
.tag,
.shortcut-pill,
.sequence-label span,
.footer-note,
kbd {
  font-family: "Silkscreen", monospace;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.66rem;
  color: var(--amber);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 18px;
  padding: 24px 24px 22px;
  animation: panelRise 500ms ease both;
}

.masthead h1,
.panel-head h2 {
  margin: 0;
  font-family: "Silkscreen", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.masthead-title-row {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.masthead h1 {
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 0.98;
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  text-transform: none;
  white-space: pre;
}

.title-char {
  display: inline-block;
  color: var(--text);
  white-space: pre;
  transition:
    color 120ms ease,
    text-shadow 120ms ease,
    transform 120ms ease;
}

.title-char.is-pulsing {
  color: var(--title-accent, #f5dfd8);
  text-shadow: 0 0 10px var(--title-glow, rgba(245, 223, 216, 0.22));
  animation: titleCharPulse calc(var(--title-beat-ms, 480ms) * 0.78) ease-out both;
}

.brand-link {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.brand-link:hover,
.brand-link:focus-visible {
  color: var(--amber);
  outline: none;
}

.lede {
  width: min(60ch, 100%);
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.masthead-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-height: 132px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 48%),
    linear-gradient(135deg, rgba(255, 178, 63, 0.08), rgba(120, 240, 137, 0.05)),
    rgba(255, 255, 255, 0.025);
}

.info-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

.info-card small {
  display: block;
  margin-top: 10px;
  color: var(--amber);
  font-size: 0.9rem;
}

.console-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.scope-panel,
.channel-panel,
.sequencer-panel {
  grid-column: 1;
}

.sidebar-stack {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 18px;
}

.scope-panel {
  padding: 22px;
  animation: panelRise 560ms ease both;
}

.channel-panel,
.sequencer-panel,
.sidebar-stack .panel {
  padding: 22px;
  animation: panelRise 620ms ease both;
}

.panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.panel-head h2 {
  font-size: clamp(1rem, 2vw, 1.32rem);
}

.microcopy {
  max-width: 28ch;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: right;
}

.screen-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.tag,
.shortcut-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--amber);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-frame {
  position: relative;
  min-height: 288px;
  border-radius: 22px;
  border: 1px solid rgba(255, 244, 214, 0.12);
  background:
    radial-gradient(circle at center, rgba(120, 240, 137, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(8, 20, 13, 0.96), rgba(5, 8, 7, 0.98));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.02),
    inset 0 0 44px rgba(120, 240, 137, 0.12);
}

.screen-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(rgba(120, 240, 137, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 240, 137, 0.03) 1px, transparent 1px);
  background-size: 100% 6px, 12px 100%;
  opacity: 0.26;
  animation: scanDrift 8s linear infinite;
}

.screen-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
  pointer-events: none;
}

#scopeCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 288px;
  position: relative;
  z-index: 1;
}

.transport-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 16px;
  margin-top: 18px;
}

.transport-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-content: start;
}

.console-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 68%),
    linear-gradient(135deg, rgba(255, 178, 63, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(18, 20, 24, 0.95);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.console-button:hover,
.console-button:focus-visible,
.playlist-button:hover,
.playlist-button:focus-visible,
.sfx-button:hover,
.sfx-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(255, 210, 110, 0.3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.console-button.accent {
  color: #18150f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 68%),
    linear-gradient(135deg, #ffd67a, #ffb23f);
  border-color: rgba(255, 210, 110, 0.5);
}

.console-button.is-on,
.console-button[aria-pressed="true"] {
  border-color: rgba(120, 240, 137, 0.34);
  box-shadow: inset 0 0 0 1px rgba(120, 240, 137, 0.18);
}

.slider-stack {
  display: grid;
  gap: 12px;
}

.slider-card {
  display: grid;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.slider-card span {
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slider-card output {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 700;
}

.export-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 56%),
    rgba(255, 255, 255, 0.03);
}

.export-card span {
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.export-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.export-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.export-controls select {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 16, 0.96);
  color: var(--text);
  font: inherit;
}

.export-button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--amber);
}

.progress-block {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.progress-track {
  overflow: hidden;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.3);
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16) 0 18px,
      rgba(255, 255, 255, 0.04) 18px 36px
    ),
    linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--aqua));
  transition: width 90ms linear;
}

.progress-scale {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.playlist,
.sfx-grid,
.channel-grid {
  position: relative;
  z-index: 1;
}

.playlist {
  display: grid;
  gap: 10px;
}

.playlist-button {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 178, 63, 0.06), transparent 44%),
    rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.playlist-button strong,
.sfx-button strong {
  display: block;
  font-size: 0.98rem;
}

.playlist-button small,
.sfx-button small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.playlist-button .playlist-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.playlist-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber);
  font-size: 0.74rem;
}

.playlist-button.is-active {
  border-color: rgba(120, 240, 137, 0.3);
  background:
    linear-gradient(135deg, rgba(120, 240, 137, 0.12), rgba(255, 178, 63, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.sfx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sfx-button {
  padding: 15px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 56%),
    rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.sfx-button.is-armed {
  border-color: rgba(255, 106, 76, 0.32);
}

.sfx-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--amber);
  font-family: "Silkscreen", monospace;
  font-size: 0.68rem;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.channel-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 56%),
    rgba(255, 255, 255, 0.025);
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.channel-card.is-active {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.22);
}

.channel-card.pulse1.is-active {
  border-color: rgba(255, 106, 76, 0.34);
}

.channel-card.pulse2.is-active {
  border-color: rgba(255, 210, 110, 0.34);
}

.channel-card.triangle.is-active {
  border-color: rgba(120, 240, 137, 0.34);
}

.channel-card.noise.is-active {
  border-color: rgba(128, 244, 234, 0.34);
}

.channel-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.channel-card header strong {
  font-size: 1rem;
}

.channel-card header span {
  color: var(--muted);
  font-size: 0.82rem;
}

.channel-readout {
  display: block;
  margin-top: 16px;
  font-family: "Silkscreen", monospace;
  font-size: 0.82rem;
  color: var(--amber);
  text-transform: uppercase;
}

.meter {
  position: relative;
  height: 14px;
  margin-top: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.22);
}

.meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 70ms linear;
}

.channel-card.pulse1 .meter-fill {
  background: linear-gradient(90deg, rgba(255, 106, 76, 0.45), rgba(255, 106, 76, 1));
}

.channel-card.pulse2 .meter-fill {
  background: linear-gradient(90deg, rgba(255, 210, 110, 0.45), rgba(255, 210, 110, 1));
}

.channel-card.triangle .meter-fill {
  background: linear-gradient(90deg, rgba(120, 240, 137, 0.45), rgba(120, 240, 137, 1));
}

.channel-card.noise .meter-fill {
  background: linear-gradient(90deg, rgba(128, 244, 234, 0.45), rgba(128, 244, 234, 1));
}

.sequence-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.sequence-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 960px;
}

.sequence-row {
  display: grid;
  grid-template-columns: 122px repeat(32, minmax(18px, 1fr));
  gap: 6px;
  align-items: center;
}

.sequence-label {
  padding-right: 10px;
}

.sequence-label strong {
  display: block;
  font-size: 0.92rem;
}

.sequence-label span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-cell {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
}

.step-cell.bar-edge {
  margin-left: 4px;
}

.step-cell.has-note.pulse1 {
  background: rgba(255, 106, 76, 0.7);
}

.step-cell.has-note.pulse2 {
  background: rgba(255, 210, 110, 0.7);
}

.step-cell.has-note.triangle {
  background: rgba(120, 240, 137, 0.66);
}

.step-cell.has-note.noise {
  background: rgba(128, 244, 234, 0.66);
}

.step-cell.is-hold {
  opacity: 0.45;
}

.step-cell.is-active {
  transform: translateY(-1px);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 1px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.legend {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-chip.pulse1 {
  color: var(--red);
}

.legend-chip.pulse2 {
  color: var(--gold);
}

.legend-chip.triangle {
  color: var(--green);
}

.legend-chip.noise {
  color: var(--aqua);
}

.footer-note {
  margin-top: 16px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--amber);
  font-size: 0.58rem;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 178, 63, 0.14), transparent 28%),
    radial-gradient(circle at 18% 16%, rgba(255, 178, 63, 0.1), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(120, 240, 137, 0.08), transparent 22%),
    linear-gradient(180deg, #1a1713 0%, #111113 18%, #0b0b0d 100%);
}

.app-shell {
  width: min(1360px, calc(100vw - 24px));
  margin: 10px auto 14px;
}

.panel {
  border-radius: 22px;
  border-color: rgba(255, 210, 110, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 224, 158, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(34, 31, 27, 0.96), rgba(11, 11, 13, 0.98));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    inset 0 2px 0 rgba(255, 255, 255, 0.04),
    inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 215, 128, 0.08), transparent 28%),
    linear-gradient(180deg, #34312a, #1a1714 72%);
}

.masthead-title-row {
  gap: 10px;
}

.masthead h1 {
  font-size: clamp(1.55rem, 4vw, 2.7rem);
}

.masthead-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-link {
  padding: 0 8px 1px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 110, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.console-layout {
  margin-top: 12px;
  gap: 12px;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
}

.sequencer-panel {
  grid-column: 1 / -1;
  padding: 18px;
}

.scope-panel,
.channel-panel,
.fx-panel,
.dropdown-panel {
  padding: 16px;
}

.sidebar-stack {
  grid-column: 2;
  grid-row: 2 / span 2;
  gap: 12px;
}

.scope-panel {
  grid-column: 1;
}

.channel-panel {
  grid-column: 1;
}

.panel-head-tight {
  align-items: center;
  margin-bottom: 12px;
}

.panel-copy h2 {
  font-size: 1rem;
}

.microcopy {
  max-width: none;
  margin: 4px 0 0;
  font-size: 0.78rem;
  text-align: left;
}

.editor-summary {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.timeline-button {
  min-width: 72px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.72rem;
}

.summary-card {
  min-width: 130px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.summary-card-compact {
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.summary-card strong,
.summary-card span {
  display: block;
}

.summary-card strong {
  font-size: 0.88rem;
}

.summary-card span {
  margin-top: 4px;
  color: var(--amber);
  font-size: 0.72rem;
}

.summary-card-compact span {
  margin-top: 0;
  font-size: 0.66rem;
  white-space: nowrap;
}

.tag,
.shortcut-pill {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 224, 158, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.2);
  color: var(--amber);
  font-size: 0.58rem;
}

.screen-frame,
#scopeCanvas {
  min-height: 226px;
}

.screen-frame {
  border-radius: 16px;
  background:
    radial-gradient(circle at center, rgba(120, 240, 137, 0.07), transparent 54%),
    linear-gradient(180deg, rgba(1, 16, 7, 0.96), rgba(2, 8, 4, 0.98));
}

.transport-grid {
  margin-top: 12px;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
}

.transport-buttons {
  gap: 8px;
}

.console-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 72%),
    linear-gradient(180deg, #2d2a25, #151516);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.36);
}

.console-button.accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 70%),
    linear-gradient(180deg, #ffd67a, #d99724);
}

.slider-stack {
  gap: 8px;
}

.slider-card,
.export-card {
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
}

.progress-block {
  margin-top: 12px;
}

.progress-track {
  height: 12px;
}

.playlist {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.playlist-button {
  padding: 12px;
  border-radius: 14px;
}

.playlist-button strong {
  font-size: 0.9rem;
}

.playlist-button .playlist-meta {
  margin-top: 8px;
}

.playlist-chip {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.66rem;
}

.dropdown-panel {
  padding: 0;
  overflow: hidden;
}

.dropdown-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
}

.dropdown-summary::-webkit-details-marker {
  display: none;
}

.dropdown-copy h2 {
  margin: 0;
  font-size: 1rem;
}

.dropdown-meta {
  display: block;
  margin-top: 4px;
  color: var(--amber);
  font-size: 0.7rem;
  font-family: "Silkscreen", monospace;
}

.dropdown-summary::after {
  content: "+";
  color: var(--amber);
  font-family: "Silkscreen", monospace;
  font-size: 0.8rem;
}

.dropdown-panel[open] .dropdown-summary::after {
  content: "-";
}

.dropdown-body {
  padding: 0 16px 16px;
}

.fx-panel .panel-head {
  margin-bottom: 10px;
}

.sfx-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sfx-button {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-height: 68px;
  padding: 10px;
  border-radius: 14px;
}

.sfx-button strong {
  font-size: 0.78rem;
}

.sfx-key {
  min-width: 22px;
  min-height: 22px;
  margin-bottom: 0;
  font-size: 0.56rem;
}

.channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.channel-card {
  padding: 12px;
  border-radius: 14px;
}

.channel-card header strong {
  font-size: 0.88rem;
}

.channel-card header span {
  font-size: 0.72rem;
}

.channel-readout {
  margin-top: 12px;
  font-size: 0.72rem;
}

.meter {
  height: 10px;
  margin-top: 10px;
}

.sequence-scroll {
  padding-bottom: 2px;
}

.sequence-grid {
  gap: 6px;
  min-width: 1080px;
}

.sequence-row {
  grid-template-columns: 116px repeat(32, minmax(22px, 1fr));
  gap: 3px;
}

.sequence-label {
  display: grid;
  gap: 6px;
  align-content: center;
  padding-right: 6px;
}

.sequence-label strong {
  font-size: 0.74rem;
}

.lane-token-select,
.export-controls select {
  width: 100%;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 110, 0.16);
  background: rgba(10, 10, 12, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
}

.step-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: "Silkscreen", monospace;
  font-size: 0.48rem;
  color: rgba(244, 236, 210, 0.66);
  cursor: pointer;
  transition:
    transform 90ms ease,
    border-color 90ms ease,
    box-shadow 90ms ease,
    background 90ms ease;
}

.step-cell:hover,
.step-cell:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(255, 210, 110, 0.24);
}

.step-cell.has-note {
  color: #0f0f10;
}

.step-cell.is-hold {
  color: rgba(244, 236, 210, 0.88);
}

.step-cell.is-active {
  outline-width: 1px;
  transform: translateY(-1px);
}

.masthead {
  justify-content: space-between;
}

.masthead-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.masthead-action-group {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}

.masthead-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.top-select-wrap,
.visualizer-wrap,
.cartridge-select-wrap {
  display: grid;
  gap: 6px;
}

.top-select-wrap-plain {
  gap: 0;
}

.top-select-wrap span,
.visualizer-wrap span,
.cartridge-select-wrap span,
.mini-slider span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Silkscreen", monospace;
}

.top-select-wrap select,
.visualizer-wrap select,
.cartridge-select-wrap select {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 72%),
    linear-gradient(180deg, #2a2722, #121214);
  color: var(--text);
  font: inherit;
}

.console-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.82fr);
}

.sequencer-panel {
  grid-column: 1 / -1;
}

.fx-panel {
  grid-column: 1;
  grid-row: 2;
  padding: 12px 16px;
}

.fx-control-line {
  margin-top: 0;
  margin-bottom: 10px;
}

.fx-head {
  margin-bottom: 8px;
}

.scope-panel {
  grid-column: 1;
  grid-row: 3;
}

.sidebar-stack {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: grid;
  gap: 0;
  align-self: stretch;
}

.sidebar-stack .panel {
  height: 100%;
}

.screen-tags {
  align-items: end;
}

.control-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: nowrap;
}

.inline-sliders {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.mini-slider {
  display: grid;
  grid-template-columns: auto minmax(92px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 56%),
    rgba(255, 255, 255, 0.025);
}

.mini-slider.compact {
  grid-template-columns: minmax(84px, 1fr) auto;
  min-width: 178px;
  gap: 8px;
  padding: 0 10px;
}

.mini-slider output {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.mini-slider input[type="range"] {
  width: 100%;
}

.icon-button {
  min-width: 48px;
  padding: 0 12px;
  font-size: 1rem;
  line-height: 1;
 }

.progress-block {
  margin-top: 10px;
}

.progress-track {
  height: 10px;
}

.sfx-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sfx-button {
  min-height: 50px;
  padding: 7px 9px;
}

.sfx-button.is-selected {
  border-color: rgba(255, 210, 110, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.2);
}

.sfx-button strong {
  font-size: 0.72rem;
}

.fx-editor {
  margin-top: 8px;
}

.fx-editor-shell {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  margin: 0;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 58%),
    rgba(255, 255, 255, 0.025);
}

.fx-editor-shell.is-locked {
  opacity: 0.54;
}

.fx-editor-control span {
  color: var(--amber);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Silkscreen", monospace;
}

.fx-editor-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 5px;
  min-height: 58px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 12, 0.72);
}

.fx-editor-control input[type="range"] {
  width: 100%;
  margin: 0;
}

.lane-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.lane-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 6px;
  align-items: stretch;
}

.lane-preview,
.lane-mute {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 72%),
    linear-gradient(180deg, #2a2722, #121214);
  color: var(--text);
  font: inherit;
}

.lane-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  cursor: pointer;
}

.lane-preview-name,
.lane-preview-note,
.lane-mute {
  font-family: "Silkscreen", monospace;
}

.lane-preview-name {
  font-size: 0.56rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lane-preview-note {
  font-size: 0.56rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lane-preview.is-selected,
.lane-preview.is-active,
.lane-mute.is-active {
  border-color: rgba(255, 210, 110, 0.34);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.lane-control.is-muted .lane-preview {
  opacity: 0.54;
}

.lane-mute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.62rem;
  color: var(--amber);
}

.cartridge-panel {
  height: 100%;
  padding: 14px 16px 16px;
}

.cartridge-dropdown {
  position: relative;
  z-index: 2;
}

.cartridge-dropdown[open] .cartridge-caret {
  transform: rotate(180deg);
}

.cartridge-summary {
  --cart-shell-top: #4a3728;
  --cart-shell-bottom: #1a1814;
  --cart-shell-edge: rgba(255, 210, 110, 0.14);
  --cart-shell-glow: rgba(255, 210, 110, 0.12);
  --cart-sticker-a: rgba(255, 214, 122, 0.08);
  --cart-sticker-b: rgba(128, 244, 234, 0.12);
  list-style: none;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--cart-shell-edge);
  background:
    linear-gradient(180deg, var(--cart-sticker-a), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 48%),
    linear-gradient(180deg, var(--cart-shell-top), var(--cart-shell-bottom) 72%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 30px var(--cart-shell-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.cartridge-summary::-webkit-details-marker {
  display: none;
}

.cartridge-icon {
  position: relative;
  display: grid;
  place-items: center;
  height: 52px;
  overflow: hidden;
  border-radius: 10px 10px 18px 18px;
  border: 1px solid var(--cart-shell-edge);
  background:
    linear-gradient(180deg, var(--cart-sticker-a), transparent 38%),
    linear-gradient(180deg, var(--cart-shell-top) 0%, var(--cart-sticker-b) 42%, var(--cart-shell-bottom) 100%);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.2),
    0 0 22px var(--cart-shell-glow);
}

.cartridge-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 22px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #111214;
}

.cartridge-caret {
  color: var(--amber);
  font-family: "Silkscreen", monospace;
  font-size: 0.76rem;
  transition: transform 140ms ease;
}

.cartridge-menu {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  max-height: 440px;
  overflow: auto;
  padding-right: 2px;
}

.cartridge-option {
  --cart-shell-top: #433324;
  --cart-shell-bottom: #151417;
  --cart-shell-edge: rgba(255, 210, 110, 0.1);
  --cart-shell-glow: rgba(255, 210, 110, 0.12);
  --cart-sticker-a: rgba(255, 255, 255, 0.06);
  --cart-sticker-b: rgba(128, 244, 234, 0.1);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--cart-shell-edge);
  background:
    linear-gradient(180deg, var(--cart-sticker-a), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 44%),
    linear-gradient(180deg, var(--cart-shell-top), var(--cart-shell-bottom));
  box-shadow: 0 0 20px var(--cart-shell-glow);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.cartridge-option:hover,
.cartridge-option:focus-visible {
  outline: none;
  border-color: rgba(255, 210, 110, 0.24);
}

.cartridge-option.is-active {
  border-color: rgba(120, 240, 137, 0.28);
}

.cartridge-option-art {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--cart-shell-edge);
  background:
    linear-gradient(180deg, var(--cart-sticker-a), transparent 42%),
    linear-gradient(180deg, var(--cart-shell-top) 0%, var(--cart-sticker-b) 42%, var(--cart-shell-bottom) 100%);
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 0.18),
    0 0 18px var(--cart-shell-glow);
}

.cartridge-option-copy strong,
.cartridge-option-copy span {
  display: block;
}

.cartridge-option-copy strong {
  font-size: 0.82rem;
}

.cartridge-option-copy span {
  margin-top: 4px;
  color: var(--amber);
  font-size: 0.66rem;
  font-family: "Silkscreen", monospace;
}

.track-sprite {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.track-sprite.large {
  width: 44px;
}

.track-sprite.small {
  width: 38px;
}

.cartridge-copy strong,
.cartridge-copy span {
  display: block;
}

.cartridge-copy strong {
  font-size: 0.96rem;
}

.cartridge-copy span {
  margin-top: 4px;
  color: var(--amber);
  font-size: 0.76rem;
}

.sequence-row {
  grid-template-columns: 116px repeat(32, minmax(22px, 1fr));
}

.sequence-row.is-muted .sequence-label,
.sequence-row.is-muted .step-cell {
  opacity: 0.46;
}

.step-cell {
  min-height: 22px;
  border-radius: 7px;
  font-size: 0.48rem;
}

.step-cell.timeline-dim {
  opacity: 0.26;
  filter: saturate(0.76);
}

.step-cell.is-selected {
  box-shadow: inset 0 0 0 1px rgba(255, 210, 110, 0.5);
  border-color: rgba(255, 210, 110, 0.34);
}

.pad-control-line {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pad-readout {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--amber);
  font-size: 0.68rem;
  font-family: "Silkscreen", monospace;
}

.pad-sound-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 36px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%),
    rgba(255, 255, 255, 0.025);
}

.pad-sound-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.86);
  color: var(--muted);
  font-family: "Silkscreen", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 120ms ease,
    color 120ms ease,
    background 120ms ease,
    transform 120ms ease;
}

.pad-sound-button:hover,
.pad-sound-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(255, 210, 110, 0.26);
  color: var(--text);
}

.pad-sound-button.is-active {
  border-color: rgba(255, 210, 110, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 70%),
    linear-gradient(135deg, #ffd67a, #ffb23f);
  color: #17130d;
}

.pad-edit-wrap {
  display: grid;
  gap: 6px;
  min-width: 180px;
  flex: 1 1 200px;
}

.pad-edit-wrap span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Silkscreen", monospace;
}

.pad-edit-wrap select {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 210, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 72%),
    linear-gradient(180deg, #2a2722, #121214);
  color: var(--text);
  font: inherit;
}

.pad-edit-wrap select:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

@keyframes roomPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes titleCharPulse {
  0% {
    transform: translateY(0);
    text-shadow: 0 0 0 transparent;
  }

  36% {
    transform: translateY(-1px);
    text-shadow: 0 0 12px var(--title-glow, rgba(245, 223, 216, 0.22));
  }

  100% {
    transform: translateY(0);
    text-shadow: 0 0 0 transparent;
  }
}

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanDrift {
  from {
    transform: translateY(-12px);
  }

  to {
    transform: translateY(12px);
  }
}

@media (max-width: 1180px) {
  .masthead,
  .console-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    grid-column: 1;
    grid-row: auto;
  }

  .scope-panel,
  .sequencer-panel,
  .fx-panel {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: min(100vw - 16px, 100%);
    margin: 8px auto 16px;
  }

  .masthead,
  .scope-panel,
  .channel-panel,
  .sequencer-panel,
  .sidebar-stack .panel {
    padding: 18px;
    border-radius: 22px;
  }

  .channel-grid,
  .sfx-grid,
  .control-line {
    grid-template-columns: 1fr;
  }

  .screen-frame,
  #scopeCanvas {
    min-height: 236px;
  }

  .dropdown-panel {
    padding: 0;
  }

  .sfx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lane-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inline-sliders {
    margin-left: 0;
    width: 100%;
  }

  .masthead-tools,
  .masthead-action-group {
    width: 100%;
    justify-content: flex-start;
  }

  .control-line,
  .pad-control-line {
    flex-direction: column;
    align-items: stretch;
  }

  .fx-editor-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pad-sound-strip {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .masthead h1 {
    font-size: 1.58rem;
  }

  .masthead {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-head {
    flex-direction: column;
    align-items: start;
  }

  .transport-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-button {
    width: 100%;
  }

  .sfx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-editor-shell {
    grid-template-columns: 1fr;
  }

  .lane-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-button,
  .pad-edit-wrap,
  .mini-slider {
    min-width: 0;
    width: 100%;
  }

  .pad-sound-button {
    flex: 1 1 calc(20% - 6px);
    justify-content: center;
  }
}
