/* Más樂 Pocket (src/dj-station.js): the Music band as a retro cyberpunk dashboard, in the Más樂 desktop's own
   palette and type: Pirata One for the wordmark, Unbounded for display, JetBrains Mono for every readout, DSEG7 for
   the digits. Rob, 19 Nov 2026: rainbows are welcome here; "give the daw a retro cyberpunk dashboard vibe".
   Chromium 88 safe: no :is, :has, color-mix, container queries or backdrop-filter. */
@font-face { font-family: "Pirata One"; src: url("/fonts/pirata-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DSEG7 Classic"; src: url("/fonts/dseg7-classic-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* the whole band is the console */
#indigo .panel-grid { grid-template-columns: minmax(0, 1fr); }
#indigo .panel-head { max-width: 860px; }
#indigo .band-resident { max-width: 900px; }

.dj {
  --pulse: 0; --ground: #0c0b11; --surface: #15131d; --raised: #1e1b29; --line: #2d2940; --line2: #3a3552; --text: #eeeaf7; --dim: #a39db9; --faint: #6f6987;
  --mag: #ff2e97; --cyan: #5cd6e6; --yel: #ffe14d; --grn: #4fd98d; --red: #ff5a5f;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace; --disp: "Unbounded", "Arial Black", system-ui, sans-serif;
  position: relative; margin: 0 0 30px; padding: 20px 20px 14px; color: var(--text); font-family: var(--mono);
  background:
    radial-gradient(1200px 260px at 8% -10%, rgba(255, 46, 151, .14), transparent 60%),
    radial-gradient(900px 300px at 100% 0%, rgba(92, 214, 230, .10), transparent 60%),
    linear-gradient(rgba(123, 109, 255, .055) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(123, 109, 255, .055) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--ground);
  border: 1px solid var(--line);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  overflow: hidden;
}
.dj::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #ff5a5f, #ff9f43, #f5d04a, #4fd98d, #4aa8ff, #7b6dff, #c47dff); box-shadow: 0 0 calc(8px + var(--pulse) * 18px) rgba(255, 46, 151, .7); opacity: calc(.6 + var(--pulse) * .4); z-index: 2; }
.dj::after { content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; z-index: 3; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .028) 0, rgba(255, 255, 255, .028) 1px, transparent 1px, transparent 3px), radial-gradient(ellipse at center, transparent 62%, rgba(0, 0, 0, .38) 100%); }
.dj-fallback { margin: 0; color: var(--dim); font-size: 14px; }
.dj button, .dj select, .dj input { font: inherit; }
.dj-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* buttons: chamfered, neon edged, lit when pressed */
.dj button, .dj-export, .dj-ghost { --c: var(--line2); position: relative; min-height: 38px; padding: 6px 12px; border: 1px solid var(--c); border-radius: 0; background: #0f0d16; color: var(--text); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; cursor: pointer; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); transition: box-shadow .12s, background .12s, color .12s; }
.dj button:hover { background: #17141f; }
.dj button[aria-pressed="true"] { background: #1b1727; color: var(--c); border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c), inset 0 0 18px -6px var(--c); text-shadow: 0 0 8px var(--c); }
.dj button[disabled] { opacity: .28; cursor: default; }
.dj :focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* the top bar: wordmark, readouts, transport */
.dj-bar { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.dj-bar > * { margin: 4px 14px 4px 0; }
.dj-brand { display: flex; align-items: center; }
.dj-word { display: flex; align-items: center; margin-right: 12px; }
.dj-mas { font-family: "Pirata One", var(--disp); font-size: 46px; line-height: 1; color: var(--yel); -webkit-text-stroke: 1.2px var(--mag); text-shadow: 0 0 8px var(--mag), 0 0 24px var(--mag); }
.dj-yue { display: inline-grid; place-items: center; width: 40px; height: 44px; margin-left: 6px; background: #c3162c; border: 2px solid #ffd1d6; border-radius: 6px; box-shadow: 0 0 12px #ff3b4e, inset 0 0 8px #7a0716; }
.dj-yue svg { display: block; width: 30px; height: 30px; fill: #fff; filter: drop-shadow(0 0 3px #ffd1d6); }
.dj-brand-t { display: flex; flex-direction: column; }
.dj-kicker { font-family: var(--disp); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 10px rgba(92, 214, 230, .7); }
.dj-sub { margin-top: 3px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.dj-readouts { display: flex; flex-wrap: wrap; flex: 1 1 420px; }
.dj-ro { --c: var(--cyan); display: flex; flex-direction: column; justify-content: center; min-width: 78px; min-height: 46px; margin: 3px 6px 3px 0; padding: 5px 10px; background: #07060c; border: 1px solid var(--line); border-left: 2px solid var(--c); clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.dj-ro-k { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.dj-ro-v { position: relative; font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; text-shadow: 0 0 6px rgba(238, 234, 247, .35); }
.dj-ro-seg .dj-ro-v { font-family: "DSEG7 Classic", var(--mono); font-size: 17px; letter-spacing: .04em; }
.dj-seg-ghost { position: absolute; left: 0; top: 0; color: rgba(255, 225, 77, .08); text-shadow: none; }
.dj-seg-on { position: relative; color: var(--yel); text-shadow: 0 0 8px rgba(255, 225, 77, .75); }
.dj-ro-engine .dj-ro-v::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #f2b544; box-shadow: 0 0 6px #f2b544; vertical-align: 1px; }
.dj-ro-engine.on { --c: var(--grn); }
.dj-ro-engine.on .dj-ro-v::before { background: var(--grn); box-shadow: 0 0 10px var(--grn); }
.dj-ro-rec { --c: var(--red); }
.dj-ro-rec.on .dj-seg-on { color: var(--red); text-shadow: 0 0 10px var(--red); animation: dj-blink 1s steps(2) infinite; }
@keyframes dj-blink { 50% { opacity: .45; } }
.dj-transport { display: flex; flex-wrap: wrap; }
.dj-transport button { margin: 3px 0 3px 6px; min-height: 46px; padding: 8px 16px; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.dj-song { --c: var(--cyan); }
.dj-song::before { content: "▶"; margin-right: 8px; color: var(--cyan); }
.dj-song[aria-pressed="true"]::before { content: "■"; }
.dj-power { --c: var(--mag); color: var(--mag); }
.dj .dj-power[aria-pressed="true"] { background: var(--mag); color: #0c0b11; text-shadow: none; box-shadow: 0 0 22px -4px var(--mag); }
.dj-lede { margin: 0 0 12px; max-width: 60em; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }

/* the screen */
.dj-screen { position: relative; margin-bottom: 12px; padding: 3px; background: linear-gradient(90deg, rgba(255, 46, 151, .5), rgba(92, 214, 230, .5)); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.dj-scope { display: block; width: 100%; height: 120px; background: #050409; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }

/* panels with HUD corners */
.dj-panel { position: relative; min-width: 0; padding: 12px; background: linear-gradient(180deg, var(--surface), #100e17); border: 1px solid var(--line); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.dj-panel::before, .dj-panel::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; }
.dj-panel::before { right: 6px; top: 6px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); opacity: .7; }
.dj-panel::after { left: 6px; bottom: 6px; border-bottom: 2px solid var(--mag); border-left: 2px solid var(--mag); opacity: .7; }
.dj-desk { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 12px; }
.dj-deck-top { display: flex; align-items: center; margin-bottom: 10px; }
.dj-deck-name { --c: var(--cyan); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; margin-right: 10px; border: 2px solid var(--c); color: var(--c); font-family: var(--disp); font-size: 16px; text-shadow: 0 0 10px var(--c); box-shadow: inset 0 0 12px -4px var(--c), 0 0 12px -4px var(--c); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.dj-deck[data-deck="b"] .dj-deck-name { --c: var(--mag); }
.dj-deck-name-x { --c: var(--yel); }
.dj-deck-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.dj-vu { display: flex; flex: 0 0 auto; }
.dj-vu i { width: 6px; height: 14px; margin-left: 2px; background: #1d1a28; }
.dj-vu i.g { background: var(--grn); box-shadow: 0 0 6px var(--grn); }
.dj-vu i.y { background: var(--yel); box-shadow: 0 0 6px var(--yel); }
.dj-vu i.r { background: var(--red); box-shadow: 0 0 6px var(--red); }
.dj-deck-mid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.dj-wheel { --c: var(--cyan); flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; margin: 0 14px 10px 0; }
.dj-platter { display: block; width: 156px; height: 156px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line2), 0 0 calc(10px + var(--pulse) * 26px) -4px var(--c); }
.dj .dj-play { min-width: 124px; min-height: 48px; margin-top: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; --c: var(--cyan); }
.dj-deck[data-deck="b"] .dj-play { --c: var(--mag); }
.dj .dj-play[aria-pressed="true"] { background: var(--c); color: #0c0b11; text-shadow: none; }
.dj-side { flex: 1 1 240px; min-width: 0; }
.dj-riddims, .dj-stems { display: flex; flex-wrap: wrap; margin: 0 -3px 6px; }
.dj .dj-riddim, .dj .dj-stem { margin: 3px; padding: 5px 9px; font-size: 12px; }
.dj .dj-riddim[aria-pressed="true"] { background: var(--c); color: #0c0b11; text-shadow: none; font-weight: 700; box-shadow: 0 0 16px -4px var(--c); }
.dj .dj-stem { flex: 1 1 auto; min-width: 62px; }
.dj .dj-stem[aria-pressed="false"] { opacity: .55; border-style: dashed; }
.dj .dj-stem[disabled] { opacity: .16; border-style: dotted; }
.dj-row { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 4px; }
.dj-ctl-kit { flex: 1 1 100%; min-width: 0; margin: 0 0 6px; }
.dj-patpick { display: flex; }
.dj .dj-pat { min-width: 44px; margin-left: 4px; font-family: var(--disp); --c: var(--yel); }
.dj-ctl { display: flex; align-items: center; min-width: 0; margin: 6px 0 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.dj-ctl > span { flex: 0 0 74px; }
.dj-key, .dj-kit { flex: 1 1 auto; min-width: 0; min-height: 38px; padding: 4px 8px; border: 1px solid var(--line2); border-radius: 0; background: #07060c; color: var(--text); font-family: var(--mono); font-size: 13px; text-transform: none; letter-spacing: 0; }
.dj-key option, .dj-kit option { background: #07060c; color: var(--text); }
.dj-kit[disabled] { opacity: .4; }

/* faders */
.dj-range { flex: 1 1 auto; min-width: 0; height: 30px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dj-range::-webkit-slider-runnable-track { height: 6px; background: #241f33; box-shadow: inset 0 0 0 1px var(--line2); }
.dj-range::-moz-range-track { height: 6px; background: #241f33; }
.dj-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 26px; margin-top: -10px; background: linear-gradient(180deg, #f4f1ff, #a39db9); border: 1px solid #0c0b11; box-shadow: 0 0 10px rgba(92, 214, 230, .7); }
.dj-range::-moz-range-thumb { width: 12px; height: 24px; border-radius: 0; background: linear-gradient(180deg, #f4f1ff, #a39db9); border: 1px solid #0c0b11; box-shadow: 0 0 10px rgba(92, 214, 230, .7); }
.dj-bipolar::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--cyan), #241f33 46%, #241f33 54%, var(--mag)); }
.dj-bipolar::-moz-range-track { background: linear-gradient(90deg, var(--cyan), #241f33 46%, #241f33 54%, var(--mag)); }
.dj-cross { height: 36px; }
.dj-cross::-webkit-slider-runnable-track { height: 10px; background: linear-gradient(90deg, #ff5a5f, #ff9f43, #f5d04a, #4fd98d, #4aa8ff, #7b6dff, #c47dff); box-shadow: 0 0 12px rgba(255, 46, 151, .35); }
.dj-cross::-moz-range-track { height: 10px; background: linear-gradient(90deg, #ff5a5f, #ff9f43, #f5d04a, #4fd98d, #4aa8ff, #7b6dff, #c47dff); }
.dj-cross::-webkit-slider-thumb { width: 18px; height: 34px; margin-top: -12px; }
.dj-cross::-moz-range-thumb { width: 16px; height: 32px; }
.dj-leds { display: flex; margin-top: 10px; }
.dj-leds i { --c: #7b6dff; flex: 1 1 0; height: 6px; margin: 0 2px; background: var(--c); opacity: .16; }
.dj-leds i.on { opacity: 1; box-shadow: 0 0 10px var(--c); }

/* the mixer */
.dj-mixer { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; }
.dj-mixer > * { flex: 1 1 200px; margin: 4px 8px; }
.dj-mixer > .dj-deck-top { flex: 1 1 100%; margin: 0 0 6px; }
.dj-host { flex: 0 0 72px; width: 72px; height: 72px; background: url(/assets/band-cast/paradox-pixel-v1.png) 0 0 / 200% 200% no-repeat; image-rendering: pixelated; filter: drop-shadow(0 0 8px rgba(255, 46, 151, .55)); }
.dj-host[data-frame="1"] { background-position: 100% 0; }
.dj-host[data-frame="2"] { background-position: 0 100%; }
.dj-xy { position: relative; flex: 1 1 200px; height: 100px; border: 1px solid var(--line2); background: linear-gradient(rgba(92, 214, 230, .14) 1px, transparent 1px) 0 0 / 100% 20px, linear-gradient(90deg, rgba(255, 46, 151, .14) 1px, transparent 1px) 0 0 / 20px 100%, linear-gradient(135deg, rgba(92, 214, 230, .16), rgba(255, 46, 151, .2)), #07060c; touch-action: none; cursor: crosshair; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.dj-xy i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid var(--cyan); opacity: .4; pointer-events: none; transform: rotate(45deg); }
.dj-xy.on i { opacity: 1; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.dj-xf { flex: 1 1 100%; flex-direction: column; align-items: stretch; }
.dj-xf-ends { display: flex; justify-content: space-between; flex: 0 0 auto; }
.dj-xf-ends b { color: var(--text); font-family: var(--disp); font-size: 13px; }
.dj-xf .dj-range { flex: 0 0 36px; }

/* performance pads */
.dj-fx { display: flex; flex-wrap: wrap; margin: 12px -3px 0; }
.dj .dj-pad { flex: 1 1 0; min-width: 84px; min-height: 56px; margin: 3px; font-size: 13px; font-weight: 700; text-transform: uppercase; touch-action: none; user-select: none; -webkit-user-select: none; }
.dj .dj-pad::after { content: attr(data-key); position: absolute; right: 7px; top: 4px; font-size: 9px; color: var(--faint); }
.dj .dj-pad.on, .dj .dj-pad:active { background: var(--c); color: #0c0b11; box-shadow: 0 0 22px var(--c); text-shadow: none; }

/* the tabbed screens */
.dj-tabsbox { margin-top: 12px; padding-top: 6px; }
.dj-tabs { display: flex; flex-wrap: wrap; margin: 0 0 10px; border-bottom: 1px solid var(--line); }
.dj .dj-tab { margin: 0 6px -1px 0; padding: 8px 16px; border-color: transparent; background: none; font-family: var(--disp); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); clip-path: none; }
.dj .dj-tab::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--c); vertical-align: 1px; box-shadow: 0 0 6px var(--c); }
.dj .dj-tab[aria-selected="true"] { color: var(--text); border-bottom: 2px solid var(--c); background: linear-gradient(0deg, rgba(255, 255, 255, .05), transparent); }
.dj-view[hidden] { display: none; }
.dj-tools { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 8px; }
.dj-seg-group { display: flex; flex-wrap: wrap; margin: 0 14px 4px 0; }
.dj .dj-chip { margin: 2px 4px 2px 0; padding: 5px 10px; font-size: 11.5px; --c: var(--cyan); }
.dj .dj-op { --c: var(--yel); }
.dj .dj-keep { --c: var(--grn); color: var(--grn); }
.dj .dj-recsong { --c: var(--red); color: var(--red); }
.dj .dj-feel[data-v="1"] { --c: #7d8aa8; }
.dj .dj-feel[data-v="2"] { --c: var(--cyan); }
.dj .dj-feel[data-v="3"] { --c: var(--mag); }
.dj .dj-feel[data-v="4"] { --c: var(--yel); }
.dj-preview { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 10px; padding: 6px 10px; border: 1px dashed var(--yel); background: rgba(255, 225, 77, .06); }
.dj-preview[hidden] { display: none; }
.dj-preview-t { margin-right: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--yel); }
.dj-gridwrap { position: relative; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.dj-grid { position: relative; display: grid; grid-template-columns: 78px repeat(32, minmax(32px, 1fr)); grid-template-rows: auto repeat(9, 38px); grid-gap: 3px; min-width: 1200px; }
.dj-lane { display: flex; align-items: center; padding-right: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.dj-num { font-size: 10px; color: var(--faint); padding: 0 0 2px 2px; border-left: 1px solid var(--line2); }
.dj .dj-cell { --c: var(--cyan); min-width: 0; min-height: 36px; padding: 0; border-color: #241f33; background: #0b0a11; font-size: 13px; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.dj .dj-cell.dj-beat { background: #110f19; border-color: #2d2940; }
.dj .dj-cell.dj-bar2 { box-shadow: -3px 0 0 -1px var(--mag); }
.dj .dj-cell[data-v="1"] { background: #3a4560; border-color: #7d8aa8; }
.dj .dj-cell[data-v="2"] { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px -2px var(--cyan); }
.dj .dj-cell[data-v="3"] { background: var(--mag); border-color: var(--mag); box-shadow: 0 0 12px -2px var(--mag); }
.dj .dj-cell[data-v="4"] { background: var(--yel); border-color: var(--yel); color: #0c0b11; font-weight: 700; box-shadow: 0 0 10px -2px var(--yel); }
.dj .dj-cell[data-v="s"] { background: var(--c); border-color: var(--c); color: #0c0b11; font-size: 9.5px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.dj .dj-cell.dj-rev { background: linear-gradient(90deg, #0b0a11, var(--c)); color: var(--text); }
.dj .dj-cell[aria-pressed="false"] { text-shadow: none; }
.dj-playhead { position: absolute; grid-row: 1 / -1; top: 0; bottom: 0; left: 0; right: 0; pointer-events: none; background: rgba(255, 225, 77, .14); box-shadow: inset 2px 0 0 var(--yel), 0 0 18px rgba(255, 225, 77, .3); opacity: 0; }
.dj-lock, .dj-hint, .dj-credit { margin: 8px 0 0; font-size: 11.5px; color: var(--faint); }
.dj-lock:empty { display: none; }
.dj-hint a, .dj-credit a { color: var(--cyan); }

/* the playlist: sections across, lanes down, in the desktop's section colors */
.dj-plist { position: relative; display: grid; grid-template-rows: repeat(6, auto); grid-gap: 3px; min-width: 760px; }
.dj .dj-pcell { --c: #4aa8ff; min-width: 0; min-height: 38px; padding: 4px 6px; border-color: #241f33; background: #0b0a11; font-size: 11.5px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; clip-path: none; }
.dj .dj-pcell-name { background: var(--c); border-color: var(--c); color: #0c0b11; font-family: var(--disp); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: none; text-shadow: none; }
.dj .dj-pcell-name[aria-pressed="true"] { background: var(--c); color: #0c0b11; box-shadow: 0 0 0 2px #fff, 0 0 18px var(--c); text-shadow: none; }
.dj .dj-pcell-a, .dj .dj-pcell-b { font-family: var(--disp); font-size: 13px; color: var(--c); border-color: var(--c); }
.dj .dj-pcell.dj-off { color: var(--faint); border-color: #241f33; }
.dj .dj-pcell.dj-sel { border-bottom: 2px solid var(--c); }
.dj-phead { position: absolute; grid-row: 1 / -1; top: 0; bottom: 0; width: 2px; margin-left: -1px; pointer-events: none; background: var(--yel); box-shadow: 0 0 10px var(--yel); opacity: 0; }
.dj-songlen { margin-left: auto; font-size: 11.5px; letter-spacing: .08em; color: var(--dim); }
.dj-edit .dj-ctl { flex: 1 1 170px; margin: 4px 14px 4px 0; }

/* the banks */
.dj-kits { margin-bottom: 4px; }
.dj-kitrow { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.dj-kitrow > .dj-lane { flex: 0 0 78px; }
.dj .dj-kitchip[aria-pressed="true"] { background: var(--c); color: #0c0b11; text-shadow: none; font-weight: 700; }
.dj-credit { margin: 4px 0 10px; }
.dj .dj-revtoggle { --c: var(--mag); }
.dj-padgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 6px; }
.dj .dj-spad { min-height: 64px; padding: 8px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; touch-action: none; user-select: none; -webkit-user-select: none; border-color: var(--c); background: linear-gradient(160deg, #15121f, #0b0a11); }
.dj .dj-spad kbd { position: absolute; right: 8px; bottom: 6px; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.dj .dj-spad.dj-brush { box-shadow: inset 0 0 0 1px var(--c), inset 0 0 22px -8px var(--c); color: var(--c); }
.dj .dj-spad.on, .dj .dj-spad:active { background: var(--c); color: #0c0b11; box-shadow: 0 0 24px var(--c); }

/* the take */
.dj-take { display: flex; flex-wrap: wrap; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dj-take > * { margin: 4px 10px 4px 0; }
.dj .dj-rec { --c: var(--red); min-width: 96px; min-height: 46px; color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.dj .dj-rec::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.dj .dj-rec[aria-pressed="true"] { background: var(--red); color: #0c0b11; text-shadow: none; }
.dj .dj-rec[aria-pressed="true"]::before { background: #0c0b11; border-radius: 0; box-shadow: none; }
.dj-clock { min-width: 3.2em; font-family: "DSEG7 Classic", var(--mono); font-size: 20px; color: var(--yel); text-shadow: 0 0 8px rgba(255, 225, 77, .6); }
.dj-ghost, .dj-export { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; text-decoration: none; font-size: 13px; text-transform: uppercase; }
.dj-export { --c: var(--grn); border-color: var(--grn); background: var(--grn); color: #0c0b11; font-weight: 700; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.dj-export.dj-small { background: #0f0d16; color: var(--grn); font-weight: 400; }
.dj-note { min-height: 1.5em; margin: 8px 0 0; font-size: 12.5px; color: var(--cyan); }
.dj-note:not(:empty)::before { content: "> "; color: var(--mag); }
.dj[data-on="false"] .dj-desk, .dj[data-on="false"] .dj-fx { opacity: .78; }

@media (min-width: 760px) {
  .dj-desk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dj-mixer { grid-column: 1 / -1; order: 3; }
}
@media (min-width: 1240px) {
  .dj-desk { grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); }
  .dj-mixer { grid-column: auto; order: 0; flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .dj-mixer > * { flex: 0 0 auto; margin: 5px 0; }
  .dj-host { align-self: center; }
  .dj-xy { flex: 0 0 100px; }
  .dj-padgrid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .dj { padding: 16px 10px 10px; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
  .dj-mas { font-size: 38px; }
  .dj-platter { width: 104px; height: 104px; }
  .dj .dj-play { min-width: 100px; }
  .dj .dj-pad { min-width: 70px; }
  .dj-ro { min-width: 70px; }
  .dj-padgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dj-deck-mid { flex-wrap: wrap; }
  .dj-wheel { margin: 0 auto 10px; }
}
@media (prefers-reduced-motion: reduce) { .dj-ro-rec.on .dj-seg-on { animation: none; } .dj::before { box-shadow: none; } }
/* Power on and the rest of the band joins in. */
#indigo[data-dj-live="true"] .panel-head h2, #indigo[data-dj-live="true"] .grp > h3 { display: inline-block; background: linear-gradient(90deg, #ff5a5f, #ff9f43, #f5d04a, #4fd98d, #4aa8ff, #7b6dff, #c47dff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
