:root{color:#f4edcf;background:#153244;--green:#215d71;--berry:#955167}body{background:#153244;isolation:isolate}#app{min-height:100dvh;isolation:isolate;position:relative}.world{position:absolute;inset:0;z-index:-3;overflow:hidden;pointer-events:none}.world svg{width:100%;height:100%;position:absolute;inset:0}.world:after{content:'';position:absolute;inset:0;background:linear-gradient(#0a263a40,transparent 55%,#102c3f15)}header{border:0;background:#102d40a3;max-width:none;padding-left:4%;padding-right:4%;color:#f4edcf;backdrop-filter:blur(8px)}.brand{font-family:inherit;font-weight:800;letter-spacing:1px;font-size:21px}.brandmark{background:#e2bd74;color:#254b5b;border-color:#f7dc99;border-radius:16px;font-size:35px}.brand small{color:#c7d8d7}.brand small,.eyebrow{letter-spacing:1.2px}nav{gap:6px}nav button{background:#315265;color:#fffae1;border:1px solid #688288;font-weight:600;border-radius:10px;font-size:12px}nav button:last-child{border-color:#829c99}nav button:hover:not(:disabled){background:#426b7a;filter:none}.eyebrow{color:#c0d8d1;font-size:10px}.headline{margin:8px 0 7px!important;color:#fff3d2}.headline h1{font-family:inherit;font-weight:850;font-size:34px;letter-spacing:4px;text-shadow:0 3px #102a3d66}.headline p{color:#c9e1d9;letter-spacing:2px;font-size:12px;margin:5px 0}.theme-strip{display:flex;justify-content:center;gap:6px;margin:10px 0 13px}.theme-strip button{padding:9px 17px;border-radius:22px;background:#163c50;border:1px solid #6a918f;font-size:12px;color:#d3e4df}.theme-strip button[aria-pressed=true]{background:#f0cc85;color:#254354;border-color:#ffe7b4;font-weight:800;box-shadow:0 3px 0 #66563555}.arena{gap:28px;max-width:1250px;margin:auto;position:relative}.player{border:0!important;border-radius:24px!important;background:linear-gradient(#19435488,#25546840 75%,#1b495c99)!important;padding:18px 24px 20px!important;box-shadow:inset 0 1px #c6e2da44,0 18px 25px -18px #071c2c!important;position:relative;isolation:isolate;--accent:#64bcc0;color:#fff4d6}.player.p1{--accent:#e5a099;background:linear-gradient(#473e5788,#5d536040 75%,#4a485b99)!important}.player:after{content:'';position:absolute;bottom:78px;left:8%;right:8%;height:30px;border-radius:50%;background:#0c2b3d66;box-shadow:0 2px #8bb6b34d;z-index:-1}.player-top{padding:0 8px;position:relative;z-index:2}.player-top small{color:#bbd9db;font-size:8px;letter-spacing:2px}.player h2{font-family:inherit;color:#f9f1d4;font-size:23px;font-weight:750;letter-spacing:2px}.score{color:#fff0bd;text-shadow:0 3px #14334288;font-weight:700;font-family:inherit;font-size:43px}.score small{color:#d1dfd9;text-shadow:none;font-weight:500;font-size:10px}.energy-meter{display:flex;justify-content:center;gap:6px;padding:7px 0 0}.energy-meter i{width:23px;height:7px;border-radius:5px;background:#102c3f;border:1px solid #8eaaa766;transition:background .2s}.energy-meter i.lit{background:#f5d28a;box-shadow:0 0 9px #ffe4a8aa}.recorder-area{height:335px!important;margin:0 0 0 24px;z-index:1}.rear>span,.rear small,.hands{color:#c1ded9}.rear small{font-size:9px}.hole b{color:#e3e7cc;font-weight:700}.thumb{background:#193b4eaa;border-color:#91b9b1}.hole i,.hole em{background:#fff8dc;border-color:#574a36}.hole[aria-pressed=true] i,.hole[aria-pressed=true] em{background:#152c35;border-color:#10232b;box-shadow:inset 1px 2px #68807d}.hole:not(:disabled):hover i,.hole:not(:disabled):hover em{border-color:#194e69}.mouth,.collar,.shaft,.bell{filter:saturate(.85)}.companion{position:absolute;width:138px;height:145px;left:-13px;bottom:94px;z-index:2;pointer-events:none;filter:drop-shadow(0 6px 5px #08273f33)}.mascot{width:100%;height:100%;overflow:visible}.mascot-body{transform-origin:50% 90%;animation:robot-breathe 3.7s ease-in-out infinite}.p1 .mascot-body{animation-delay:-1.6s}.player[data-mood=happy] .mascot-body{animation:cheer .4s ease-in-out 3}.player[data-mood=retry] .mascot-body{animation:think .4s ease-in-out 2}.player-message{color:#f2eed4;text-shadow:0 1px #1b344c;font-size:12px;min-height:34px;padding-top:7px}.player-actions{position:relative;z-index:3}.clear{color:#e2efe4;background:#285267;border-color:#8faea7;border-radius:10px;min-width:54px}.submit{background:linear-gradient(#5cb3ba,#378f9d);color:#072c43;border:1px solid #a6d5cc;border-radius:10px;box-shadow:0 4px 0 #173e51;font-weight:800;font-size:15px}.p1 .submit{background:linear-gradient(#e3a59a,#d48787);color:#452e48;border-color:#f0d1b9;box-shadow:0 4px 0 #613c51}.submit:disabled{opacity:.65}.conductor{padding:10px 0;align-self:center;color:#fff6da;min-width:0}.timer{width:78px!important;height:78px!important}.timer circle{stroke:#82aca66b}.timer #clock-ring{stroke:#f2d28a}.timer strong{font-family:inherit;font-size:30px;text-shadow:0 2px #1d354b}.timer small{color:#d1e5dc;font-size:8px}.question-label{color:#d3e5dc;font-size:11px;letter-spacing:1px;margin:11px 0!important}#score-paper{background:#fff7dc;border:3px solid #d2b87d;border-radius:18px;box-shadow:0 7px 0 #a28a5d,0 17px 30px #081f3655;width:100%;padding:5px 0;position:relative;transform:rotate(-1deg)}#score-paper:before,#score-paper:after{content:'';position:absolute;top:45%;width:8px;height:8px;border-radius:50%;background:#a88a54;box-shadow:inset 1px 1px 2px #6c543b}#score-paper:before{left:9px}#score-paper:after{right:9px}.staff{width:100%;height:auto!important;max-height:150px!important;overflow:visible;display:block;transform:none}#score-paper svg{transform:rotate(1deg)}.note-label{font-family:inherit;font-size:21px!important;font-weight:750;line-height:1.5;margin-top:16px;min-height:32px;letter-spacing:0;color:#fff3ce}.center-status{font-size:11px;color:#d5e7de;min-height:37px;line-height:1.8}.start{background:linear-gradient(#f4d48e,#d8b470);border:1px solid #ffedba;color:#203e4b;box-shadow:0 4px #826b43;border-radius:12px;font-size:15px;font-weight:800;padding:14px 18px}.pause{background:#244d60;border:1px solid #719c9b;border-radius:9px;color:#eaf4df;margin:4px 0;padding:9px 20px}.instrument-tag{color:#b7d4cf;font-size:9px;margin-top:13px}.mini-bird,.caption{display:none!important}footer{color:#c0dad4;font-size:10px;text-shadow:0 1px #1b344c;max-width:1250px;margin:auto;padding:14px 0}dialog{color:#274557;border-color:#94b5af;background:#f4f4e7;border-radius:21px;box-shadow:0 25px 100px #071e36aa}dialog::backdrop{background:#071e368a}dialog h2{font-family:inherit;font-weight:800;letter-spacing:0}dialog .primary{background:#295c72;color:#f7f7da}.practice-pipe .recorder-area{height:290px!important;margin:0}.practice-pipe .hole b{color:#415e60}.practice-pipe .rear>span,.practice-pipe .rear small{color:#4a6b68}.practice-pipe .thumb{background:#d9e4d8}.practice-score .staff{max-height:150px!important}.world .gear{transform-box:fill-box;transform-origin:center;animation:gear-turn 70s linear infinite}.world .flame{animation:flame 2s ease-in-out infinite}body[data-theme=adventure] .player{background:linear-gradient(#284f4c88,#516f5740,#284f4cbb)!important}body[data-theme=adventure] .p1{background:linear-gradient(#5b4a5088,#8a755740,#5b4a50aa)!important}body[data-theme=stadium] .player{background:linear-gradient(#245479cc,#367c8855,#244d78cc)!important}body[data-theme=stadium] .p1{background:linear-gradient(#674c6fcc,#ad6f7b44,#674c6fbb)!important}body[data-theme=stadium] #score-paper{border-color:#a3c8cd;box-shadow:0 7px #538999,0 17px 30px #081f3655}body[data-theme=stadium] .theme-strip button[aria-pressed=true]{background:#b4e0df;border-color:#e2f8ee}body[data-theme=adventure] .brandmark{border-radius:50% 50% 12px 12px}body[data-theme=stadium] .brandmark{border-radius:50%}@keyframes robot-breathe{50%{transform:translateY(-4px) rotate(2deg)}}@keyframes cheer{50%{transform:translateY(-15px) rotate(-6deg)}}@keyframes think{25%{transform:rotate(-5deg)}75%{transform:rotate(4deg)}}@keyframes gear-turn{to{rotate:360deg}}@keyframes flame{50%{opacity:.6;filter:brightness(1.2)}}
@media(max-width:1000px){header{padding:0 20px}.brand{font-size:17px}nav{gap:4px}nav button{font-size:10px;padding:8px}.arena{gap:15px}.player{padding:16px 14px!important}.companion{width:105px;height:110px;left:-10px;bottom:103px}.recorder-area{margin-left:13px}.headline h1{font-size:29px}.theme-strip button{padding:8px 13px}}
@media(max-width:600px){header{height:69px;padding:0 12px}.brand{font-size:15px;gap:6px}.brandmark{width:28px;height:34px;font-size:24px;line-height:32px}.brand small{font-size:6px;letter-spacing:.5px}nav{max-width:183px;gap:3px}nav button{font-size:9px;padding:4px 6px;min-height:25px;border-radius:6px}main{padding:10px 11px 0}.eyebrow{font-size:7px;letter-spacing:0}.headline{margin:9px 0 6px!important}.headline h1{font-size:25px;letter-spacing:2px}.headline p{font-size:9px;margin:3px 0}.theme-strip{margin:8px 0 8px;gap:5px}.theme-strip button{font-size:10px;padding:7px 12px;white-space:nowrap}.arena{gap:10px}.conductor{background:#15384cbb;grid-template-columns:62px 1fr 70px;grid-template-rows:17px 65px 20px;padding:6px 7px!important;border:1px solid #7fa4a14d;border-radius:15px;align-self:stretch}.conductor #score-paper{width:150px;height:72px;padding:0;border-width:2px;border-radius:9px;box-shadow:0 3px #a28a5d;grid-row:2}.conductor .staff{height:65px!important;max-height:none!important}.conductor .timer{width:58px!important;height:58px!important}.timer strong{font-size:24px}.question-label{font-size:8px!important;margin:0!important}#score-paper:before,#score-paper:after{width:4px;height:4px}#score-paper:before{left:4px}#score-paper:after{right:4px}.note-label{font-size:12px!important;margin-top:3px;min-height:18px}.center-status{font-size:8px;min-height:14px;margin:2px 0 0!important}.conductor .start,.conductor .pause{padding:8px 5px;width:69px;min-height:34px;font-size:10px}.instrument-tag{font-size:7px;margin-top:3px}.player{padding:10px 9px 12px!important;border-radius:17px!important}.player-top{padding:0 5px}.player h2{font-size:17px;letter-spacing:1px}.score{font-size:31px}.score small{font-size:8px}.player-top small{font-size:6px;letter-spacing:1px}.energy-meter{gap:4px;padding-top:5px}.energy-meter i{width:17px;height:5px}.recorder-area{height:280px!important;margin-left:11px}.companion{width:78px;height:84px;left:-7px;bottom:91px}.player:after{bottom:76px;height:20px}.rear>span{font-size:9px}.rear small{font-size:8px}.rear{margin-top:48px}.mouth{height:28px}.mouth i{margin-top:9px;height:13px}.collar{height:9px}.bell{height:11px}.shaft .hole{height:31px;min-height:31px}.thumb{height:42px;min-height:42px}.hole b{left:45px;font-size:8px}.player-message{font-size:9px;min-height:29px;padding:4px 0}.clear{font-size:10px;padding:9px 5px;min-width:34px}.submit{font-size:12px;padding:11px 4px}.player-actions{gap:5px}footer{font-size:7px;padding:9px 0;line-height:1.6}dialog{padding:22px}.practice-pipe .recorder-area{height:280px!important}.practice-pipe .rear{margin-top:45px}}
@media(min-width:601px) and (max-height:760px){header{height:59px}.headline h1{font-size:25px}.headline{margin:4px 0!important}.headline p{font-size:10px}.theme-strip{margin:7px 0 10px}.theme-strip button{padding:6px 14px}.eyebrow{font-size:8px}.recorder-area{height:290px!important}.mouth{height:30px}.mouth i{margin-top:10px;height:14px}.collar{height:12px}.shaft .hole{height:31px;min-height:31px}.bell{height:16px}.rear{margin-top:48px}.conductor .timer{width:60px!important;height:60px!important}.conductor .staff{max-height:115px!important}.conductor .question-label{margin:6px 0!important}.companion{width:110px;height:115px}.player h2{font-size:19px}.score{font-size:36px}.player{padding:14px 18px!important}.player-message{min-height:28px}.center-status{min-height:30px}.conductor .note-label{font-size:17px!important;margin-top:12px}footer{padding:8px 0;font-size:8px}}
@media(min-width:601px) and (max-height:500px){header{height:43px}.theme-strip{position:absolute;top:5px;left:235px;margin:0;gap:3px}.theme-strip button{padding:6px;font-size:9px}.brand{font-size:13px}.brandmark{display:none}.brand small{display:none}nav{max-width:none}nav button{font-size:8px;padding:5px}.arena{gap:20px}.player{padding:8px 13px!important}.player-top small{display:none}.player h2{font-size:16px}.score{font-size:25px}.energy-meter{padding:1px 0}.energy-meter i{height:4px;width:15px}.recorder-area{height:205px!important}.mouth{height:22px}.collar{height:7px}.bell{height:10px}.shaft .hole{height:23px;min-height:23px}.rear{margin-top:24px}.thumb{height:34px;min-height:34px}.conductor .timer{width:47px!important;height:47px!important}.conductor .timer strong{font-size:20px}.conductor .staff{max-height:98px!important}.question-label{font-size:8px}.center-status{font-size:9px}.companion{width:87px;height:92px;bottom:72px;left:-10px}.player-message{font-size:9px;min-height:22px}.submit{font-size:11px;padding:8px}.clear{font-size:10px;padding:6px;min-width:35px}.instrument-tag{margin-top:7px;font-size:7px}.conductor .note-label{margin-top:12px;font-size:15px!important}.conductor{padding:5px 0}.conductor .start,.conductor .pause{font-size:10px;padding:7px}.player:after{bottom:60px}.world svg{height:130%;top:-20%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}button:focus-visible{outline:3px solid #8ccbed;outline-offset:3px}
#score-paper,#score-paper svg{transform:none!important}.staff{width:100%!important}.notation-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.notation-gallery section{min-width:0;background:#fff9e5;padding:8px;border:1px solid #becbbd;border-radius:10px}.notation-gallery h3{margin:3px 0;text-align:center;font-size:15px}.notation-gallery .staff{height:auto!important;width:100%!important;max-height:none!important}.notation-gallery small{font-size:8px;display:block;text-align:center;color:#48676a}.fingering-dots{display:flex;gap:3px;justify-content:center}.fingering-dots span{display:flex;flex-direction:column;align-items:center;gap:2px}.fingering-dots i{width:10px;height:10px;border:1px solid #294958;border-radius:50%;background:#fff8df}.fingering-dots i.covered{background:#294958}.fingering-dots b{font-size:8px;font-weight:400}@media(max-width:600px){.notation-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.notation-gallery section{padding:7px 4px}.fingering-dots{gap:2px}}
@media(min-width:601px) and (min-height:761px) and (max-height:900px){header{height:72px}.recorder-area{height:313px!important}.mouth{height:40px}.mouth i{margin-top:17px;height:16px}.collar{height:14px}.bell{height:17px}.shaft .hole{height:34px;min-height:34px}.rear{margin-top:66px}.theme-strip{margin-bottom:10px}}
