/* v6 boombox: brushed chrome + black, 80s dual-deck ghetto blaster */
.bb-wrap{padding-bottom:16px}
.bb{position:relative;margin:4px 0 10px;--chrome:linear-gradient(180deg,#fdfdff 0,#c9ccd6 18%,#f4f5f9 34%,#9da2ae 52%,#e9ebf1 70%,#b4b8c3 100%);--brushed:repeating-linear-gradient(90deg,rgba(255,255,255,.0) 0 1px,rgba(255,255,255,.22) 1px 2px,rgba(0,0,0,.04) 2px 3px)}
.bb-handle{position:relative;height:34px;margin:0 22%;display:flex;align-items:flex-end;justify-content:space-between}
.bb-handle .grip{position:absolute;left:14px;right:14px;top:0;height:16px;border-radius:10px 10px 4px 4px;background:var(--brushed),var(--chrome);box-shadow:inset 0 -3px 0 rgba(0,0,0,.25),0 3px 6px rgba(0,0,0,.35)}
.bb-handle .grip::after{content:'';position:absolute;left:18%;right:18%;top:5px;height:6px;border-radius:4px;background:linear-gradient(180deg,#222,#000);box-shadow:inset 0 1px 2px #000}
.bb-handle .post{width:22px;height:26px;border-radius:6px 6px 0 0;background:linear-gradient(90deg,#1a1a1f,#4a4a55 45%,#1a1a1f)}
.bb-body{position:relative;padding:10px 10px 12px;border-radius:22px;background:var(--brushed),var(--chrome);box-shadow:0 0 0 2px #7b7f8a,inset 0 2px 0 #fff,inset 0 -4px 0 rgba(0,0,0,.25),0 18px 36px rgba(40,0,70,.45)}
.bb-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 8px}
.bb-brand{font:italic 900 19px/1 Archivo,system-ui;letter-spacing:.06em;color:#1b1c22;text-shadow:0 1px 0 #fff}
.bb-brand small{display:block;margin-top:3px;font:800 8.5px/1 Inter,system-ui;letter-spacing:.14em;color:#4c505c;font-style:normal}
.bb .bb-x{position:static;width:40px;height:40px;flex:none}
.bb-tuner{display:flex;gap:8px;align-items:center;padding:6px 8px;border-radius:10px;background:linear-gradient(180deg,#0d0d12,#1d1d26);box-shadow:inset 0 2px 6px #000,0 1px 0 #fff}
.bb-dial{position:relative;flex:1;height:40px;border-radius:6px;background:linear-gradient(180deg,#1a2a1a,#0b120b);overflow:hidden;box-shadow:inset 0 0 12px rgba(120,255,160,.15)}
.bb-scale{display:flex;justify-content:space-between;align-items:center;padding:0 6px;height:20px;font:700 8.5px/1 ui-monospace,Menlo,monospace;color:#9effc4;text-shadow:0 0 4px rgba(120,255,170,.7)}
.bb-scale i{font-style:normal;color:#ffcf6b;text-shadow:0 0 4px rgba(255,200,90,.7)}
.bb-scale.am{color:#7fd9ff;text-shadow:0 0 4px rgba(120,210,255,.7);border-top:1px solid rgba(160,255,200,.15)}
.bb-ptr{position:absolute;top:2px;bottom:2px;width:3px;margin-left:-1.5px;border-radius:2px;background:#ff3d4a;box-shadow:0 0 8px #ff3d4a}
.bb-tuned{display:flex;align-items:center;gap:4px;font:800 8.5px Inter,system-ui;letter-spacing:.1em;color:#a7abb8}
.bb-tuned i{width:8px;height:8px;border-radius:50%;background:#3a1416}
.bb-tuned.on{color:#ffd0d4}.bb-tuned.on i{background:#ff3d4a;box-shadow:0 0 8px #ff3d4a}
.bb-row{display:flex;gap:6px;align-items:stretch;margin-top:8px}
.bb-spk{position:relative;flex:1.05;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px 10px;border-radius:14px;background:radial-gradient(circle,#2b2b33 1px,transparent 1.5px) 0 0/5px 5px,linear-gradient(180deg,#17171c,#0a0a0d);box-shadow:inset 0 0 0 2px #000,inset 0 2px 8px rgba(0,0,0,.8),0 1px 0 #fff}
.bb-tw{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--chrome);box-shadow:0 2px 4px #000}
.bb-tw i{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff 0,#c8ccd6 20%,#3a3d48 70%)}
.bb-woof{width:104px;height:104px;max-width:100%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--chrome);box-shadow:0 3px 8px #000,inset 0 0 0 3px #7b7f8a}
.bb-cone{width:84%;height:84%;border-radius:50%;display:grid;place-items:center;background:repeating-radial-gradient(circle,#202027 0 3px,#2c2c35 3px 5px),#25252d;box-shadow:inset 0 0 0 5px #3b3b45,inset 0 0 18px #000;will-change:transform}
.bb-cone i{width:36%;height:36%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0,#d7dbe4 18%,#6d717e 60%,#2a2c33);box-shadow:0 2px 6px #000}
.bb-badge{font:900 6.5px/1.1 Inter,system-ui;letter-spacing:.12em;color:#9da2ae;text-align:center}
.bb-mid{flex:.9;display:flex;flex-direction:column;gap:6px;min-width:0}
.bb-vus{display:flex;flex-direction:column;gap:5px}
.bb-vu{position:relative;height:44px;border-radius:7px;overflow:hidden;background:radial-gradient(120% 140% at 50% 120%,#fff6d6,#ffe39a 60%,#e7b955);box-shadow:inset 0 0 0 2px #1b1b20,inset 0 3px 6px rgba(0,0,0,.35),0 0 12px rgba(255,200,90,.35)}
.bb-vus-sc{position:absolute;left:6px;right:6px;top:4px;display:flex;justify-content:space-between;font:800 7.5px Inter,system-ui;color:#3b2a10}
.bb-vus-sc .r{color:#d42a2a}
.bb-vu::before{content:'';position:absolute;left:12%;right:12%;top:13px;height:18px;border-top:2px solid #3b2a10;border-radius:50% 50% 0 0}
.bb-vu::after{content:'';position:absolute;right:12%;width:24%;top:13px;height:18px;border-top:2px solid #d42a2a;border-radius:0 50% 0 0}
.bb-needle{position:absolute;left:50%;bottom:-6px;width:2px;height:42px;margin-left:-1px;background:linear-gradient(180deg,#d42a2a,#1b1b20);transform-origin:50% 100%;transform:rotate(-48deg);border-radius:2px;z-index:2}
.bb-vu small{position:absolute;left:5px;bottom:3px;font:900 8px Inter,system-ui;color:#3b2a10}
.bb-ladders{display:flex;gap:6px;justify-content:center;align-items:stretch;padding:5px 6px;border-radius:7px;background:#0b0b0f;box-shadow:inset 0 0 0 2px #000}
.bb-ladders span{writing-mode:vertical-rl;transform:rotate(180deg);font:800 7px Inter,system-ui;letter-spacing:.2em;color:#777b88;text-align:center}
.bb-lad{display:flex;flex-direction:column;gap:2px;flex:1}
.bb-lad i{height:4px;border-radius:1px;background:rgba(90,255,160,.12)}
.bb-lad i:nth-child(-n+2){background:rgba(255,70,90,.14)}.bb-lad i:nth-child(n+3):nth-child(-n+4){background:rgba(255,200,70,.14)}
.bb-lad i.on{background:#5aff9f;box-shadow:0 0 5px #5aff9f}.bb-lad i.on:nth-child(-n+2){background:#ff4660;box-shadow:0 0 5px #ff4660}.bb-lad i.on:nth-child(n+3):nth-child(-n+4){background:#ffc846;box-shadow:0 0 5px #ffc846}
.bb-counter{display:flex;align-items:center;justify-content:space-between;padding:4px 7px;border-radius:7px;background:#16161b;box-shadow:inset 0 0 0 2px #000}
.bb-counter small{font:800 7px Inter,system-ui;letter-spacing:.14em;color:#8a8e9b}
.bb-counter b{font:700 14px ui-monospace,Menlo,monospace;letter-spacing:.12em;color:#fff;background:#000;padding:1px 4px;border-radius:3px}
.bb-decks{display:flex;gap:6px;margin-top:8px}
.bb-deck{flex:1;min-width:0;padding:5px;border-radius:12px;background:linear-gradient(180deg,#141418,#09090c);box-shadow:inset 0 0 0 2px #000,0 1px 0 #fff}
.bb-dlbl{display:block;margin:0 0 4px 3px;font:800 7.5px Inter,system-ui;letter-spacing:.14em;color:#9da2ae}
.bb-deck.a .bb-dlbl{color:#ffcf6b}
.bb-door{position:relative;border-radius:8px;overflow:hidden;transform-origin:50% 100%;transition:transform .45s cubic-bezier(.3,1.4,.5,1);perspective:400px}
.bb-door.open{transform:rotateX(28deg) translateY(4px)}
.bb-glass{position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.28) 0,rgba(255,255,255,.05) 30%,transparent 45%,rgba(255,255,255,.08) 70%,transparent);box-shadow:inset 0 0 0 2px rgba(255,255,255,.12);border-radius:8px}
.bb-cass{position:relative;aspect-ratio:1.58;padding:6% 7% 0;border-radius:6px;background:linear-gradient(180deg,#2b2b33,#18181d)}
.bb-deck.a .bb-cass{background:linear-gradient(180deg,#ff4fb0,#d02a8a)}
.bb-deck.b .bb-cass{background:linear-gradient(180deg,#e9ecf2,#b8bdc9)}
.bb-clabel{position:relative;height:30%;padding:3px 18px 0 6px;border-radius:4px;background:repeating-linear-gradient(180deg,#fffdf4 0 6px,#f3ecd6 6px 7px);overflow:hidden}
.bb-clabel span{display:block;font:italic 800 10px/1.15 'Permanent Marker',Archivo,system-ui;color:#1b2a8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-clabel small{display:block;font:700 6.5px Inter,system-ui;color:#6a5a3a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-clabel em{position:absolute;right:4px;top:3px;font:900 11px Archivo,system-ui;font-style:normal;color:#d02a2a}
.bb-cwin{position:relative;display:flex;align-items:center;justify-content:space-between;margin:5% 6% 0;height:36%;padding:0 6%;border-radius:20px;background:linear-gradient(180deg,rgba(30,20,30,.88),rgba(60,40,50,.82));box-shadow:inset 0 0 0 2px rgba(0,0,0,.5),inset 0 4px 8px rgba(0,0,0,.6)}
.bb-reel{position:relative;width:34%;aspect-ratio:1;display:grid;place-items:center}
.bb-reel .pack{position:absolute;inset:0;border-radius:50%;background:repeating-radial-gradient(circle,#5a3418 0 1px,#3e220e 1px 2px);box-shadow:0 0 0 1px rgba(0,0,0,.5);will-change:transform}
.bb-reel .hub{position:relative;width:40%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#2b2b33 0 22%,#f4f5f9 24% 100%);box-shadow:0 0 0 1px #888;will-change:transform}
.bb-reel .hub b{position:absolute;left:50%;top:50%;width:14%;height:44%;margin:-44% 0 0 -7%;transform-origin:50% 100%;background:#f4f5f9;border-radius:2px}
.bb-reel .hub b:nth-child(1){transform:rotate(0)}.bb-reel .hub b:nth-child(2){transform:rotate(60deg)}.bb-reel .hub b:nth-child(3){transform:rotate(120deg)}.bb-reel .hub b:nth-child(4){transform:rotate(180deg)}.bb-reel .hub b:nth-child(5){transform:rotate(240deg)}.bb-reel .hub b:nth-child(6){transform:rotate(300deg)}
.bb-tape{position:absolute;left:28%;right:28%;bottom:8%;height:2px;background:#3e220e}
.bb-cscrew{position:absolute;left:4%;bottom:6%;width:6px;height:6px;border-radius:50%;background:radial-gradient(circle,#555 0 30%,#ccc 35%)}.bb-cscrew.r{left:auto;right:4%}
.bb-deck.b .bb-reel .pack{transform:scale(.5)}
.bb-eq{margin-top:8px;padding:6px 8px 8px;border-radius:12px;background:linear-gradient(180deg,#16161b,#0a0a0d);box-shadow:inset 0 0 0 2px #000,0 1px 0 #fff}
.bb-eqt{display:block;font:800 7.5px Inter,system-ui;letter-spacing:.2em;color:#9da2ae;margin-bottom:4px;text-align:center}
.bb-eqbank{display:flex;justify-content:space-between;gap:4px}
.bb-sl{position:relative;flex:1;display:flex;flex-direction:column;align-items:center}
.bb-slot{width:16px;height:98px;padding:1px;border-radius:4px;background:#000;box-shadow:inset 0 0 4px #000,0 1px 0 rgba(255,255,255,.15)}
.bb-slot canvas{display:block;width:14px;height:96px}
.bb-knob{position:absolute;left:50%;bottom:16px;width:30px;height:12px;margin-left:-15px;border-radius:3px;background:var(--chrome);box-shadow:0 2px 3px #000,inset 0 -2px 0 rgba(0,0,0,.25);will-change:transform}
.bb-knob::after{content:'';position:absolute;left:3px;right:3px;top:5px;height:2px;background:#ff3d4a;box-shadow:0 0 4px #ff3d4a}
.bb-sl small{margin-top:5px;font:800 7.5px Inter,system-ui;color:#9da2ae}
.bb-keys{display:flex;gap:4px;margin-top:9px;padding:5px;border-radius:12px;background:#0b0b0f;box-shadow:inset 0 0 0 2px #000,0 1px 0 #fff}
.bb-key{flex:1;min-width:0;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:5px 5px 9px 9px;background:linear-gradient(180deg,#fafbfd,#c3c7d1 70%,#9da2ae);color:#1b1c22;box-shadow:0 7px 0 #5d616c,0 9px 8px rgba(0,0,0,.6),inset 0 1px 0 #fff;transform:translateY(-6px);transition:transform .08s,box-shadow .08s}
.bb-key b{font:900 13px/1 Inter,system-ui;letter-spacing:-.04em}
.bb-key small{font:800 7px Inter,system-ui;letter-spacing:.1em;color:#4c505c}
.bb-key.rec b{color:#d42a2a}
.bb-key:active,.bb-key.latched{transform:translateY(0);box-shadow:0 1px 0 #5d616c,0 2px 3px rgba(0,0,0,.6),inset 0 2px 4px rgba(0,0,0,.25)}
.bb-key.latched{background:linear-gradient(180deg,#e2e5ec,#aeb2bd)}
.bb-key.thunk{animation:bbThunk .22s ease-out}
@keyframes bbThunk{0%{transform:translateY(-6px)}40%{transform:translateY(1px)}100%{}}
.bb-prog{display:flex;align-items:center;gap:8px;margin-top:9px;font:700 11px ui-monospace,Menlo,monospace;color:#2b2d35}
.bb-bar{flex:1;height:6px;border-radius:3px;background:#1b1c22;overflow:hidden;box-shadow:inset 0 1px 2px #000}
.bb-bar i{display:block;height:100%;background:linear-gradient(90deg,#ff4fb0,#ffcf4a);transform-origin:0 50%;transform:scaleX(0)}
.bb-note{min-height:18px;margin:0 4px 6px;font:700 12.5px Inter,system-ui;color:#fff;opacity:.9;text-align:center}
/* tiny boombox in the radio bar */
.r-bb{flex:none;position:relative;width:62px;height:42px;padding:0;border:0;background:none}
.r-bb .h{position:absolute;left:16px;right:16px;top:1px;height:7px;border:2.5px solid #e9ebf1;border-bottom:0;border-radius:6px 6px 0 0}
.r-bb .bd{position:absolute;left:0;right:0;top:7px;bottom:1px;display:flex;align-items:center;gap:2px;padding:3px;border-radius:7px;background:linear-gradient(180deg,#fdfdff,#b4b8c3);box-shadow:0 2px 4px rgba(0,0,0,.4),inset 0 -2px 0 rgba(0,0,0,.2)}
.r-bb .sp{width:15px;height:15px;flex:none;border-radius:50%;background:radial-gradient(circle,#ccc 0 18%,#26262e 22% 62%,#3b3b45 66%);box-shadow:0 0 0 1.5px #555;transform:scale(calc(1 + var(--beat,0) * .14))}
.r-bb .cs{flex:1;height:17px;display:flex;align-items:center;justify-content:space-around;border-radius:3px;background:#1b1b22;box-shadow:inset 0 0 0 1.5px #000}
.r-bb .cs i{width:8px;height:8px;border-radius:50%;background:conic-gradient(#fff 0 25%,#999 0 50%,#fff 0 75%,#999 0);box-shadow:0 0 0 1.5px #5a3418}
body.playing .r-bb .cs i{animation:rbbSpin 1s linear infinite}
body.playing .r-bb .cs i+i{animation-duration:1.3s}
@keyframes rbbSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){body.playing .r-bb .cs i{animation:none}}
