/* DJ practice decks.
   The page around the console keeps the site's Spotify-style shell (black canvas, #121212, Inter, pills).
   Inside the console Aaron asked for a rekordbox feel: dense dark panels, small caps labels,
   RGB waveforms and the functional colours DJs already read on the hardware:
   green play, orange cue and loops, blue sync, red bar lines and clip. */
.dj-page {
  --c0: #000; --c1: #121212; --c2: #1f1f1f; --c3: #333;
  --mist: #767676; --cloud: #b3b3b3; --white: #fff;
  --rb-bg: #0b0b0b; --rb-panel: #161616; --rb-raise: #222; --rb-line: #2b2b2b; --rb-text: #d8d8d8; --rb-dim: #8a8a8a;
  --play: #2ee86a; --cue: #ff9500; --loop: #ffb020; --sync: #3d9df3; --red: #ff3b30;
  --dj-font: Inter, "IBM Plex Sans", "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.dj-page main.dj { max-width: none; margin: 0; padding: 24px clamp(12px, 2vw, 24px) 48px; }
.dj * { box-sizing: border-box; }
.dj [hidden] { display: none !important; }
.dj h1.dj-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 0 0 4px; }
.dj h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.dj-sub { color: var(--cloud); margin: 0; max-width: 760px; }
.dj-top { margin-bottom: 16px; }
.dj button { font-family: var(--dj-font); }
.dj :focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ---------- console shell ---------- */
.rb { background: var(--rb-bg); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 6px; color: var(--rb-text); font-size: 12px; box-shadow: 0 0 0 1px #1c1c1c; }
.rb-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 2px 2px 0; }
.rb .grow { flex: 1; }
.seg { display: inline-flex; background: var(--rb-panel); border-radius: 9999px; padding: 2px; }
.seg button { border: 0; background: none; color: var(--rb-dim); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 9999px; cursor: pointer; }
.seg button.on { background: var(--rb-raise); color: var(--white); }
.tgl { display: inline-flex; align-items: center; gap: 6px; background: var(--rb-panel); color: var(--rb-text); border: 0; border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; user-select: none; }
.tgl input { accent-color: var(--white); margin: 0; }
.tgl:hover { background: var(--rb-raise); }
.rec-top { display: flex; align-items: center; gap: 10px; }
.rec-time { text-align: right; line-height: 1.15; }
.rec-time span { display: block; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--white); }
.rec-time small { font-size: 10px; color: var(--rb-dim); }
.rec-time.good small { color: var(--play); }
.rec-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 9999px; padding: 8px 16px; background: var(--white); color: #000; font-weight: 700; font-size: 13px; cursor: pointer; }
.rec-btn i { width: 10px; height: 10px; border-radius: 9999px; background: var(--red); }
.rec-btn.on { background: var(--red); color: var(--white); }
.rec-btn.on i { background: var(--white); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.rec-out { background: var(--rb-panel); border-radius: 6px; padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; }
.rec-out > div:first-child { flex: 1 1 260px; color: var(--white); }
.rec-out audio { flex: 1 1 260px; height: 32px; }
.rec-out .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.dj .pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; border: 0; font: 700 12px/1.2 var(--dj-font); padding: 7px 14px; cursor: pointer; text-decoration: none; }
.dj .pill.white { background: var(--white); color: #000; }
.dj .pill.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

/* small square-ish hardware buttons */
.mini { border: 0; background: var(--rb-raise); color: var(--rb-text); font: 700 11px/1 var(--dj-font); height: 24px; min-width: 26px; padding: 0 7px; border-radius: 4px; cursor: pointer; letter-spacing: .02em; }
.mini:hover { background: #2d2d2d; color: var(--white); }
.mini.on { background: var(--loop); color: #000; }
.dj select { background: var(--rb-raise); color: var(--rb-text); border: 0; border-radius: 4px; font: 600 11px var(--dj-font); height: 24px; padding: 0 4px; width: auto; min-height: 0; }

/* ---------- FX bar ---------- */
.fxbar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fx { background: var(--rb-panel); border-radius: 6px; padding: 4px 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 46px; }
.fx-name { font-size: 11px; font-weight: 800; color: var(--rb-dim); letter-spacing: .06em; }
.fx select { height: 26px; font-size: 12px; min-width: 96px; }
.fx-beat { display: flex; align-items: center; gap: 2px; }
.fx-beat span { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--white); }
.fx-assign { display: flex; gap: 2px; }
.fx-assign .mini.on { background: var(--white); color: #000; }
.fx .knob { flex-direction: row; gap: 6px; margin-left: auto; }
.fx .knob .knob-dial { width: 30px; height: 30px; }
.fx .knob .knob-dial svg { width: 36px; height: 36px; }
.fx-on { border: 0; height: 30px; min-width: 46px; border-radius: 4px; background: var(--rb-raise); color: var(--rb-dim); font: 800 12px var(--dj-font); cursor: pointer; }
.fx.active .fx-on { background: var(--red); color: var(--white); }
@media (max-width: 1100px) { .fxbar { grid-template-columns: 1fr; } }

/* ---------- stacked waveforms ---------- */
.dj-waves { background: #000; border-radius: 6px; padding: 4px; }
.wave-row { display: flex; align-items: stretch; gap: 4px; }
.wave-tag { width: 18px; flex: none; border-radius: 3px; background: var(--rb-panel); color: var(--rb-dim); font-weight: 800; font-size: 11px; display: grid; place-items: center; }
canvas.zoom { width: 100%; height: 96px; display: block; border-radius: 3px; background: #050505; cursor: grab; touch-action: none; }
.phase { display: flex; align-items: center; gap: 8px; padding: 3px 0 3px 22px; font-size: 10px; color: var(--rb-dim); }
.phase-track { position: relative; flex: 1; height: 4px; border-radius: 9999px; background: var(--rb-raise); }
.phase-track::after { content: ""; position: absolute; left: 50%; top: -3px; width: 1px; height: 10px; background: var(--rb-dim); }
#phase-dot { position: absolute; top: -3px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 9999px; background: var(--rb-dim); }
#phase-dot.locked { background: var(--play); }
.dj.training .phase { visibility: hidden; }

/* ---------- console grid ---------- */
.dj-console { display: grid; grid-template-columns: minmax(0,1fr) 236px minmax(0,1fr); gap: 6px; align-items: stretch; }
@media (max-width: 1200px) { .dj-console { grid-template-columns: 1fr 1fr; } .mixer { grid-column: 1 / -1; order: 3; } .mix-channels { max-width: 420px; margin: 0 auto; } }
@media (max-width: 760px) { .dj-console { grid-template-columns: 1fr; } }

/* ---------- deck ---------- */
.deck { background: var(--rb-panel); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 6px; position: relative; min-width: 0; }
.deck.dragover { box-shadow: inset 0 0 0 2px var(--white); }
.dk-head { display: flex; gap: 8px; align-items: center; min-width: 0; }
.dk-num { width: 20px; height: 44px; flex: none; border-radius: 3px; background: var(--rb-raise); color: var(--white); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.deck.playing .dk-num { background: var(--play); color: #000; }
.dk-art { width: 44px; height: 44px; flex: none; border-radius: 3px; background: var(--rb-raise); display: grid; place-items: center; font-weight: 800; font-size: 18px; color: var(--rb-dim); overflow: hidden; }
.dk-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-meta { min-width: 0; flex: 1; }
.dk-title { font-size: 14px; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-artist { font-size: 12px; color: var(--rb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-key { text-align: center; flex: none; min-width: 40px; line-height: 1.1; }
.dk-key b { display: block; font-size: 15px; font-weight: 800; color: var(--white); }
.dk-key small { font-size: 10px; color: var(--rb-dim); }
.dk-bpm { text-align: right; flex: none; min-width: 64px; line-height: 1.05; }
.dk-bpm b { display: block; font-size: 22px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.dk-bpm small { font-size: 11px; color: var(--rb-dim); font-variant-numeric: tabular-nums; }
.dj.training .bpm-num { visibility: hidden; }
canvas.overview { width: 100%; height: 40px; display: block; border-radius: 3px; background: #050505; cursor: pointer; }
.dk-times { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--rb-text); font-variant-numeric: tabular-nums; margin-top: -2px; gap: 6px; }
.deck.ending [data-r="rem"] { color: var(--red); font-weight: 700; animation: blink 1s steps(2) infinite; }
.dk-grid { display: flex; gap: 2px; }
.dk-grid .mini { height: 20px; font-size: 10px; min-width: 0; padding: 0 6px; background: transparent; box-shadow: inset 0 0 0 1px var(--rb-line); color: var(--rb-dim); }
.dk-grid .mini:hover { color: var(--white); }
.dk-body { display: grid; grid-template-columns: minmax(0,1fr) 46px; gap: 8px; flex: 1; }
.dk-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dk-row { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.dk-row .sep { width: 6px; }
.loops .mini.lp { min-width: 26px; }
.loops [data-a="in"].on, .loops [data-a="out"].on, .loops [data-a="reloop"].on { background: var(--loop); color: #000; }

.jog-wrap { display: none; justify-content: center; padding: 4px 0; }
.dj.platters .jog-wrap { display: flex; }
canvas.jog { width: min(100%, 210px); aspect-ratio: 1; display: block; border-radius: 50%; cursor: grab; touch-action: none; }
canvas.jog.touch { cursor: grabbing; }
.dj.platters canvas.zoom { height: 70px; }

.pads { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(32px, 1fr); gap: 3px; flex: 1; max-height: 190px; }
.dj.platters .pads { flex: none; grid-auto-rows: 32px; }
.pad { min-height: 32px; border: 0; border-radius: 4px; background: #1c1c1c; box-shadow: inset 0 0 0 1px var(--rb-line); color: var(--rb-dim); font: 700 11px var(--dj-font); cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 0 7px; font-variant-numeric: tabular-nums; }
.pad b { font-weight: 800; }
.pad span { font-size: 10px; font-weight: 600; }
.pad:hover { color: var(--white); }
.pad.set { background: var(--c); color: #000; box-shadow: none; }

.transport { gap: 6px; margin-top: auto; padding-top: 2px; }
.cue-btn, .play-btn { width: 48px; height: 48px; border-radius: 9999px; background: #121212; cursor: pointer; flex: none; display: grid; place-items: center; }
.cue-btn { border: 2px solid var(--cue); color: var(--cue); font: 800 12px var(--dj-font); }
.cue-btn.held { background: var(--cue); color: #000; }
.play-btn { border: 2px solid var(--play); color: var(--play); }
.play-btn svg { width: 20px; height: 20px; }
.deck.playing .play-btn { background: var(--play); color: #000; }
.jump { display: flex; align-items: center; gap: 2px; }
.jump select { height: 24px; }
.transport .spacer { flex: 1; }
.nudge { display: flex; align-items: center; gap: 2px; }
.nlbl { font-size: 9px; font-weight: 800; color: var(--rb-dim); letter-spacing: .06em; margin-right: 2px; }
.nudge button { width: 30px; height: 30px; border-radius: 4px; border: 0; background: var(--rb-raise); color: var(--white); font: 800 16px var(--dj-font); cursor: pointer; }
.nudge button:hover { background: #2d2d2d; }
.nudge button.held { background: var(--white); color: #000; }
.sync-btn { width: 46px; height: 30px; padding: 0; border-radius: 4px; border: 0; background: var(--rb-raise); color: var(--rb-dim); font: 800 11px var(--dj-font); cursor: pointer; letter-spacing: .04em; }
.sync-btn.on { background: var(--sync); color: var(--white); }
.dj.training .sync-btn { opacity: .3; }

/* tempo column */
.tempo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.t-end { font-size: 12px; color: var(--rb-dim); font-weight: 700; }
.tempo select { width: 46px; font-size: 10px; padding: 0 2px; }
.tempo .reset { font: 700 9px var(--dj-font); color: var(--rb-dim); background: none; border: 0; cursor: pointer; padding: 2px; border-radius: 3px; letter-spacing: .04em; }
.tempo .reset:hover { color: var(--white); background: var(--rb-raise); }

/* range inputs */
.dj input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; margin: 0; }
.dj input[type=range]::-webkit-slider-runnable-track { background: #2a2a2a; border-radius: 2px; }
.dj input[type=range]::-moz-range-track { background: #2a2a2a; border-radius: 2px; }
.dj input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; border: 0; border-radius: 3px; background: linear-gradient(#e8e8e8, #bdbdbd); box-shadow: 0 1px 4px rgba(0,0,0,.7), inset 0 0 0 1px rgba(0,0,0,.3); }
.dj input[type=range]::-moz-range-thumb { border: 0; border-radius: 3px; background: linear-gradient(#e8e8e8, #bdbdbd); }
.dj input.vfader, .dj input.tfader { writing-mode: vertical-lr; width: 30px; }
.dj input.vfader { direction: rtl; height: 140px; }
.dj input.tfader { flex: 1; min-height: 160px; }
.dj input.vfader::-webkit-slider-runnable-track, .dj input.tfader::-webkit-slider-runnable-track { width: 4px; height: 100%; }
.dj input.vfader::-moz-range-track, .dj input.tfader::-moz-range-track { width: 4px; height: 100%; }
.dj input.vfader::-webkit-slider-thumb, .dj input.tfader::-webkit-slider-thumb { width: 26px; height: 14px; margin-left: -11px; }
.dj input.vfader::-moz-range-thumb, .dj input.tfader::-moz-range-thumb { width: 26px; height: 14px; }
#xfader { width: 100%; height: 30px; }
#xfader::-webkit-slider-runnable-track { height: 4px; }
#xfader::-moz-range-track { height: 4px; }
#xfader::-webkit-slider-thumb { width: 14px; height: 26px; margin-top: -11px; }
#xfader::-moz-range-thumb { width: 14px; height: 26px; }

/* ---------- mixer ---------- */
.mixer { background: var(--rb-panel); border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; }
.mix-channels { padding: 8px 6px; display: grid; grid-template-columns: 1fr 48px 1fr; gap: 2px; }
.mix-ch, .mix-master { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mix-master { justify-content: flex-start; }
.mix-master .vu.master { margin-top: auto; }
.mix-master .clip { margin-bottom: 4px; }
.fader-wrap { display: flex; gap: 4px; align-items: center; margin-top: auto; }
canvas.vu { width: 6px; height: 140px; display: block; }
canvas.vu.master { width: 10px; height: 160px; }
.ch-label { font-size: 11px; font-weight: 800; color: var(--rb-dim); }
.clip { font-size: 10px; font-weight: 800; border-radius: 3px; padding: 1px 6px; color: var(--rb-dim); background: var(--rb-raise); }
.clip.hot { background: var(--red); color: var(--white); }
.xfade { padding: 6px 10px 8px; border-top: 1px solid var(--rb-line); }
.xfade-labels { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; color: var(--rb-dim); }

.knob { display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: ns-resize; touch-action: none; user-select: none; }
.knob-dial { width: 32px; height: 32px; border-radius: 9999px; background: radial-gradient(circle at 50% 40%, #3a3a3a, #1e1e1e 70%); position: relative; box-shadow: 0 1px 3px rgba(0,0,0,.8); }
.knob-dial i { position: absolute; left: 50%; top: 3px; width: 2px; height: 10px; margin-left: -1px; border-radius: 2px; background: var(--white); transform-origin: 50% 13px; }
.knob-dial svg { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); pointer-events: none; }
.knob-label { font-size: 9px; font-weight: 800; color: var(--rb-dim); letter-spacing: .05em; line-height: 1.2; }
.knob.kill .knob-label { color: var(--red); }

/* ---------- browser ---------- */
.browser { background: var(--rb-panel); border-radius: 6px; padding: 6px; }
.br-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.tabs { display: flex; gap: 2px; }
.tabs button { border: 0; background: none; color: var(--rb-dim); font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 4px; cursor: pointer; }
.tabs button.on { background: var(--rb-raise); color: var(--white); }
.tabs small { font-weight: 600; color: var(--rb-dim); }
.dj input.search { background: var(--rb-raise); color: var(--white); border: 0; border-radius: 9999px; font: 400 12px var(--dj-font); padding: 6px 12px; width: 220px; max-width: 100%; outline: none; min-height: 0; }
.dj input.search::placeholder { color: rgba(255,255,255,.4); }
.addbtn { background: var(--white); color: #000; border-radius: 9999px; font-weight: 700; font-size: 12px; padding: 6px 14px; cursor: pointer; }
.lib-empty { color: var(--rb-dim); padding: 18px 8px; font-size: 13px; max-width: 720px; }
.lib-scroll { max-height: 320px; overflow: auto; }
.dj table { width: 100%; border-collapse: collapse; }
.lib-table th { position: sticky; top: 0; background: var(--rb-panel); font-size: 10px; font-weight: 800; color: var(--rb-dim); text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--rb-line); letter-spacing: .05em; text-transform: uppercase; cursor: default; }
.lib-table th[data-sort] { cursor: pointer; }
.lib-table th.sorted { color: var(--white); }
.lib-table td { padding: 3px 6px; border: 0; vertical-align: middle; font-size: 12px; border-bottom: 1px solid #1c1c1c; }
.lib-table tr { cursor: default; }
.lib-table tr:hover td { background: #1d1d1d; }
.lib-table tr.sel td { background: #26324a; }
.lib-table td.art { width: 34px; padding: 2px 4px; }
.lib-table td.art img, .lib-table td.art span { width: 28px; height: 28px; border-radius: 2px; display: block; object-fit: cover; background: var(--rb-raise); }
.lib-table .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--rb-text); white-space: nowrap; }
.lib-table .key small { color: var(--rb-dim); }
.lib-table .key.fits { color: var(--play); font-weight: 700; }
.lib-table .key.fits small { color: var(--play); }
.lib-table .tname { color: var(--white); font-weight: 600; }
.lib-table .tfile { font-size: 11px; color: var(--rb-dim); }
.lib-table td.load { min-width: 150px; }
.lib-table .load .mini { margin-left: 3px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.lib-table .onair { font-size: 10px; color: var(--play); font-weight: 700; margin-right: 4px; }
.lib-table tr.loaded .tname { color: var(--play); }

/* ---------- notes under the console (site style) ---------- */
.dj-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
@media (max-width: 900px) { .dj-notes { grid-template-columns: 1fr; } }
.dj-notes .card { background: #000; border-radius: 8px; padding: 14px 16px; }
.dj-notes ul { margin: 0; padding-left: 18px; color: var(--cloud); }
.dj-notes li { margin-bottom: 6px; }
.dj-notes b { color: var(--white); font-weight: 600; }
.keys td, .keys th { font-size: 13px; padding: 3px 6px; border: 0; color: var(--cloud); text-transform: none; letter-spacing: 0; font-weight: 400; text-align: left; }
.keys th { color: var(--mist); }
.keys-note { color: var(--mist); font-size: 12px; margin: 8px 0 0; }
kbd { font: 700 11px var(--dj-font); background: var(--c2); color: var(--white); border-radius: 4px; padding: 2px 6px; }

.drop-hint { position: fixed; inset: 12px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--white); background: rgba(0,0,0,.7); display: none; place-items: center; font-size: 16px; font-weight: 700; z-index: 30; pointer-events: none; }
.drop-hint.show { display: grid; }
.dj-page .toast { border-radius: 9999px; font-weight: 700; padding: 10px 20px; }
.deck .busy { position: absolute; inset: 0; background: rgba(16,16,16,.88); border-radius: 6px; display: grid; place-items: center; color: var(--rb-text); font-weight: 700; z-index: 2; }

/* ---------- hardware views (our own drawings of common gear, wired to the same controls) ---------- */
.dj.hw canvas.zoom { height: 70px; }
.dj.hw .jog-wrap { display: flex; grid-area: jog; padding: 0; align-self: center; margin-top: 10px; }
.dj.hw .dk-body, .dj.hw .dk-main { display: contents; }
.dj.hw .deck, .dj.hw .mixer { background: linear-gradient(#1e1f21, #141516); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px #2b2c2e; border-radius: 12px; }
.dj.hw .deck { display: grid; column-gap: 10px; row-gap: 0; align-items: start; padding: 12px; }
/* the screen: head, overview and times read as one display */
.dj.hw .dk-head { grid-area: head; background: #050505; padding: 8px 8px 6px; border-radius: 6px 6px 0 0; }
.dj.hw canvas.overview { grid-area: ov; border-radius: 0; height: 36px; }
.dj.hw .dk-times { grid-area: times; background: #050505; padding: 6px 8px 8px; border-radius: 0 0 6px 6px; margin: 0; }
.dj.hw .pads { grid-area: pads; max-height: none; flex: none; margin-top: 10px; }
.dj.hw .loops { grid-area: loops; margin-top: 10px; }
.dj.hw .transport { grid-area: trans; margin-top: 10px; padding: 0; }
.dj.hw .tempo { grid-area: tempo; align-self: stretch; margin-top: 10px; }
.dj.hw .tempo input.tfader { min-height: 200px; }
.dj.hw .transport .spacer { display: none; }

/* club: two players with the screen on top, 8 hot cues under it, loops left, big jog, long tempo fader right */
.dj.hw-club .deck { grid-template-columns: 120px minmax(0,1fr) 54px; grid-template-rows: auto auto auto auto auto 1fr;
  grid-template-areas: "head head head" "ov ov ov" "times times times" "pads pads pads" "loops jog tempo" "trans jog tempo"; }
.dj.hw-club .pads { grid-template-columns: repeat(8, minmax(0,1fr)); grid-auto-rows: 30px; }
.dj.hw-club .pad { justify-content: center; padding: 0; }
.dj.hw-club .pad span { display: none; }
.dj.hw-club .loops { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3px; align-content: start; }
.dj.hw-club .loops .sep { display: none; }
.dj.hw-club .loops .mini { min-width: 0; padding: 0; font-size: 9px; }
.dj.hw-club .transport { flex-direction: column; align-items: flex-start; gap: 8px; align-self: end; }
.dj.hw-club .transport .jump { order: 1; }
.dj.hw-club .transport .nudge { order: 2; }
.dj.hw-club .transport .cue-btn { order: 3; }
.dj.hw-club .transport .play-btn { order: 4; }
.dj.hw-club .cue-btn, .dj.hw-club .play-btn { width: 62px; height: 62px; }
.dj.hw-club canvas.jog { width: min(100%, 290px); }

/* starter controller: one chassis, jogs outside the mixer, tempo faders on the outer edges, pads under the jogs */
.dj.hw-starter .dj-console { gap: 0; padding: 12px; border-radius: 16px; background: linear-gradient(#202123, #131415); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px #2c2d2f; }
.dj.hw-starter .deck, .dj.hw-starter .mixer { background: transparent; box-shadow: none; border-radius: 0; }
.dj.hw-starter .mixer { border-left: 1px solid #2b2c2e; border-right: 1px solid #2b2c2e; }
.dj.hw-starter #deckA { grid-template-columns: 50px 96px minmax(0,1fr); grid-template-rows: auto auto auto auto auto 1fr;
  grid-template-areas: "head head head" "ov ov ov" "times times times" "tempo jog jog" "tempo loops loops" "tempo trans pads"; }
.dj.hw-starter #deckB { grid-template-columns: 96px minmax(0,1fr) 50px; grid-template-rows: auto auto auto auto auto 1fr;
  grid-template-areas: "head head head" "ov ov ov" "times times times" "jog jog tempo" "loops loops tempo" "trans pads tempo"; }
.dj.hw-starter .pads { grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 44px; align-self: end; }
.dj.hw-starter .pad { flex-direction: column; justify-content: center; gap: 2px; padding: 0; }
.dj.hw-starter .loops { justify-content: center; }
.dj.hw-starter .transport { flex-direction: column; align-items: center; gap: 6px; align-self: end; }
.dj.hw-starter .transport .cue-btn { order: 1; }
.dj.hw-starter .transport .play-btn { order: 2; }
.dj.hw-starter .transport .jump { order: 3; }
.dj.hw-starter .transport .nudge { order: 4; }
.dj.hw-starter .cue-btn, .dj.hw-starter .play-btn { width: 56px; height: 56px; }
.dj.hw-starter .nlbl { display: none; }
.dj.hw-starter canvas.jog { width: min(100%, 300px); }
@media (max-width: 1200px) { .dj.hw-starter .mixer { border: 0; border-top: 1px solid #2b2c2e; padding-top: 6px; } }
.dj.hw-starter .loops { flex-wrap: nowrap; gap: 2px; }
.dj.hw-starter .loops .mini { padding: 0 5px; min-width: 22px; }
.dj.hw-starter .loops .sep { width: 2px; }
