/* Pocket Groove PG-16 — cream chassis, rubber keys, glowing glass. */
:root {
  --ink: #2b2923;
  --silk: #5a564b;
  --chassis-hi: #ece8dd;
  --chassis: #dcd7ca;
  --chassis-lo: #c9c4b5;
  --key: #35363c;
  --key-hi: #45464d;
  --key-dim: #2a2b30;
  --key-edge: #17181b;
  --accent: #ff5c39;
  --amber: #ffb624;
  --mono: 'Share Tech Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --cond: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  font-family: var(--cond);
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 50% 8%, #33343c 0%, rgba(51, 52, 60, 0) 70%),
    radial-gradient(circle at 50% 120%, #08080a 0%, #131316 60%);
  background-color: #131316;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  overflow-x: hidden;
}
body.dragging, body.dragging * { cursor: ns-resize !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #2d7dff; outline-offset: 2px; }

.stage { min-height: 100vh; display: grid; place-items: center; padding: clamp(10px, 2.4vw, 36px) clamp(10px, 3.4vw, 56px); }

/* ---------- chassis ---------- */
.unit {
  position: relative;
  width: min(1240px, 100%);
  padding: 18px 26px 16px;
  border-radius: 22px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .12 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--chassis-hi) 0%, var(--chassis) 38%, var(--chassis-lo) 100%);
  box-shadow:
    0 0 0 1px #0d0d0f,
    0 1px 0 1px rgba(255, 255, 255, .55) inset,
    0 -4px 0 rgba(0, 0, 0, .13) inset,
    0 40px 70px -24px rgba(0, 0, 0, .85),
    0 12px 24px -8px rgba(0, 0, 0, .55);
  animation: rise .9s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

.screw { position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7f4ec, #a9a498 60%, #7c7869);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .5), inset 0 -1px 1px rgba(0, 0, 0, .25); }
.screw::after { content: ''; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.5px; margin-top: -.75px; background: rgba(40, 38, 30, .65); transform: rotate(var(--r, 35deg)); }
.screw.tl { top: 9px; left: 9px; } .screw.tr { top: 9px; right: 9px; --r: -20deg; }
.screw.bl { bottom: 9px; left: 9px; --r: 70deg; } .screw.br { bottom: 9px; right: 9px; --r: 10deg; }

.cheek { display: none; position: absolute; top: 26px; bottom: 26px; width: 22px; border-radius: 10px;
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .0) 0 5px, rgba(0, 0, 0, .10) 5px 6px, rgba(255, 255, 255, .04) 6px 9px),
    linear-gradient(90deg, #5b3a24, #7c5233 45%, #4e3120);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), inset 0 2px 3px rgba(255, 220, 170, .18), 0 6px 14px rgba(0, 0, 0, .5); }
.cheek.l { left: -15px; } .cheek.r { right: -15px; }
@media (min-width: 1360px) { .cheek { display: block; } }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; gap: 18px; padding: 2px 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.logo i { border-radius: 3px; background: var(--key); }
.logo i:nth-child(1) { background: #ff5c39; } .logo i:nth-child(4) { background: #ffc233; }
h1 { font-size: 27px; font-weight: 600; letter-spacing: .2em; line-height: 1; color: var(--ink); }
h1 b { font-weight: 700; color: var(--accent); margin-left: .25em; }
.model { font: 600 12px var(--cond); letter-spacing: .22em; padding: 3px 8px 2px; border: 1.5px solid var(--silk); border-radius: 5px; color: var(--silk); }
.tagline { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .28em; color: var(--silk); }
.pwr { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--silk); }
.pled { width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; box-shadow: 0 0 8px 1px #ff8a3d, inset 0 -1px 1px rgba(0, 0, 0, .3); }

/* ---------- deck: screen + controls ---------- */
.deck { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; margin-top: 14px; }

.screen {
  position: relative; min-height: 236px; border-radius: 13px; overflow: hidden;
  background:
    linear-gradient(rgba(63, 224, 208, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(63, 224, 208, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(ellipse at 50% 42%, #10232a 0%, #0a1418 55%, #05090b 100%);
  box-shadow: 0 0 0 3px #0e0f11, 0 0 0 5px #b3ae9f, 0 0 0 6px rgba(0, 0, 0, .35), inset 0 0 50px rgba(0, 0, 0, .85), inset 0 2px 0 rgba(255, 255, 255, .06);
}
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.glass { position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(155deg, rgba(255, 255, 255, .07) 0%, transparent 28%); }
.scr-tl, .scr-tr, .scr-readout, .scr-prompt { position: absolute; font-family: var(--mono); pointer-events: none; text-shadow: 0 0 8px currentColor; }
.scr-tl { top: 11px; left: 15px; display: flex; gap: 12px; font-size: 13px; letter-spacing: .16em; color: #3fe0d0; }
.scr-tl .dim { color: #23786f; }
.scr-tr { top: 9px; right: 15px; display: flex; align-items: baseline; gap: 5px; color: #ffb624; font-size: 21px; letter-spacing: .06em; }
.scr-tr small { font-size: 11px; letter-spacing: .14em; color: #a2731a; }
.scr-tr .sep { color: #5d4410; margin: 0 4px; font-size: 16px; }
.scr-readout { top: 12px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .2em; color: #e8fbf8; opacity: 0; transition: opacity .35s; padding: 0 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-readout.on { opacity: 1; transition: opacity .06s; }
.scr-prompt { left: 0; right: 0; top: 19%; text-align: center; font-size: 15px; letter-spacing: .28em; color: #e8fbf8; animation: breathe 2.4s ease-in-out infinite; transition: opacity .4s; }
.scr-prompt kbd { font: inherit; border: 1px solid rgba(232, 251, 248, .55); border-radius: 4px; padding: 1px 6px; margin: 0 2px; }
.scr-prompt .tri { display: inline-block; width: 0; height: 0; border-left: 10px solid #ff5c39; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin: 0 4px 0 2px; vertical-align: -1px; }
body.playing .scr-prompt { opacity: 0; animation: none; }
@keyframes breathe { 0%, 100% { opacity: .95; } 50% { opacity: .35; } }

.controls { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-width: 0; }

/* transport */
.transport { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 42px; padding: 8px 12px; border: 0; border-radius: 11px; cursor: pointer;
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .16em; color: #f1eee6;
  background: linear-gradient(180deg, var(--key-hi), var(--key));
  box-shadow: 0 4px 0 var(--key-edge), 0 8px 12px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: transform .06s, box-shadow .06s, filter .15s;
  touch-action: manipulation;
}
.btn:hover { filter: brightness(1.1); }
.btn:active, .btn.hit-now { transform: translateY(4px); box-shadow: 0 0 0 var(--key-edge), 0 2px 4px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
.btn:disabled { opacity: .5; cursor: default; filter: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn.play { min-height: 62px; font-size: 22px; padding-left: 34px; }
.btn.play .led { position: absolute; left: 13px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #4a2a22; box-shadow: inset 0 1px 2px #000; transition: background .1s, box-shadow .1s; }
body.playing .btn.play .led { background: #ff7a3a; box-shadow: 0 0 10px 2px #ff7a3a; }
.btn.play .i-stop, .btn.play .t-stop { display: none; }
body.playing .btn.play .i-stop, body.playing .btn.play .t-stop { display: inline; }
body.playing .btn.play .i-play, body.playing .btn.play .t-play { display: none; }
.btn.play .i-play { fill: #ff7a3a; } .btn.play .i-stop { fill: #ff7a3a; }
.btn.mutate { min-height: 62px; font-size: 22px; color: #2a1900; background: linear-gradient(180deg, #ffd35e, #ffab1a); box-shadow: 0 4px 0 #9b6200, 0 8px 12px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.mutate:active { box-shadow: 0 0 0 #9b6200, 0 2px 4px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn.mutate svg { fill: #2a1900; width: 24px; height: 24px; }
.btn.mutate.hit svg { animation: dice .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes dice { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(200deg) scale(1.25); } 100% { transform: rotate(360deg) scale(1); } }
.mini { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, .62fr) 1.25fr; gap: 10px; }
.btn.small { min-height: 34px; font-size: 13px; letter-spacing: .14em; padding: 6px 8px; border-radius: 9px; background: linear-gradient(180deg, #55565d, #3f4046); box-shadow: 0 3px 0 var(--key-edge), 0 6px 9px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn.small:active { transform: translateY(3px); box-shadow: 0 0 0 var(--key-edge), 0 1px 3px rgba(0, 0, 0, .4); }
.btn.small svg { width: 15px; height: 15px; fill: none; }
.btn.share { color: #74ece0; }

/* global knobs */
.knob-bank { display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; padding: 12px 6px 8px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .04)); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .22), 0 1px 0 rgba(255, 255, 255, .5); }

/* ---------- knobs ---------- */
.knob { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.dial { position: relative; cursor: grab; touch-action: none; border-radius: 50%; outline-offset: 1px; }
.dial.active { cursor: ns-resize; }
.knob.lg .dial { width: 74px; height: 74px; }
.knob.sm .dial { width: 46px; height: 46px; }
.dial svg { width: 100%; height: 100%; display: block; overflow: visible; }
.kticks line { stroke: #6e6a5e; stroke-width: 1.3; stroke-linecap: round; }
.ktrk { fill: none; stroke: rgba(0, 0, 0, .16); stroke-width: 3.4; stroke-linecap: round; }
.kval { fill: none; stroke: var(--kc); stroke-width: 3.4; stroke-linecap: round; filter: drop-shadow(0 0 2.5px var(--kc)); }
.kknurl line { stroke: rgba(255, 255, 255, .2); stroke-width: 1.4; }
.kind { stroke: var(--kc); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 1.5px var(--kc)); }
.dial.active .kcap, .dial:hover .kcap { filter: brightness(1.15); }
.klabel { font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--silk); line-height: 1.1; white-space: nowrap; }
.knob.sm .klabel { font-size: 10.5px; letter-spacing: .12em; }
.klabel.val { color: #0d0d0f; font-family: var(--mono); font-weight: 400; letter-spacing: .04em; }

/* ---------- sequencer ---------- */
.seq { margin-top: 20px; padding: 8px 16px 6px; border-radius: 15px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .13), rgba(0, 0, 0, .06));
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, .28), 0 1px 0 rgba(255, 255, 255, .5); }
.track { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 20px; align-items: center; padding: 8px 0; }
.track + .track { border-top: 1px solid rgba(0, 0, 0, .13); box-shadow: 0 -1px 0 rgba(255, 255, 255, .35); }
.track.stepnums { padding: 0 0 2px; border-top: 0; box-shadow: none; }
.track.stepnums + .track { border-top: 0; box-shadow: none; }
.thead-sp { font-size: 10.5px; font-weight: 700; letter-spacing: .28em; color: var(--silk); opacity: .7; padding-left: 4px; }
.snum { text-align: center; font-family: var(--mono); font-size: 11px; color: #736f62; padding: 2px 0; border-radius: 3px; transition: color .05s, background .05s; }
.snum.beat { color: #2b2923; font-weight: 700; }
.snum.now { background: #1a1b1e; color: #fff; }

.thead { display: grid; grid-template-columns: 100px 52px 52px; gap: 8px; align-items: center; }
.tid { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.tname { border: 0; cursor: pointer; font-weight: 700; font-size: 15px; letter-spacing: .18em; padding: 6px 12px 5px; border-radius: 6px; color: #1a1a1c;
  background: linear-gradient(180deg, var(--c-hi), var(--c)); touch-action: manipulation;
  box-shadow: 0 3px 0 var(--c-lo), 0 5px 8px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .05s, box-shadow .05s; }
.tname:active { transform: translateY(3px); box-shadow: 0 0 0 var(--c-lo), 0 1px 2px rgba(0, 0, 0, .3); }
.mute { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: 0; border-radius: 6px; padding: 4px 10px 3px 8px; min-height: 26px;
  font-weight: 700; font-size: 11.5px; letter-spacing: .16em; color: #dedbd2; touch-action: manipulation;
  background: linear-gradient(180deg, #4b4c53, #35363b); box-shadow: 0 2px 0 var(--key-edge), 0 4px 6px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .13); }
.mute:active { transform: translateY(2px); box-shadow: 0 0 0 var(--key-edge); }
.mled { width: 8px; height: 8px; border-radius: 50%; background: #3a1b1b; box-shadow: inset 0 1px 2px #000; transition: background .1s, box-shadow .1s; }
.mute[aria-pressed="true"] { color: #fff; }
.mute[aria-pressed="true"] .mled { background: #ff3b30; box-shadow: 0 0 8px 2px #ff3b30; }

.pads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; min-width: 0; transition: opacity .2s, filter .2s; touch-action: pan-y; }
.grp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; min-width: 0; }
.cell { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.track.muted .pads { opacity: .38; filter: saturate(.25); }

.pad {
  position: relative; display: block; width: 100%; height: 46px; padding: 0; border: 0; border-radius: 8px; cursor: pointer;
  background: linear-gradient(180deg, var(--key-hi), var(--key));
  box-shadow: 0 4px 0 var(--key-edge), 0 7px 9px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .05s, box-shadow .05s, filter .08s;
  touch-action: pan-y; -webkit-tap-highlight-color: transparent;
}
.grp.g1 .pad[data-v="0"], .grp.g3 .pad[data-v="0"] { background: linear-gradient(180deg, #3b3c42, #2b2c31); }
.pad:hover { filter: brightness(1.18); }
.pad[data-v="1"], .pad[data-v="2"] {
  background: linear-gradient(180deg, var(--c-hi), var(--c) 70%);
  box-shadow: 0 4px 0 var(--c-lo), 0 0 16px 1px var(--c), 0 7px 9px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.pad[data-v="2"] { filter: brightness(1.12) saturate(1.1); }
.pad[data-v="2"]::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(255, 255, 255, .9), 0 0 0 2px rgba(0, 0, 0, .18); }
.pad::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0); pointer-events: none; transition: background .05s; }
.pad.now { transform: translateY(3px); box-shadow: 0 1px 0 var(--key-edge), 0 3px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .15); }
.pad.now::before { background: rgba(255, 255, 255, .34); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.pad[data-v="1"].now, .pad[data-v="2"].now { box-shadow: 0 1px 0 var(--c-lo), 0 0 22px 4px var(--c), inset 0 1px 0 rgba(255, 255, 255, .6); filter: brightness(1.35); }
.pad:active { transform: translateY(3px); }
.pad.mut { animation: mut .75s ease-out; }
@keyframes mut { 0% { transform: translateY(-4px) scale(1.16); filter: brightness(2.6); } 100% { transform: none; } }
.booting .pad { animation: boot .75s calc(var(--i) * 55ms + 250ms) ease-out; }
@keyframes boot { 0% { filter: brightness(3); transform: translateY(3px); } 100% { filter: none; transform: none; } }

/* bass pitch lane */
.pitch { position: relative; height: 40px; border-radius: 7px; overflow: hidden; cursor: ns-resize; touch-action: none;
  background: #212226; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .75), 0 1px 0 rgba(255, 255, 255, .45); transition: opacity .15s; }
.pitch::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .55) 0 1px, transparent 1px 5px); }
.pfill { position: absolute; left: 0; right: 0; bottom: 0; height: calc((var(--d, 0) + 1) / 8 * 100%);
  background: linear-gradient(180deg, var(--c-hi), var(--c)); box-shadow: 0 0 12px var(--c); transition: height .06s; }
.pname { position: absolute; top: 3px; left: 0; right: 0; text-align: center; font: 400 10.5px var(--mono); color: #fff; z-index: 2; text-shadow: 0 1px 2px #000, 0 0 4px #000; pointer-events: none; }
.cell[data-on="0"] .pitch { opacity: .38; }
.pitch:focus-visible { outline-offset: 0; }

/* legend */
.legend { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; margin-top: 14px; padding: 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--silk); }
.legend kbd { font: 600 11px var(--cond); letter-spacing: .1em; padding: 1px 6px 0; margin-right: 2px; border-radius: 4px; color: #ece8dd; background: #3b3c42; box-shadow: 0 1px 0 #111; }

/* link fallback shown when the clipboard is blocked */
.linkbox { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 5; }
.linkbox[hidden] { display: none; }
.linkbox input { flex: 1; min-width: 0; font: 13px var(--mono); color: #e8fbf8; background: rgba(4, 12, 14, .92); border: 1px solid #3fe0d0; border-radius: 8px; padding: 8px 10px; -webkit-user-select: text; user-select: text; }
.touchonly { display: none; }
@media (hover: none) { .kbonly { display: none; } .touchonly { display: inline; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .track { grid-template-columns: 224px minmax(0, 1fr); gap: 12px; }
  .pads { gap: 10px; } .grp { gap: 5px; }
  .tagline { display: none; }
}
@media (max-width: 960px) {
  .unit { padding: 14px 14px 14px; border-radius: 18px; }
  .topbar { padding: 0 8px; } .pwr { margin-left: auto; }
  h1 { font-size: 22px; }
  .deck { display: flex; flex-direction: column; gap: 14px; }
  .controls { display: contents; }
  .screen { order: 1; min-height: 0; height: clamp(170px, 46vw, 300px); }
  .transport { order: 2; }
  .knob-bank { order: 3; }
  .seq { padding: 4px 10px; }
  .track { grid-template-columns: 1fr; gap: 9px; padding: 11px 0; }
  .track.stepnums { display: none; }
  .thead { grid-template-columns: 1fr auto auto; gap: 14px; }
  .tid { flex-direction: row; align-items: center; gap: 10px; }
  .pads { grid-template-columns: repeat(2, 1fr); gap: 10px 12px; }
  .grp { gap: 5px; }
  .pad { height: 44px; }
  .pitch { height: 44px; }
  .knob.sm .dial { width: 50px; height: 50px; }
  .legend { font-size: 12px; gap: 6px 14px; }
}
@media (max-width: 520px) {
  .stage { padding: 8px; }
  .unit { padding: 12px 10px 12px; }
  .screw { display: none; }
  .brand { gap: 9px; } .logo { width: 22px; height: 22px; }
  h1 { font-size: 19px; letter-spacing: .16em; }
  .model { display: none; }
  .scr-readout { padding: 0 8px; top: auto; bottom: 9px; font-size: 12px; }
  .scr-tl { font-size: 11px; } .scr-tr { font-size: 17px; }
  .scr-prompt { font-size: 12px; letter-spacing: .2em; top: 20%; }
  .transport { gap: 10px; }
  .btn.play, .btn.mutate { min-height: 58px; font-size: 20px; }
  .btn.play { padding-left: 30px; }
  .mini { gap: 8px; grid-template-columns: repeat(3, .7fr) 1.3fr; }
  .btn.small { font-size: 12px; letter-spacing: .08em; padding: 6px 4px; }
  .knob-bank { padding: 10px 2px 6px; }
  .knob.lg .dial { width: 62px; height: 62px; }
  .klabel { font-size: 11px; letter-spacing: .1em; }
  .thead { gap: 10px; }
  .tname { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .unit, .booting .pad, .pad.mut, .btn.mutate.hit svg, .scr-prompt { animation: none; }
}
