/* VYBE Deck for the web: two decks, a mixer, FX, pads and a crate, over a live 3D world. */
.dj { position: fixed; inset: 0; z-index: 40; display: none; background: #04050A; color: var(--ink); overflow: hidden; user-select: none; -webkit-user-select: none; }
body.dj-on .dj { display: block; }
body.dj-on .shell, body.dj-on .amb { visibility: hidden; }
.dj #djWorld { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.dj::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 50% 40%, transparent, rgba(4,5,10,.75)); }
.dj-in { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 10px 14px 12px; animation: djIn .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes djIn { from { opacity: 0; transform: scale(.985); filter: blur(6px); } }
.dj .glass { background: linear-gradient(180deg, rgba(22,23,32,.82), rgba(12,13,19,.86)); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px rgba(0,0,0,.45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.dj button { font-family: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* top bar */
.dj-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.dj-top .l, .dj-top .r { display: flex; align-items: center; gap: 8px; }
.dj-top .r { justify-content: flex-end; }
.dj-title { font-weight: 800; letter-spacing: .32em; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.dj-title img { width: 24px; height: 24px; border-radius: 7px; }
.dj-pill { height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09) !important; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, box-shadow .3s, color .2s; }
.dj-pill:hover { background: rgba(255,255,255,.12); }
.dj-pill.on { background: #fff; color: #0B0B10; }
.dj-pill.rec.on { background: #FF4D5E; color: #fff; box-shadow: 0 0 24px rgba(255,77,94,.6); animation: recP 1.4s ease-in-out infinite; }
@keyframes recP { 50% { box-shadow: 0 0 6px rgba(255,77,94,.3); } }
.dj-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dj-master { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--dim); }

/* screens (LCD) */
.dj-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lcd { position: relative; padding: 12px 14px 10px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #0B0D16, #07080E); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 0 4px rgba(0,0,0,.35), inset 0 20px 40px rgba(255,255,255,.02), 0 14px 40px rgba(0,0,0,.4); }
.lcd::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.06), transparent 28%); }
.lcd .row1 { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.lcd .art { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: #151722; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.lcd .tt { min-width: 0; }
.lcd .tt b { display: block; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcd .tt small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcd .tags { display: flex; gap: 6px; margin-top: 5px; }
.lcd .tag { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.07); color: var(--muted); }
.lcd .tag.hot { color: #0B0B10; background: var(--dc); }
.lcd .clock { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.lcd .clock .el { font-size: 26px; font-weight: 700; letter-spacing: .02em; color: var(--dc); text-shadow: 0 0 18px color-mix(in srgb, var(--dc) 60%, transparent); line-height: 1; }
.lcd .clock .rm { font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.lcd .clock .rm.warn { color: #FF6B6B; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.lcd .ov { position: relative; height: 34px; margin-top: 10px; border-radius: 8px; background: rgba(255,255,255,.03); overflow: hidden; cursor: pointer; }
.lcd .ov canvas { width: 100%; height: 100%; display: block; }
.lcd .empty { color: var(--dim); font-size: 13px; padding: 16px 0 6px; }
.lcd.drop { outline: 2px dashed var(--dc); outline-offset: -4px; }

/* scrolling waveforms */
.dj-waves { position: relative; height: 112px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #07080E, #0A0B12); border: 1px solid rgba(255,255,255,.07); }
.dj-waves canvas { width: 100%; height: 100%; display: block; }
.dj-waves::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px #fff; }
.dj-waves .lab { position: absolute; left: 10px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--dim); z-index: 2; }

/* main stage: deck | mixer | deck */
.dj-main { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 10px; min-height: 0; }
.deck { position: relative; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto 1fr auto; gap: 10px; padding: 12px; min-height: 0; }
.deck.b { grid-template-columns: 1fr 54px; }
.deck .transport { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.deck.b .transport { flex-direction: row-reverse; }
.rb { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #2A2C38, #14151D); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 14px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.6);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; transition: transform .12s, box-shadow .25s, color .2s; }
.rb:active { transform: scale(.94); }
.rb svg { width: 18px; height: 18px; fill: currentColor; }
.rb.play.on { color: #0B0B10; background: radial-gradient(circle at 50% 30%, #fff, color-mix(in srgb, var(--dc) 70%, #fff)); box-shadow: 0 0 0 2px var(--dc), 0 0 26px color-mix(in srgb, var(--dc) 70%, transparent); }
.rb.cue.on { color: #FFB547; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 2px #FFB547, 0 0 18px rgba(255,181,71,.5); }
.rb.sync.on { color: var(--dc); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 2px var(--dc), 0 0 18px color-mix(in srgb, var(--dc) 50%, transparent); }
.rb.sm { width: 38px; height: 38px; font-size: 10px; }
.deck .spacer { flex: 1; }

/* platter: a 3D record */
.platter-wrap { position: relative; display: grid; place-items: center; perspective: 1000px; min-height: 0; }
.deck.b .platter-wrap { grid-column: 1; grid-row: 2; }
.platter { --sz: min(100%, 38vh, 330px); position: relative; width: var(--sz); aspect-ratio: 1; border-radius: 50%; transform: rotateX(16deg); transform-style: preserve-3d; cursor: grab; touch-action: none; }
.platter:active { cursor: grabbing; }
.platter .base { position: absolute; inset: -5%; border-radius: 50%; background: radial-gradient(circle, #1B1C24 60%, #0B0C11 70%); box-shadow: 0 30px 60px rgba(0,0,0,.7), inset 0 2px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(0,0,0,.8); transform: translateZ(-16px); }
.platter .ring { position: absolute; inset: -3.6%; border-radius: 50%; transform: translateZ(-8px);
  background: conic-gradient(var(--dc) calc(var(--pos, 0) * 1turn), rgba(255,255,255,.07) 0); -webkit-mask: radial-gradient(circle, transparent 68.5%, #000 69.5%); mask: radial-gradient(circle, transparent 68.5%, #000 69.5%);
  filter: drop-shadow(0 0 8px var(--dc)); }
.platter .strobe { position: absolute; inset: -1.6%; border-radius: 50%; transform: translateZ(-4px);
  background: repeating-conic-gradient(rgba(255,255,255,.55) 0 1.2deg, transparent 1.2deg 6deg); -webkit-mask: radial-gradient(circle, transparent 69.3%, #000 69.8%, #000 70.6%, transparent 71%); mask: radial-gradient(circle, transparent 69.3%, #000 69.8%, #000 70.6%, transparent 71%); opacity: .5; }
.platter .vinyl { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; will-change: transform;
  background: repeating-radial-gradient(circle, #0E0F14 0 2px, #16171E 2.5px 3px), #111; box-shadow: inset 0 0 0 2px rgba(255,255,255,.04), inset 0 0 40px rgba(0,0,0,.8); }
.platter .vinyl .label { position: absolute; inset: 22%; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 0 5px rgba(255,255,255,.06); }
.platter .vinyl .mark { position: absolute; left: 50%; top: 3%; width: 4px; height: 13%; margin-left: -2px; border-radius: 2px; background: var(--dc); box-shadow: 0 0 10px var(--dc); }
.platter .vinyl .hole { position: absolute; left: 50%; top: 50%; width: 5%; height: 5%; margin: -2.5%; border-radius: 50%; background: #05060A; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.platter .sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 210deg, transparent, rgba(255,255,255,.10) 8%, transparent 16%, transparent 50%, rgba(255,255,255,.07) 58%, transparent 66%); }
.platter .glow { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: 0 0 calc(10px + var(--lv, 0) * 50px) color-mix(in srgb, var(--dc) calc(20% + var(--lv, 0) * 60%), transparent); transform: translateZ(-6px); }
.platter.touch .vinyl { filter: brightness(1.15); }
.platter .hub { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; margin: -11%; border-radius: 50%; display: grid; place-items: center; transform: translateZ(10px);
  background: radial-gradient(circle at 50% 35%, #2A2C38, #0E0F15); box-shadow: 0 8px 20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); font-size: 11px; font-weight: 800; color: var(--dc); letter-spacing: .08em; text-align: center; line-height: 1.2; }
.platter .hub small { display: block; font-size: 8.5px; color: var(--dim); }

/* side column: tempo fader + keylock */
.side { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 0; }
.deck.b .side { grid-column: 2; grid-row: 2; }
.side .lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; color: var(--dim); }
.side .val { font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--dc); }
.vfader { position: relative; width: 36px; flex: 1; min-height: 120px; touch-action: none; cursor: ns-resize; }
.vfader .slot { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 6px; margin-left: -3px; border-radius: 3px; background: #050609; box-shadow: inset 0 1px 3px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06); }
.vfader .ticks { position: absolute; left: 0; right: 0; top: 6px; bottom: 6px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 1px, transparent 1px 10%); -webkit-mask: linear-gradient(90deg, #000 18%, transparent 18% 82%, #000 82%); mask: linear-gradient(90deg, #000 18%, transparent 18% 82%, #000 82%); }
.vfader .cap { position: absolute; left: 0; right: 0; height: 22px; margin-top: -11px; border-radius: 6px; background: linear-gradient(180deg, #F0F0F4, #9A9CA8 48%, #5B5D68 52%, #C9CAD2); box-shadow: 0 6px 12px rgba(0,0,0,.6), inset 0 1px 0 #fff; transition: top .05s; }
.vfader .cap::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: var(--dc, #fff); border-radius: 1px; box-shadow: 0 0 6px var(--dc, #fff); }
.vfader.center::before { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 1px; background: rgba(255,255,255,.4); }

/* pads */
.pads { grid-column: 1 / -1; }
.pad-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.pad-tabs button { flex: 1; height: 28px; border-radius: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--dim); background: rgba(255,255,255,.04); transition: all .2s; }
.pad-tabs button.on { color: #0B0B10; background: var(--dc); }
.pad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pad { height: 40px; border-radius: 10px; font-size: 11.5px; font-weight: 800; color: var(--muted); background: linear-gradient(180deg, #1B1D27, #12131A); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 3px 0 #07080C;
  transition: transform .08s, box-shadow .2s, background .2s, color .2s; }
.pad:active, .pad.hit { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 1px 0 #07080C; }
.pad.set { color: #0B0B10; background: linear-gradient(180deg, color-mix(in srgb, var(--pc, var(--dc)) 90%, #fff), var(--pc, var(--dc))); box-shadow: 0 3px 0 color-mix(in srgb, var(--pc, var(--dc)) 40%, #000), 0 0 18px color-mix(in srgb, var(--pc, var(--dc)) 45%, transparent); }
.pad.live { animation: padLive .5s ease-in-out infinite alternate; }
@keyframes padLive { to { filter: brightness(1.35); } }

/* mixer */
.mixer { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 12px; min-height: 0; }
.mix-ch { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 6px; }
.knobs { display: grid; gap: 8px; justify-items: center; }
.knob { position: relative; width: 46px; height: 46px; touch-action: none; cursor: ns-resize; }
.knob .arc { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 225deg, var(--kc, var(--dc)) 0 calc(var(--v) * 270deg), rgba(255,255,255,.08) 0 270deg, transparent 0); -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%); }
.knob .cap { position: absolute; inset: 7px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #3A3C48, #15161E); box-shadow: 0 4px 10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.15); transform: rotate(calc(-135deg + var(--v) * 270deg)); }
.knob .cap::after { content: ''; position: absolute; left: 50%; top: 4px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 2px; background: #fff; }
.knob-l { font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--dim); text-align: center; margin-top: 2px; }
.knob.kill .arc { --kc: #FF5A5F; }
.vu { display: flex; gap: 4px; justify-content: center; }
.vu .bar2 { width: 8px; height: 100%; min-height: 140px; border-radius: 3px; background: #050609; position: relative; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.9); }
.vu .bar2 i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--l, 0) * 100%); background: linear-gradient(0deg, #3FD1A0 0 60%, #FFD270 60% 82%, #FF5A5F 82%); background-size: 100% var(--h, 140px); background-position: bottom; transition: height .05s linear; }
.vu .bar2 i::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; top: 0; background: #fff; opacity: .7; }
.chf { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 6px; align-items: stretch; min-height: 0; }
.chf .vfader { width: 40px; margin: 0 auto; min-height: 100px; }
.mix-foot { display: grid; gap: 8px; }
.xf-wrap { display: flex; align-items: center; gap: 10px; }
.xf-wrap span { font-size: 11px; font-weight: 800; color: var(--dim); width: 14px; text-align: center; }
.hfader { position: relative; height: 40px; flex: 1; touch-action: none; cursor: ew-resize; }
.hfader .slot { position: absolute; top: 50%; left: 8px; right: 8px; height: 6px; margin-top: -3px; border-radius: 3px; background: #050609; box-shadow: inset 0 1px 3px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06); }
.hfader .ticks { position: absolute; left: 8px; right: 8px; top: 2px; bottom: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 1px, transparent 1px 10%); -webkit-mask: linear-gradient(180deg, #000 20%, transparent 20% 80%, #000 80%); mask: linear-gradient(180deg, #000 20%, transparent 20% 80%, #000 80%); }
.hfader .cap { position: absolute; top: 2px; bottom: 2px; width: 28px; margin-left: -14px; border-radius: 6px; background: linear-gradient(90deg, #F0F0F4, #9A9CA8 48%, #5B5D68 52%, #C9CAD2); box-shadow: 0 6px 12px rgba(0,0,0,.6), inset 0 1px 0 #fff; }
.hfader .cap::after { content: ''; position: absolute; top: 4px; bottom: 4px; left: 50%; width: 2px; margin-left: -1px; background: #fff; }
.fxu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fxb { height: 34px; border-radius: 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); background: linear-gradient(180deg, #1B1D27, #12131A); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 0 #07080C; transition: all .2s; }
.fxb.on { color: #0B0B10; background: linear-gradient(135deg, #8C7BFF, #E0389B); box-shadow: 0 0 20px rgba(224,56,155,.5); }
.fx-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.fx-target { display: flex; gap: 4px; }
.fx-target button { width: 30px; height: 26px; border-radius: 7px; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.05); color: var(--dim); }
.fx-target button.on { background: #fff; color: #0B0B10; }
.fx-lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; color: var(--dim); }

/* crate */
.crate { display: grid; grid-template-rows: auto 1fr; max-height: 34vh; min-height: 0; transition: max-height .5s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.crate.min { max-height: 52px; }
.crate-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; flex-wrap: wrap; }
.crate-h .search2 { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.07); min-width: 200px; }
.crate-h .search2 input { background: none; border: 0; outline: 0; color: inherit; font: inherit; font-size: 13px; width: 100%; }
.crate-h .search2 svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .6; }
.crate-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.crate-tabs button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.05); white-space: nowrap; transition: all .2s; }
.crate-tabs button.on { background: #fff; color: #0B0B10; }
.crate-list { overflow-y: auto; padding: 0 8px 8px; }
.crate-list::-webkit-scrollbar { width: 8px; } .crate-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }
.ct { display: grid; grid-template-columns: 40px minmax(0, 1fr) 70px 54px 50px 96px; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 10px; font-size: 13px; cursor: grab; transition: background .2s; }
.ct:hover { background: rgba(255,255,255,.06); }
.ct img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.ct b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ct small { color: var(--dim); font-size: 12px; }
.ct .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.ct .match { font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: rgba(63,209,160,.16); color: #3FD1A0; justify-self: start; }
.ct .ld { display: flex; gap: 6px; justify-content: flex-end; }
.ct .ld button { width: 40px; height: 30px; border-radius: 8px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.07); transition: all .2s; }
.ct .ld button:hover { background: var(--c); color: #0B0B10; }
.ct.on-a { box-shadow: inset 3px 0 0 var(--ca); } .ct.on-b { box-shadow: inset 3px 0 0 var(--cb); }
.dj-toast { position: absolute; left: 50%; top: 64px; transform: translate(-50%, -20px); opacity: 0; z-index: 9; padding: 10px 16px; border-radius: 12px; background: rgba(244,243,241,.95); color: #0B0B10; font-weight: 700; font-size: 13.5px; transition: all .4s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.dj-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .dj { overflow-y: auto; } .dj-in { height: auto; min-height: 100%; }
  .dj-main { grid-template-columns: 1fr 1fr; } .mixer { grid-column: 1 / -1; grid-row: 2; }
  .platter { --sz: min(100%, 300px); }
}
@media (max-width: 720px) {
  .dj-screens, .dj-main { grid-template-columns: 1fr; } .dj-top { grid-template-columns: auto 1fr; } .dj-top .mid { display: none; }
  .ct { grid-template-columns: 40px minmax(0, 1fr) 96px; } .ct .hm { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dj-in { animation: none; } .pad.live, .dj-pill.rec.on, .lcd .clock .rm.warn { animation: none; } }

/* layout fixes: platters size to their space, crate is a drawer, compact mixer */
.dj-in { padding-bottom: 72px; }
.deck { grid-template-rows: auto minmax(0, 1fr) auto; }
.platter-wrap { container-type: size; width: 100%; height: 100%; }
.platter { --sz: min(88cqw, 88cqh); }
.lcd { padding: 10px 12px 8px; } .lcd .ov { height: 28px; margin-top: 8px; }
.dj-waves { height: 92px; }
.crate { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 6; max-height: 48vh; box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
.crate.min { max-height: 52px; }
.crate.min .crate-h [data-act=crate] svg { transform: rotate(0); } .crate:not(.min) .crate-h [data-act=crate] svg { transform: rotate(180deg); }
.mixer { gap: 8px; padding: 10px; }
.mixer .knob { width: 36px !important; height: 36px !important; }
.mixer .knob .cap { inset: 6px; }
.mix-ch { row-gap: 2px !important; }
.knob-l { font-size: 8.5px; margin-top: 1px; }
.vu .bar2 { min-height: 90px; }
.chf .vfader { min-height: 90px; }
.fxb { height: 30px; }
@media (max-width: 1100px) {
  .dj-in { padding-bottom: 72px; }
  .platter-wrap { container-type: inline-size; height: auto; }
  .platter { --sz: min(84cqw, 320px); margin: 18px 0; }
}
/* the player shell also has a .side class: pin the deck parts explicitly */
.dj .deck .side { grid-area: 2 / 1; display: flex; width: auto; height: auto; }
.dj .deck.b .side { grid-area: 2 / 2; }
.dj .deck.a .platter-wrap { grid-area: 2 / 2; }
.dj .deck.b .platter-wrap { grid-area: 2 / 1; }
.dj .deck .transport { grid-area: 1 / 1 / 2 / -1; } .dj .deck .pads { grid-area: 3 / 1 / 4 / -1; }
.mixer { grid-template-rows: auto minmax(104px, 1fr) auto; }
.mix-ch .knob-l { line-height: 1; }
.mix-foot { gap: 7px; }
