.piano-toolbar{flex-wrap:wrap;justify-content:space-between;gap:.6rem;display:flex}.piano-toolbar select{background:#fff;border:2px solid #ddd8ee;border-radius:14px;max-width:100%;padding:.65rem;font-weight:700}.piano-tabs,.piano-instruments{flex-wrap:wrap;gap:.35rem;display:flex}.piano-tabs button,.piano-instruments button{background:#fff;border:2px solid #d7d5e6;border-radius:14px;min-height:44px;padding:.65rem .85rem;font-weight:800}.piano-tabs button[aria-pressed=true]{color:#fff;background:#323b68;border-color:#323b68}.piano-instruments button[aria-pressed=true]{background:#fff0bf;border-color:#bd915c}.piano-console{background:#eef0ff;border:5px solid #323b68;border-radius:26px;overflow:hidden;box-shadow:0 8px #20294626}.piano-stage-heading{color:#fff;background:#323b68;flex-wrap:wrap;justify-content:space-between;gap:.4rem;padding:.65rem 1rem;font-size:.85rem;font-weight:800;display:flex}.piano-stage-heading span:last-child{color:#e1deff;font-weight:500}.piano-stage{height:clamp(150px,24vw,245px);position:relative;overflow:hidden}.piano-stage>svg{width:100%;height:100%}.piano-stage-pal{transition:transform .12s}.piano-stage-pal[data-playing=true]{transform:translateY(-11px)rotate(-7deg)}.piano-conductor{position:absolute;bottom:5%;left:calc(50% - 32px)}.piano-conductor .buddy-portrait{background:0 0}.piano-note-burst{pointer-events:none;position:absolute;inset:0}.piano-note-burst span{text-shadow:1px 2px #243056;font-size:2rem;font-weight:900;animation:.65s ease-out both piano-note-rise;position:absolute;top:35%}@keyframes piano-note-rise{0%{opacity:1;transform:translateY(45px)scale(.8)}to{opacity:0;transform:translateY(-40px)scale(1.2)}}.piano-encore{color:#323b68;text-align:center;background:#fff1bd;border-radius:20px;width:max-content;max-width:95%;padding:.5rem 1rem;font-weight:900;position:absolute;top:8%;left:50%;transform:translate(-50%);box-shadow:0 3px #86674455}.piano-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;padding:.8rem;display:flex}.piano-controls .btn{min-height:44px;padding:.6rem .9rem;font-size:.85rem}.piano-instruments button{padding:.5rem .65rem;font-size:.8rem}.piano-record-dot{background:#ffb8b0;border-radius:50%;width:10px;height:10px;display:inline-block}.piano-recording-track{flex-wrap:wrap;align-items:center;gap:.3rem;min-height:42px;padding:.5rem .85rem;display:flex}.piano-recording-track>span:not(.piano-recording-empty){border:2px solid #454971;border-radius:10px;padding:.15rem .45rem;font-size:.75rem;font-weight:800}.piano-recording-track>span[data-active=true]{outline-offset:1px;outline:3px solid #137264}.piano-recording-empty{color:#4c5271;font-size:.8rem}.piano-status{background:#fff;border-radius:12px;min-height:44px;margin:0 .8rem .65rem;padding:.6rem .8rem;font-size:.9rem;font-weight:700}.piano-keyboard-scroll{background:#323b68;padding:4px 6px 10px;overflow-x:auto}.piano-full-keyboard{-webkit-user-select:none;user-select:none;min-width:420px;position:relative}.piano-white-keys{grid-template-columns:repeat(8,minmax(48px,1fr));gap:3px;display:grid}.piano-pals .piano-white-key{background:linear-gradient(#fff 20%, #fffaf0 70%, var(--key-color));border:1px solid #d9d3df;border-bottom:7px solid #b5abbc;gap:.2rem;height:165px;min-height:165px;padding:.5rem .2rem}.piano-white-key strong{background:var(--key-color);text-align:center;border-radius:8px;min-width:28px;padding:.1rem;font-size:1.15rem}.piano-key-light{border:2px solid;border-radius:50%;width:8px;height:8px}.piano-white-key .piano-key-light{margin-top:auto}.piano-white-key[data-guide=true]{box-shadow:inset 0 0 0 4px #23816c}.piano-white-key[data-lit=true]{background:var(--key-color);transform:translateY(3px);box-shadow:inset 0 0 0 3px #323b68}.piano-black-key{color:#fff;touch-action:manipulation;background:linear-gradient(110deg,#555d7e,#202841);border:2px solid #191d35;border-bottom:7px solid #0e1125;border-radius:0 0 9px 9px;flex-direction:column;justify-content:flex-end;align-items:center;gap:.1rem;width:7.5%;min-width:32px;height:94px;padding:.3rem .1rem;display:flex;position:absolute;top:0;transform:translate(-50%)}.piano-black-key strong{font-size:.8rem}.piano-black-key kbd{font:inherit;color:#d7deff;font-size:.65rem}.piano-black-key[data-lit=true]{background:#805eb0;border-color:#dbbdff;transform:translate(-50%,3px)}.piano-keyboard-caption{color:#fff;background:#323b68;flex-wrap:wrap;justify-content:space-between;gap:.25rem;padding:.5rem .75rem;font-size:.7rem;display:flex}.piano-trail{flex-wrap:wrap;gap:.4rem;margin:0;padding:.2rem .85rem .6rem;list-style:none;display:flex}.piano-trail li{background:var(--key-color);border:2px solid #abaec7;border-radius:12px;justify-items:center;min-width:45px;padding:.15rem .5rem;display:grid}.piano-trail li>span,.piano-trail small{font-size:.65rem}.piano-trail li>strong{font-size:1.2rem}.piano-trail li[data-active=true]{outline-offset:1px;outline:3px solid #323b68}.piano-trail li[data-complete=true]{border-bottom:5px solid #2d8275}.piano-scoreboard{color:#303b62;flex-wrap:wrap;gap:.5rem 1.1rem;padding:.3rem .85rem .8rem;font-size:.85rem;display:flex}.piano-scoreboard strong{color:#116a58}.piano-song-stars{color:#9c6516;letter-spacing:.15em;font-size:2rem}.piano-song-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.piano-song-picker button{text-align:left;background:#fff;border:2px solid #dedfeb;border-radius:18px;gap:.3rem;padding:.85rem;display:grid}.piano-song-picker button[aria-pressed=true]{background:#eef6ef;border-color:#277d6c}.piano-song-picker button>span{text-align:center;background:#eee6fa;border-radius:50%;width:28px;height:28px;font-weight:800}.piano-song-picker small{font-size:.75rem}.piano-song-filters{flex-wrap:wrap;gap:.4rem;display:flex}.piano-song-filters button{background:#fff;border:2px solid #d7d5e6;border-radius:14px;min-height:44px;padding:.5rem .85rem;font-weight:800}.piano-song-filters button[aria-pressed=true]{color:#fff;background:#323b68;border-color:#323b68}.piano-keyboard-scroll:focus-visible{outline-offset:-3px;outline:3px solid #4ed4c4}@media (max-width:480px){.piano-tabs{width:100%}.piano-tabs button{flex:1;padding:.5rem .4rem;font-size:.8rem}.piano-toolbar select{min-height:40px;padding:.45rem;font-size:.8rem}.piano-stage-heading{padding:.5rem .65rem;font-size:.75rem}.piano-stage-heading span:last-child{display:none}.piano-controls{padding:.5rem}.piano-console{border-width:4px;border-radius:20px}}@media (prefers-reduced-motion:reduce){.piano-note-burst span{animation:none}}
.jam-intro{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;display:flex}.jam-intro h2{font-family:var(--font-display), sans-serif;font-size:clamp(1.5rem,4vw,2rem);font-weight:800}.jam-intro p{max-width:42rem}.jam-star-total{background:#fff0b3;border-radius:999px;padding:.5rem .8rem;font-weight:800}.jam-arena{color:#fff5e8;background:radial-gradient(at top,#57486b,#251f38 75%);border:3px solid #786291;border-radius:24px;padding:1rem;scroll-margin-top:8px}.jam-arena[data-scene=bubble]{background:radial-gradient(at top,#245e74,#192e44 75%)}.jam-arena[data-scene=moon],.jam-arena[data-scene=rocket]{background:radial-gradient(at top,#354e85,#211d3b 75%)}.jam-arena[data-scene=jungle]{background:radial-gradient(at top,#2f6859,#152f2c 75%)}.jam-arena[data-scene=festival]{background:radial-gradient(at top,#844d68,#38233d 75%)}.jam-headline{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.jam-headline h3{font-family:var(--font-display), sans-serif;font-size:1.5rem;font-weight:800}.jam-headline p,.jam-headline>span{font-size:.75rem;font-weight:750}.jam-headline>span{text-align:right;flex-shrink:0;width:7rem}.jam-scoreboard{font-variant-numeric:tabular-nums;justify-content:space-between;gap:.5rem;margin:.6rem 0;font-size:.8rem;display:flex}.jam-scoreboard strong{color:#ffe094}.jam-beat-lights{justify-content:center;gap:.65rem;margin-bottom:.6rem;display:flex}.jam-beat-lights span{background:#ffffff20;border-radius:50%;place-items:center;width:1.6rem;height:1.6rem;font-size:.8rem;font-weight:800;display:grid}.jam-beat-lights [data-on=true]{color:#292446;background:#ffe094}.jam-highway{background:#110f1e;border:1px solid #a88cbd;border-radius:14px;gap:.2rem;display:grid;overflow:hidden}.jam-lane{background:linear-gradient(#0000 48%,#ffffff20 49% 51%,#0000 52%);height:42px;position:relative;overflow:hidden}.jam-target,.jam-note{width:29px;height:29px;color:var(--jam-color);border-radius:50%;place-items:center;font-size:1rem;font-weight:900;display:grid;position:absolute;top:50%;transform:translate(-50%,-50%)}.jam-target{border:2px dashed var(--jam-color);opacity:.75;left:15%}.jam-note{color:#241c31;background:var(--jam-color);border:2px solid #fff;transition:left 40ms linear}.jam-still-cue{text-align:center;place-items:center;min-height:2.4rem;padding:.25rem 0;font-size:.75rem;font-weight:700;display:grid}.jam-pads{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.jam-pad{border:3px solid var(--jam-color);color:#292446;touch-action:manipulation;background:#fff8ec;border-bottom-width:6px;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;min-width:0;min-height:82px;padding:.45rem;display:flex}.jam-buddy{width:3.2rem;height:3.2rem;transition:transform .1s}.jam-pad strong{white-space:nowrap;font-size:1.1rem}.jam-pad kbd{border:1px solid #aa9cba;border-radius:5px;padding:.05rem .35rem;font-size:.7rem}.jam-pad[data-due=true]{outline-offset:2px;outline:3px solid #fff1a5}.jam-pad[data-lit=true]{background:var(--jam-color)}.jam-pad[data-lit=true] .jam-buddy{transform:translateY(-4px)rotate(-5deg)}.jam-feedback{text-align:center;place-items:center;min-height:3.3rem;margin:.35rem 0;font-size:.85rem;font-weight:750;display:grid}.jam-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;display:flex}.jam-actions>span{font-size:.75rem}.jam-track-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.7rem;display:grid}.jam-track-list button{text-align:left;background:#fff;border:2px solid #d4cedf;border-radius:12px;gap:.3rem;padding:.7rem;display:grid}.jam-track-list button[aria-pressed=true]{background:#e4ddff;border-color:#645191}.jam-track-list span{font-size:.75rem}.rhythm-jam :focus-visible{outline-offset:3px;outline:3px solid #2e8dcc}@media (max-width:480px){.jam-arena{border-radius:18px;padding:.6rem}.jam-headline h3{font-size:1.15rem}.jam-lane{height:32px}.jam-target,.jam-note{width:25px;height:25px;font-size:.85rem}.jam-pads{gap:.4rem}.jam-pad{border-radius:13px;gap:.1rem;min-height:75px;padding:.25rem}.jam-buddy{width:2.25rem;height:2.25rem}.jam-pad strong{width:100%;font-size:.85rem}.jam-pad kbd{display:none}.jam-feedback{min-height:3rem;font-size:.75rem}}@media (max-height:600px){.jam-arena{padding:.5rem}.jam-headline h3{font-size:1.05rem}.jam-headline p{display:none}.jam-scoreboard{margin:.2rem 0}.jam-beat-lights{margin-bottom:.25rem}.jam-beat-lights span{width:1.2rem;height:1.2rem}.jam-lane{height:24px}.jam-target,.jam-note{width:22px;height:22px}.jam-still-cue{min-height:1.6rem}.jam-pad{min-height:62px;padding:.15rem}.jam-buddy{width:1.8rem;height:1.8rem}.jam-feedback{min-height:2.4rem;margin:.2rem 0;font-size:.72rem}.jam-actions>span{display:none}}.jam-highway[data-reduced=true] .jam-note,[data-reduced-motion=true] .jam-note{display:none}[data-reduced-motion=true] .jam-buddy{transition:none;transform:none!important}@media (prefers-reduced-motion:reduce){.jam-note{display:none}.jam-buddy{transition:none;transform:none!important}}
.rhythm-workshop{color:#292446}.rhythm-mode-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.rhythm-mode-switch button{text-align:left;background:#fff;border:2px solid #d4cedf;border-radius:18px;padding:.8rem 1rem;font-weight:850}.rhythm-mode-switch button[aria-pressed=true]{background:#e4ddff;border-color:#645191;box-shadow:inset 0 -3px #645191}.rhythm-mode-switch button>span{margin-right:.4rem}.rhythm-mode-switch small{margin-top:.15rem;font-size:.75rem;font-weight:550;display:block}.rhythm-studio{background:#fff8ed;border:2px solid #e9d7c4;padding:1.2rem;overflow:hidden}.rhythm-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.9rem;display:flex}.rhythm-title h2{font-family:var(--font-display), sans-serif;font-size:clamp(1.4rem,4vw,2rem);font-weight:850}.rhythm-eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:850}.rhythm-earned{background:#fff0b3;border:1px solid #d9b55c;border-radius:100px;padding:.35rem .65rem;font-size:.75rem;font-weight:800}.rhythm-band{background:#292446;border:3px solid #292446;border-radius:24px;overflow:hidden}.rhythm-band svg{width:100%;max-height:265px;display:block}.rhythm-band-names{text-align:center;color:#e9dcfb;grid-template-columns:repeat(3,1fr);padding:.25rem .4rem .55rem;font-size:.72rem;display:grid}.rhythm-band-names strong{color:#fff0b3;margin-left:.3rem}.rhythm-band-names [data-playing=true]{background:#67507b;border-radius:10px}.rhythm-stage-star{fill:#726781}.rhythm-stage-star[data-earned=true]{fill:#ffdc78}.rhythm-band-member{transition:transform 90ms}.rhythm-band-member[data-playing=true]{transform:translateY(5px)}.rhythm-band-sticks{transition:transform 90ms}.rhythm-band-member[data-playing=true] .rhythm-band-sticks{transform:translateY(5px)}.rhythm-timeline{grid-template-columns:repeat(8,minmax(0,1fr));gap:.4rem;margin-top:1rem;display:grid}.rhythm-time-slot{background:#e8def7;border:2px solid #c4b3d3;border-radius:12px;justify-items:center;padding:.35rem 0;display:grid}.rhythm-time-slot small{font-size:.75rem;font-weight:850}.rhythm-time-slot strong{font-size:1.1rem}.rhythm-time-slot[data-rest=true]{color:#65576f;background:#fff;border-style:dashed}.rhythm-time-slot[data-complete=true]{border-color:#2c7967;box-shadow:inset 0 -4px #2c7967}.rhythm-time-slot[data-active=true]{outline-offset:1px;outline:3px solid #6a4894}.rhythm-legend{color:#64556d;flex-wrap:wrap;gap:.2rem 1rem;margin:.55rem 0 .8rem;font-size:.72rem;font-weight:700;display:flex}.rhythm-copy-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.rhythm-tap-pad{text-align:left;touch-action:manipulation;background:#ffc191;border:3px solid #865136;border-bottom-width:7px;border-radius:22px;grid-template-columns:auto 1fr;column-gap:.75rem;min-width:210px;margin-left:auto;padding:.7rem 1.2rem;display:grid}.rhythm-tap-pad>span{grid-row:span 2;align-self:center;font-size:2rem}.rhythm-tap-pad strong{font-size:1.2rem}.rhythm-tap-pad small{font-size:.72rem}.rhythm-tap-pad:disabled{cursor:default;background:#f1dfcf;border-color:#b39985}.rhythm-tap-pad[data-lit=true]{background:#ffe47b;border-color:#5c3b28}.rhythm-tap-count{text-align:right;margin:.5rem 0;font-size:.75rem;font-weight:700}.rhythm-feedback{background:#fff;border:1px solid #e5d6c7;border-radius:15px;margin-top:.8rem;padding:.8rem 1rem;font-weight:750}.rhythm-groove-tools{flex-wrap:wrap;gap:1rem;margin:.9rem 0;display:flex}.rhythm-groove-tools label{gap:.3rem;font-size:.75rem;font-weight:800;display:grid}.rhythm-groove-tools select{background:#fff;border:1px solid #b4a8c1;border-radius:10px;max-width:100%;min-height:40px;padding:.4rem .6rem}.rhythm-sequencer{gap:.4rem;display:grid}.rhythm-grid-counts,.rhythm-grid-row{grid-template-columns:90px repeat(8,minmax(0,1fr));gap:.4rem;display:grid}.rhythm-grid-counts{text-align:center;font-size:.75rem;font-weight:800}.rhythm-grid-counts>span:first-child{font-size:.65rem}.rhythm-grid-counts [data-active=true]{color:#fff;background:#584077;border-radius:7px}.rhythm-preview{background:var(--drum-color);text-align:center;border:2px solid #5e506c;border-radius:12px;align-content:center;min-height:48px;padding:.25rem;display:grid}.rhythm-preview strong{font-size:.9rem}.rhythm-preview small{font-size:.6rem;line-height:1.2}.rhythm-step{touch-action:manipulation;background:#fff;border:2px solid #c3b5ce;border-radius:12px;min-width:0;min-height:48px;font-size:1.1rem}.rhythm-step[aria-pressed=true]{background:var(--drum-color);border-color:#5e506c;box-shadow:inset 0 -3px #29244633}.rhythm-step:nth-child(2),.rhythm-step:nth-child(6){border-left-width:4px}.rhythm-step[data-active=true]{outline-offset:0;outline:3px solid #584077}.rhythm-step[data-active=true][aria-pressed=true]{background:#ffeb85}.rhythm-transport{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.rhythm-transport>span,.rhythm-session-progress{font-size:.72rem;font-weight:650}.rhythm-session-progress{color:#65576f;margin-top:.7rem}.rhythm-workshop button:focus-visible,.rhythm-workshop select:focus-visible{outline-offset:3px;outline:3px solid #255d87}@media (max-width:480px){.rhythm-mode-switch button:first-child{grid-column:1/-1}.rhythm-mode-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.rhythm-studio{padding:.65rem}.rhythm-mode-switch{gap:.4rem}.rhythm-mode-switch button{padding:.7rem;font-size:.85rem}.rhythm-mode-switch small{font-size:.65rem}.rhythm-band{border-radius:16px}.rhythm-timeline{gap:.2rem}.rhythm-grid-counts,.rhythm-grid-row{grid-template-columns:47px repeat(8,minmax(0,1fr));gap:3px}.rhythm-step{border-radius:7px;min-height:44px;font-size:.75rem}.rhythm-preview{border-radius:8px;min-height:44px}.rhythm-preview strong{font-size:.65rem}.rhythm-preview small,.rhythm-grid-counts>span:first-child{display:none}.rhythm-tap-pad{min-width:100%;margin-left:0}.rhythm-tap-count{text-align:center}.rhythm-title h2{font-size:1.35rem}}@media (prefers-reduced-motion:reduce){.rhythm-band-member,.rhythm-band-sticks{transition:none}.rhythm-band-member[data-playing=true],.rhythm-band-member[data-playing=true] .rhythm-band-sticks{transform:none}}[data-reduced-motion=true] .rhythm-band-member,[data-reduced-motion=true] .rhythm-band-sticks{transition:none;transform:none}
.music-studio{background:radial-gradient(at 100% 0,#e3efff,#0000 65%),#fff9ef;border:2px solid #e1e6ef}.music-notes,.music-rhythm-strip{flex-wrap:wrap;gap:.55rem;padding:0;list-style:none;display:flex}.music-note,.music-beat{border:2px solid #c7cfdc;border-radius:16px;justify-items:center;gap:.15rem;min-width:48px;padding:.5rem;display:grid}.music-note strong{font-size:1.35rem}.music-note[data-active=true],.music-beat[data-active=true]{outline-offset:2px;outline:3px solid #243056}.music-note[data-complete=true],.music-beat[data-complete=true]{border-color:#247564;box-shadow:inset 0 -4px #247564}.music-feedback{background:#fff;border-radius:16px;min-height:3.5rem;padding:.8rem 1rem;font-weight:700}.music-keyboard-scroll{background:#243056;border-radius:20px;padding:6px;overflow-x:auto}.music-keyboard{gap:5px;min-width:max-content;display:grid}.music-key{color:#243056;touch-action:manipulation;border:2px solid #fff8ee;border-bottom:8px solid #0002;border-radius:8px 8px 16px 16px;flex-direction:column;justify-content:flex-end;align-items:center;gap:.4rem;min-height:180px;padding:1rem .35rem;transition:transform .1s,filter .1s;display:flex}.music-key strong{font-size:1.5rem}.music-key kbd{font:inherit;font-size:.75rem}.music-key-dot{border:2px solid #243056;border-radius:50%;width:12px;height:12px;margin-bottom:auto}.music-key[data-lit=true]{filter:brightness(1.1);border-color:#243056;transform:translateY(3px)}.music-key[data-lit=true] .music-key-dot{background:#243056}.music-key:disabled{cursor:default}.music-practice button:focus-visible,.music-keyboard-scroll:focus-visible,.music-result:focus{outline-offset:3px;outline:3px solid #245985}.music-result{background:#dff3e9;border:2px solid #88bca8;border-radius:18px;padding:1rem}.music-beat{background:#fff0cc;flex:1;min-width:44px}.music-beat strong{font-size:1.4rem}.music-beat span{white-space:nowrap;font-size:.75rem}.music-drum-stage{background:#e9e6fb;border-radius:24px;justify-content:center;padding:.5rem;display:flex}.music-drum-pad{touch-action:manipulation;color:#243056;border-radius:24px;width:min(100%,340px);padding:.5rem;font-weight:800}.music-drum-pad svg{width:100%;max-height:225px;display:block}.music-drumsticks{transform-origin:150px 60px;transition:transform 90ms}.music-drum-pad[data-lit=true]{background:#fff0cc}.music-drum-pad[data-lit=true] .music-drumsticks{transform:translateY(9px)}.music-drum-pad:disabled{cursor:default}
