@font-face{font-family:"Baloo 2";src:url(../assets/fonts/baloo2-700.woff2) format("woff2");font-weight:400 800;font-display:swap}:root{--ivory: #fffaf0;--ivory-2: #f6edd9;--blue: #2f4ea1;--blue-2: #23397a;--blue-soft: #dfe6f8;--gold: #f3c24b;--gold-2: #c8932a;--pink: #f6a7c1;--pink-2: #d6486b;--teal: #3fb6a8;--teal-2: #2b8f85;--ink: #27324f;--muted: #6b7591;--line: #e3d8c2;--good: #3a9a6c;--r: 18px;--shadow: 0 4px 0 rgba(39, 50, 79, .14), 0 10px 24px rgba(39, 50, 79, .12);--kb-h: clamp(150px, 34vh, 300px);font-family:"Baloo 2",Trebuchet MS,system-ui,sans-serif;color:var(--ink)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;overflow:hidden;overscroll-behavior:none;background:var(--ivory)}body{user-select:none;-webkit-user-select:none;touch-action:manipulation}[hidden]{display:none!important}#app{position:fixed;inset:0;display:flex;flex-direction:column;background:radial-gradient(120% 80% at 50% 0%,#fff 0%,var(--ivory) 45%,var(--ivory-2) 100%);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.view{flex:1;min-height:0;display:flex}.screen{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px clamp(10px,3vw,28px) 28px}h1,h2,h3,p{margin:0}img{-webkit-user-drag:none;user-drag:none;pointer-events:none}.btn{--bh: 48px;--pill: url(../assets/art/ui/pill_ivory.webp);font:inherit;font-weight:700;font-size:18px;line-height:1;color:var(--ink);background:none;border:solid transparent;border-width:0 calc(var(--bh) * .34);border-image:var(--pill) 0 74 fill / 0 calc(var(--bh) * .5) stretch;padding:0 2px;min-height:var(--bh);display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;filter:drop-shadow(0 3px 1px rgba(39,50,79,.22));transition:transform .08s,filter .08s;white-space:nowrap}.btn:active{transform:translateY(2px);filter:drop-shadow(0 1px 0 rgba(39,50,79,.22))}.btn:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.btn .ico{display:inline-flex}.btn.primary{--pill: url(../assets/art/ui/pill_blue.webp);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.25)}.btn.gold{--pill: url(../assets/art/ui/pill_gold.webp);color:#4a3407}.btn.danger{--pill: url(../assets/art/ui/pill_pink.webp);color:#5d1228}.btn.quiet{opacity:.9}.btn.off{--pill: url(../assets/art/ui/pill_grey.webp);opacity:.6}.btn.big{--bh: 60px;font-size:22px}.btn.big .ico svg{width:30px;height:30px}.btn.huge{--bh: 78px;font-size:30px;padding:0 12px;filter:drop-shadow(0 6px 3px rgba(35,57,122,.4))}.btn.huge .ico svg{width:38px;height:38px}.btn.round{--bh: 0px;flex-direction:column;gap:0;min-height:0;min-width:48px;padding:0;border:0;border-image:none;font-size:10.5px;color:#fff;filter:none}.btn.round .ico{width:42px;height:42px;display:grid;place-items:center;background:url(../assets/art/ui/round_ivory.webp) center/100% 100%;color:var(--blue-2);filter:drop-shadow(0 2px 1px rgba(0,0,0,.3))}.btn.round .ico svg{width:22px;height:22px}.btn.round.on .ico{background-image:url(../assets/art/ui/round_gold.webp)}.btn.round.quiet .ico{background-image:url(../assets/art/ui/round_teal.webp);color:#fff}.btn.chip{--bh: 40px;font-size:15px;filter:drop-shadow(0 2px 1px rgba(39,50,79,.18))}.btn.chip .ico svg{width:18px;height:18px}.btn.chip.on{--pill: url(../assets/art/ui/pill_teal.webp);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.25)}.btn.chip.num{min-width:44px}.btn.chip.pick{--pill: url(../assets/art/ui/pill_gold.webp)}.btn.chip.gold{--pill: url(../assets/art/ui/pill_gold.webp)}.btn.chip.rec{--pill: url(../assets/art/ui/pill_pink.webp);color:#5d1228}.btn.chip.off{--pill: url(../assets/art/ui/pill_grey.webp)}.btn.tile{--bh: 58px;font-size:16px;gap:6px}.btn.tile .ico{color:var(--blue)}.btn.tile .ico svg{width:26px;height:26px}.btn.low{--pill: url(../assets/art/ui/pill_grey.webp);color:var(--blue-2)}.btn.high{--pill: url(../assets/art/ui/pill_gold.webp);color:#4a3407}.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}.head{flex:none;display:flex;align-items:center;gap:10px;padding:6px clamp(8px,2vw,18px);background:linear-gradient(180deg,var(--blue) 0%,var(--blue-2) 100%);color:#fff;border-bottom:4px solid var(--gold)}.head-title{flex:1;min-width:0;text-align:center}.head-title h1{font-size:clamp(18px,3.2vw,26px);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head-title p{font-size:13px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}.head-right{display:flex;gap:6px}.head-spacer{width:52px}.dots{flex:none;display:flex;gap:5px;justify-content:center;padding:6px 12px 2px}.dots i{width:14px;height:6px;border-radius:3px;background:var(--line);transition:background .3s}.dots i.done{background:var(--teal)}.dots i.now{background:var(--gold);width:22px}.lesson-body{flex:1;min-height:0;display:flex;position:relative}.surface{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.cap{flex:none;display:flex;align-items:center;gap:10px;margin:6px clamp(8px,2vw,18px) 0;padding:6px 12px 6px 8px;border:solid transparent;border-width:0;border-image:url(../assets/art/ui/plaque.webp) 70 fill / 22px stretch;filter:drop-shadow(0 3px 2px rgba(39,50,79,.22))}.cap-cat{width:62px;height:62px;margin:-12px 0 -8px -2px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 2px rgba(39,50,79,.3))}.cap-text{flex:1;font-size:clamp(17px,2.5vw,24px);line-height:1.2;font-weight:700;min-height:1.2em}.cap-again{flex:none;width:46px;height:46px;border:0;background:url(../assets/art/ui/round_blue.webp) center/100% 100%;color:#fff;display:grid;place-items:center;cursor:pointer}.cap-pop .cap-text{animation:capin .25s ease-out}.cap-hidden .cap-text{visibility:hidden}@keyframes capin{0%{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}.stage-mid{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:6px 0 0;overflow:hidden}.stage-pic{flex:0 1 auto;min-height:0;max-height:100%;max-width:100%;display:flex;justify-content:center;padding:0 12px}.stage-mid.with-path .stage-pic{max-height:45%}.path{align-self:stretch;flex:1 1 60px;min-height:0;position:relative}.path-canvas{position:absolute;inset:0;width:100%;height:100%}.stage-count{position:absolute;top:6px;right:14px;min-width:56px;padding:2px 14px;text-align:center;font-size:clamp(26px,5vw,44px);font-weight:800;color:var(--blue);background:#fffdf7f5;border:3px solid var(--gold);border-radius:18px;z-index:4;box-shadow:0 4px 6px #27324f33}.stage-count.pop{animation:pop .25s ease-out}@keyframes pop{0%{transform:scale(1.35)}to{transform:none}}.stage-actions{flex:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:4px 10px 8px;min-height:0}.stage-actions:empty{padding:0}.stage-actions .btn{font-size:20px;min-height:54px}.stage-actions .btn.big{min-width:120px}.pad{flex:none;position:relative;width:clamp(120px,26vh,190px);height:clamp(120px,26vh,190px);border:0;background:url(../assets/art/ui/drum.webp) center/100% 100% no-repeat;color:#4a3407;font:inherit;font-size:22px;font-weight:800;cursor:pointer;filter:drop-shadow(0 8px 4px rgba(39,50,79,.35));touch-action:none}.pad.down{transform:translateY(4px) scale(.97);filter:drop-shadow(0 3px 2px rgba(39,50,79,.35))}.pad-ring{position:absolute;inset:2px;border-radius:50%;border:6px solid var(--teal);opacity:0;pointer-events:none}.pad.pulse .pad-ring{animation:ring .45s ease-out}@keyframes ring{0%{opacity:.95;transform:scale(1)}to{opacity:0;transform:scale(1.3)}}.strip{flex:none;max-width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:4px 12px;max-height:60%;overflow-y:auto}.strip-note{min-width:40px;height:44px;padding:0 9px;display:grid;place-items:center;font-size:22px;font-weight:800;background:#fff;border:3px solid var(--line);border-radius:12px;color:var(--muted)}.strip-note.blank{min-width:26px;width:26px;height:26px;border-radius:50%;padding:0;align-self:center}.strip-note.now{border-color:var(--gold-2);background:var(--gold);color:#4a3407;transform:scale(1.12)}.strip-note.done{border-color:var(--teal-2);background:#d9f3ef;color:var(--teal-2)}.strip-gap{width:14px}.sparkles{position:absolute;inset:0;pointer-events:none;z-index:5}.sparkles i{position:absolute;width:18px;height:18px;background:var(--gold);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:twinkle 1.1s ease-out both}.sparkles i:nth-child(3n){background:var(--pink)}.sparkles i:nth-child(4n){background:var(--teal)}@keyframes twinkle{0%{opacity:0;transform:scale(.2) rotate(0)}30%{opacity:1;transform:scale(1.2) rotate(40deg)}to{opacity:0;transform:scale(.6) rotate(90deg) translateY(-20px)}}.kb{flex:none;height:var(--kb-h);display:flex;flex-direction:column;background:linear-gradient(180deg,#16224d,#0d1533);border-top:6px solid transparent;border-image:linear-gradient(180deg,#ffe9a6,var(--gold) 45%,var(--gold-2)) 1;position:relative;box-shadow:0 -4px 10px #27324f40}.kb-over{flex:none;height:30px;display:flex;align-items:stretch;gap:4px;padding:3px 6px}.kb-over-btn{flex:none;width:44px;border:0;border-radius:8px;background:#ffffff29;color:#fff;display:grid;place-items:center;cursor:pointer}.kb-over-btn svg{width:18px;height:18px}.kb-over-strip{flex:1;position:relative;background:#fff;border-radius:4px;overflow:hidden;cursor:pointer}.kb-over-strip i{position:absolute;top:0}.kb-over-strip .ow{height:100%;border-right:1px solid #cfc6b2}.kb-over-strip .ob{height:58%;background:#16224d;z-index:1}.kb-over-win{position:absolute;top:0;bottom:0;border:3px solid var(--gold);background:#f3c24b47;border-radius:4px;z-index:2;pointer-events:none}.kb-surface{flex:1;min-height:0;position:relative;overflow:hidden;touch-action:none;cursor:pointer}.kb-keys{position:absolute;top:0;bottom:0}.key{--skin: none;--glow: none;position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;padding-bottom:calc(var(--kb-h) * .14);pointer-events:none;container-type:size}.key>span{position:relative;z-index:2}.key:before,.key:after{content:"";position:absolute;inset:0;background:var(--skin) center/100% 100% no-repeat}.key:after{background-image:var(--glow);opacity:0;z-index:1}.key.white{height:100%;z-index:1;--skin: url(../assets/art/keys/w_up.webp);margin:0 -.5px}.key.black{height:62%;z-index:2;--skin: url(../assets/art/keys/b_up.webp);padding-bottom:calc(var(--kb-h) * .13);filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}@supports (width: 1cqw){.key:before,.key:after{background:none;border:solid transparent;border-width:0;border-image:var(--skin) 44 18 104 18 fill / 27cqw 11cqw 64cqw 11cqw stretch}.key:after{border-image-source:var(--glow)}.key.black:before,.key.black:after{border-image-slice:40 18 72 18 fill;border-image-width:36cqw 16cqw 65cqw 16cqw}}.key.white.down{--skin: url(../assets/art/keys/w_down.webp)}.key.black.down{--skin: url(../assets/art/keys/b_down.webp);filter:drop-shadow(0 1px 1px rgba(0,0,0,.45))}.key.down>span{transform:translateY(2px)}.key.dim{filter:brightness(.5) saturate(.5)}.key-letter{font-size:clamp(13px,2.2vh,20px);font-weight:800;color:#7b6a45;line-height:1;text-shadow:0 1px 0 rgba(255,255,255,.8)}.key.black .key-letter{color:#ffe9a6;font-size:12px;text-shadow:0 1px 2px #000}.key-letter.middle{color:var(--blue)}.key-letter.middle:after{content:"";display:block;width:7px;height:7px;margin:3px auto 0;border-radius:50%;background:var(--blue)}.key-finger:not(:empty){width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff;border:2px solid var(--ink);font-size:17px;font-weight:800;color:var(--ink);box-shadow:0 2px 3px #27324f4d}.key.hand-l .key-finger:not(:empty){border-radius:9px}.key-map:not(:empty){position:absolute!important;top:10%;font-size:12px;font-weight:800;color:var(--blue-2);background:var(--blue-soft);border-radius:5px;padding:1px 5px}.key.black .key-map:not(:empty){top:auto;bottom:46%}.key-band{display:none;position:absolute!important;left:16%;right:16%;top:30%;height:12px;border-radius:6px;background:repeating-linear-gradient(135deg,#fff 0 5px,var(--teal-2) 5px 10px);box-shadow:0 1px 2px #0000004d}.key.hand-l.expected .key-band,.key.hand-l.suggested .key-band{display:block}.key.white.expected,.key.white.suggested{--glow: url(../assets/art/keys/w_gold.webp)}.key.black.expected,.key.black.suggested{--glow: url(../assets/art/keys/b_gold.webp)}.key.white.hand-l.expected,.key.white.hand-l.suggested{--glow: url(../assets/art/keys/w_teal.webp)}.key.black.hand-l.expected,.key.black.hand-l.suggested{--glow: url(../assets/art/keys/b_teal.webp)}.key.expected:after{opacity:1;animation:lit 1.1s ease-in-out infinite}.key.suggested:after{opacity:.6;animation:hint 1.6s ease-in-out infinite}.key.white.demo,.key.white.demo-flash{--glow: url(../assets/art/keys/w_pink.webp)}.key.black.demo,.key.black.demo-flash{--glow: url(../assets/art/keys/b_pink.webp)}.key.demo:after,.key.demo-flash:after{opacity:1}.key.white.good{--glow: url(../assets/art/keys/w_green.webp)}.key.black.good{--glow: url(../assets/art/keys/b_green.webp)}.key.good:after{opacity:1;animation:none}.key.tap{filter:brightness(.93)}@keyframes lit{0%,to{opacity:1}50%{opacity:.72}}@keyframes hint{0%,to{opacity:.3}50%{opacity:.75}}.kb.no-colors .key.white.hand-l.expected,.kb.no-colors .key.white.hand-l.suggested{--glow: url(../assets/art/keys/w_gold.webp)}.kb.no-colors .key.black.hand-l.expected,.kb.no-colors .key.black.hand-l.suggested{--glow: url(../assets/art/keys/b_gold.webp)}.kb-bracket{position:absolute;top:3px;bottom:3px;border:4px dashed var(--blue);border-radius:14px;z-index:3;pointer-events:none;font-size:13px;font-weight:800;color:var(--blue);text-align:center}.kb-bracket.left{border-color:var(--teal-2);color:var(--teal-2)}.pic{max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center}.pic svg{max-width:100%;max-height:100%;height:auto}.pic-hands svg{width:min(430px,90vw);max-height:30vh}.pic-hands .palm,.pic-hands .fing rect{fill:#f7d9c4;stroke:#c98f73;stroke-width:2.5}.pic-hands .lit .palm,.pic-hands .palm.lit,.pic-hands .fing.lit rect{fill:#bfeee7;stroke:var(--teal-2)}.pic-hands .fing.on rect{fill:var(--gold);stroke:var(--gold-2)}.pic-hands .num-bg{fill:#fff;stroke:var(--ink);stroke-width:2}.pic-hands .num{font-size:17px;font-weight:800;fill:var(--ink)}.pic-hands .hand-name{font-size:18px;font-weight:800;fill:var(--muted)}.pic-hands.tappable [data-hand]{cursor:pointer}.pic-setup{gap:10px;flex-wrap:wrap}.setup-card{width:clamp(96px,20vw,150px);background:#fff;border:2px solid var(--line);border-radius:16px;padding:6px;text-align:center;font-size:15px;font-weight:700}.setup-card svg{width:100%;height:auto;max-height:15vh}.f-gold{fill:var(--gold)}.f-skin{fill:#f7d9c4}.f-blue{fill:var(--blue)}.f-teal{fill:var(--teal)}.f-bubble{fill:#dff3ff;stroke:#9ccfee;stroke-width:2}.s-ink,.s-skin,.s-blue,.s-teal{fill:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.s-ink{stroke:var(--ink)}.s-skin{stroke:#e2ab8c}.s-blue{stroke:var(--blue)}.s-teal{stroke:var(--teal);stroke-width:4}.s-skin.big{stroke-width:9}.pic-hl svg{width:min(360px,80vw);max-height:26vh}.hl-low path{fill:#a9b6dd}.hl-high path{fill:var(--gold)}.pic-hl text{font-size:16px;font-weight:800;fill:var(--ink)}.pic-hl.show-low .hl-high,.pic-hl.show-high .hl-low{opacity:.2}.pic-beats svg{width:min(460px,92vw);max-height:22vh}.bp-note{fill:var(--blue)}.bp-note.on{fill:var(--gold);stroke:var(--gold-2);stroke-width:3}.bp-rest{fill:#fff;stroke:var(--muted);stroke-width:2.5;stroke-dasharray:6 5}.bp-rest.on{stroke:var(--gold-2);fill:#fff6d9}.bp-count,.bp-sh{font-size:15px;font-weight:800;fill:var(--muted)}.pic-art img{max-height:min(30vh,240px);max-width:60vw;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(39,50,79,.22))}.pic-art.cheer img{animation:bob 1.2s ease-in-out infinite}.pic-art.bird img{width:130px;height:130px;animation:bob 1.2s ease-in-out infinite}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.pic-staff{background:#fff;border:2px solid var(--line);border-radius:16px;padding:4px 10px}.pic-staff svg{max-height:30vh;width:auto}.staff .sl{stroke:#8791ad}.staff .clef{stroke:var(--ink)}.staff .dot{fill:var(--ink)}.staff .head{fill:var(--ink);stroke:var(--ink);stroke-width:1.6}.staff .head.open{fill:#fff;stroke-width:2.4}.staff .stem{stroke:var(--ink)}.staff .rest{fill:var(--ink)}.staff .restq{stroke:var(--ink)}.staff .acc{font-size:16px;font-weight:800;fill:var(--ink)}.staff .nm{font-size:14px;font-weight:800;fill:var(--muted)}.staff .cur{fill:var(--pink-2);stroke:var(--pink-2)}.staff .head.open.cur{fill:#fff}.staff .nm.cur{fill:var(--pink-2)}.pic-card{min-width:120px;padding:6px 30px;font-size:clamp(56px,14vh,110px);font-weight:800;line-height:1.1;color:var(--blue);background:#fff;border:4px solid var(--gold);border-radius:26px;box-shadow:var(--shadow)}.pic-result{flex-direction:column;align-items:stretch;gap:6px;width:min(420px,92vw);background:#fff;border:2px solid var(--line);border-radius:16px;padding:8px 12px}.meter{display:grid;grid-template-columns:76px 1fr 46px;align-items:center;gap:8px;font-size:15px;font-weight:700}.meter-bar{height:14px;background:var(--ivory-2);border-radius:7px;overflow:hidden}.meter-bar i{display:block;height:100%;border-radius:7px;background:var(--blue)}.m-rhythm .meter-bar i{background:var(--teal)}.m-dur .meter-bar i{background:var(--gold-2)}.meter-n{text-align:right;color:var(--muted)}.pic-bridge svg{width:min(520px,94vw);max-height:28vh}.br-water{fill:#b9d3f4}.br-bank{fill:#8fc27f}.br-plank{fill:#fff;stroke:#c9bea6;stroke-width:1.5;stroke-dasharray:4 3}.br-plank.on{fill:#c98a4a;stroke:#8a5a26;stroke-dasharray:none}.pic-puzzle{flex-direction:column;gap:10px;width:min(680px,96vw)}.pz-slots,.pz-tiles{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.pz-slot{width:clamp(72px,14vw,120px);height:clamp(40px,9vh,60px);border:3px dashed var(--line);border-radius:12px;display:grid;place-items:center;color:var(--muted);font-size:18px}.pz-slot.next{border-color:var(--gold-2);background:#fff6d9}.pz-slot.full{border-style:solid;border-color:var(--teal-2);background:#d9f3ef}.pz-tile{width:clamp(84px,17vw,140px);height:clamp(48px,11vh,70px);border:3px solid var(--blue);border-radius:14px;background:#fff;cursor:pointer;box-shadow:0 4px #2f4ea14d;padding:2px}.pz-tile svg,.pz-slot svg{width:100%;height:100%}.pz-tile rect{fill:var(--blue)}.pz-slot rect{fill:var(--teal-2)}.pz-tile.playing{background:#fff6d9;border-color:var(--gold-2)}.pz-tile.nope{animation:shake .4s}@keyframes shake{25%{transform:translate(-6px)}75%{transform:translate(6px)}}.pick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;width:min(760px,96vw);max-height:100%;overflow-y:auto;padding:4px}.pick-card{font:inherit;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px;background:#fff;border:3px solid var(--line);border-radius:18px;cursor:pointer;box-shadow:0 4px #27324f1a}.pick-art img{width:64px;height:64px;object-fit:contain}.pick-name{font-size:15px;font-weight:700;text-align:center;line-height:1.1}.pick-tag{font-size:12px;color:var(--teal-2);font-weight:700}.curtain{gap:6px}.curtain .curtain-cat{max-height:min(18vh,130px);align-self:flex-end}.paused{position:absolute;inset:0;z-index:30;background:#23397ac7;display:grid;place-items:center}.paused-box{background:var(--ivory);border:4px solid var(--gold);border-radius:28px;padding:18px 26px;text-align:center;display:grid;gap:10px;justify-items:center}.paused-box img{height:90px}.paused-box h2{font-size:30px;color:var(--blue)}.cele{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px;text-align:center;overflow-y:auto}.cele-art{display:flex;align-items:flex-end;justify-content:center;gap:4px}.cele-art img{height:min(34vh,250px);object-fit:contain;filter:drop-shadow(0 8px 10px rgba(39,50,79,.25))}.cele-art .cele-cat{height:min(20vh,150px)}.cele h2{font-size:clamp(28px,6vw,44px);color:var(--blue);line-height:1.1}.cele-what{font-size:17px;color:var(--muted);max-width:520px;font-weight:400}.cele-world{font-size:20px;color:var(--teal-2);font-weight:800}.cele-stars{display:flex;gap:10px}.cele-stars i{width:52px;height:50px;background:url(../assets/art/ui/star.webp) center/contain no-repeat;animation:starin .5s cubic-bezier(.2,1.6,.4,1) both}.cele-stars i.dim{background-image:url(../assets/art/ui/star_grey.webp)}@keyframes starin{0%{transform:scale(0) rotate(-40deg)}to{transform:none}}.layer{position:fixed;inset:0;pointer-events:none;z-index:50}.layer>*{pointer-events:auto}.toast{position:absolute;left:50%;bottom:calc(var(--kb-h) + 16px);transform:translate(-50%);max-width:90vw;background:var(--ink);color:#fff;padding:10px 18px;border-radius:14px;font-size:16px}.modal-wrap{position:absolute;inset:0;background:#27324f99;display:grid;place-items:center;padding:14px;overflow-y:auto}.modal{background:var(--ivory);border-radius:24px;border:3px solid var(--gold);padding:18px;max-width:440px;width:100%;user-select:text;-webkit-user-select:text}.gate{display:grid;gap:10px;justify-items:center;text-align:center}.gate h2{color:var(--blue)}.gate-words{font-size:24px;font-weight:800;color:var(--blue-2)}.gate-dots{display:flex;gap:8px}.gate-dots i{width:16px;height:16px;border-radius:50%;border:2px solid var(--blue)}.gate-dots i.on{background:var(--blue)}.gate-pad{display:grid;grid-template-columns:repeat(3,62px);gap:8px}.gate-key{font:inherit;font-size:24px;font-weight:800;height:54px;border-radius:14px;border:2px solid var(--line);background:#fff;cursor:pointer}.gate-note{font-size:13px;color:var(--muted);font-weight:400}.sound-banner{position:fixed;top:64px;left:50%;transform:translate(-50%);z-index:60;font:inherit;font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;padding:10px 20px;border-radius:999px;border:3px solid var(--gold-2);background:var(--gold);color:#4a3407;cursor:pointer;box-shadow:var(--shadow)}.welcome{position:relative;overflow:hidden;background:#f4e9dc}.welcome-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:44% 50%;transform-origin:45% 60%;animation:drift 24s ease-in-out infinite alternate}@keyframes drift{0%{transform:translateY(5%) scale(1.1)}to{transform:translateY(5%) scale(1.15)}}.welcome-top{position:absolute;left:0;right:0;top:clamp(4px,2vh,20px);display:flex;justify-content:center;pointer-events:none}.welcome-logo{width:min(90vw,60vh,640px);height:auto;filter:drop-shadow(0 8px 10px rgba(39,50,79,.35));animation:logoin .9s cubic-bezier(.2,1.4,.4,1) both}@keyframes logoin{0%{transform:translateY(-30px) scale(.7);opacity:0}to{transform:none;opacity:1}}.welcome-words{font-size:clamp(40px,9vw,86px);line-height:.95;color:#fff;text-align:center;text-shadow:0 3px 0 var(--gold-2),0 8px 14px rgba(35,57,122,.6);display:grid}.welcome-words small{font-size:.45em;color:var(--pink)}.welcome-bottom{position:absolute;left:0;right:0;bottom:clamp(14px,6vh,56px);display:flex;justify-content:center}.welcome-bottom .btn{animation:startpulse 1.8s ease-in-out infinite}@keyframes startpulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.welcome-foot{position:absolute;right:10px;bottom:8px}.map{background:url(../assets/art/map_soft.webp) center/cover}.map-top{flex:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;padding:8px 12px 4px}.map-cat{height:78px;animation:bob 2.6s ease-in-out infinite}.map-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.map-main{flex:1;min-height:0;display:flex;gap:12px;padding:6px clamp(8px,2vw,20px) 12px;align-items:stretch;justify-content:center}.kingdom-wrap{flex:1 1 auto;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;container-type:size}.kingdom{position:relative;aspect-ratio:3 / 2;width:min(100cqw,150cqh);border-radius:22px;overflow:hidden;border:4px solid #fff;box-shadow:0 0 0 3px var(--gold),var(--shadow)}.kingdom-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.land-node{position:absolute;transform:translate(-50%,-50%);font:inherit;background:none;border:0;padding:0;cursor:pointer;display:grid;justify-items:center;gap:2px}.land-coin{width:clamp(40px,7.4cqw,68px);aspect-ratio:1;display:grid;place-items:center;background:url(../assets/art/ui/round_blue.webp) center/100% 100%;color:#fff;font-size:clamp(18px,3.4cqw,30px);font-weight:800;text-shadow:0 2px 0 rgba(0,0,0,.25);filter:drop-shadow(0 4px 4px rgba(39,50,79,.45));transition:transform .15s}.land-coin img{width:58%;height:58%;object-fit:contain}.land-node.restored .land-coin{background-image:url(../assets/art/ui/round_gold.webp)}.land-node.asleep .land-coin{background-image:url(../assets/art/ui/round_ivory.webp)}.land-node.picked .land-coin{transform:scale(1.18)}.land-node.here .land-coin{animation:herepulse 1.4s ease-in-out infinite}@keyframes herepulse{0%,to{filter:drop-shadow(0 4px 4px rgba(39,50,79,.45)) drop-shadow(0 0 0 rgba(255,255,255,0))}50%{filter:drop-shadow(0 4px 4px rgba(39,50,79,.45)) drop-shadow(0 0 10px #fff)}}.land-pips{display:flex;gap:3px;padding:3px 6px;background:#fffaf0eb;border-radius:999px;box-shadow:0 1px 3px #27324f59}.land-pips i{width:7px;height:7px;border-radius:50%;background:#cfc6b2}.land-pips i.on{background:var(--gold-2)}.land-panel{flex:0 0 clamp(220px,27vw,320px);min-height:0;display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;border:4px solid #fff;box-shadow:0 0 0 3px var(--gold),var(--shadow)}.land-pic{flex:1 1 60px;min-height:0;width:100%;object-fit:cover;object-position:center 62%;filter:saturate(.35) brightness(1.06);transition:filter .6s}.land-panel.restored .land-pic{filter:none}.land-info{flex:none;padding:6px 10px 10px;display:grid;gap:4px}.land-info h2{font-size:clamp(18px,2.2vw,24px);color:var(--blue-2);display:flex;align-items:center;gap:8px;line-height:1.1}.land-n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:17px}.land-done{font-size:14px;color:var(--teal-2);font-weight:700}.stones{display:flex;gap:4px;justify-content:space-between}.stone{font:inherit;width:50px;height:50px;border:0;background:url(../assets/art/ui/round_blue.webp) center/100% 100%;color:#fff;font-size:19px;font-weight:800;display:grid;place-items:center;cursor:pointer;padding:0;text-shadow:0 2px 0 rgba(0,0,0,.25);filter:drop-shadow(0 3px 2px rgba(39,50,79,.3))}.stone img{width:56%;height:56%;object-fit:contain}.stone.done{background-image:url(../assets/art/ui/round_gold.webp)}.stone.locked{background-image:url(../assets/art/ui/round_ivory.webp);filter:none;opacity:.8}.stone.next{animation:nextpulse 1.4s ease-in-out infinite}@keyframes nextpulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.songs .cap,.games .cap{margin:0 0 12px}.song-grid,.game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.song-card{background:#fffdf7f0;border:3px solid #fff;box-shadow:0 0 0 2px var(--gold),0 6px 10px #27324f2e;border-radius:22px;padding:8px;display:flex;flex-direction:column;gap:6px;align-items:center}.song-main{font:inherit;background:none;border:0;width:100%;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;position:relative;padding:4px;color:inherit}.song-art img{width:92px;height:92px;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(39,50,79,.25))}.song-title{font-size:18px;font-weight:800;text-align:center;line-height:1.1}.song-meta{font-size:12.5px;color:var(--muted);font-weight:400;text-align:center}.song-badge{position:absolute;top:0;right:2px;color:var(--gold-2)}.song-card.locked{background:var(--ivory-2)}.song-card.locked .song-art,.song-card.locked .song-title{opacity:.45}.song-card.locked .song-badge{color:var(--muted)}.song-card.performed{border-color:var(--gold)}.song-card.tried{border-color:var(--teal)}.my-melodies{margin-top:18px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.my-melodies h2{width:100%;font-size:20px;color:var(--blue)}.game-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.game-card{font:inherit;background:#fffdf7f0;border:3px solid #fff;border-radius:24px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;box-shadow:0 0 0 3px var(--gold),0 8px 12px #27324f38;color:inherit}.game-art img{width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(39,50,79,.28))}.game-title{font-size:20px;font-weight:800}.game-best{font-size:13px;color:var(--muted);font-weight:400}.game-card.locked{border-color:var(--line);background:var(--ivory-2);box-shadow:none}.game-card.locked .game-art{opacity:.4;filter:grayscale(1)}.modes{flex:none;display:flex;gap:6px;overflow-x:auto;padding:6px clamp(8px,2vw,18px) 2px;scrollbar-width:none}.modes::-webkit-scrollbar,.ws-ctl::-webkit-scrollbar{display:none}.btn.mode{--bh: 46px;flex:none;font-size:14px;gap:5px}.btn.mode .ico{color:var(--blue)}.btn.mode .ico svg{width:20px;height:20px}.btn.mode.on{--pill: url(../assets/art/ui/pill_blue.webp);color:#fff}.btn.mode.on .ico{color:var(--gold)}.ws-ctl{flex:none;display:flex;gap:6px 14px;overflow-x:auto;padding:4px clamp(8px,2vw,18px);align-items:center;scrollbar-width:none}.ctl-group{flex:none;display:flex;gap:5px;align-items:center}.ctl-name{font-size:13px;color:var(--muted);font-weight:700}.ctl-name.ok{color:var(--teal-2)}.free-ctl{flex-wrap:wrap}.parent-body{user-select:text;-webkit-user-select:text;display:grid;gap:14px;align-content:start;max-width:900px;width:100%;margin:0 auto;font-weight:400}.card{background:#fff;border:2px solid var(--line);border-radius:20px;padding:14px 16px;display:grid;gap:8px}.card h2{font-size:21px;color:var(--blue)}.card h3{font-size:17px;color:var(--blue-2);margin-top:6px}.card .row{justify-content:flex-start}.next-title{font-size:20px;font-weight:800}.muted{color:var(--muted)}.small{font-size:13.5px}.warn{color:var(--pink-2);font-weight:700}ul.plain{margin:0;padding-left:20px;display:grid;gap:3px}.tbl{width:100%;border-collapse:collapse;font-size:14.5px}.tbl th{text-align:left;color:var(--muted);font-size:13px;padding:4px 6px;border-bottom:2px solid var(--line)}.tbl td{padding:5px 6px;border-bottom:1px solid var(--ivory-2);vertical-align:top}.state{display:inline-block;padding:1px 10px;border-radius:999px;font-size:13px;font-weight:700;background:var(--ivory-2)}.state-practicing{background:var(--blue-soft);color:var(--blue-2)}.state-confident{background:#d9f3ef;color:var(--teal-2)}.set-row{display:flex;align-items:center;gap:12px;padding:4px 0;cursor:pointer}.set-row>span{flex:1;display:grid}.set-row small{color:var(--muted);font-size:13px}.set-row input[type=checkbox]{width:26px;height:26px;accent-color:var(--blue);flex:none}.set-row.range input{flex:1;max-width:240px;accent-color:var(--blue)}.set-row output{width:110px;text-align:right;font-weight:700;font-size:14px}.set-row select,.card select{font:inherit;font-size:15px;padding:6px 8px;border-radius:10px;border:2px solid var(--line);background:#fff;max-width:60%}.card textarea{font:13px/1.3 ui-monospace,monospace;width:100%;border:2px solid var(--line);border-radius:10px;padding:8px}.cal-pad{min-width:220px;min-height:60px;background:var(--gold);border-color:var(--gold-2);touch-action:none}.calm *,.calm *:before,.calm *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}@media (prefers-reduced-motion: reduce){.welcome-art,.welcome-bottom .btn,.map-cat,.pic-art.cheer img{animation:none}}@media (max-height: 520px){:root{--kb-h: clamp(128px, 40vh, 190px)}.head{padding:3px 8px;border-bottom-width:3px}.head-title p{display:none}.head-title h1{font-size:18px}.btn.round{min-width:42px;font-size:9.5px}.btn.round .ico{width:34px;height:34px}.btn.round .ico svg{width:18px;height:18px}.dots{padding:3px 12px 0}.dots i{height:4px}.cap{margin-top:3px;padding:3px 8px 3px 4px;border-radius:16px}.cap-cat{width:34px;height:34px}.cap-text{font-size:17px}.cap-again{width:36px;height:36px}.stage-actions{padding:2px 8px 4px}.stage-actions .btn{--bh: 44px;font-size:17px}.pad{width:104px;height:104px;font-size:18px}.btn.mode{--bh: 36px;font-size:12.5px}.btn.mode .ico svg{width:16px;height:16px}.modes{padding-top:3px}.ws-ctl{padding:2px 8px}.btn.chip{--bh: 32px;font-size:13px}.map-top{padding:3px 10px 0;gap:4px 10px}.map-cat{height:46px}.btn.tile{--bh: 40px;font-size:14px}.btn.tile .ico svg{width:20px;height:20px}.btn.huge{--bh: 52px;font-size:22px}.map-main{padding:4px 8px 6px;gap:8px}.land-panel{flex-basis:clamp(200px,30vw,260px)}.stone{width:40px;height:40px;font-size:16px}.land-info{padding:3px 8px 6px}.land-info h2{font-size:16px}.land-n{width:24px;height:24px;font-size:14px}.land-done{display:none}.welcome-logo{width:min(46vw,58vh)}.welcome-bottom{bottom:8px}.cele-art img{height:30vh}.cele-art .cele-cat{height:18vh}.cele-what{font-size:14px}.cele-stars i{width:30px;height:30px}.cele{gap:4px;padding:6px}.paused-box img{height:56px}.paused-box{padding:10px 18px;gap:6px}.pic-art img{max-height:24vh}}@media (max-width: 560px){.btn.round .btn-label{display:none}.btn.round{min-width:40px}.head-right{gap:4px}.head-spacer{width:44px}.tbl{font-size:13px}.set-row.range{flex-wrap:wrap}.set-row output{width:auto}}@media (orientation: portrait){.welcome-art{object-position:36% 50%}.map-main{flex-direction:column}.kingdom-wrap{flex:1 1 50%}.land-panel{flex:0 1 auto;flex-direction:row;max-height:34%}.land-pic{flex:0 0 26%;width:26%;min-width:0;height:auto;min-height:96px}.land-info{flex:1;min-width:0;align-content:center}.stones{justify-content:flex-start;gap:3px}.stone{width:clamp(34px,9.5vw,50px);height:clamp(34px,9.5vw,50px);font-size:16px}}.songs,.games,.free,.recital,.workshop,.game,.parent{background:url(../assets/art/map_soft.webp) center/cover}.lesson{background:linear-gradient(#fffaf080,#fffaf0a8),var(--world) center 60%/cover}.world-garden{--world: url(../assets/art/worlds/garden.webp)}.world-forest{--world: url(../assets/art/worlds/forest.webp)}.world-river{--world: url(../assets/art/worlds/river.webp)}.world-meadow{--world: url(../assets/art/worlds/meadow.webp)}.world-village{--world: url(../assets/art/worlds/village.webp)}.world-lagoon{--world: url(../assets/art/worlds/lagoon.webp)}.world-tower{--world: url(../assets/art/worlds/tower.webp)}.world-recital{--world: url(../assets/art/worlds/recital.webp)}.song-badge{position:absolute;top:-2px;right:0;width:30px;height:30px;object-fit:contain}
