:root{color-scheme:dark;--gold:#ffc128;--cyan:#13defa;--pink:#f328a0;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#09090d;color:#fff}button{font:inherit;cursor:pointer}.app{min-height:100svh;position:relative;overflow:hidden;display:flex;flex-direction:column}.stage-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,5,9,.96),rgba(5,5,9,.72) 42%,rgba(6,5,9,.9)),linear-gradient(0deg,#09090d 5%,transparent 55%),url('assets/gameplay-deck-clean.png') center/cover;filter:saturate(.85);z-index:0}.noise{pointer-events:none;position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,#ffffff05 4px);z-index:1}.topbar,main,footer{position:relative;z-index:2}.topbar{height:100px;margin:0 5.1%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff2c}.brand{display:flex;align-items:center;gap:.12em;font-weight:1000;font-style:italic;letter-spacing:-.08em;line-height:.8;filter:drop-shadow(0 3px 0 #211600);transform:skew(-7deg)}.brand-dj{font-size:clamp(40px,5vw,65px);color:#f5f5f0}.brand-soldier{font-size:clamp(33px,4.5vw,58px);background:linear-gradient(#ffed91 4%,#ffc62b 40%,#af7100 90%);background-clip:text;color:transparent}.header-right{font-size:10px;letter-spacing:.22em;font-weight:800;color:#eee;display:flex;align-items:center;gap:10px}.live-dot{width:7px;height:7px;border-radius:100%;background:var(--gold);box-shadow:0 0 13px var(--gold)}.edition{color:#ffffff70;border-left:1px solid #ffffff50;padding-left:18px;margin-left:10px}.select-screen{width:min(1500px,90%);margin:auto;display:grid;grid-template-columns:1fr 1.16fr .65fr;align-items:center;min-height:570px;gap:20px}.intro{align-self:center;padding-bottom:35px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.22em;color:#e9dfc2}.eyebrow span{color:var(--gold)}h1{font-size:clamp(52px,6.1vw,99px);line-height:.85;letter-spacing:-.065em;font-style:italic;font-weight:1000;margin:26px 0;color:#fff}h1 em{font-style:inherit;color:var(--gold);white-space:nowrap;text-shadow:0 0 45px #ffbb0735}.intro p{color:#bcbcc2;font-size:15px;line-height:1.7}.accent-line{height:3px;width:80px;background:linear-gradient(90deg,var(--gold),transparent);margin-top:30px}.selector{align-self:end;text-align:center}.portrait-wrap{height:clamp(330px,45vh,500px);position:relative;isolation:isolate}.portrait-glow{position:absolute;inset:10% 8% 5%;background:radial-gradient(ellipse,#f8b02448,transparent 65%);filter:blur(12px)}.portrait{position:absolute;inset:0 4% 4%;background-position:center 26%;background-size:contain;background-repeat:no-repeat;clip-path:polygon(12% 0,88% 0,100% 20%,100% 100%,0 100%,0 20%);mask-image:linear-gradient(#000 70%,transparent 100%);transition:background-image .2s}.portrait-shade{position:absolute;inset:0;background:linear-gradient(90deg,#09090d 0%,transparent 17%,transparent 83%,#09090d 100%);pointer-events:none}.vertical-label{position:absolute;right:1%;top:20%;writing-mode:vertical-rl;font-size:9px;letter-spacing:.27em;color:#ffffff80}.platform{position:absolute;bottom:0;left:9%;right:9%;height:45px;border:2px solid #d4a43d;border-radius:50%;background:radial-gradient(ellipse,#222 5%,#060606 35%,#3d3020 37%,#111 40%,#0b0b0b 58%,#d9ad4f 60%,#0d0c0a 64%);box-shadow:0 0 23px #ffbc3370,0 11px 0 #0d0d0f,0 13px 0 #b78b39}.control-row{display:flex;justify-content:center;align-items:center;gap:24px;padding-top:24px}.arrow{width:45px;height:45px;flex:none;border:1px solid #ffffff65;background:#09090cb8;color:white;font-size:31px;line-height:1}.arrow:hover,.arrow:focus-visible{border-color:var(--gold);color:var(--gold)}.name-block{min-width:240px}.number{font-size:10px;letter-spacing:.2em;color:var(--gold);font-weight:900}.name-block h2{font-size:clamp(20px,2.3vw,33px);letter-spacing:-.04em;font-style:italic;margin:7px 0 5px}.character-tag{color:#c3bdb0;font-size:10px;letter-spacing:.22em;font-weight:800}.dots{display:flex;justify-content:center;gap:8px;margin:18px}.dot{height:5px;width:22px;background:#ffffff45;border:0;padding:0}.dot.active{background:var(--gold);box-shadow:0 0 10px #ffbf32}.side{padding-left:28%;border-left:1px solid #ffffff22}.side-index{font-size:10px;letter-spacing:.2em;color:#d6b571}.side-index strong{display:block;font-size:23px;line-height:1.05;letter-spacing:-.04em;font-style:italic;color:white;margin-top:10px}.meter{display:flex;align-items:end;height:40px;gap:4px;margin:22px 0}.meter span{width:5px;height:35%;background:var(--gold)}.meter span:nth-child(3n){height:90%;background:var(--cyan)}.meter span:nth-child(4n){height:60%;background:var(--pink)}.meter span:nth-child(5n){height:75%}.side p{color:#ffffff80;font-size:11px;line-height:1.6;letter-spacing:.16em;font-weight:800}.primary,.secondary{width:100%;min-width:175px;text-align:left;font-weight:900;letter-spacing:.1em;font-size:11px;padding:17px;border:0;margin-top:20px}.primary{background:linear-gradient(110deg,#ffdb5e,#ed9d06);color:#111;box-shadow:0 0 28px #ffb50040}.primary span,.secondary span{float:right;font-size:16px;line-height:10px}.primary:hover{filter:brightness(1.15)}.secondary{background:#15151a99;color:white;border:1px solid #ffffff52;margin-top:10px}.secondary:hover{border-color:var(--gold)}footer{margin:0 5.1%;height:60px;border-top:1px solid #ffffff2b;display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:800;letter-spacing:.2em;color:#ffffff76}.footer-center{color:#e9c66c}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:5;background:#050508ee;overflow:auto;display:grid;place-items:center;padding:30px}.modal-inner{width:min(1100px,100%);position:relative}.close{position:absolute;right:0;top:0;background:none;border:1px solid #ffffff70;color:#fff;font-size:28px;width:44px;height:44px}.modal-copy h2{font-size:clamp(40px,5vw,68px);font-style:italic;letter-spacing:-.06em;color:var(--gold);margin:10px 0}.modal-copy p{color:#aaa;margin-bottom:22px}.stage-image{position:relative;border:1px solid #e2af45;box-shadow:0 0 40px #db8c052c}.stage-image img{display:block;width:100%}.reference-logo{position:absolute;top:0;left:0;width:28%;height:19%;padding:1.2% 1.5%;background:linear-gradient(120deg,#16110deF 75%,transparent);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-style:italic;font-weight:1000;letter-spacing:-.07em;line-height:.8;text-shadow:2px 2px 2px #000}.reference-logo span{font-size:clamp(20px,3vw,46px)}.reference-logo b{font-size:clamp(18px,3.3vw,50px);color:var(--gold)}.modal-note{font-size:9px;letter-spacing:.18em;color:#ffffff88}.back{width:auto;min-width:200px}@media(max-width:850px){.header-right{font-size:0}.edition{display:none}.select-screen{grid-template-columns:1fr 1.2fr;gap:0;padding:30px 0}.intro{padding:0}.intro h1{font-size:clamp(48px,9vw,75px)}.side{grid-column:1/-1;padding:10px 0 0;border:0;display:flex;align-items:center;gap:12px}.side-index,.meter,.side p{display:none}.side .primary,.side .secondary{margin:0;min-width:0}.portrait-wrap{height:360px}footer .footer-center{display:none}}@media(max-width:540px){.topbar{height:78px}.brand-dj{font-size:36px}.brand-soldier{font-size:31px}.select-screen{display:flex;flex-direction:column;width:90%;padding:28px 0}.intro{width:100%}.intro h1{font-size:52px;margin:14px 0}.intro p{font-size:13px;margin:8px 0}.accent-line{margin-top:12px}.selector{width:100%;align-self:center}.portrait-wrap{height:320px}.name-block{min-width:200px}.control-row{padding-top:18px;gap:12px}.side{width:100%;padding-top:5px}.primary,.secondary{font-size:10px;padding:15px 10px}footer{font-size:8px}.modal{padding:20px}.modal-copy{padding-right:45px}}

/* DJ Soldier game and backstage */
.brand{width:190px;height:73px;display:block;overflow:hidden;filter:none;transform:none;position:relative}.brand img{position:absolute;width:190px;height:auto;left:0;top:-11px}.admin-link{background:none;border:1px solid #ffffff60;color:#fff;padding:9px 12px;font-size:10px;font-weight:900;letter-spacing:.16em}.genre{color:#ffc128;font-size:10px;letter-spacing:.14em;margin-top:10px;font-weight:900}.song-bar{display:flex;align-items:end;gap:12px;margin:20px 0}.song-bar label{color:#edce82;font-size:10px;letter-spacing:.15em;white-space:nowrap}.song-bar select{flex:1}.song-bar .primary{width:auto;margin:0;min-width:140px}.game-hud{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;background:#11131af2;border:1px solid #9e7c38;color:#e5dcbe;font-size:12px;letter-spacing:.1em}.game-hud b{color:#ffc128;font-size:20px}.game-board{height:min(52vh,480px);min-height:280px;background:linear-gradient(#08090c70,#08090ccf),url('assets/gameplay-deck-clean.png') center/cover;border:1px solid #80652b;overflow:hidden}.lanes{width:min(70%,500px);height:100%;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);position:relative;background:#05080dc9;border-left:2px solid #16d7f0;border-right:2px solid #ef238f}.lanes>div:not(.hit-line):not(.note){border-right:1px solid #ffffff35;background:linear-gradient(0deg,#ffffff09,transparent)}.hit-line{position:absolute;bottom:12%;left:0;right:0;height:4px;background:#fff0bd;box-shadow:0 0 15px #ffcf50}.note{position:absolute;transform:translate(-50%,50%);width:20%;height:18px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 14px currentColor}.lane-0{left:16.66%;background:#00d8ff;color:#00d8ff}.lane-1{left:50%;background:#ffbf19;color:#ffbf19}.lane-2{left:83.33%;background:#f425a4;color:#f425a4}.game-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.game-controls button{padding:15px 6px;background:#151820;color:white;border:1px solid #ffffff55;font-weight:900;letter-spacing:.1em;touch-action:manipulation}.game-controls button:nth-child(1){border-color:#00d8ff}.game-controls button:nth-child(2){border-color:#ffbf19}.game-controls button:nth-child(3){border-color:#f425a4}.game-controls button:active{background:#695426}.admin-panel{max-width:860px;padding:20px 0}.admin-panel h2{font-size:clamp(40px,5vw,68px);font-style:italic;color:var(--gold);margin:14px 0}.admin-panel h3{color:#f8d579;letter-spacing:.1em;font-size:14px;margin-top:36px}.admin-panel p{color:#c0bdb7;line-height:1.5}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label{font-size:10px;letter-spacing:.15em;color:#edce82;font-weight:800;display:grid;gap:7px}input,select{width:100%;background:#151820;color:white;border:1px solid #ffffff55;padding:12px;font:inherit;min-width:0}input[type=file]{font-size:12px}.admin-panel .primary{width:auto}.admin-message{min-height:1.5em}.library-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff30}.library-row span{flex:1}.small-button{background:#1a1a20;color:white;border:1px solid #ffffff66;padding:9px;font-size:10px}.chart-recorder audio{width:100%}.chart-recorder .secondary{width:auto}.logo-showcase{position:relative;width:min(240px,65%);margin:16px 0 0;line-height:0}.logo-showcase img{width:100%}.logo-showcase .mask-model,.logo-showcase .mask-brand,.logo-showcase .mask-serato{position:absolute;display:block}.mask-model{left:47.5%;top:57%;width:5%;height:1.7%;background:#c4a265}.mask-brand{left:46%;top:75%;width:7%;height:1.6%;background:#171512}.mask-serato{left:35.6%;top:87.5%;width:4%;height:1.8%;background:#171512}@media(max-width:700px){.header-right{font-size:0}.admin-link{font-size:10px}.brand{width:140px;height:57px}.brand img{width:140px;top:-8px}.logo-showcase{width:170px}.song-bar{align-items:stretch;flex-direction:column}.song-bar .primary{width:100%}.form-grid{grid-template-columns:1fr}.library-row{flex-wrap:wrap}.library-row span{flex-basis:100%}.game-board{min-height:260px}}
.brand{height:50px}.brand img{top:-13px}.game-board{position:relative}.game-board video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.48}.game-board video[hidden]{display:none}.lanes{z-index:1}@media(max-width:700px){.brand{height:37px}.brand img{top:-10px}}

/* Blend Nappy's supplied 360 video into the character selector. */
.stage-bg{background:radial-gradient(ellipse at 50% 54%,#514d50 0%,#2b282d 38%,#0b0a0f 82%);filter:none}
.portrait.has-video{clip-path:none;mask-image:none;bottom:40px;z-index:2;background:radial-gradient(ellipse 37% 50% at 50% 48%,#575253 5%,#29282a 70%,transparent 100%)}
.portrait.has-video.blonde-video{background:radial-gradient(ellipse 37% 50% at 50% 48%,#d7d1ca 5%,#77716e 70%,transparent 100%)}
.portrait.has-video.brown-video{background:radial-gradient(ellipse 37% 50% at 50% 48%,#a69e96 5%,#625b57 70%,transparent 100%)}
.portrait.has-video.konduit-video{background:radial-gradient(ellipse 37% 50% at 50% 48%,#e6e6e4 5%,#888982 70%,transparent 100%)}
.portrait-video{position:absolute;height:100%;width:auto;max-width:100%;left:50%;top:0;transform:translateX(-50%);object-fit:contain;mask-image:linear-gradient(to right,transparent,#000 16%,#000 84%,transparent),linear-gradient(to bottom,transparent,#000 1%,#000 99.7%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
.portrait-video[hidden]{display:none}

/* The artwork itself is the stage; the canvas adds only animated notes. */
.game-board{position:relative;aspect-ratio:16/9;height:auto;min-height:0;width:100%;overflow:hidden;border:1px solid #ae8939;background:url('assets/gameplay-stage-empty.png') center/100% 100% no-repeat;isolation:isolate}
.game-board video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}
#highway{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.board-logo{position:absolute;left:1.3%;top:0;width:25%;height:16.7%;overflow:hidden;background:#0e0b0ae8;z-index:3}.board-logo img{position:absolute;width:100%;top:-15%;left:0}
.board-scores{position:absolute;right:.9%;top:1%;width:25%;z-index:3;display:grid;gap:5px;color:#fff;font-size:clamp(8px,1.3vw,17px);font-style:italic;font-weight:900}.board-scores div{display:flex;justify-content:space-between;align-items:center;padding:2% 5%;border:2px solid #d7ab49;border-radius:12px;transform:skew(-12deg);background:#08080a}.board-scores b{font-size:clamp(12px,2.1vw,30px);color:#ffd332}
.board-readout{position:absolute;left:1%;bottom:1%;z-index:4;max-width:36%;display:grid;gap:3px;padding:5px 9px;background:#080a0be8;border:1px solid #d8ad45;color:#ffdb60;font-size:clamp(7px,.9vw,12px);font-weight:900;letter-spacing:.04em}.board-readout strong{color:#fff}
.wheel-effect{position:absolute;top:47.3%;width:7.6%;aspect-ratio:1;z-index:4;transform:translate(-50%,-50%);pointer-events:none}.left-wheel{left:31.4%}.right-wheel{left:68.6%}.wheel-disc{position:absolute;inset:13%;border-radius:50%;border:3px solid #e4ba58;background:repeating-radial-gradient(circle,#111 0 6%,#454545 7%,#050505 10%,#050505 14%);box-shadow:0 0 12px var(--wheel-color);transform:rotateX(50deg);transform-origin:center}.left-wheel{--wheel-color:#00dcff}.right-wheel{--wheel-color:#ff20ad}.wheel-disc i{position:absolute;inset:38%;border-radius:50%;background:radial-gradient(circle,#fff 0 12%,#e0a726 15% 32%,#121212 35%);box-shadow:0 0 12px var(--wheel-color)}.wheel-flame{position:absolute;left:2%;bottom:22%;width:96%;height:135%;object-fit:fill;opacity:0;pointer-events:none}.wheel-effect.firing .wheel-flame{animation:flame-burst .65s ease-out}.wheel-effect.firing .wheel-disc{animation:wheel-pop .65s ease-out}.center-receptor{position:absolute;left:50%;top:47.2%;width:4.5%;aspect-ratio:2.5;border:2px solid #fff2ab;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 12px #ffca20;z-index:4;pointer-events:none}.center-receptor.firing{animation:center-flash .4s ease-out}
@keyframes wheel-pop{0%{transform:rotateX(50deg) translateY(0) scale(1)}35%{transform:rotateX(23deg) translateY(-55%) scale(1.35)}100%{transform:rotateX(50deg) translateY(0) scale(1)}}@keyframes flame-burst{0%{opacity:0;transform:scale(.6)}25%,55%{opacity:1;transform:scale(1.25) translateY(-12%)}100%{opacity:0;transform:scale(.9) translateY(-25%)}}@keyframes center-flash{50%{background:#fff4a4;box-shadow:0 0 35px 12px #ffbe19}}
.game-controls button{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;text-align:left}.game-controls button strong{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#090b0e;border:2px solid currentColor;font-size:17px}.game-controls button:nth-child(1){color:#43e6ff}.game-controls button:nth-child(2){color:#ffda49}.game-controls button:nth-child(3){color:#ff5bc8}.game-controls button span{color:#fff;font-size:10px}
@media(max-width:700px){.game-board{min-height:0}.board-readout{font-size:6px;padding:3px}.board-scores{gap:2px}.board-scores div{border-width:1px;padding:1% 4%}.board-logo{height:17%}.game-controls button{grid-template-columns:1fr;justify-items:center;gap:3px;text-align:center;padding:8px 2px}.game-controls button strong{width:30px;height:30px}.game-controls button span{font-size:8px}}
.board-logo{height:12%;}.board-logo img{top:-20%}
.wheel-effect{width:8.5%}.wheel-flame{left:-25%;bottom:20%;width:150%;height:185%}.wheel-effect.firing .wheel-flame{animation:flame-burst 1.4s ease-out}.wheel-effect.firing .wheel-disc{animation:wheel-pop 1.4s ease-out}@keyframes wheel-pop{0%{transform:rotateX(50deg) translateY(0) scale(1)}25%,55%{transform:rotateX(20deg) translateY(-50%) scale(1.45)}100%{transform:rotateX(50deg) translateY(0) scale(1)}}@keyframes flame-burst{0%{opacity:0;transform:scale(.6)}20%,65%{opacity:1;transform:scale(1.25) translateY(-10%)}100%{opacity:0;transform:scale(.9) translateY(-25%)}}
.auto-button{min-height:50px;min-width:130px;padding:12px 14px;border:1px solid #ffc128;background:#171207;color:#ffc128;font-size:10px;font-weight:900;letter-spacing:.1em}.auto-button[aria-pressed=true]{background:#ffc128;color:#100e08;box-shadow:0 0 20px #ffc12880}@media(max-width:700px){.auto-button{width:100%}}
.game-board video,.game-board #game-art{position:absolute;left:32%;top:0;width:36%;height:10%;object-fit:cover;opacity:.85;z-index:1;pointer-events:none}.game-board video[hidden],.game-board #game-art[hidden]{display:none}
.deck-tempo{position:absolute;top:64%;z-index:4;padding:.35% .8%;font-size:clamp(6px,.8vw,11px);font-weight:900;letter-spacing:.03em;color:#e5faff;background:#080d10df;border:1px solid #40dbf0;pointer-events:none}.deck-tempo-left{left:9%}.deck-tempo-right{right:9%;color:#f6b5e5;border-color:#f328a0}.analyze-block{display:grid;align-content:end;gap:7px}.analyze-block span{color:#bbb;font-size:11px;line-height:1.4}.tempo-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.tempo-controls input{width:74px;padding:8px}.tempo-note{color:#e5c977;font-size:10px;line-height:1.4}.small-button:disabled{opacity:.5;cursor:wait}
.tempo-controls label{display:grid;gap:3px;font-size:9px;letter-spacing:.08em;color:#f0d18c}.now-playing{font-size:11px;color:#ebd290;letter-spacing:.06em;margin:6px 0 12px}
.mix-panel{margin-top:24px;padding:20px;background:#101116ed;border:1px solid #76612f}.mix-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.mix-heading h3{font-style:italic;font-size:24px;margin:7px 0 16px;color:#ffd45a}.mix-heading>span{font-size:10px;letter-spacing:.08em;color:#f0d07f;text-align:right}.mix-decks{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mix-deck{border:1px solid #ffffff35;background:#080a0e;padding:14px}.mix-deck-title{font-size:11px;color:#58dcf1;font-weight:900;letter-spacing:.1em;display:grid;gap:6px;min-height:38px}.mix-deck:nth-child(2) .mix-deck-title{color:#ff6bc7}.mix-deck-title span{font-weight:normal;font-size:11px;letter-spacing:0;color:#ddd}.mix-deck select{font-size:12px;margin:4px 0 8px}.rate-buttons{display:flex;align-items:center;justify-content:space-between;gap:8px}.rate-buttons button,.mix-actions button,.mix-play{min-height:44px;background:#1a1a20;color:white;border:1px solid #ffffff60;padding:8px 14px;font-weight:900}.rate-buttons button{min-width:44px;font-size:22px}.rate-buttons strong{color:#ffe294;font-size:16px}.mix-play{width:100%;margin-top:8px;border-color:#f328a0}.mix-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.mix-actions button{border-color:#e4bd50;color:#ffda74}.crossfade-label{display:flex;justify-content:space-between;color:#e8d9ab;font-size:10px;font-weight:900;letter-spacing:.15em}.crossfade-label span:first-child{color:#58dcf1}.crossfade-label span:last-child{color:#ff6bc7}#crossfader{padding:0;margin:12px 0;accent-color:#ffd341;touch-action:pan-x}.mix-message{font-size:11px;line-height:1.5;color:#c7c4bb;margin:4px 0 0}@media(max-width:600px){.mix-panel{padding:12px}.mix-decks{grid-template-columns:1fr}.mix-heading h3{font-size:19px}.mix-deck{padding:10px}.mix-deck-title{min-height:0}.mix-actions button{font-size:10px}}
.mix-actions button:last-child{grid-column:1/-1}.mix-hint{font-size:10px;line-height:1.5;color:#aeadab;margin:4px 0 8px}
.stage-fader{margin:6px 0 8px;padding:9px 16px 3px;background:#101116;border:1px solid #b49447}.stage-fader input[type=range]{display:block;min-height:32px;margin:4px 0;touch-action:pan-x}.deck-tempo{display:grid;gap:2px}.deck-tempo span:last-child{font-size:.85em;color:#fff}.phrase-settings{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;letter-spacing:.08em;color:#e5c87d;font-weight:800;margin:8px 0}.phrase-settings select{width:auto;min-width:140px;padding:8px;font-size:11px}.phrase-settings span{font-size:9px;color:#b4b4b4}.wave-note{font-size:10px;color:#d1bd7e}.stage-fader .crossfade-label{margin:0}.stage-fader #crossfader{width:100%}
.crowd-live{position:absolute;top:17.5%;left:1%;width:26%;z-index:4;border:1px solid #d2a646;background:#08090bea;color:#f9d46b;padding:.45% 1%;font-size:clamp(7px,.9vw,12px);font-weight:900;letter-spacing:.06em}.phrase-settings #wave-status{color:#9fdfec}
.deck-touch{position:absolute;z-index:5;background:transparent;border:2px solid transparent;padding:0;touch-action:none;user-select:none;-webkit-user-select:none}.deck-touch:focus-visible,.deck-touch.engaged{outline:none;border-color:#fff2ab;box-shadow:0 0 14px #ffb92d;background:#ffffff16}.deck-a-brake,.deck-b-brake{top:68%;width:28%;height:29%;border-radius:50%}.deck-a-brake{left:6%}.deck-b-brake{left:66%}.deck-a-push,.deck-b-push{top:71%;width:13%;height:11%;border-radius:4px}.deck-a-push{left:35.5%}.deck-b-push{left:51.5%}.nudge-hint{color:#dac99c;font-size:9px;letter-spacing:.09em;font-weight:800;text-align:center;padding:6px 0 0}
.nudge-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:6px 0}.nudge-button{min-height:44px;padding:6px 3px;touch-action:none;user-select:none;-webkit-user-select:none;background:#10151b;color:#8eeeff;border:1px solid #38b7c9;font-size:10px;font-weight:900}.nudge-button:nth-child(n+3){color:#ffc3eb;border-color:#d64eaa}.nudge-button.engaged,.nudge-button:focus-visible{background:#6b4b18;color:#fff;border-color:#ffdb63;outline:none}@media(max-width:500px){.nudge-button{font-size:9px}}
.eq-bank{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.eq-bank label{display:grid;gap:4px;font-size:9px;letter-spacing:.08em;font-weight:900;color:#e7cd89}.eq-bank output{color:#fff;font-size:10px;letter-spacing:0}.eq-bank input{padding:0;margin:3px 0 8px;min-height:28px;accent-color:#f1bb38;touch-action:pan-x}.eq-bank input:disabled{opacity:.35}.auto-options{display:flex;gap:12px;flex-wrap:wrap;margin:7px 0}.auto-options label{display:grid;gap:4px;font-size:9px;letter-spacing:.1em;font-weight:900;color:#e5c87d}.auto-options select{width:auto;min-width:150px;padding:8px;font-size:11px}.auto-options label:last-child{flex:1}
.timing-alert{position:absolute;top:1%;left:34%;width:31%;z-index:5;text-align:center;padding:.6%;background:#1c0c06eF;border:1px solid #ffca51;color:#ffe7ad;font-size:clamp(8px,1vw,15px);font-weight:900;letter-spacing:.03em}.timing-alert:empty{display:none}.timing-alert.critical{background:#5d1010ed;border-color:#ff7373;color:#fff}

.track-help{margin:0;color:#d7d3c8;font-size:.78rem;line-height:1.4}

.sync-readout{display:flex;align-items:center;justify-content:center;gap:.35rem .9rem;flex-wrap:wrap;padding:.6rem .75rem;background:#101018;border:1px solid #63501e;color:#e7e0cb;font-size:.72rem;letter-spacing:.04em}.sync-readout-label{color:#f7c741;font-weight:800}.sync-readout strong{color:#fff;font-size:.78rem}.sync-readout #sync-help{color:#b8e3df}

.guided-choice[hidden],.auto-options[hidden],#auto-dj[hidden]{display:none!important}.guided-choice label{margin-right:.4rem}

.song-bar{flex-direction:column;align-items:stretch}.song-bar .primary{width:100%}

.cue-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0}.cue-controls button{min-height:48px;background:#121923;border:1px solid #39cbe0;color:#acf4ff;font-weight:900;letter-spacing:.08em;touch-action:manipulation}.cue-controls button:nth-child(2){border-color:#f14aaf;color:#ffc6e8}.cue-controls button:active{background:#79581e;color:#fff}.cue-controls span{grid-column:1/-1;text-align:center;color:#dbcb9d;font-size:10px;letter-spacing:.08em}.cue-controls button.locked{border-color:#a9a091;color:#d3c6a9}

/* Mirrored, touch-friendly EQ directly above the crossfader. */
.stage-eq{margin:12px 0 0;padding:12px 12px 8px;background:linear-gradient(180deg,#17191e,#0c0d10);border:1px solid #b49447;border-bottom:0}.stage-eq-heading{display:grid;grid-template-columns:1fr 1fr;font-size:10px;font-weight:900;letter-spacing:.12em;color:#58dcf1}.stage-eq-heading span:last-child{color:#ff6bc7;text-align:right}.eq-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:8px}.eq-strip-band{display:flex;flex-direction:column;align-items:center;min-width:0;gap:4px}.eq-strip-band:nth-child(4){border-left:1px solid #c0a35a70}.eq-strip-band label{display:flex;flex-direction:column;align-items:center;gap:3px;color:#e7cd89;font-size:10px;font-weight:900;letter-spacing:.04em}.eq-strip-band output{color:#fff;font-size:12px;letter-spacing:0}.eq-strip-band input[type=range]{writing-mode:vertical-lr;direction:rtl;appearance:slider-vertical;width:40px;height:110px;min-width:0;margin:0;padding:0;background:transparent;border:0;accent-color:#58dcf1;touch-action:none}.eq-strip-band.eq-b input[type=range]{accent-color:#ff6bc7}.eq-toggle{width:min(52px,95%);min-height:40px;padding:4px 1px;border:1px solid #6acde1;background:#15323b;color:#d7f8ff;font-size:10px;font-weight:900;touch-action:manipulation}.eq-b .eq-toggle{border-color:#e76eb2;background:#3a1830;color:#ffe0f3}.eq-toggle[aria-pressed=false]{background:#202126;color:#b3b3b3;border-color:#777}.eq-strip-band input:disabled,.eq-toggle:disabled{opacity:.4}.eq-caption{margin:8px 0 0;text-align:center;color:#bdb49d;font-size:9px;letter-spacing:.05em}.stage-eq+.stage-fader{margin-top:0}@media(max-width:480px){.stage-eq{padding:10px 4px 7px}.eq-strip-band label{font-size:8px}.eq-strip-band input[type=range]{height:100px;width:38px}.eq-toggle{min-height:40px}.eq-caption{font-size:8px}}
.eq-strip-band label{white-space:nowrap}@media(max-width:480px){.eq-strip-band label{font-size:7px;letter-spacing:0}}

/* Focus the phone on the original stage and the mixer, while retaining settings. */
.performance-toolbar{display:none}
@media(max-width:700px){#stage-modal.performance-active{display:block;padding:4px;overscroll-behavior:contain}#stage-modal.performance-active .modal-inner{width:100%}#stage-modal.performance-active .performance-toolbar{display:flex;align-items:center;gap:5px;min-height:38px;background:#15161b;border:1px solid #76612f;padding:3px 5px}#stage-modal.performance-active .performance-toolbar span{flex:1;color:#ffcf51;font-size:9px;font-weight:900;letter-spacing:.05em}#stage-modal.performance-active .performance-toolbar button{min-height:32px;padding:5px 7px;background:#25262c;color:#fff;border:1px solid #ac914d;font-size:9px;font-weight:900;touch-action:manipulation}#stage-modal.performance-active .close{display:none}#stage-modal.performance-active:not(.show-settings) .modal-copy,#stage-modal.performance-active:not(.show-settings) .song-bar,#stage-modal.performance-active:not(.show-settings) .phrase-settings,#stage-modal.performance-active:not(.show-settings) .auto-options,#stage-modal.performance-active:not(.show-settings) .now-playing{display:none}#stage-modal.performance-active .stage-eq{margin-top:0;padding-top:5px}#stage-modal.performance-active .stage-eq-heading{font-size:9px}#stage-modal.performance-active .eq-strip{margin-top:3px}#stage-modal.performance-active .eq-strip-band{gap:1px}#stage-modal.performance-active .eq-strip-band input[type=range]{height:clamp(65px,12vh,100px)}#stage-modal.performance-active .eq-toggle{min-height:38px}#stage-modal.performance-active .eq-caption{margin-top:3px}#stage-modal.performance-active .stage-fader{padding:5px 12px 0;margin-bottom:3px}#stage-modal.performance-active .stage-fader input[type=range]{min-height:28px;margin:2px 0}#stage-modal.performance-active .cue-controls{margin:3px 0}#stage-modal.performance-active .cue-controls button{min-height:42px}#stage-modal.performance-active .cue-controls span{font-size:8px}#stage-modal.performance-active .sync-readout{padding:.3rem;font-size:.65rem}#stage-modal.performance-active .nudge-hint{font-size:8px}}

/* Split each illustrated platter into independently playable halves. */
.deck-touch{top:68%;width:14%;height:29%;z-index:6;border:0;background:transparent;touch-action:none;-webkit-tap-highlight-color:transparent}.deck-a-slow{left:6%}.deck-a-fast{left:20%}.deck-b-slow{left:66%}.deck-b-fast{left:80%}.deck-a-slow,.deck-b-slow{border-radius:100% 0 0 100% / 50% 0 0 50%;border-right:1px solid #ffffff80}.deck-a-fast,.deck-b-fast{border-radius:0 100% 100% 0 / 0 50% 50% 0}.deck-touch.engaged[data-bend$=":-1"]{background:radial-gradient(ellipse at right center,#ff3434c9 0%,#f00a 40%,#a0000055 70%,transparent 100%);box-shadow:inset 0 0 14px #ff4848,0 0 12px #ff2424}.deck-touch.engaged[data-bend$=":1"]{background:radial-gradient(ellipse at left center,#49ff68c9 0%,#00d738aa 40%,#00802655 70%,transparent 100%);box-shadow:inset 0 0 14px #48ff70,0 0 12px #00df4d}.deck-touch:focus-visible{outline:2px solid #fff2ab;outline-offset:-2px}.deck-pad{position:absolute;z-index:6;background:transparent;border:2px solid transparent;padding:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.deck-pad:focus-visible{outline:2px solid #fff2ab}.deck-a-push,.deck-b-push{top:71%;width:13%;height:11%;border-radius:4px}.deck-a-push{left:35.5%}.deck-b-push{left:51.5%}

/* Use one transparent wordmark across the intro and stage. */
.brand{height:auto;overflow:visible;line-height:0}.brand img{position:static;display:block;width:100%;height:auto}.logo-showcase{line-height:0}.logo-showcase img{display:block;width:100%;height:auto}.stage-logo-backdrop{position:absolute;left:0;top:0;width:28.5%;height:18%;z-index:3;pointer-events:none;background-image:url('assets/stage-logo-background.png');background-repeat:no-repeat;background-position:left top;background-size:350.8772% 555.5556%}.board-logo{position:absolute;left:1.3%;top:0;width:25%;height:auto;overflow:visible;background:none;z-index:4;pointer-events:none}.board-logo img{position:static;top:auto;left:auto;display:block;width:100%;height:auto}.brand img,.logo-showcase img,.board-logo img{animation:logo-pulse 4s ease-in-out infinite;transform-origin:center;will-change:filter}@keyframes logo-pulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.19) drop-shadow(0 0 3px #ffc12888)}}@media(max-width:700px){.brand{height:auto}.brand img{top:auto}.board-logo{height:auto}}@media(prefers-reduced-motion:reduce){.brand img,.logo-showcase img,.board-logo img{animation:none}}
.stage-bg::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(4,5,9,.96),rgba(5,5,9,.72) 42%,rgba(6,5,9,.9)),linear-gradient(0deg,#09090d 5%,transparent 55%),url('assets/stage-logo-background.png') center/cover;clip-path:inset(0 60% 75% 0)}

/* Pregame control signal */

@keyframes dj-setup-signal { 0%,100% { box-shadow:0 0 3px #ffc12844 } 50% { box-shadow:0 0 14px 2px #ffc12899 } }
:is(#select-screen button, .topbar #open-admin, #stage-modal .song-bar button, #stage-modal .song-bar select, #stage-modal .phrase-settings select, #stage-modal .auto-options select):not(:disabled) { animation:dj-setup-signal 2.4s ease-in-out infinite }
#stage-modal #start-game, #select-screen #choose { animation-duration:1.35s }
@media (prefers-reduced-motion:reduce) { :is(#select-screen button, .topbar #open-admin, #stage-modal .song-bar button, #stage-modal .song-bar select, #stage-modal .phrase-settings select, #stage-modal .auto-options select):not(:disabled) { animation:none; box-shadow:0 0 8px #ffc12877 } }


.command-home{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border:1px solid #ffffff80;background:#15151bd9;color:#fff;text-decoration:none;white-space:nowrap;font-size:10px;font-weight:900;letter-spacing:.08em;touch-action:manipulation}.command-home:hover,.command-home:focus-visible{border-color:var(--gold);color:var(--gold)}.stage-home{margin:10px 0 0 8px}.performance-toolbar .command-home{min-height:38px;padding:5px 7px;font-size:9px}@media(max-width:370px){.header-right{gap:4px}.header-right .command-home{padding:8px 5px;letter-spacing:0}}


/* Full-width animated intro artwork */
.topbar{justify-content:flex-end}
.stage-bg::after{display:none}
.intro-masthead{position:relative;z-index:2;width:min(100%,1000px);margin:0 auto;line-height:0}
.intro-masthead picture,.intro-masthead img{display:block;width:100%;height:auto}
.select-screen{margin:0 auto}
@media(max-width:700px){.intro-masthead{width:100%}.topbar{justify-content:flex-end}.select-screen{padding-top:10px}}

/* Blend the artwork's dark edges into the surrounding stage. */
.intro-masthead img{mix-blend-mode:screen;mask-image:linear-gradient(to right,transparent,black 3%,black 97%,transparent)}

/* Fade the animation's perimeter into a consistent black intro background. */
.stage-bg{background:#09090d} .intro-masthead img{mix-blend-mode:screen;mask-image:linear-gradient(to right,transparent,black 8%,black 92%,transparent),linear-gradient(to bottom,transparent,black 7%,black 96%,transparent);mask-composite:intersect}

