:root {
  --bg: #0b0b0d;
  --panel: #131316;
  --panel-2: #1b1b20;
  --line: #2a2a31;
  --text: #ececf1;
  --muted: #8d8d99;
  --accent: #ff3b22;
  --gold: #e9a23b;
  --node: #26262b;
  --node-body: #1a1a1e;
  --field: #0c0c0e;
  --purple: #6a3fa0;
  --green: #4f7d2a;
  --blue: #2f3f8f;
  --teal: #1f6f78;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

/* ---- top bar ------------------------------------------------------------ */
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(#151518, #101012);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.brand svg {
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(255, 59, 34, 0.7));
}
.brand b {
  color: var(--text);
  font-weight: 600;
}
.transport {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover {
  background: #24242b;
  border-color: #3a3a44;
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible,
.chip:focus-visible,
.start-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.btn-icon {
  width: 38px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}
.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 59, 34, 0.35);
}
.btn-primary:hover {
  background: #ff5540;
  border-color: transparent;
}
.btn-ghost {
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5484d;
}
.recording .rec-dot {
  animation: blink 1s steps(2) infinite;
}
.recording {
  border-color: #e5484d;
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #2c2c34;
  outline-offset: 6px;
  cursor: pointer;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: none;
}
input[type='range']::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: none;
}
.seek {
  flex: 1;
  min-width: 60px;
}
.vol {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.vol input {
  width: 80px;
}

/* ---- layout ------------------------------------------------------------- */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 0;
}
.pane {
  position: relative;
  min-width: 0;
  min-height: 0;
}
.graph-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #0e0e10;
}

.toolbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow-x: auto;
  scrollbar-width: none;
  flex: none;
}
.toolbar::-webkit-scrollbar {
  display: none;
}
.toolbar-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 2px;
}
.toolbar-gap {
  flex: 1;
  min-width: 8px;
}
.chip {
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  cursor: pointer;
  font-size: 12.5px;
  white-space: nowrap;
  flex: none;
}
.chip:hover:not(:disabled) {
  background: #25252c;
}
.chip:disabled {
  opacity: 0.4;
  cursor: default;
}
.chip-sq {
  width: 28px;
  padding: 0;
}
.chip[data-add]::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 7px;
  background: #5b5b66;
}
.chip-tail::before {
  background: #8d5bd0 !important;
}
.chip-write::before {
  background: #7bb542 !important;
}
.chip-read::before {
  background: #33a5b3 !important;
}
.chip-smooth::before {
  background: #c98a3a !important;
}
.chip-stutter::before {
  background: #8d5bd0 !important;
}
.chip-lfo::before {
  background: #c98a3a !important;
}
.chip-noteseq::before {
  background: #5a6ad8 !important;
}
.chip-play::before {
  background: #7bb542 !important;
}

