:root{color-scheme:dark;--navy:#101831;--panel:#17223f;--line:#34415f;--muted:#aab6d2;--orange:#ffad4d;--text:#f6f3eb;--display:'Baloo 2',system-ui,sans-serif;--body:'Nunito',system-ui,sans-serif;--voice-width:184px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 5%,#25325466,transparent 55%),var(--navy);color:var(--text);font-family:var(--body);font-weight:600}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:default}a{color:inherit}button,input,select{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button{touch-action:manipulation}button svg{pointer-events:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:1200px;margin:auto;padding:0 32px}.utility{display:flex;justify-content:space-between;align-items:center;min-height:78px;gap:20px;border-bottom:1px solid #ffffff10}.home{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:16px}.home>span:first-child{font-size:24px;color:var(--orange)}.home b{color:var(--orange)}.home-small{display:none}.utility-right{display:flex;align-items:center;gap:18px}.language{display:flex;padding:3px;border:1px solid var(--line);border-radius:20px;gap:2px}.language button{background:transparent;border-radius:20px;padding:7px 10px;font-size:11px;min-height:32px;color:var(--muted);font-weight:900}.language button[aria-pressed=true]{background:#eef1f8;color:var(--navy)}.utility .mtl-auth-chip{position:static;box-shadow:none;background:transparent;border-color:var(--line);z-index:auto}.utility .mtl-auth-chip__btn{min-height:32px;color:#22160c;background:var(--orange)}.game-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 26px}.eyebrow{color:var(--orange);font-size:11px;letter-spacing:.15em;font-weight:900;margin:0 0 7px}h1{font:800 clamp(34px,4vw,52px)/1.05 var(--display);letter-spacing:-.015em;margin:0}h1 em{font-style:normal;color:var(--orange)}.intro{color:var(--muted);margin:10px 0 0;font-size:15px;line-height:1.5}.header-actions{display:flex;align-items:center;gap:10px}.quiet-button,.project-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 14px;border-radius:12px;background:transparent;color:#c5cee2;font-size:13px;font-weight:800;white-space:nowrap}.quiet-button>span:first-child{display:grid;place-items:center;border:1.5px solid var(--muted);border-radius:50%;width:20px;height:20px;font-size:13px}.project-button{background:#ffffff09;border:1px solid var(--line);color:#f5eee0}.project-button:hover{border-color:var(--orange)}.studio{background:linear-gradient(150deg,#1b2847,#15203b);border:1px solid #3d4c6e;border-radius:24px;overflow:hidden;box-shadow:0 18px 60px #030a192b}.studio-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #ffffff0e}.composition{position:relative;min-width:0;padding-right:48px;flex:1}.composition>label{display:block;font-size:10px;font-weight:900;color:var(--muted);letter-spacing:.1em;margin-bottom:4px}.composition>input{font:700 23px/1.2 var(--display);color:var(--text);background:transparent;width:100%;max-width:320px;padding:0;border-bottom:1px dashed #ffffff25;border-radius:0}.time-signature{position:absolute;right:8px;top:0;font:800 20px/1 var(--display);display:grid;text-align:center;color:#c0cbe1}.time-signature span{border-top:1px solid #ffffff25;padding-top:3px}.mode-switch{display:flex;gap:3px;background:#0e1730;border:1px solid #34415f;border-radius:11px;padding:4px}.mode-switch button{padding:9px 13px;border-radius:7px;min-height:38px;background:transparent;color:#aab6d2;font-weight:800;font-size:12px}.mode-switch button[aria-pressed=true]{background:#eaeef7;color:#17223f}.transport{display:flex;align-items:center;gap:28px;padding:20px 24px 16px}.play-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:13px 18px;min-width:202px;border-radius:13px;background:linear-gradient(#ffc16b,#ff9b37);color:#25170c;font-size:17px;font-weight:900;box-shadow:0 4px 0 #ad6125,0 8px 24px #ff9b3716}.play-button:hover{filter:brightness(1.07)}.play-button[aria-pressed=true]{background:#f5f1e7;box-shadow:0 4px 0 #a3a7b4}.play-button kbd{font-family:inherit;font-size:9px;border:1px solid #39220b44;border-radius:4px;padding:2px 5px;opacity:.6}.tempo{display:grid;grid-template-columns:1fr auto;gap:4px 14px;min-width:230px;max-width:330px;flex:1}.tempo label{display:flex;align-items:baseline;gap:7px;grid-column:1/-1}.tempo label>span{font-size:9px;color:var(--muted);font-weight:900;letter-spacing:.08em}.tempo output{font-size:21px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}.tempo small{font-size:10px;color:var(--muted)}.tempo input{width:100%;min-width:0;accent-color:var(--orange);height:20px;cursor:pointer}.tempo button{background:transparent;color:#d1dbed;font-size:11px;padding:0 0 3px;border-bottom:1px dashed #69799a}.beat-clock{display:flex;gap:8px;margin-left:auto}.clock-dot{display:grid;place-items:center;width:40px;height:40px;border:1px solid #4b5877;border-radius:50%;font-family:var(--display);font-weight:700;font-size:21px;color:#8090b0;transition:background .08s,color .08s}.clock-dot.is-current{background:var(--orange);border-color:var(--orange);color:#23180f;box-shadow:0 0 20px #ffad4d25}.session-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 24px 0;padding:11px 14px;border-radius:9px;background:#0d162c;color:#c0cce3;font-size:12px;min-height:41px}.session-status>div{display:flex;align-items:center;gap:9px}.status-light{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#657694}.bar-label{font-size:10px;white-space:nowrap;color:#8c9dbc;font-variant-numeric:tabular-nums}body[data-state=playing] .status-light{background:var(--orange);box-shadow:0 0 12px #ffad4d60}body[data-phase=respond] .session-status{background:#ffad4d;color:#281a10}body[data-phase=respond] .status-light{background:#3e2c13;box-shadow:none}body[data-phase=respond] .bar-label{color:#674322}.mode-hint{font-size:11px;color:#92a2c0;line-height:1.5;margin:10px 26px 18px}.score{padding:0 24px}.score-head{display:grid;grid-template-columns:var(--voice-width) minmax(0,1fr);gap:14px;margin-bottom:6px}.score-head>span{font-size:9px;letter-spacing:.14em;color:#7e8eae;align-self:end;padding:0 0 7px 12px;font-weight:900}.step-counts,.step-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.step-counts span{text-align:center;color:#c5cfe2;font-size:13px;line-height:24px;font-weight:900}.step-counts span:nth-child(even){font-size:11px;color:#6f80a0;font-weight:600}.voice-row{display:grid;grid-template-columns:var(--voice-width) minmax(0,1fr);align-items:center;gap:14px;margin-bottom:10px;--voice:#ff816d;--voice-ink:#3e1711}.voice-meta{display:flex;align-items:center;gap:9px;min-width:0}.voice-preview{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:13px;border:1px solid color-mix(in srgb,var(--voice),transparent 65%);background:color-mix(in srgb,var(--voice),transparent 88%);color:var(--voice)}.voice-preview .icon{width:32px;height:32px;stroke-width:2.6}.voice-label{font-family:var(--display);font-size:18px;font-weight:700;flex:1;min-width:0}.mute-button{display:grid;place-items:center;width:32px;height:38px;border-radius:8px;color:#91a1bd;background:transparent}.mute-button .icon{width:17px;height:17px}.mute-button[aria-pressed=true]{background:#ffffff0b;color:var(--voice)}.step{height:61px;min-width:0;position:relative;border:1px solid #394966;border-radius:11px;background:#111c33;box-shadow:inset 0 1px 3px #0002;transition:background .1s,border-color .1s;touch-action:manipulation}.step:nth-child(odd){border-left:2px solid #53627f}.step:before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#455471;margin:auto}.step.is-on{background:var(--voice);border-color:var(--voice);box-shadow:0 3px 0 color-mix(in srgb,var(--voice),black 35%)}.step.is-on:before{width:15px;height:15px;background:var(--voice-ink)}.step.is-current{outline:2px solid #edf2ff;outline-offset:2px;z-index:1}.step.is-current.is-on{filter:brightness(1.16);box-shadow:0 0 22px color-mix(in srgb,var(--voice),transparent 65%)}.voice-row.is-muted .step.is-on{background:color-mix(in srgb,var(--voice),#111c33 78%);border-color:#4a5670;box-shadow:none}.voice-row.is-muted .step.is-on:before{background:#7c8ba8}.voice-row.is-hit .voice-preview{background:var(--voice);color:var(--voice-ink);transform:rotate(-4deg) scale(1.05)}.score.is-concealed .step{background:#18233c;border-color:#34415d;box-shadow:none;filter:none}.score.is-concealed .step:before{background:#5a6883;width:6px;height:6px}.score.is-concealed .voice-row.is-hit .voice-preview{background:color-mix(in srgb,var(--voice),transparent 88%);color:var(--voice);transform:none}.score-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 25px 20px;color:#95a5c3;font-size:11px}.score-legend{display:flex;align-items:center;gap:7px}.score-legend i{width:7px;height:7px;border-radius:50%;background:#a9b7d1}.score-footer>div{display:flex;gap:12px}.score-footer button{display:flex;gap:6px;align-items:center;padding:7px 0;background:transparent;color:#c7d2e8;min-height:32px;font-size:11px}.score-footer .icon{width:15px;height:15px}.workbench{display:grid;grid-template-columns:1fr 1fr auto;gap:24px;align-items:start;margin:22px 0 28px}.preset-control label{display:block;color:#9daecb;font-weight:800;font-size:11px;margin-bottom:8px}.preset-control select{width:100%;padding:10px 12px;border-radius:10px;background:#1a2642;border:1px solid var(--line);color:#edf1f9;min-height:42px;font-weight:700;font-size:13px}.preset-control p{font-size:11px;color:#8f9fbd;line-height:1.5;margin:7px 0 0;min-height:16px}.options{background:transparent;font-size:12px;padding-top:22px}.options summary{cursor:pointer;font-weight:800;color:#c9d2e3;min-height:40px;padding:10px 0}.option-list{padding-top:7px;display:grid;gap:12px}.option-list label{display:flex;align-items:center;gap:9px;color:#b7c4dc;font-size:12px}.option-list input{accent-color:var(--orange);width:17px;height:17px;margin:0}.option-list p{font-size:11px;line-height:1.6;color:#8d9fbe;margin:0}.file-actions{display:flex;gap:8px;padding-top:23px}.file-actions button{min-height:42px;display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:#c8d2e6;font-size:11px;font-weight:800}.file-actions button:hover{background:#ffffff08;border-color:#7b8aa7}.file-actions .icon{width:16px;height:16px}.live-section{border-top:1px solid #ffffff12;padding-top:22px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-title h2{font:700 23px/1.2 var(--display);margin:0}.section-title p{font-size:12px;color:var(--muted);margin:0}.live-pads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.live-pad{display:flex;align-items:center;justify-content:center;gap:12px;min-height:86px;background:color-mix(in srgb,var(--voice),transparent 94%);border:1px solid color-mix(in srgb,var(--voice),transparent 70%);border-radius:15px;color:var(--voice)}.live-pad .icon{width:42px;height:42px;stroke-width:2.6}.live-pad .pad-name{font-family:var(--display);font-size:21px;font-weight:700}.live-pad kbd{font-size:10px;opacity:.5;border:1px solid currentColor;padding:2px 5px;border-radius:4px}.live-pad.is-hit{background:var(--voice);color:var(--voice-ink);box-shadow:0 0 26px color-mix(in srgb,var(--voice),transparent 83%)}.storage-note{font-size:11px;color:#7f92b3;text-align:center;margin:20px 0 0}footer{display:flex;justify-content:space-between;gap:16px;padding:30px 0;font-size:11px;color:#7f91b0}footer a{text-decoration:none;color:#a4b3cd;font-weight:800}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(12px);max-width:min(440px,calc(100vw - 32px));background:#fff4df;color:#2d2115;padding:12px 18px;border-radius:12px;font-size:13px;font-weight:800;box-shadow:0 10px 40px #0005;z-index:2147483647;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;text-align:center}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;background:#18233e;color:var(--text);border:1px solid #556384;border-radius:23px;padding:24px;box-shadow:0 32px 100px #0008}dialog::backdrop{background:#060b1ccc;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.dialog-heading h2{font:700 29px/1.2 var(--display);margin:0}.dialog-heading>button{width:36px;height:36px;border-radius:50%;background:#ffffff0d;font-size:26px;color:#bdcbe2}.dialog-intro,.help-note{color:#adbad2;font-size:13px;line-height:1.7;margin:0 0 20px}.help-steps{display:grid;gap:17px;margin:20px 0}.help-steps>div{display:flex;gap:13px;align-items:flex-start}.help-steps b{display:grid;place-items:center;flex-shrink:0;background:#ffad4d;color:#38220f;border-radius:9px;width:28px;height:28px;font-size:14px}.help-steps p{font-size:13px;line-height:1.6;margin:0;color:#dce4f2}.help-note{font-size:11px}.primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 19px;border-radius:10px;background:var(--orange);color:#271b0d;font-weight:900;font-size:13px}dialog label{display:block;font-size:11px;color:#aebcd4;font-weight:800;margin:0 0 8px}dialog input{width:100%;min-width:0;min-height:44px;background:#0e1730;color:#f4f5fa;border:1px solid #455476;border-radius:10px;padding:10px 12px;font-size:13px}.save-line{display:flex;gap:10px;margin-bottom:24px}#savedList{display:grid;gap:10px}.saved-item{display:flex;align-items:center;gap:8px;padding:10px;border-radius:12px;border:1px solid #3b4965;background:#ffffff03}.saved-load{flex:1;min-width:0;background:transparent;text-align:left;padding:4px;color:#f0f2fa}.saved-load b{display:block;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.saved-load small{display:block;font-size:10px;color:#8f9fbc;margin-top:4px}.saved-delete{width:36px;height:36px;border-radius:9px;background:#ffffff05;color:#b8c4dc;font-size:18px}.saved-empty{font-size:13px;line-height:1.6;color:#a6b5ce;text-align:center;padding:16px}#shareLink{margin-bottom:18px;font-size:11px}.export-option{display:flex;align-items:center;gap:16px;width:100%;padding:18px 14px;margin-top:12px;background:#ffffff05;border:1px solid #3d4c6b;border-radius:13px;text-align:left;color:#f5f0e7}.export-option>.icon{color:var(--orange);width:26px;height:26px}.export-option>span:nth-child(2){flex:1}.export-option b{display:block;font-size:14px;margin-bottom:5px}.export-option small{display:block;font-size:11px;line-height:1.5;color:#a7b7d0}#exitProject{display:none;background:#ffffff20;border:1px solid #ffffff30;border-radius:7px;padding:7px 10px;font-size:11px;color:inherit}.is-projecting{background:var(--navy)}.is-projecting .app-shell{max-width:1500px;padding:20px 32px}.is-projecting .utility,.is-projecting .eyebrow,.is-projecting .intro,.is-projecting .header-actions,.is-projecting .workbench,.is-projecting .live-section,.is-projecting .storage-note,.is-projecting footer,.is-projecting .score-footer{display:none}.is-projecting .game-header{padding:0 0 14px}.is-projecting h1{font-size:32px}.is-projecting .studio-top{padding-block:12px}.is-projecting .step{height:clamp(55px,10vh,110px)}.is-projecting .voice-label{font-size:22px}.is-projecting .score{padding-bottom:18px}.is-projecting #exitProject{display:block}.is-projecting .mode-hint{font-size:13px}.is-projecting .bar-label{margin-left:auto}
@media(max-width:1000px){.app-shell{padding-inline:24px}.header-actions{flex-direction:column;gap:0;align-items:flex-end}.workbench{grid-template-columns:1fr 1fr;gap:12px 24px}.file-actions{grid-column:1/-1;padding-top:0;justify-content:flex-end}.transport{gap:18px}.play-button{min-width:170px}.play-button kbd{display:none}.tempo{min-width:180px}.beat-clock{gap:6px}.clock-dot{width:32px;height:32px;font-size:18px}.voice-label{font-size:16px}:root{--voice-width:160px}}
@media(max-width:650px){:root{--voice-width:0px}.app-shell{padding-inline:14px}.utility{min-height:64px;gap:12px}.utility-right{gap:10px}.home-brand{display:none}.home-small{display:inline;font-size:13px;font-weight:800}.home{gap:8px}.utility .mtl-auth-chip__email{display:none}.utility .mtl-auth-chip{padding:4px}.language button{font-size:10px;padding:5px 8px}.game-header{padding:22px 2px 20px;display:block}.eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:8px}h1{font-size:38px}.intro{font-size:12px;line-height:1.5;max-width:42ch;margin-top:7px}.header-actions{flex-direction:row;justify-content:space-between;align-items:center;margin-top:12px;gap:10px}.quiet-button,.project-button{font-size:11px;padding:8px 10px;min-height:38px}.quiet-button{padding-left:0}.project-button .icon{width:17px;height:17px}.studio{border-radius:18px}.studio-top{padding:15px 14px;display:block}.composition{padding-right:36px}.composition>input{font-size:22px;max-width:none}.composition>label{font-size:9px}.time-signature{right:0;font-size:19px}.mode-switch{margin-top:14px;display:grid;grid-template-columns:.8fr 1.6fr;padding:3px}.mode-switch button{font-size:11px;min-height:34px;padding:7px 8px}.transport{padding:16px 14px 10px;gap:14px;flex-wrap:wrap}.play-button{min-width:0;flex:1;min-height:48px;font-size:14px;padding:12px;gap:7px}.play-button .icon{width:19px;height:19px}.tempo{min-width:0;max-width:none;flex:1;gap:5px;grid-template-columns:1fr}.tempo label{gap:5px}.tempo label>span{font-size:8px}.tempo output{font-size:19px}.tempo small{font-size:9px}.tempo button{display:none}.tempo input{height:18px;margin:0}.beat-clock{display:none}.session-status{margin:5px 14px 0;padding:10px;font-size:11px;gap:8px;min-height:38px}.bar-label{font-size:9px}.status-light{width:6px;height:6px}.mode-hint{font-size:10px;margin:9px 15px 13px;line-height:1.6;min-height:32px}.score{padding:0 14px}.score-head{display:block;margin-bottom:0}.score-head>span{display:none}.step-counts{gap:5px}.step-counts span{font-size:12px;line-height:22px}.step-counts span:nth-child(even){font-size:10px}.voice-row{display:block;margin-bottom:12px}.voice-meta{margin-bottom:7px;gap:8px}.voice-preview{width:30px;height:30px;border-radius:8px}.voice-preview .icon{width:22px;height:22px;stroke-width:2.7}.voice-label{font-size:16px}.mute-button{width:34px;height:30px}.mute-button .icon{width:16px;height:16px}.step-grid{gap:5px}.step{height:36px;border-radius:7px}.step.is-on:before{width:10px;height:10px}.step:before{width:4px;height:4px}.score-footer{padding:0 14px 14px;flex-wrap:wrap;gap:7px}.score-legend{font-size:9px}.score-footer>div{margin-left:auto;gap:12px}.score-footer button{font-size:10px;min-height:30px;padding:4px 0}.score-footer .icon{width:13px;height:13px}.workbench{grid-template-columns:1fr;gap:8px;margin:18px 2px 24px}.preset-control label{font-size:10px}.preset-control p{font-size:10px}.options{padding-top:0}.options summary{font-size:12px;min-height:40px}.file-actions{grid-column:auto;justify-content:stretch;gap:6px;padding-top:4px}.file-actions button{flex:1;justify-content:center;padding:10px 5px;font-size:10px;gap:5px}.file-actions .icon{width:14px;height:14px}.section-title{display:block;margin-bottom:12px}.section-title h2{font-size:22px}.section-title p{font-size:10px;margin-top:5px}.live-pads{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.live-pad{min-height:76px;gap:9px;border-radius:12px}.live-pad .icon{width:34px;height:34px}.live-pad .pad-name{font-size:18px}.live-pad kbd{display:none}.storage-note{font-size:10px;line-height:1.6;padding-inline:14px}footer{font-size:10px;flex-wrap:wrap;padding:24px 2px;gap:10px}dialog{padding:20px;border-radius:18px}.dialog-heading h2{font-size:26px}.is-projecting .app-shell{padding:12px}.is-projecting h1{font-size:26px}.is-projecting .studio-top{padding:10px 12px}.is-projecting .mode-switch{display:none}.is-projecting .transport{padding:12px}.is-projecting .mode-hint{font-size:10px;min-height:0}.is-projecting .step{height:clamp(34px,5vh,48px)}.is-projecting .voice-label{font-size:16px}.is-projecting .session-status{flex-wrap:wrap}.is-projecting #exitProject{font-size:9px}.is-projecting .score{padding:0 12px 8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.voice-row.is-hit .voice-preview{transform:none}}

/* Keep playback within reach while editing the tall phone score. */
@media(max-width:650px){.studio{overflow:clip}.transport{position:sticky;top:0;z-index:3;background:#182440;border-bottom:1px solid #ffffff0b;padding-bottom:14px}.game-header{padding-top:17px;padding-bottom:15px}h1{font-size:34px}.eyebrow{margin-bottom:5px}.intro{margin-top:5px}.header-actions{margin-top:8px}.voice-row{margin-bottom:10px}.voice-meta{margin-bottom:5px}.mode-hint{margin-bottom:9px}}

/* Ear-training challenges use the same instrument, with a visible 2 → 3 → 4 progression. */
[hidden]{display:none!important}.challenge-panel{border:1px solid #58617e;background:linear-gradient(120deg,#223352,#202840);border-radius:22px;margin:0 0 18px;padding:22px 24px}.challenge-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.challenge-heading h2{font:800 29px/1.15 var(--display);margin:0}.challenge-heading .eyebrow{font-size:10px;margin-bottom:5px}.star-total{font:800 26px var(--display);color:#ffc36d;white-space:nowrap}.level-map{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;margin:18px 0 12px}.level-map button{height:48px;display:flex;align-items:center;justify-content:center;gap:7px;background:#111c32;border:1px solid #4c5a77;border-radius:10px;color:#b5c0d5}.level-map button:nth-child(3),.level-map button:nth-child(6){margin-right:8px}.level-map b{font:800 20px var(--display)}.level-map span{font-size:10px;color:#ffbd64;letter-spacing:1px}.level-map .is-active{background:#ffb45a;border-color:#ffd298;color:#30200e;box-shadow:0 3px 0 #a55f2e}.level-map .is-active span{color:#805022}.level-map .is-complete:not(.is-active){border-color:#b38a51}.level-map button:disabled{opacity:.33}.challenge-instruction{font-size:13px;line-height:1.55;color:#b8c8e0;margin:10px 0 14px}.challenge-actions{display:flex;align-items:center;gap:10px}.challenge-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:11px;padding:10px 15px;font-size:12px;font-weight:900}.challenge-listen{background:#ffb45a;color:#2b1b0c;box-shadow:0 3px 0 #a8602c}.challenge-record{background:#2c3b58;border:1px solid #68738d;color:#eaf1ff}.challenge-record>span:first-child{color:#ff8b78;font-size:15px}.challenge-hint{background:transparent;color:#b7c7e1;margin-left:auto}.challenge-feedback{min-height:24px;margin-top:13px;color:#aebed8;font-size:12px;line-height:1.55}.challenge-feedback.is-success{color:#ffd18c;font-size:16px;font-weight:900}.challenge-check{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:16px 24px 5px}.challenge-check>div{margin-right:auto}.challenge-check #challengeScore{display:block;color:#ffcc84;font-weight:900;font-size:13px}.challenge-check small{display:block;margin-top:4px;font-size:10px;color:#94a5c5}.challenge-check button{background:#ffb45a;color:#2d1b09;min-height:46px;padding:10px 20px;border-radius:11px;font-weight:900;box-shadow:0 3px 0 #aa6329}.is-challenge .preset-control,.is-challenge .options,.is-challenge .file-actions,.is-challenge .mute-button,.is-challenge .time-signature,.is-challenge #tapBtn{display:none}.is-challenge .workbench{display:none}.is-challenge .live-section{margin-top:22px}.is-challenge .composition{padding-right:0;flex:.8}.is-challenge .composition>label{display:none}.is-challenge .composition>input{border:0;font-size:19px;pointer-events:none}.is-challenge .studio-top{padding-block:12px}.is-challenge .mode-switch button{font-size:11px;padding-inline:11px}.is-challenge .transport{padding-block:14px}.is-challenge .play-button{font-size:14px;min-width:210px;min-height:48px;background:#303e5b;color:#d9e5fb;box-shadow:0 3px 0 #0e1830}.is-challenge .play-button kbd{display:none}.is-challenge .step[aria-disabled=true]{cursor:default}.is-challenge .live-pads{grid-template-columns:repeat(var(--active-voices,2),minmax(0,1fr))}.is-recording .recording-pads{position:sticky;bottom:12px;background:#14213c;border:2px solid #ff8b78;border-radius:18px;padding:16px;z-index:5;box-shadow:0 10px 50px #0008}.is-recording .challenge-record{border-color:#ff8b78;color:#ffc3b8}.is-projecting.is-challenge .challenge-panel{padding:12px 20px;margin-bottom:12px}.is-projecting.is-challenge .level-map{margin:10px 0}.is-projecting.is-challenge .level-map button{height:34px}.is-projecting.is-challenge .challenge-heading h2{font-size:23px}.is-projecting.is-challenge .challenge-instruction{margin:8px 0}.is-projecting.is-challenge .step{height:clamp(38px,6vh,65px)}.is-projecting.is-challenge .live-section{display:block}.is-projecting.is-challenge .live-pad{min-height:55px}.is-projecting.is-challenge .section-title{display:none}.is-projecting.is-challenge .mode-hint{display:none}
@media(max-width:650px){.challenge-panel{padding:16px 14px;border-radius:17px}.challenge-heading{gap:8px}.challenge-heading h2{font-size:23px}.star-total{font-size:20px}.challenge-heading .eyebrow{font-size:8px}.level-map{gap:4px;margin-top:13px}.level-map button{height:42px;display:grid;gap:0;padding:3px 0;border-radius:7px}.level-map button:nth-child(3),.level-map button:nth-child(6){margin-right:4px}.level-map b{font-size:16px;line-height:18px}.level-map span{font-size:7px;letter-spacing:0}.challenge-instruction{font-size:11px;line-height:1.5;margin-bottom:10px}.challenge-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.challenge-actions button{font-size:10px;padding:9px 7px;min-height:42px;gap:5px}.challenge-actions .icon{width:17px;height:17px}.challenge-hint{grid-column:1/-1;justify-self:end;min-height:30px!important;padding:4px 6px!important}.challenge-feedback{font-size:10px;margin-top:5px;min-height:30px}.challenge-feedback.is-success{font-size:13px}.is-challenge .game-header{padding-block:14px}.is-challenge .game-header>.header-actions{margin-top:7px}.is-challenge .intro{font-size:11px}.is-challenge .studio-top{padding:10px 12px}.is-challenge .composition>input{font-size:17px}.is-challenge .mode-switch{grid-template-columns:.7fr .7fr 1.5fr;margin-top:8px}.is-challenge .mode-switch button{padding:7px 5px;font-size:9px}.is-challenge .play-button{min-width:0;font-size:11px;padding-inline:8px;flex:1.4}.is-challenge .mode-hint{font-size:9px;min-height:0}.challenge-check{padding:12px 14px 8px;gap:10px;flex-wrap:wrap}.challenge-check>div{flex:1}.challenge-check #challengeScore{font-size:11px}.challenge-check small{font-size:9px;max-width:180px;line-height:1.4}.challenge-check button{font-size:11px;min-height:42px;padding:9px 12px}.is-challenge .live-pads{grid-template-columns:repeat(2,minmax(0,1fr))}.is-recording .recording-pads{padding:10px;bottom:8px;margin-inline:-2px}.is-recording .section-title{margin-bottom:8px}.is-recording .section-title h2{font-size:18px}.is-recording .live-pad{min-height:62px}.is-projecting.is-challenge .mode-switch{display:grid}}

.is-recording .recording-pads{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;width:min(1100px,calc(100% - 32px));margin:0}.is-recording .recording-pads .section-title{display:block}.is-recording #liveTitle{color:#ffc09e}.is-recording .recording-pads .section-title p{margin-top:5px}
.free-shortcut{display:none}.is-challenge .free-shortcut{display:flex}.is-challenge .tempo input{display:none}.is-challenge .tempo{min-width:72px;flex:0 0 90px}.is-challenge .tempo label{margin:0}.is-challenge .live-section .section-title p{line-height:1.5}
@media(max-width:650px){.is-challenge .game-header .eyebrow,.is-challenge .game-header .intro{display:none}.is-challenge .game-header h1{font-size:30px}.is-challenge .header-actions{justify-content:space-between;gap:4px}.is-challenge .header-actions button{font-size:10px;padding:7px 6px;min-height:34px}.is-challenge .studio-top{display:none}.is-challenge .challenge-panel{position:relative;margin-bottom:12px;padding:13px 14px}.is-challenge .challenge-heading h2{font-size:21px}.is-challenge .star-total{font-size:18px}.is-challenge .level-map{margin:10px 0 8px}.is-challenge .level-map button{height:35px}.is-challenge .challenge-instruction{font-size:10px;margin:6px 0 10px}.is-challenge .challenge-hint{position:absolute;right:14px;bottom:10px;min-height:26px!important}.is-challenge .challenge-feedback{padding-right:65px;margin-top:10px;min-height:28px;font-size:10px}.is-challenge .transport{padding:12px 14px;gap:12px}.is-challenge .play-button{min-height:42px}.is-challenge .tempo{flex:0 0 68px}.is-challenge .mode-hint{margin:8px 14px;line-height:1.4}.is-challenge .voice-row{margin-bottom:8px}.is-challenge .challenge-check{padding-top:6px}.is-challenge .score-footer{padding-bottom:8px}.is-challenge .challenge-feedback.is-success{padding-right:0}.is-challenge .challenge-hint:disabled{visibility:hidden}.is-projecting.is-challenge .studio-top{display:none}}
.is-projecting.is-challenge .studio-top{display:none}.is-projecting.is-challenge .challenge-heading .eyebrow{display:block}.is-projecting.is-challenge .level-map{display:none}.is-projecting.is-challenge .score{padding-bottom:8px}.challenge-feedback.is-success{animation:earned-star .35s ease-out}@keyframes earned-star{from{transform:translateY(5px);opacity:.3}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.challenge-feedback.is-success{animation:none}}
@media(min-width:1000px){
  .is-challenge:not(.is-projecting) main{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px 20px;align-items:start}
  .is-challenge:not(.is-projecting) .challenge-panel{margin:0;padding:20px;grid-column:1;grid-row:1/3}
  .is-challenge:not(.is-projecting) .challenge-heading{display:block}
  .is-challenge:not(.is-projecting) .challenge-heading h2{font-size:27px}
  .is-challenge:not(.is-projecting) .star-total{font-size:22px;margin-top:7px}
  .is-challenge:not(.is-projecting) .level-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}
  .is-challenge:not(.is-projecting) .level-map button{height:49px;margin:0}
  .is-challenge:not(.is-projecting) .challenge-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .is-challenge:not(.is-projecting) .challenge-hint{margin:0;justify-self:start;padding-left:0;min-height:30px}
  .is-challenge:not(.is-projecting) .challenge-feedback{margin-top:8px}
  .is-challenge:not(.is-projecting) .studio{grid-column:2;--voice-width:112px}
  .is-challenge:not(.is-projecting) .voice-label{font-size:15px}
  .is-challenge:not(.is-projecting) .voice-preview{width:33px;height:38px;border-radius:9px}
  .is-challenge:not(.is-projecting) .voice-preview .icon{width:26px;height:26px}
  .is-challenge:not(.is-projecting) .voice-meta{gap:7px}
  .is-challenge:not(.is-projecting) .studio-top{padding-inline:18px;gap:12px}
  .is-challenge:not(.is-projecting) .composition{flex:.6}
  .is-challenge:not(.is-projecting) .composition>input{font-size:16px}
  .is-challenge:not(.is-projecting) .mode-switch button{font-size:10px;padding-inline:8px}
  .is-challenge:not(.is-projecting) .transport{gap:15px;padding-inline:18px}
  .is-challenge:not(.is-projecting) .play-button{min-width:170px;font-size:12px;padding-inline:12px}
  .is-challenge:not(.is-projecting) .clock-dot{width:29px;height:29px;font-size:17px}
  .is-challenge:not(.is-projecting) .beat-clock{gap:5px}
  .is-challenge:not(.is-projecting) .score{padding-inline:18px}
  .is-challenge:not(.is-projecting) .session-status{margin-inline:18px}
  .is-challenge:not(.is-projecting) .mode-hint{margin-inline:20px}
  .is-challenge:not(.is-projecting) .step{height:58px}
  .is-challenge:not(.is-projecting) .step-counts,.is-challenge:not(.is-projecting) .step-grid{gap:5px}
  .is-challenge:not(.is-projecting) .live-section{grid-column:2;margin:0;padding-top:16px}
  .is-challenge:not(.is-projecting) .section-title{align-items:start;gap:14px}
  .is-challenge:not(.is-projecting) .section-title h2{font-size:20px}
  .is-challenge:not(.is-projecting) .section-title p{font-size:10px}
  .is-challenge:not(.is-projecting) .live-pad{min-height:72px;gap:8px}
  .is-challenge:not(.is-projecting) .live-pad .icon{width:31px;height:31px}
  .is-challenge:not(.is-projecting) .live-pad .pad-name{font-size:17px}
  .is-challenge:not(.is-projecting) .storage-note{grid-column:1/-1;margin:0}
  .is-challenge:not(.is-projecting) .challenge-check{padding-inline:18px}
}