.menu {
  position: fixed;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1a1f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.menu button {
  text-align: left;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
}
.menu button:hover {
  background: #26262d;
}

.hint {
  margin: 0;
  padding: 7px 14px;
  padding-bottom: max(7px, env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--panel);
  flex: none;
}
.hint b {
  color: #c9c9d2;
  font-weight: 600;
}

/* ---- graph -------------------------------------------------------------- */
.graph {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  background-color: #0e0e10;
  background-image: radial-gradient(circle, #1f1f25 1px, transparent 1.2px);
  background-size: 24px 24px;
}
.graph.panning {
  cursor: grabbing;
}
.world {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
}
.wires {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: visible;
  pointer-events: none;
}
.wire {
  fill: none;
  stroke: #7c7c86;
  stroke-width: 2;
}
.wire.selected {
  stroke: var(--gold);
  stroke-width: 3;
}
.wire.dragging {
  stroke: var(--gold);
  stroke-dasharray: 6 5;
}
.wire-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 16;
  pointer-events: stroke;
  cursor: pointer;
}
.graph.wiring .wire-hit {
  pointer-events: none;
}

.node {
  position: absolute;
  width: 184px;
  border-radius: 8px;
  background: var(--node-body);
  box-shadow: 0 0 0 1px #000, 0 10px 26px rgba(0, 0, 0, 0.55);
  cursor: default;
}
.node.selected {
  box-shadow: 0 0 0 2px var(--gold), 0 10px 26px rgba(0, 0, 0, 0.55);
}
.node.drop-target {
  box-shadow: 0 0 0 2px #fff, 0 0 22px rgba(255, 255, 255, 0.25);
}
.node-audio {
  width: 232px;
}
.node-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 8px 0 10px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#3a3a41, #2d2d33);
  cursor: grab;
  font-weight: 600;
  font-size: 13px;
  color: #d6d6dd;
}
.node-audio .node-head {
  height: 42px;
  background: linear-gradient(#3b4aa8, #2b377f);
  color: #dfe3ff;
}
.node-tail .node-head {
  background: linear-gradient(#7d4bbd, #5b3490);
  color: #f0e6ff;
}
.node-write .node-head {
  background: linear-gradient(#5f9433, #426b22);
  color: #f1ffe2;
}
.node-read .node-head {
  background: linear-gradient(#27818c, #1b5c64);
  color: #e2fbff;
}
.node-stutter .node-head {
  background: linear-gradient(#7d4bbd, #5b3490);
  color: #f0e6ff;
}
.node-noteseq {
  width: 300px;
}
.node-noteseq .node-head {
  background: linear-gradient(#3b4aa8, #2b377f);
  color: #dfe3ff;
}
.node-play .node-head {
  background: linear-gradient(#5f9433, #426b22);
  color: #f1ffe2;
}
.node-play.live {
  box-shadow: 0 0 0 2px #9be35a, 0 0 22px rgba(155, 227, 90, 0.35);
}
.node-look {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: inherit;
}
.node-look option {
  color: #111;
}
.seq {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.seq-row.band {
  height: 22px;
  gap: 6px;
  padding: 0 14px 0 8px;
  cursor: default;
}
.seq-label {
  width: 12px;
  font-size: 11px;
  color: #9a9aa5;
  text-align: center;
}
.seq-cells {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
  height: 18px;
}
.seq-cell {
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #0c0c0e;
  cursor: pointer;
}
.seq-cell:nth-child(4n + 1) {
  background: #17171b;
}
.seq-cell:hover {
  background: #2c2c33;
}
.seq-cell.on {
  background: #a9b2f5;
}
.seq-cell.now {
  box-shadow: inset 0 0 0 1px rgba(233, 162, 59, 0.9);
}
.seq-cell.on.now {
  background: #fff;
}
.seq .params {
  margin-top: 5px;
}
.node-lfo .node-head,
.node-smooth .node-head {
  background: linear-gradient(#9a6a2c, #6f4b1d);
  color: #fff3e0;
}
.node-icon {
  display: inline-flex;
  flex: none;
}
.node-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.node-sub {
  font-weight: 400;
  font-size: 11px;
  opacity: 0.75;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.node-name {
  flex: 1;
  min-width: 0;
  height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.28);
  font-weight: 600;
  font-size: 13px;
  user-select: text;
  -webkit-user-select: text;
}
.node-name:focus {
  outline: 1px solid rgba(255, 255, 255, 0.5);
}
.node-del {
  flex: none;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.node-del:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}
.node-body {
  padding: 8px 0 8px;
}

.meter-row {
  position: relative;
  padding: 0 10px;
}
.meter {
  height: 16px;
  border-radius: 4px;
  background: var(--field);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #000;
}
.meter-fill {
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(#f2f2f2, #b9b9b9);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}
.grip {
  width: 16px;
  height: 5px;
  margin: 5px auto 6px;
  border-top: 1px solid #3a3a42;
  border-bottom: 1px solid #3a3a42;
}

.port {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #8a8a94;
  box-shadow: 0 0 0 2px var(--node-body);
  cursor: crosshair;
  z-index: 2;
}
.port::after {
  /* larger touch target */
  content: '';
  position: absolute;
  inset: -9px;
}
.port.in {
  left: -5.5px;
}
.port.out {
  right: -5.5px;
}
.port:hover,
.graph.wiring .port.in {
  background: #fff;
}

.params {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 8px;
}
.param {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 5px;
  background: #212126;
  font-size: 12px;
  color: #a9a9b3;
}
.param-label {
  flex: 1;
}
.param-num {
  width: 58px;
  height: 22px;
  padding: 0 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-align: right;
  color: #f1f1f4;
  font-variant-numeric: tabular-nums;
  user-select: text;
  -webkit-user-select: text;
  -moz-appearance: textfield;
  appearance: textfield;
}
.param-num::-webkit-outer-spin-button,
.param-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.param-num:focus,
.param-select:focus {
  outline: 1px solid var(--gold);
  background: #0f0f12;
}
.param-select {
  max-width: 96px;
  height: 22px;
  border: 0;
  border-radius: 4px;
  background: #0f0f12;
  color: #f1f1f4;
}
.param-check {
  cursor: pointer;
}
.param-check input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-box {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #3a3a42;
}
.param-check input:checked + .check-box {
  background: #cfcfd6
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%231a1a1e' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.param-check input:focus-visible + .check-box {
  outline: 2px solid var(--gold);
}
.param-btn {
  height: 20px;
  padding: 0 8px;
  border: 1px solid #3a3a42;
  border-radius: 4px;
  background: none;
  font-size: 11px;
  cursor: pointer;
  color: #c9c9d2;
}
.param-btn:hover {
  background: #2c2c33;
}
.param-btn.busy {
  border-color: var(--gold);
  color: var(--gold);
}

.bands {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0;
}
.band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 18px;
  padding: 0 14px 0 8px;
  cursor: crosshair;
  border-radius: 4px;
  margin: 0 2px;
}
.band:hover {
  background: rgba(255, 255, 255, 0.05);
}
.band.wired {
  box-shadow: inset 0 0 0 1.5px var(--gold);
  background: rgba(233, 162, 59, 0.08);
}
.band-label {
  width: 52px;
  font-size: 11.5px;
  color: #9a9aa5;
  font-variant-numeric: tabular-nums;
}
.band-label small {
  margin-left: 2px;
  font-size: 8.5px;
  opacity: 0.7;
}
.band.wired .band-label {
  color: #f3d8a8;
}
.band .meter {
  flex: 1;
  height: 13px;
}
.band .port.out {
  right: 1px;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
}

/* ---- visual pane -------------------------------------------------------- */
.viz-pane {
  background: #000;
  overflow: hidden;
}
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.signals {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}
.sig {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px #000;
}
.sig-name {
  width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sig-bar {
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.sig-bar i {
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.scene-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}
.scene-panel {
  position: absolute;
  top: 54px;
  right: 12px;
  z-index: 5;
  width: min(320px, calc(100% - 24px));
  max-height: calc(100% - 70px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 16, 19, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}
.scene-panel h2 {
  margin: 0 0 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.field {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
  font-size: 12.5px;
}
.field select,
.field input {
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f0f12;
  min-width: 0;
}
.look-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}
body.present .look-badge {
  display: none;
}
.panel-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.bind {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 4px 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #25252b;
  font-size: 12.5px;
}
.bind select {
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f0f12;
}
.bind input[type='range'] {
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 2px;
}
.colors {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #25252b;
  font-size: 12.5px;
  color: var(--muted);
}
.colors label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.colors input {
  width: 30px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: none;
  cursor: pointer;
}

.start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72));
  z-index: 4;
}
.start p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-shadow: 0 1px 4px #000;
}
.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 27px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(255, 59, 34, 0.16), 0 0 44px rgba(255, 59, 34, 0.55);
  transition: transform 0.15s;
}
.start-btn:hover {
  transform: scale(1.04);
}

.drop {
  position: absolute;
  inset: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gold);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 18px;
  pointer-events: none;
}

.exit-present {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
}
.modal-box {
  width: min(420px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #17171b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}
.modal-box h2 {
  margin: 0 0 6px;
  font-size: 15px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.progress {
  height: 6px;
  border-radius: 3px;
  background: #2c2c34;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
body.exporting #scene {
  object-fit: contain;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c1c21;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6);
}

/* ---- presentation mode: visual only ------------------------------------ */
body.present .topbar,
body.present .graph-pane,
body.present .scene-toggle,
body.present .scene-panel,
body.present .signals {
  display: none;
}
body.present .main {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
body.present .exit-present {
  display: inline-flex;
}
body.present .viz-pane:hover .exit-present,
body.present .exit-present:focus-visible {
  opacity: 1;
}
@media (hover: none) {
  body.present .exit-present {
    opacity: 0.55;
  }
}

/* ---- narrow screens: graph on top, visual below (as in the reference) --- */
@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 8px 10px;
  }
  .brand span {
    display: none;
  }
  .transport {
    order: 3;
    flex-basis: 100%;
  }
  .actions {
    flex: 1;
    min-width: 0;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .actions .btn {
    height: 32px;
    padding: 0 9px;
    font-size: 12.5px;
    flex: none;
  }
  .vol {
    display: none;
  }
  .main {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .graph-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hint {
    display: none;
  }
  .toolbar-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .start-btn,
  .btn {
    transition: none;
  }
}
