@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(./nunito-latin-400-normal-r8SDr6Up.woff2) format("woff2"),url(./nunito-latin-400-normal-DKg4f3fz.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-latin-600-normal-Br8yIETf.woff2) format("woff2"),url(./nunito-latin-600-normal-Cd0eNu1l.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-latin-700-normal-Dort48En.woff2) format("woff2"),url(./nunito-latin-700-normal-OcDqTBcA.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-800-normal-Dz8SOQK_.woff2) format("woff2"),url(./nunito-latin-800-normal-D-J0wlBY.woff) format("woff")}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:400;src:url(./fraunces-latin-400-normal-6IfK1voy.woff2) format("woff2"),url(./fraunces-latin-400-normal-NUPT2cO8.woff) format("woff")}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:500;src:url(./fraunces-latin-500-normal-DnGCNyPD.woff2) format("woff2"),url(./fraunces-latin-500-normal-BTR4KCeb.woff) format("woff")}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-latin-600-normal-BFCDtZfi.woff2) format("woff2"),url(./fraunces-latin-600-normal-DL5QCzvS.woff) format("woff")}@font-face{font-family:MusicNotation;src:url(../music-notation.ttf) format("truetype");font-display:swap}:root{font-family:Nunito,system-ui,sans-serif;color:#2d443c;background:#f7f4ec;font-synthesis:none;font-weight:400;--ink:#29463e;--muted:#708078;--green:#385c4d;--line:#e3e3d7;--paper:#fffefa;--gold:#edca81;--cream:#f7f4ec;--serif:Fraunces,Georgia,serif}*{box-sizing:border-box}body{margin:0}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select,summary{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.42}button{transition:background .16s,transform .16s,border-color .16s}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b78e44;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500}a{color:inherit}svg{flex-shrink:0}select,input[type=number]{width:100%;min-height:48px;border:1px solid #dcded3;background:#fffefa;border-radius:9px;color:var(--ink);padding:10px 12px}select{padding-right:26px}input[type=number]{font-weight:700}input[type=range]{width:100%;accent-color:var(--green);min-height:32px}input[type=checkbox]{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}fieldset{margin:0;padding:0;border:0}legend{padding:0}small{line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{max-width:1440px;margin:auto;padding:0 64px;min-height:100vh;display:flex;flex-direction:column}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 0 24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-family:var(--serif);font-size:21px;letter-spacing:-.5px}.brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:var(--green);color:var(--gold);transform:rotate(-5deg)}.brand small{display:block;font-family:Nunito,sans-serif;font-weight:700;font-size:8px;letter-spacing:1.55px;color:var(--muted);margin-top:5px}.header-actions{display:flex;align-items:center;gap:14px}.language-select{display:flex;align-items:center;gap:7px;color:#59685e}.language-select select{background:transparent;border:0;min-height:42px;padding-left:2px;font-size:13px;font-weight:700;width:105px}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:800;letter-spacing:1.8px;color:#738271;text-transform:uppercase}.eyebrow-line{width:25px;height:1px;background:#a3aa8b}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:12px 19px;min-height:48px;font-weight:700;font-size:14px;line-height:1.3;text-decoration:none}.primary{background:var(--green);color:#fffdf5;border-color:var(--green);box-shadow:0 4px 7px #29463e0b}.primary:not(:disabled):hover{background:#284738;border-color:#284738}.secondary{background:#fffef9;border-color:#daddce;color:var(--green)}.secondary:not(:disabled):hover{background:#f0f1e7;border-color:#b4bda9}.compact{padding:10px 16px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:0;padding:10px 6px;min-height:44px;font-weight:700;font-size:12px;color:var(--green)}.text-button:not(:disabled):hover{text-decoration:underline}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:0;background:transparent;border-radius:8px;color:#6e7b70}.icon-button:hover{background:#eaeddf}.muted{color:var(--muted)}.danger{color:#a75a48}.field{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:800;position:relative}.field small{font-weight:400;color:var(--muted);font-size:11px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-help{font-size:11px;color:var(--muted);margin-top:8px}.setup-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:74px;align-items:start;padding:58px 0 50px;flex:1}.welcome h1{font-size:clamp(34px,3.1vw,46px);line-height:1.2;letter-spacing:-1.4px;margin:23px 0 20px}.welcome h1 span:last-child{color:#70856d}.intro{max-width:460px;color:#778073;font-size:14px;line-height:1.9}.forest-art{width:100%;height:auto;display:block;margin:9px auto -5px}.chapter-previews{display:flex;gap:17px;align-items:flex-start;padding-top:10px}.chapter-preview{display:flex;align-items:flex-start;gap:9px;flex:1}.chapter-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#ede7d4;color:#9c7b40}.chapter-rhythm .chapter-icon{background:#e8e0ec;color:#8b7198}.chapter-echo .chapter-icon{background:#dde8e1;color:#638c7b}.chapter-preview strong{font-size:10px;display:block;margin:1px 0 5px;font-weight:800}.chapter-preview small{font-size:9px;color:#879083;display:block;line-height:1.6}.setup-side{padding-top:8px}.setup-card{background:var(--paper);border:1px solid #e4e3d6;border-radius:19px;padding:30px 32px 23px;box-shadow:0 16px 40px #344e3510,0 2px 4px #344e3503}.setup-badge{width:43px;height:43px;display:grid;place-items:center;background:#f2ecda;border-radius:50%;color:#ac8d50;margin-bottom:18px}.setup-card h2{font-size:26px;letter-spacing:-.6px;line-height:1.25}.setup-subtitle{font-size:12px;color:var(--muted);line-height:1.8;margin:11px 0 25px}.setup-basics{grid-template-columns:1fr 1.05fr;gap:17px}.setup-basics input{font-size:21px;line-height:1.2}.setup-basics select{height:49px}.mode-field{margin-top:22px}.mode-field legend{font-size:12px;font-weight:800;margin-bottom:11px}.mode-options{display:flex;gap:10px}.mode-option{display:flex;align-items:center;gap:8px;position:relative;flex:1;cursor:pointer;border:1px solid #e0e3d8;border-radius:9px;padding:14px 11px;color:#838c7e;font-size:11px;font-weight:700;min-height:55px}.mode-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.mode-option:has(input:focus-visible){outline:3px solid #b78e44;outline-offset:4px}.mode-option.selected{background:#edf1e6;border-color:#b1bea2;color:#3c5949}.radio-indicator{width:12px;height:12px;border:1px solid #bcc4b3;border-radius:50%;margin-left:auto;flex-shrink:0}.selected .radio-indicator{border:3px solid #648064;background:#e7eddf;box-shadow:0 0 0 2px #cbd5bd}.advanced-settings{margin:22px 0;border-top:1px solid #ebecdf;border-bottom:1px solid #ebecdf}.advanced-settings summary{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;min-height:52px;gap:10px;list-style:none;color:#697a66}.advanced-settings summary::-webkit-details-marker{display:none}.advanced-settings[open] summary svg{transform:rotate(180deg)}.advanced-settings[open]{padding-bottom:15px}.settings-fields{display:flex;flex-direction:column;gap:17px}.settings-fields .field-pair{gap:12px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;line-height:1.5;min-height:40px;cursor:pointer}.toggle-row span{flex:1}.toggle-row small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.toggle-row input[role=switch]{appearance:none;width:34px;height:20px;border-radius:20px;background:#d8dece;position:relative;cursor:pointer;transition:background .2s}.toggle-row input[role=switch]:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .2s;box-shadow:0 1px 2px #0002}.toggle-row input[role=switch]:checked{background:#688565}.toggle-row input[role=switch]:checked:after{transform:translate(14px)}.range-value{font-size:10px;font-weight:400;color:var(--muted);position:absolute;right:0;top:0}.start-button{width:100%;justify-content:space-between;min-height:51px;padding:13px 18px}.setup-privacy{display:flex;justify-content:center;gap:6px;align-items:flex-start;color:#8b9484;font-size:9px;margin-top:18px;line-height:1.5}.together-note{display:flex;align-items:center;justify-content:center;gap:15px;font-size:11px;color:#8b927f;margin-top:21px}.together-note span{color:#b9ac82;font-size:10px}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 0;border-top:1px solid var(--line);font-size:10px;color:#919887;margin-top:auto}.site-footer>span,.site-footer>div,.site-footer>div>span{display:flex;align-items:center;gap:6px}.site-footer>div{gap:16px}.offline-ready{color:#688061}.restore-card{border:1px solid #cbd7ba;background:#eef3e5;padding:17px 20px;margin-bottom:20px;border-radius:13px;font-size:12px}.restore-card p{margin-bottom:5px}.notice{background:#f0ecd9;border:1px solid #e2d9b8;color:#766541;padding:13px 17px;border-radius:9px;font-size:12px;line-height:1.6}.app-notice{display:flex;align-items:center;gap:15px;margin-top:15px}.app-notice>span{flex:1}.app-notice .icon-button{width:30px;height:30px;flex-shrink:0}.warning{margin:12px 24px;background:#f8eee0;color:#8b6742}.in-session .site-header{padding:17px 0}.in-session .brand{font-size:18px}.in-session .brand-mark{width:38px;height:38px}.in-session .brand small{font-size:7px}.game-layout{padding:0 0 28px}.chapter-navigation{display:flex;align-items:center;justify-content:center;gap:25px;padding:22px 0 20px;font-size:11px;color:#a1a794}.chapter-navigation>span{display:flex;align-items:center;gap:9px;white-space:nowrap}.chapter-navigation b{width:25px;height:25px;display:grid;place-items:center;border:1px solid #dce0d1;border-radius:50%;font-weight:700;font-size:9px}.chapter-navigation .current{color:#395b48;font-weight:800}.chapter-navigation .current b{background:#e8ecdf;border-color:#9bb091}.chapter-navigation .complete b{background:#526f52;color:#fff;border-color:#526f52}.chapter-navigation>span>svg{margin-left:18px;color:#c3c9b8}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 24px}.game-heading h1{display:flex;align-items:center;gap:13px;font-size:31px;margin-top:10px;letter-spacing:-.8px}.game-heading h1 svg{color:#8c9b74}.game-heading .eyebrow{font-size:9px;letter-spacing:1.6px;flex-wrap:wrap}.play-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.challenge-card{background:var(--paper);border:1px solid #e2e4d7;border-radius:17px;box-shadow:0 6px 24px #324c3407;overflow:hidden}.phase-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 25px;border-bottom:1px solid #eeeee4;min-height:63px}.phase-heading>div{display:flex;align-items:center;gap:10px}.phase-heading h2{font-family:Nunito,sans-serif;font-size:13px;font-weight:800;outline:none}.phase-dot{width:7px;height:7px;border-radius:50%;background:#a4b88e;box-shadow:0 0 0 4px #edf1e7}.phase-selection{background:#c5a256;box-shadow:0 0 0 4px #f3ecd9}.phase-feedback{background:#89ab89}.assistance-badge{display:flex;align-items:center;gap:5px;font-size:9px;color:#987e45}.task-instruction{font-size:14px;line-height:1.7;max-width:600px;margin:auto;text-align:center;color:#687960}.challenge-content{padding:23px 24px 0}.staff-container{margin-top:10px;background:#fafaf3;border:1px solid #f0efe2;border-radius:12px;padding:2px 8px 12px}.staff{width:100%;height:auto;display:block;max-height:163px}.music-symbol{font-family:MusicNotation,Noto Music,DejaVu Sans,serif}.staff-labels{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin:0 2% 0 9.2%}.note-position{min-width:0;min-height:48px;display:flex;align-items:center;flex-direction:column;gap:1px;background:transparent;border:1px solid transparent;border-radius:7px;padding:4px 1px}.note-position small{font-size:8px;color:#94a08c}.note-position span{font-size:13px;font-weight:800;color:#526950}.note-position:disabled{opacity:1;cursor:default}.note-position:not(:disabled):hover{background:#ebefde;border-color:#c5cfb1}.note-position.selected{background:#f7e9cb;border-color:#d7b46f}.note-position.playing,.rhythm-token.playing,.rhythm-gap.playing{background:#f8df9c;border-color:#b88e43;box-shadow:0 0 0 3px #e9c66e30}.task-tools{display:flex;justify-content:center;align-items:center;gap:17px;margin:15px 0}.task-tools .button{font-size:12px;min-height:43px;padding:10px 15px}.interaction-help{text-align:center;font-size:10px;color:#8d967f;line-height:1.7;margin:10px 0}.interaction-help>span{display:block;color:#6e805b;font-weight:700}.phase-action{display:flex;justify-content:center;padding:4px 24px 26px}.thinking-bar{display:flex;align-items:center;gap:12px;margin:18px 24px 0;padding:10px 15px;background:#eff1e6;border-radius:9px;color:#677f55;font-size:11px}.thinking-bar strong{font-size:22px;font-weight:800;min-width:37px}.thinking-bar>span{flex:1}.thinking-bar .text-button{font-size:10px;white-space:nowrap}.student-call{display:flex;align-items:center;justify-content:center;gap:15px;background:#f5efdc;border:1px solid #e8dcb7;border-radius:13px;margin:18px 24px 0;padding:5px 20px;color:#877044;min-height:90px;animation:call-in .4s ease-out}.student-call>span{font-family:var(--serif);font-size:19px}.student-call>strong{font-family:var(--serif);font-weight:500;font-size:76px;line-height:1;color:#496041;min-width:60px;text-align:center;font-variant-numeric:lining-nums}.selection-panel{display:flex;flex-direction:column;align-items:center;padding:0 24px 25px;gap:15px}.draw-button{background:#9b7b44;border-color:#9b7b44;font-size:16px;padding:15px 24px}.draw-button:not(:disabled):hover{background:#836438;border-color:#836438}.manual-pick{flex-direction:row;align-items:center;gap:15px;font-size:11px;color:#81916e}.manual-pick select{width:90px}.selection-panel>small{max-width:400px;text-align:center;font-size:10px;color:#939c86}.hint-box{display:flex;gap:10px;align-items:center;font-size:11px;color:#857240;line-height:1.7;background:#f7f1df;border-radius:9px;padding:12px 15px;margin-bottom:14px}.answer-area{border-top:1px solid #e8ebdc;padding:18px 0 5px}.answer-heading{display:flex;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.4px;color:#7f8a71;margin-bottom:12px}.answer-slots{display:flex;gap:7px;justify-content:center;margin-bottom:14px;min-height:42px}.answer-slots>span{width:44px;min-height:42px;border:1px dashed #d2d9c6;border-radius:8px;display:grid;place-items:center;color:#a6b095;font-size:15px;background:#f9faf3}.answer-slots .answered{border:1px solid #c1d0ac;background:#edf2e4;color:#476442;font-weight:800}.note-keyboard{display:flex;justify-content:center;gap:7px}.note-key{background:#edf0e3;border:1px solid #d7dfc7;border-bottom:4px solid #c8d3b5;border-radius:9px;min-width:0;min-height:63px;flex:1;padding:8px 4px;max-width:68px;color:#466442}.note-key span{display:block;font-size:16px;font-weight:800}.note-key small{font-size:8px;font-weight:600;opacity:.7}.note-key.key-1{background:#f4ead6;border-color:#e3d6ba;border-bottom-color:#d8c8a5;color:#8b7343}.note-key.key-2{background:#eee7f0;border-color:#ddd1e2;border-bottom-color:#d2c1da;color:#7f6c8a}.note-key.key-3{background:#e3edeb;border-color:#c9dcda;border-bottom-color:#b6d0cd;color:#548079}.note-key:not(:disabled):hover{filter:brightness(.97)}.response-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 10px}.response-actions .button{font-size:12px}.response-actions .text-button{font-size:10px}.rhythm-scene{display:flex;align-items:center;justify-content:center;gap:6px;min-height:170px;margin:8px 0 0}.cauldron-art{width:95px;max-width:19%;flex-shrink:1}.rhythm-measure{display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap;border-bottom:2px solid #c8d1b9;border-top:2px solid #c8d1b9;padding:15px 6px;min-height:100px;flex:1;background:#fbfaf2}.time-signature{display:flex;flex-direction:column;font-family:var(--serif);font-size:25px;line-height:.95;padding-right:8px;border-right:1px solid #abb89b;margin-right:4px}.rhythm-token{display:inline-flex;min-width:28px;min-height:55px;padding:3px 4px;align-items:center;justify-content:center;flex-direction:column;border:1px solid transparent;border-radius:6px;color:#5e7851}.rhythm-token .music-symbol{font-size:29px;line-height:1.2}.rhythm-token small{font-size:10px;color:#8a977a;line-height:1}.rhythm-token.rest{color:#897199}.rhythm-gap{display:flex;align-items:center;justify-content:center;gap:1px;border:1.5px dashed #bfa67a;background:#f8efdc;min-width:45px;min-height:70px;border-radius:6px;color:#b0965c;font-size:26px;font-family:var(--serif);flex-wrap:wrap}.barline{width:3px;height:62px;border-left:1px solid #8e9d7a;border-right:2px solid #8e9d7a;margin-left:3px}.rhythm-keyboard{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.rhythm-key{background:#f5f4ea;border:1px solid #d7dcc9;border-bottom:3px solid #c7d1b9;border-radius:9px;min-width:49px;min-height:66px}.rhythm-key .rhythm-token{padding:0}.reproduce-check{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;color:#697d57;padding:14px 0 0;min-height:48px}.echo-scene{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;margin:5px 0}.ghost-art{width:98px;margin-bottom:7px}.echo-trail{display:flex;justify-content:center;gap:11px;flex-wrap:wrap}.echo-bubble{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#e9efe7;border:1px solid #d4e0cd;color:#98ad8f;font-size:14px;font-weight:800}.echo-bubble.playing{background:#edcf86;color:#5f713c;transform:translateY(-5px);border-color:#cba75a}.echo-bubble.revealed{color:#5b7750;border-color:#b8ceaa}.rehearsal-box{background:#ecefe2;border:1px solid #d7dfc8;border-radius:9px;padding:17px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center;font-size:12px;line-height:1.6;margin-bottom:20px}.rehearsal-box strong{font-family:var(--serif);font-size:19px}.musical-explanation{background:#f0f3e8;border-radius:10px;padding:15px 18px;font-size:12px;line-height:1.8;margin:0 0 18px;color:#5d7450}.musical-explanation ul{margin:8px 0 0;padding-left:19px}.melody-solution{font-size:17px;font-weight:800;margin-top:8px}.feedback-banner{display:flex;align-items:flex-start;gap:14px;padding:20px 24px;background:#edf3e5;border-top:1px solid #d7e3ca}.feedback-banner.incorrect{background:#f3eddf;border-color:#e2d8be}.feedback-banner.skipped,.feedback-banner.invalid{background:#f3f4ee}.feedback-icon{border-radius:50%;width:39px;height:39px;display:grid;place-items:center;background:#dbe9cb;color:#6a8754;flex-shrink:0}.incorrect .feedback-icon{background:#e8d9bb;color:#9d7e45}.feedback-banner h3{font-size:20px;line-height:1.4;margin-bottom:15px}.feedback-banner .button{font-size:12px}.staircase-card{border-radius:17px;background:#294843;color:#e9ead8;overflow:hidden;box-shadow:0 8px 20px #304d3510;position:sticky;top:18px}.staircase-heading{padding:24px 22px 0}.staircase-heading .eyebrow{font-size:7px;color:#abbba5;letter-spacing:1.25px}.staircase-heading h2{font-size:23px;line-height:1.25;margin-top:12px;letter-spacing:-.5px}.staircase-card>svg{display:block;width:100%;height:auto;margin:7px 0 -4px}.staircase-status{display:flex;align-items:center;justify-content:space-between;margin:0 23px;color:#a8bba1;font-size:10px}.staircase-status strong{font-size:26px;font-family:var(--serif);font-weight:500;color:#edcf8e}.staircase-status strong span{font-size:16px;color:#9aaf94}.step-dots{display:flex;gap:6px;margin:18px 23px 26px}.step-dots>span{height:4px;flex:1;background:#46665b;border-radius:5px}.step-dots .filled{background:#e3be74}.party-position{transition:transform .8s cubic-bezier(.3,.8,.4,1)}.setback-scene .witch-position{animation:witch-spell .7s ease-in-out}.teacher-desk{position:relative;z-index:5;border:1px solid #dde1d3;border-radius:12px;background:#fffefaed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:14px 19px 7px;margin-top:22px;box-shadow:0 5px 30px #334b3512}.desk-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:14px;font-size:10px;color:#859174}.desk-header>span:first-child{display:flex;align-items:center;gap:7px;text-transform:uppercase;font-weight:800;font-size:9px;letter-spacing:1.1px}.rotation-status{font-size:10px}.desk-controls{display:flex;align-items:center;justify-content:space-between;gap:20px}.judgment-controls{display:flex;align-items:center;gap:9px}.judgment-controls .button{font-size:12px;min-height:45px;padding:10px 15px}.judge-correct{background:#e6efde;color:#577346;border-color:#c7d7b7}.judge-correct:not(:disabled):hover{background:#d7e6ca}.judge-incorrect{background:#f5edde;color:#9b7d46;border-color:#e5d8bb}.judge-incorrect:not(:disabled):hover{background:#eee0c7}.utility-controls{display:flex;align-items:center;gap:3px}.utility-button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:65px;min-height:48px;font-size:9px;font-weight:700;color:#7b896e;border-radius:7px;padding:5px 8px}.utility-button:not(:disabled):hover{background:#f0f3e7}.desk-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #eef0e4;margin-top:12px;padding-top:3px}.desk-bottom>p{display:flex;align-items:center;gap:7px;font-size:9px;line-height:1.6;color:#99a08c}.desk-bottom>div{display:flex;gap:2px}.desk-bottom .icon-button{width:38px;height:38px}.modal{border:1px solid #d7ddc9;border-radius:18px;background:var(--paper);color:var(--ink);width:min(620px,calc(100vw - 32px));max-height:88vh;padding:27px 30px;box-shadow:0 25px 100px #243e3b38}.modal::backdrop{background:#1e302b85;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.modal-title h2{font-size:25px}.modal-title .icon-button{margin-right:-10px}.modal>p{color:#7c8970;font-size:13px;line-height:1.8;margin-bottom:20px}.modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.modal .settings-fields{margin-top:24px}.modal-save{width:100%;margin-top:24px}.danger-controls{border-top:1px solid #e4e8d9;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:25px;padding-top:17px}.danger-controls .text-button{font-size:11px}.attendance-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.attendance-grid button{border:1px solid #c9d8b9;background:#edf3e5;color:#5e7a48;border-radius:9px;padding:8px 3px;display:flex;flex-direction:column;align-items:center;min-height:64px}.attendance-grid button strong{font-size:22px;font-family:var(--serif);font-weight:500}.attendance-grid button small{font-size:8px}.attendance-grid button.absent{background:#eeeee9;color:#a6ac9a;border-color:#dedfd5}.attendance-grid button.absent strong{text-decoration:line-through}.number-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.number-cards>div{border:1px dashed #a3b493;border-radius:8px;padding:15px 8px;display:flex;align-items:center;flex-direction:column;break-inside:avoid;color:#547249}.number-cards strong{font-size:45px;font-family:var(--serif);font-weight:500}.number-cards small{font-size:7px;text-align:center}.finale{max-width:840px;margin:55px auto;text-align:center;display:flex;flex-direction:column;align-items:center}.finale h1{font-size:43px;letter-spacing:-1px;margin:18px 0}.finale>p{max-width:650px;line-height:1.9;color:#7b8870;font-size:15px}.finale .forest-art{max-width:590px;margin:12px 0 0}.finale-chapters{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:10px 0 30px}.finale-chapters>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#72905b}.finale h2{font-size:24px;margin:34px 0 18px}.finale-reviews{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:20px}.finale-reviews .button{font-size:11px}.error-page{padding:80px 30px;max-width:650px;margin:auto}.error-page h1{margin-bottom:30px}.float{animation:float 4s ease-in-out infinite}.float-slow{animation:float 5s ease-in-out infinite}.star{animation:twinkle 4s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes twinkle{0%,to{opacity:.45}50%{opacity:1}}@keyframes call-in{0%{opacity:0;transform:translateY(5px) scale(.97)}to{opacity:1;transform:none}}@keyframes witch-spell{0%,to{transform:translate(0)}35%{transform:translate(-7px)}65%{transform:translate(5px)}}@media(min-width:1450px){.app-shell{padding:0 76px}.setup-layout{gap:90px;padding-top:70px}.welcome h1{font-size:48px}.intro{font-size:15px}.setup-card{padding:35px 38px 28px}.chapter-preview strong{font-size:11px}.chapter-preview small,.setup-privacy{font-size:10px}.play-grid{grid-template-columns:minmax(0,1fr) 305px}.student-call>strong{font-size:88px}.task-instruction{font-size:16px}.note-position span{font-size:15px}}@media(max-width:1100px){.app-shell{padding:0 35px}.setup-layout{gap:40px;grid-template-columns:1.1fr 1fr}.welcome h1{font-size:36px}.setup-card{padding:25px}.setup-card h2{font-size:23px}.chapter-previews{gap:10px}.chapter-preview{gap:6px}.chapter-preview small{display:none}.chapter-preview strong{font-size:9px}.play-grid{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.staircase-heading{padding:22px 18px 0}.staircase-heading h2{font-size:21px}.utility-button{min-width:59px;font-size:8px;padding:5px}.desk-controls{gap:12px}.judgment-controls .button{padding:10px 12px}.teacher-desk{padding:13px 15px 7px}.task-instruction{font-size:13px}.student-call>span{font-size:17px}.challenge-content{padding-left:20px;padding-right:20px}}@media(max-width:850px){.app-shell{padding:0 25px}.site-header{padding:20px 0}.brand{font-size:18px}.brand small{font-size:6px;letter-spacing:1.2px}.brand-mark{width:36px;height:36px;border-radius:11px}.setup-layout{grid-template-columns:1fr;gap:32px;padding-top:35px;max-width:620px;margin:auto}.welcome h1{font-size:42px}.intro{max-width:100%}.forest-art{max-width:540px}.chapter-previews{justify-content:space-between}.chapter-preview strong{font-size:11px}.chapter-preview small{display:block;font-size:9px}.setup-side{padding:0}.setup-card{padding:30px}.setup-card h2{font-size:27px}.setup-subtitle{font-size:13px}.setup-privacy{font-size:10px}.play-grid{grid-template-columns:minmax(0,1fr) 190px;gap:13px}.staircase-heading{padding:18px 14px 0}.staircase-heading h2{font-size:18px}.staircase-heading .eyebrow{font-size:6px;letter-spacing:.8px}.staircase-status{margin:0 15px;flex-direction:column;align-items:flex-start;gap:3px}.step-dots{margin:13px 15px 19px;gap:4px}.chapter-navigation{gap:10px;font-size:9px}.chapter-navigation>span{gap:6px}.chapter-navigation>span>svg{margin-left:3px}.chapter-navigation b{width:22px;height:22px}.game-heading h1{font-size:28px}.phase-heading{padding:16px 18px}.phase-heading h2{font-size:11px}.challenge-content{padding:18px 13px 0}.student-call{margin:15px 13px 0;padding:9px 12px;gap:8px}.student-call>strong{font-size:64px}.student-call>span{font-size:14px}.note-key{min-height:56px;padding:7px 2px}.note-key span{font-size:13px}.note-keyboard{gap:4px}.thinking-bar{margin:15px 13px 0;gap:7px;padding:6px 10px;flex-wrap:wrap}.thinking-bar span{font-size:9px}.thinking-bar strong{font-size:19px}.desk-controls{flex-wrap:wrap;justify-content:center;gap:9px}.judgment-controls{flex:1;justify-content:center}.judgment-controls .button{flex:1;max-width:200px}.utility-controls{flex:1;justify-content:center}.utility-button{min-width:68px}.desk-bottom p{font-size:8px}.teacher-desk{bottom:8px}.site-footer{font-size:9px;align-items:flex-start}.site-footer>span{max-width:55%;align-items:flex-start}.site-footer>div{flex-direction:column;align-items:flex-end}.echo-bubble{width:37px;height:37px;font-size:11px}.echo-trail{gap:7px}.rhythm-scene{flex-direction:column;min-height:150px}.cauldron-art{width:65px;max-width:100%;height:65px}.rhythm-measure{width:100%}.rhythm-token{min-width:24px;padding:3px 2px}.feedback-banner h3{font-size:17px}.feedback-banner{padding:17px;gap:10px}.feedback-icon{width:30px;height:30px}}@media(max-width:600px){.app-shell{padding:0 17px}.brand{font-size:15px;gap:8px}.brand small{display:none}.brand-mark{width:33px;height:33px}.header-actions{gap:2px}.language-select{gap:1px}.language-select select{font-size:11px;width:84px}.fullscreen-button{width:34px}.welcome h1{font-size:34px;letter-spacing:-1px}.welcome .eyebrow{font-size:8px;letter-spacing:1.3px}.intro{font-size:13px}.setup-layout{padding-top:30px;gap:25px}.chapter-previews{gap:10px}.chapter-preview{flex-direction:column;align-items:center;text-align:center}.chapter-preview strong{font-size:10px}.chapter-preview small{display:none}.setup-card{padding:25px 21px}.setup-card h2{font-size:24px}.setup-basics{gap:12px}.field{font-size:11px}.mode-option{font-size:10px;padding:12px 8px}.mode-option svg{width:17px}.setup-privacy{font-size:8px}.site-footer{flex-direction:column;gap:10px;padding:18px 0}.site-footer>span{max-width:100%}.site-footer>div{align-items:flex-start}.chapter-navigation{gap:9px;justify-content:space-between;padding:18px 0;font-size:0}.chapter-navigation>span{font-size:0;gap:0}.chapter-navigation .current{font-size:10px;gap:6px}.chapter-navigation>span>svg{display:none}.chapter-navigation b{font-size:9px}.game-heading{margin:6px 0 17px}.game-heading h1{font-size:24px;gap:8px;letter-spacing:-.6px}.game-heading h1 svg{width:24px}.game-heading .eyebrow{font-size:7px}.game-heading .button{font-size:11px;padding:9px 11px;min-height:43px}.play-grid{grid-template-columns:1fr;gap:16px}.staircase-card{position:relative;top:auto;display:grid;grid-template-columns:1fr 120px;grid-template-rows:auto auto auto;min-height:150px}.staircase-heading{padding:18px 18px 0}.staircase-heading h2{font-size:21px;max-width:220px}.staircase-heading .eyebrow{font-size:7px}.staircase-card>svg{grid-column:2;grid-row:1/4;width:120px;margin:0;align-self:center}.staircase-status{margin:8px 18px 0;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}.staircase-status strong{font-size:22px}.staircase-status>span{font-size:9px}.step-dots{margin:10px 18px 17px}.challenge-content{padding:20px 15px 0}.task-instruction{font-size:13px}.student-call>strong{font-size:80px}.student-call>span{font-size:17px}.student-call{min-height:90px;margin:15px 15px 0}.staff-labels{margin-left:8.2%;gap:0}.note-position span{font-size:11px}.staff{min-height:90px}.note-position{min-height:48px}.phase-heading h2{font-size:12px}.thinking-bar span{font-size:10px}.teacher-desk{position:relative;bottom:auto;padding:14px 12px 7px}.desk-header{flex-direction:column;align-items:flex-start;gap:8px}.utility-controls{flex-wrap:wrap;justify-content:space-between;width:100%;flex-basis:100%;gap:3px}.utility-button{font-size:8px;min-width:50px;flex:1}.desk-bottom p{font-size:9px}.desk-bottom>div{flex-direction:column}.desk-bottom{gap:5px}.desk-controls{gap:13px}.judgment-controls .button{font-size:12px}.response-actions .button{padding:11px 12px;font-size:11px}.response-actions .text-button{font-size:9px}.note-keyboard{gap:5px}.note-key{min-height:62px}.note-key span{font-size:14px}.rhythm-scene{flex-direction:row;min-height:145px}.cauldron-art{width:56px;max-width:17%;height:auto}.echo-scene{min-height:160px}.echo-bubble{width:36px;height:36px}.echo-trail{gap:6px}.modal{padding:22px 20px;max-height:90vh}.modal-title h2{font-size:23px}.attendance-grid{grid-template-columns:repeat(5,1fr);gap:7px}.attendance-grid button small{font-size:7px}.number-cards{grid-template-columns:repeat(3,1fr)}.modal-actions .button{font-size:12px;padding:10px 14px}.finale{margin:35px auto}.finale h1{font-size:31px}.finale>p{font-size:13px}.finale-chapters{gap:12px}.finale-chapters>span{font-size:10px}.finale-reviews{flex-direction:column}.app-notice{font-size:11px}.assistance-badge{font-size:8px}.hint-box{font-size:10px}}html[data-reduced-motion=true] *,html[data-reduced-motion=true] *:before,html[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media print{body{background:#fff!important}.app-shell>*{display:none!important}.app-shell{padding:0;display:block}.app-shell:has(dialog) #root{display:block}.app-shell dialog.modal[open]{display:block!important;position:static;max-height:none;width:100%;height:auto;border:0;padding:0;overflow:visible;box-shadow:none}.modal::backdrop{display:none}.modal-title button,.no-print,.modal>p{display:none!important}.number-cards{grid-template-columns:repeat(4,1fr);gap:10mm}.number-cards>div{height:45mm;page-break-inside:avoid;color:#000}.number-cards strong{font-size:70px}.number-cards small{font-size:10px}.number-cards svg{width:20px}.modal-title{margin-bottom:10mm}}.input-mode{text-align:center;border-top:1px solid #efefe4;padding:2px 0 9px}.input-mode .text-button{font-size:11px}.button,.text-button,.icon-button,.utility-button{min-height:48px}.desk-bottom .icon-button{min-width:48px;min-height:48px}.game-v2 .chapter-navigation{padding:15px 0;gap:45px}.game-v2 .game-heading{margin:4px 0 18px}.game-v2 .game-heading h1{font-size:32px;margin-top:6px}.world-stage{position:relative;overflow:hidden;border-radius:19px;background:#385b4c;margin-bottom:22px;border:1px solid #355548;box-shadow:0 8px 24px #29463e0c}.world-rhythm{background:#605462;border-color:#605462}.world-echo{background:#304858;border-color:#304858}.world-art{display:block;width:100%;height:245px}.world-caption{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 22px;background:#1c342a4a;border-top:1px solid #e4e6cc18;color:#d3dfc6}.world-caption .eyebrow{font-size:9px;color:#d1dfc2;letter-spacing:.6px;text-transform:none;font-weight:600;line-height:1.5}.page-count{font-size:10px;color:#bcccae;display:block;margin-top:3px}.world-progress{display:flex;gap:14px;align-items:center;white-space:nowrap}.world-progress strong{font-family:var(--serif);font-weight:500;font-size:30px;color:#f2d490}.world-progress strong span{font-size:19px;color:#c0cda8}.world-progress>span{font-size:11px}.world-number{position:absolute;left:47%;top:45%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;color:#e8dcbd;pointer-events:none}.world-number>span{font-size:11px;font-weight:700;line-height:1.4}.world-number strong{font-family:var(--serif);font-weight:500;font-size:88px;color:#ffe2a0;line-height:1.05;text-shadow:0 3px 20px #17352a60;animation:call-in .35s ease-out}.world-number>span:last-child{font-size:12px}.world-sounds{position:absolute;left:24px;bottom:75px;display:flex;gap:5px}.world-sound{width:48px;height:48px;border:1px solid #dbdfb33b;background:#23463866;color:#e0d29c;border-radius:50%;font-size:25px}.world-sound:hover{background:#a5b48044}.world-rhythm .world-sound{background:#4f3c5055}.world-echo .world-sound{background:#223d5266}.world-success .musical-step{transition:fill .4s}.world-setback .witch-casts{animation:witch-spell .7s ease-in-out}.magic-spell{animation:spell .65s ease-out 1;opacity:0}.potion-bubble{animation:potion-rise 4s ease-in-out infinite}.world-success .cauldron-dance{animation:cauldron-dance .8s ease-in-out}.ghost-chorus{animation:float 5s ease-in-out infinite}.adventure-grid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:22px;align-items:start}.adventure-grid .challenge-card{min-width:0;overflow:hidden}.teacher-desk-v2{position:sticky;top:15px;bottom:auto!important;margin:0;padding:20px 17px 10px;background:#fffdf7;-webkit-backdrop-filter:none;backdrop-filter:none;z-index:1}.teacher-desk-v2 .desk-header{margin-bottom:9px}.teacher-desk-v2 .rotation-status{font-size:11px;line-height:1.7;color:#6d7e5d}.mode-card{padding:13px 11px;border-radius:9px;margin:13px 0;background:#eaf0e2;border:1px solid #d9e1ce;color:#5a7449}.mode-card.teacher{background:#f5ecda;border-color:#e6d8b9;color:#967540}.mode-card>span{font-size:11px;font-weight:800;display:block;line-height:1.6}.mode-card .text-button{font-size:10px;line-height:1.4;gap:5px;padding:5px 0;text-align:left;justify-content:flex-start}.teacher-desk-v2 .judgment-controls{display:flex;flex-direction:column;gap:7px;margin-bottom:13px}.teacher-desk-v2 .judgment-controls .button{width:100%;max-width:none;font-size:13px}.desk-utility-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.desk-utility-grid .utility-button{min-width:0;min-height:61px;font-size:10px;line-height:1.35;padding:8px 3px}.desk-small-actions{border-top:1px solid #e8ecdf;display:flex;align-items:center;justify-content:space-between;padding-top:5px;margin-top:10px}.game-v2 .phase-heading{min-height:52px;padding:15px 22px}.game-v2 .phase-heading h2{font-size:13px}.game-v2 .challenge-content{padding:19px 23px 0}.task-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.task-kind{font-family:var(--serif);font-size:23px;letter-spacing:-.4px;color:#3d5e48}.review-tag{font-size:9px;color:#927a45;background:#f7f0d9;border-radius:12px;padding:5px 8px;font-weight:700}.game-v2 .task-instruction{font-size:14px;line-height:1.7;text-align:left;max-width:none;margin-bottom:14px}.staff-board{position:relative}.staff-hit{position:absolute;top:0;height:100%;border:0;background:transparent;border-radius:10px;touch-action:none}.staff-hit:focus-visible{outline:3px solid #b69051;outline-offset:1px}.game-v2 .staff-container{padding-bottom:12px;margin-top:8px}.game-v2 .staff-labels{margin-left:9.2%;margin-right:2%}.game-v2 .staff-labels .note-position{min-height:35px;padding:0;pointer-events:none}.game-v2 .staff-labels .note-position span{font-size:15px}.game-v2 .staff-labels .note-position small{font-size:9px}.game-v2 .staff{max-height:150px}.pitch-editor .interaction-help{margin:12px 0;font-size:12px;line-height:1.5;color:#6b7d58}.selected-pitches{display:flex;justify-content:center;gap:9px;margin:12px 0}.pitch-slot{min-width:90px;min-height:55px;padding:8px 11px;background:#f6f2e7;border:1px solid #ddd9ca;border-radius:9px;font-size:10px;color:#8a8f75}.pitch-slot strong{font-size:18px;display:block;color:#5e7850;margin-top:2px}.pitch-slot.active{border-color:#ad97ba;background:#eee5f2}.game-v2 .note-keyboard{gap:7px}.game-v2 .note-key{min-height:58px}.game-v2 .note-key span{font-size:16px}.game-v2 .response-actions{border-top:1px solid #e9ecdf;padding-top:14px;gap:7px;margin-bottom:15px;flex-wrap:wrap}.game-v2 .response-actions .text-button{font-size:10px}.game-v2 .response-actions .button{margin-left:auto;font-size:13px}.game-v2 .task-tools{justify-content:flex-start;margin:16px 0}.game-v2 .task-tools .button{font-size:12px}.game-v2 .selection-panel{padding:4px 23px 23px}.game-v2 .thinking-bar{margin:15px 23px 0;font-size:11px}.game-v2 .thinking-bar strong{font-size:21px}.game-v2 .thinking-bar .text-button{font-size:11px}.tile-bank{display:flex;justify-content:center;gap:9px;margin:16px 0;flex-wrap:wrap}.tile-bank .note-key{min-width:60px;max-width:90px;min-height:62px}.fragment-slots{display:flex;justify-content:center;gap:10px;margin:15px 0}.fragment-slots>span{display:flex;align-items:center;position:relative;flex-direction:column;min-width:55px;min-height:63px;background:#ede7f1;border:1px dashed #cdbbd6;border-radius:9px;padding:7px 12px}.fragment-slots>span small{font-size:10px;color:#a08dac}.fragment-slots>span strong{font-size:21px;color:#775d89}.fragment-slots>span>span{position:absolute;right:-10px;top:22px;color:#b5a2bf}.rest-toggle{border:1px solid transparent;border-radius:8px;background:transparent;min-width:42px;min-height:72px;display:flex;flex-direction:column;align-items:center}.rest-toggle[aria-pressed=true]{border-color:#b59cc4;background:#eee5f2}.rest-toggle>small{font-size:9px;color:#899677}.game-v2 .rhythm-measure{margin:15px 0 20px;min-height:115px;padding:15px 9px;gap:7px;border-color:#d0d7bd;border-radius:8px}.game-v2 .rhythm-token .music-symbol{font-size:32px}.game-v2 .rhythm-token{min-width:30px}.game-v2 .rhythm-keyboard{margin:18px 0}.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:18px 0}.choice-card{border:1px solid #dce2cf;background:#f9faf3;border-radius:11px;overflow:hidden;min-width:0}.choice-card.chosen{border:2px solid #9c87b1;background:#f0e9f5}.choice-main{border:0;background:transparent;display:flex;align-items:center;flex-direction:column;justify-content:center;width:100%;min-height:110px;padding:14px 8px;gap:10px}.option-letter{font-family:var(--serif);font-size:19px;color:#9aa888}.chosen .option-letter{color:#886b9d}.option-rhythm{display:flex;flex-wrap:wrap;justify-content:center;gap:1px}.option-rhythm .rhythm-token{min-width:24px;padding:2px}.option-rhythm .rhythm-token .music-symbol{font-size:25px}.choice-card>.text-button{width:100%;font-size:9px;border-top:1px solid #e3e7d8;min-height:48px}.echo-workshop{padding:8px 0 0}.ghost-pair{display:flex;align-items:center;justify-content:center;gap:13px;min-height:85px}.ghost-pair>svg{width:90px;height:80px}.ghost-pair>span{font-size:12px;color:#7c8d77;max-width:150px;text-align:center}.game-v2 .echo-trail{margin:7px 0 20px}.game-v2 .echo-bubble{width:49px;height:49px;font-size:15px}.echo-bubble.second-voice{border-color:#d5c5df;background:#f0eaf3;color:#ac92ba}.echo-bubble.second-voice.playing{background:#e0cae8;color:#755c88}.contour-path{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;color:#647f67}.echo-option-heard{display:grid;place-items:center;width:55px;height:40px;font-weight:800;color:#667e64}.echo-options{margin-top:22px}.game-v2 .answer-slots{margin:17px 0}.game-v2 .answer-slots>span{font-size:16px;min-height:45px}.tap-studio{border-top:1px solid #e4e9da;padding:19px 0 0;text-align:center}.tap-beats{display:flex;justify-content:center;gap:10px;margin-bottom:13px}.tap-beats>span{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;border:1px solid #d6dfc9;background:#f0f4e9;color:#9bac8e;font-size:11px}.tap-beats>span.lit{background:#eed397;color:#78613b;border-color:#c2a369}.tap-status{font-size:12px;line-height:1.7;color:#758568;min-height:43px;max-width:460px;margin:0 auto 14px}.tap-pad{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;width:200px;height:160px;margin:0 auto;border:2px solid #d4c3de;border-bottom:7px solid #c5b1d3;border-radius:25px;background:#f0e9f5;color:#9271a4;touch-action:manipulation;-webkit-user-select:none;user-select:none}.tap-pad.recording{background:#e7efd9;border-color:#aabf86;color:#638048}.tap-pad:active{background:#dcc6e7;border-bottom-width:3px;transform:translateY(4px)}.tap-pad strong{font-size:14px}.tap-pad small{font-size:8px;letter-spacing:2px;opacity:.6}.tap-marks{display:flex;gap:5px;align-items:center;justify-content:center;min-height:29px;margin:8px 0}.tap-marks span{width:5px;height:13px;background:#ac90bd;border-radius:4px}.calibration{margin:15px 0;padding:10px;border:1px solid #e8ecdd;border-radius:8px;text-align:left}.calibration summary{display:flex;align-items:center;gap:7px;color:#8a967a;font-size:11px;min-height:32px}.calibration p{font-size:11px;line-height:1.6;margin:9px 0;color:#8a967a}.calibration>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:10px}.calibration .text-button{font-size:10px}.feedback-v2{padding:23px}.feedback-result{display:flex;align-items:center;gap:15px;margin-bottom:23px}.feedback-result .eyebrow{font-size:8px;letter-spacing:.7px;line-height:1.7}.feedback-result h2{font-size:25px;line-height:1.4;margin-top:8px}.feedback-seal{width:49px;height:49px;border-radius:50%;display:grid;place-items:center;background:#e5edda;color:#8a9f67;font-size:25px;flex-shrink:0}.incorrect .feedback-seal{background:#f5e6ca;color:#bd9959}.submitted-answer h3,.solution-panel h3{font-family:Nunito,sans-serif;font-size:12px;font-weight:800;color:#7a896a;margin-bottom:10px}.submitted-answer{padding:15px;border:1px solid #e1e6d6;border-radius:11px;background:#fafbf5}.submitted-answer .staff-container{margin:0}.feedback-v2 .musical-explanation{margin:18px 0 0;line-height:1.9;font-size:13px}.feedback-v2 .musical-explanation ul:empty{display:none}.solution-toggle{font-size:12px;margin:8px 0}.solution-panel{border:1px solid #e0dfcc;border-radius:11px;background:#faf7eb;padding:17px;margin:0 0 15px}.solution-rhythm{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;min-height:80px}.solution-echo{font-size:19px;text-align:center;padding:15px 0;color:#6b805c;line-height:1.8}.feedback-next{text-align:right;margin-top:18px}.correction-sandbox p{font-size:11px;color:#8d9a79;line-height:1.7;margin:14px 0}.timing-feedback p{font-size:13px;color:#839371;text-align:center;padding:9px}.timing-line{height:35px;background:repeating-linear-gradient(90deg,#e3e9d6 0 1px,transparent 1px 25%);border-bottom:1px solid #b9c7a3;margin:10px 15px;position:relative}.timing-line>span{position:absolute;top:5px;width:6px;height:25px;border-radius:4px;background:#a38cb7}.story-body{text-align:center}.story-portrait{width:160px;height:143px;margin:0 auto 12px;display:block}.story-body>.eyebrow{justify-content:center;color:#a29271;font-size:9px;letter-spacing:1.1px;margin:8px 0 10px}.story-body h2{font-size:30px;line-height:1.3;letter-spacing:-.7px;max-width:530px;margin:0 auto 19px}.story-body>p{font-size:17px;line-height:1.9;color:#6d7a64;max-width:540px;margin:auto;white-space:pre-line}.story-body>.text-button{margin-top:12px;font-size:11px}.modal:has(.story-body){width:min(730px,calc(100vw - 30px));padding:23px 35px}.modal:has(.story-body)>.modal-title{margin-bottom:0}.modal:has(.story-body)>.modal-title h2{font-family:Nunito,sans-serif;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.1px;color:#a7ae97}.story-actions{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:15px;border-top:1px solid #e5e8d9;padding-top:15px}.story-actions .text-button{font-size:11px}.story-book>nav{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 22px;max-height:175px;overflow:auto}.story-book>nav>button{display:flex;align-items:center;gap:7px;min-height:48px;padding:8px 10px;border:1px solid #e2e8d6;border-radius:8px;background:#f8faf2;color:#7e8e6b;font-size:10px;text-align:left}.story-book>nav>button.selected{background:#e9efdf;border-color:#b9c9a0}.story-book .story-body>p{font-size:14px;line-height:1.8}.story-book .story-body h2{font-size:26px}.story-book .story-portrait{width:125px;height:115px}.migration-notice{display:flex;align-items:center;gap:15px;margin:0 0 17px}.migration-notice span{flex:1}.finale{max-width:900px}.game-v2 .phase-dot{flex-shrink:0}@keyframes spell{0%{opacity:0;stroke-dashoffset:50}30%{opacity:.7}to{opacity:0;stroke-dashoffset:-100}}@keyframes potion-rise{0%,to{transform:translateY(0);opacity:.35}50%{transform:translateY(-11px);opacity:.8}}@keyframes cauldron-dance{0%,to{transform:translateY(0)}35%{transform:translateY(-8px)}70%{transform:translateY(-3px)}}@media(max-width:1100px){.adventure-grid{grid-template-columns:minmax(0,1fr) 225px;gap:17px}.world-art{height:205px}.world-number strong{font-size:80px}.game-v2 .game-heading h1{font-size:29px}.task-kind{font-size:21px}.teacher-desk-v2{padding:17px 13px 10px}.game-v2 .challenge-content{padding:17px 18px 0}.teacher-desk-v2 .desk-header>span{font-size:8px}.desk-utility-grid .utility-button{font-size:9px}.game-v2 .task-instruction{font-size:13px}.game-v2 .response-actions{gap:4px}.game-v2 .response-actions .text-button{font-size:9px}.game-v2 .response-actions .button{font-size:12px}.option-grid{gap:7px}.option-rhythm .rhythm-token{min-width:20px}.option-rhythm .rhythm-token .music-symbol{font-size:23px}.world-caption{padding:11px 17px}}@media(max-width:850px){.adventure-grid{grid-template-columns:minmax(0,1fr) 185px;gap:12px}.teacher-desk-v2{padding:15px 9px 7px}.teacher-desk-v2 .desk-header{display:block}.teacher-desk-v2 .rotation-status{font-size:9px}.mode-card{padding:10px 8px}.mode-card>span{font-size:10px}.mode-card .text-button{font-size:9px}.desk-utility-grid{gap:3px}.desk-utility-grid .utility-button{font-size:8px;min-height:58px}.world-art{height:185px}.world-caption .eyebrow{font-size:8px}.world-progress{gap:8px}.world-progress>span{font-size:9px}.world-progress strong{font-size:26px}.world-sounds{left:13px;bottom:72px}.world-sound{width:36px;height:36px;font-size:20px;min-height:36px}.game-v2 .task-instruction{font-size:12px}.game-v2 .challenge-content{padding:16px 14px 0}.task-topline{flex-wrap:wrap}.task-kind{font-size:20px}.game-v2 .staff-labels .note-position span{font-size:12px}.pitch-slot{min-width:72px;font-size:9px;padding:7px}.game-v2 .note-key span{font-size:13px}.game-v2 .note-keyboard{gap:4px}.game-v2 .note-key{min-height:53px}.option-grid{grid-template-columns:1fr}.choice-main{min-height:80px;flex-direction:row;gap:15px;justify-content:flex-start;padding:12px 15px}.choice-card>.text-button{min-height:42px}.echo-options{grid-template-columns:repeat(2,minmax(0,1fr))}.echo-options .choice-main{flex-direction:column;gap:8px}.feedback-v2{padding:17px}.feedback-result h2{font-size:22px}.feedback-v2 .musical-explanation{font-size:12px}.submitted-answer{padding:10px}.game-v2 .thinking-bar{margin:12px 14px 0;flex-wrap:wrap}.game-v2 .thinking-bar span,.game-v2 .thinking-bar .text-button{font-size:9px}.story-body h2{font-size:27px}.story-body>p{font-size:16px}.world-number>span{font-size:9px}.world-number strong{font-size:73px}.game-v2 .echo-bubble{width:37px;height:37px;font-size:12px}.game-v2 .echo-trail{gap:6px}}@media(max-width:600px){.game-v2 .chapter-navigation{gap:9px;padding:15px 0}.game-v2 .chapter-navigation .current{font-size:10px}.game-v2 .game-heading h1{font-size:24px;line-height:1.2}.game-v2 .game-heading>.button{font-size:0;min-width:44px;padding:10px}.game-v2 .game-heading>.button svg{width:18px}.world-art{height:155px;min-width:540px;margin-left:calc((100% - 540px)/2);width:540px}.world-number{top:38%;left:51%}.world-number strong{font-size:70px}.world-number>span{font-size:8px}.world-number>span:last-child{font-size:9px}.world-caption{padding:10px 13px;gap:8px}.world-caption .eyebrow{font-size:8px;max-width:205px;line-height:1.6}.world-caption .page-count{font-size:8px}.world-progress{flex-direction:column;align-items:flex-end;gap:0}.world-progress strong{font-size:23px}.world-progress strong span{font-size:15px}.world-progress>span{font-size:8px}.world-sounds{display:none}.world-stage{border-radius:13px;margin-bottom:15px}.adventure-grid{grid-template-columns:1fr;gap:17px}.teacher-desk-v2{position:relative;top:auto;padding:17px}.teacher-desk-v2 .desk-header>span{font-size:10px}.teacher-desk-v2 .rotation-status{font-size:11px}.mode-card>span{font-size:12px}.mode-card .text-button{font-size:11px}.desk-utility-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.desk-utility-grid .utility-button{font-size:9px;min-height:59px}.teacher-desk-v2 .judgment-controls{flex-direction:row}.game-v2 .challenge-content{padding:17px 15px 0}.game-v2 .task-instruction{font-size:13px}.game-v2 .phase-heading{padding:14px 16px}.game-v2 .phase-heading h2{font-size:11px}.game-v2 .task-kind{font-size:22px}.game-v2 .note-keyboard{gap:5px}.game-v2 .note-key{min-height:57px}.game-v2 .note-key span{font-size:14px}.option-grid{grid-template-columns:1fr}.echo-options{grid-template-columns:repeat(2,minmax(0,1fr))}.game-v2 .rhythm-measure{gap:5px}.game-v2 .response-actions .button{margin-left:0;width:100%;font-size:13px}.game-v2 .response-actions>.text-button{font-size:11px}.game-v2 .task-tools .button{font-size:11px}.game-v2 .task-tools{gap:10px}.game-v2 .staff-labels .note-position span{font-size:12px}.pitch-slot{min-width:78px}.tap-pad{width:180px;height:145px}.tap-status{font-size:12px}.story-body h2{font-size:25px}.story-body>p{font-size:15px;line-height:1.8}.modal:has(.story-body){padding:18px 21px}.story-portrait{height:125px;width:140px}.story-actions{flex-direction:column-reverse;align-items:stretch;gap:7px}.story-actions .button{font-size:13px}.story-book>nav{grid-template-columns:1fr;max-height:150px}.feedback-result{gap:10px}.feedback-seal{width:37px;height:37px;font-size:21px}.feedback-result h2{font-size:21px}.feedback-v2 .musical-explanation{font-size:13px}.solution-panel{padding:13px}.solution-echo{font-size:16px}}@media(min-width:900px)and (max-height:800px){.in-session .site-header{padding:10px 0}.game-v2 .chapter-navigation{padding:10px 0;font-size:10px}.game-v2 .game-heading{margin:1px 0 12px}.game-v2 .game-heading h1{font-size:26px;margin-top:4px}.world-art{height:130px}.world-stage{margin-bottom:15px}.world-caption{padding:7px 17px}.world-progress strong{font-size:24px}.world-number{top:37%}.world-number strong{font-size:68px}.world-number>span{font-size:8px}.world-number>span:last-child{font-size:9px}.world-sounds{bottom:60px}.world-sound{width:32px;height:32px;min-height:32px;font-size:19px}.game-v2 .phase-heading{padding:12px 18px;min-height:43px}.game-v2 .challenge-content{padding-top:14px}.task-kind{font-size:21px}.task-topline{margin-bottom:8px}.game-v2 .task-instruction{font-size:13px;margin-bottom:7px}.game-v2 .staff{max-height:105px}.game-v2 .staff-labels .note-position{min-height:27px}.game-v2 .staff-labels .note-position span{font-size:13px}.game-v2 .task-tools{margin:10px 0}.game-v2 .task-tools .button{min-height:44px}.pitch-editor .interaction-help{margin:9px 0;font-size:11px}.selected-pitches{margin:9px 0}.pitch-slot{min-height:47px}.game-v2 .note-key{min-height:51px}.game-v2 .response-actions{margin-top:10px;padding-top:9px}.teacher-desk-v2{top:10px}.desk-utility-grid .utility-button{min-height:52px}.story-portrait{height:115px;width:135px}.story-body h2{font-size:27px;margin-bottom:13px}.story-body>p{font-size:16px;line-height:1.75}}@media print{.app-shell dialog.modal[open]:not(:has(.number-cards)){display:none!important}.world-stage,.adventure-grid,.game-v2{display:none!important}}.sound-monitor{font-size:16px;min-height:40px;text-align:center;font-weight:800;color:#936cab;padding:10px;background:#f4edf7;border-radius:8px;margin-top:10px}.echo-option-heard{display:flex;align-items:center;gap:7px}.echo-option-heard small{font-size:10px;color:#9da88e}.teacher-recorded{font-size:12px;line-height:1.8;color:#80916f;margin:0 0 12px}.dialogue-parts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.dialogue-parts>div{border:1px solid #e0e6d6;border-radius:10px;background:#f8faf3;padding:9px;text-align:center}.dialogue-parts>div.active{border-color:#b09bc2;background:#f3edf7}.dialogue-parts .voice-select{font-size:11px;line-height:1.5;padding:7px}.dialogue-parts .answer-slots{flex-wrap:wrap;margin:10px 0}.dialogue-parts>div>.text-button:last-child{font-size:10px}.dialogue-parts .answer-slots>span{width:40px;min-height:40px}:root{--ink: #193c34;--muted: #53665d;--green: #1c5747;--line: #d8ddcb;--paper: #fffdf5;--gold: #f4c76b;--cream: #fff8e7;--purple: #654298;--lilac: #eee4f8;--soft-green: #e6efdf;--shadow-card: 0 8px 0 #253e3210, 0 18px 40px #253e3208;color:var(--ink);background:var(--cream);font-size:16px}body{background:var(--cream);color:var(--ink)}button,input,select,summary{touch-action:manipulation}button,input,select{font:inherit}button,summary,select,a{-webkit-tap-highlight-color:transparent}button:not(:disabled),summary,select{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--purple);outline-offset:4px}h1,h2,h3{text-wrap:balance}:where(button,input,select,summary){scroll-margin-block:24px}.app-shell{width:100%;max-width:1520px;padding-inline:40px;margin-inline:auto}.site-header{padding:24px 0;border-color:var(--line)}.brand{color:var(--ink);gap:14px}.brand-mark{width:48px;height:48px;border-radius:17px 17px 17px 5px;background:var(--green);color:var(--gold)}.brand>span:last-child{font-size:22px;line-height:1.25}.brand small{margin-top:6px;font-size:10px;color:var(--muted);letter-spacing:1.2px}.language-select{color:var(--ink);font-size:14px;border:1px solid var(--line);border-radius:14px;padding:0 12px;min-height:48px;background:var(--paper)}.language-select select{min-height:46px;font-size:14px;color:var(--ink)}.header-actions{gap:12px}.site-footer{margin-top:32px;padding:24px 0;gap:16px;border-color:var(--line);font-size:12px;color:var(--muted)}.site-footer>span{max-width:60ch;line-height:1.6}.site-footer .offline-ready{color:var(--green)}.site-footer>div{flex-wrap:wrap;gap:16px}.skip-link{position:fixed;z-index:100;left:20px;top:12px;transform:translateY(-160%);padding:14px 20px;background:var(--paper);color:var(--green);border:2px solid var(--purple);border-radius:12px;font-weight:800}.skip-link:focus-visible{transform:translateY(0)}.button{border-radius:14px;min-height:50px;padding:12px 20px;font-size:15px;font-weight:800;line-height:1.4;gap:10px;white-space:normal;transition:background-color .16s,border-color .16s,box-shadow .16s}.button.primary{background:var(--green);border:2px solid var(--green);color:#fffdf5;box-shadow:0 4px #123d31}.button.primary:not(:disabled):hover{background:#123f33;border-color:#123f33;box-shadow:0 4px #0e3027}.button.primary:not(:disabled):active{box-shadow:0 1px #123d31}.button.secondary{background:var(--paper);color:var(--green);border:1px solid #c4ceba;box-shadow:0 2px #e1e4d4}.button.secondary:not(:disabled):hover{background:var(--soft-green);border-color:#7e9a77}.text-button{color:var(--green);font-size:14px;font-weight:800;min-height:48px;line-height:1.45;gap:8px;white-space:normal;text-align:left}.icon-button{width:48px;min-width:48px;height:48px;min-height:48px;color:var(--green);border-radius:12px}.icon-button:not(:disabled):hover,.text-button:not(:disabled):hover{background:#e8eddd}button:disabled{opacity:.46;cursor:default}.eyebrow{color:var(--muted);font-size:12px;letter-spacing:.8px;line-height:1.5}.notice{font-size:14px;line-height:1.65;border-radius:14px;background:#f5eed2;color:#645526;border-color:#d9c895}.app-notice{margin-top:16px;padding:12px 16px}.field{font-size:14px;line-height:1.45;font-weight:800;color:var(--ink);gap:8px;min-width:0}.field input:not([type=range]),.field select{min-height:52px;border:1px solid #b6c5ad;border-radius:12px;color:var(--ink);background-color:#fffef9;padding:12px;font-size:16px}.field input[type=range]{accent-color:var(--green);min-height:40px}.field small,.field-help{color:var(--muted);font-size:12px;line-height:1.6;font-weight:400}.field-pair{gap:16px}.range-value{color:var(--purple);font-size:13px}.settings-fields{gap:20px}.toggle-row{color:var(--ink);font-size:14px;gap:16px;min-height:52px;align-items:center;line-height:1.5}.toggle-row small{color:var(--muted);font-size:12px;line-height:1.6}.toggle-row input{flex-shrink:0;accent-color:var(--green)}.storybook-setup{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(390px,.95fr);align-items:start;gap:56px;padding:36px 0 24px}.welcome{min-width:0;padding:0}.adventure-tag{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;color:var(--purple);border:1px solid #d9c6ea;border-radius:30px;background:#f3eafa;font-size:12px;font-weight:800}.welcome h1{font-size:clamp(40px,4.2vw,64px);line-height:1.12;letter-spacing:-1.8px;margin:22px 0 20px;font-weight:500}.welcome h1 span{display:block}.welcome h1 span:last-child{color:var(--green)}.welcome .intro{color:var(--muted);font-size:17px;line-height:1.75;max-width:54ch;margin:0 0 24px}.setup-illustration{position:relative;min-height:304px;overflow:hidden;border:1px solid #d6dfc3;border-radius:28px;background:#e9eed8;margin-bottom:24px}.setup-illustration .forest-art{display:block;width:100%;height:310px;margin:4px 0 14px}.art-label{position:absolute;top:16px;left:20px;z-index:1;display:flex;align-items:center;gap:8px;color:#34533a;font-size:12px;font-weight:800}.illustration-caption{position:absolute;bottom:14px;inset-inline:16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--ink);font-size:12px;font-weight:800}.illustration-caption span{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:12px;background:#fffdf5ed}.chapter-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0}.chapter-preview{display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:16px;background:#f0edda;border:1px solid #dedec7;border-radius:18px;min-width:0}.chapter-preview.chapter-rhythm{background:#f6e5d7;border-color:#e8cfba}.chapter-preview.chapter-echo{background:#ebe4f5;border-color:#d8cae8}.chapter-icon{width:40px;height:40px;min-width:40px;border-radius:12px;color:var(--green);background:#fffdf5ba}.chapter-rhythm .chapter-icon{color:#82512f}.chapter-echo .chapter-icon{color:var(--purple)}.chapter-preview strong{display:block;font-size:14px;color:var(--ink);line-height:1.5;margin:4px 0}.chapter-preview small{display:block;font-size:12px;line-height:1.55;color:#485e50}.chapter-preview .chapter-index{font-size:11px;font-weight:800;letter-spacing:1px;color:#5d6850}.setup-side{min-width:0;padding-top:0}.setup-card{border:1px solid #d3d8c4;border-radius:26px;background:var(--paper);box-shadow:var(--shadow-card);padding:28px}.setup-heading{display:flex;gap:14px;align-items:center}.setup-heading .eyebrow{margin:0 0 6px;font-size:11px;color:#5c6852;letter-spacing:.3px}.setup-badge{width:52px;min-width:52px;height:52px;margin:0;border-radius:17px;background:var(--gold);color:#4a4121;box-shadow:0 3px #d8ae55}.setup-card h2{font-size:27px;line-height:1.18;letter-spacing:-.5px;margin:0}.setup-subtitle{margin:18px 0 24px;color:var(--muted);font-size:14px;line-height:1.7}.setup-group-title{display:flex;align-items:center;gap:10px;font-family:Nunito,system-ui,sans-serif;font-size:14px;font-weight:800;color:var(--ink);margin:0 0 16px;letter-spacing:0}.setup-group-title>span{display:grid;place-items:center;width:28px;height:28px;background:#e7eddb;color:#48643d;border-radius:8px;font-size:11px}.setup-group .field-help{margin:10px 0 24px}.setup-basics{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.number-stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:0;border:1px solid #b6c5ad;border-radius:12px;background:#fffef9;min-height:52px;overflow:visible}.number-stepper button{display:grid;place-items:center;width:44px;min-height:50px;border:0;border-radius:11px;background:transparent;color:var(--green)}.number-stepper button:not(:disabled):hover{background:var(--soft-green)}.number-stepper input[type=number]{text-align:center;min-width:0;padding:8px 0;border:0;font-size:23px;font-weight:800;background:transparent;appearance:textfield}.number-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.mode-field{margin:0 0 20px}.mode-field legend{padding:0}.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mode-option{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-height:132px;padding:16px;border:2px solid #dde2cf;border-radius:16px;background:#fafaf0;color:var(--muted)}.mode-option.selected{border-color:var(--green);background:#eaf1df;color:var(--green);box-shadow:0 3px #d3dfc4}.mode-option>span:not(.radio-indicator){min-width:0}.mode-option strong{display:block;font-size:14px;line-height:1.45}.mode-option small{display:block;color:#4f624b;font-size:12px;line-height:1.5;font-weight:400;margin-top:5px}.mode-option .radio-indicator{position:absolute;top:17px;right:14px;width:17px;height:17px}.mode-option:has(input:focus-visible){outline:3px solid var(--purple);outline-offset:4px}.advanced-settings{margin:0 0 24px;border:1px solid var(--line);border-radius:14px;overflow:visible;background:#f6f6e9}.advanced-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 16px;color:var(--green);font-size:14px;font-weight:800}.advanced-settings[open]{background:var(--paper)}.advanced-settings[open] .settings-fields{padding:0 16px 20px}.start-button{margin:0;width:100%;min-height:60px;font-size:17px}.setup-privacy{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:12px;line-height:1.7;margin-top:18px}.setup-privacy svg{flex-shrink:0;margin-top:2px}.together-note{display:flex;justify-content:center;align-items:center;gap:8px;margin:22px 0 0;color:var(--green);font-size:14px;font-weight:800}.restore-card{border:1px solid #b9c8a8;border-radius:18px;background:#e8efdb;color:var(--ink);padding:18px;margin-bottom:20px}.restore-card p{color:var(--ink);font-size:14px;line-height:1.6}.game-v2{padding-top:0}.game-v2 .chapter-navigation{padding:20px 0;gap:16px}.chapter-navigation>span{flex:1;justify-content:center;padding:10px 14px;border:1px solid var(--line);border-radius:14px;font-size:14px;line-height:1.4;color:#65705e}.chapter-navigation>span.current{color:var(--green);background:#e8efdc;border-color:#acbf99;font-weight:800}.chapter-navigation>span.complete{color:#614d23;background:#f5e7bc;border-color:#dbc78d}.chapter-navigation>span b{min-width:28px;height:28px;font-size:12px;color:inherit;background:#fffdf4;border-color:#cbd4bd}.game-v2 .game-heading{align-items:center;margin:4px 0 20px;gap:20px}.game-v2 .game-heading h1{font-size:36px;line-height:1.2;margin-top:6px;letter-spacing:-.7px}.game-heading .eyebrow{font-size:11px;color:var(--muted)}.game-view-tools{display:flex;gap:10px}.game-view-tools .button{font-size:13px;min-height:48px;padding:10px 14px}.focus-toggle[aria-pressed=true]{color:var(--purple);border-color:#9c7cc5;background:var(--lilac)}.world-stage{border:1px solid #274f42;border-radius:24px;box-shadow:0 5px #274f4214;margin-bottom:24px}.world-art{height:210px}.world-caption{padding:12px 20px;background:#112e2b66;gap:20px}.world-caption .eyebrow{font-size:14px;color:#fff6d9;font-weight:600;letter-spacing:0}.world-caption .page-count{font-size:12px;color:#e0e8ca;margin-top:4px}.world-progress{gap:14px}.world-progress strong{font-size:32px;color:#ffe3a1}.world-progress strong span{font-size:22px;color:#e3eacb}.world-progress>span{color:#f0f3dc;font-size:12px}.world-number{top:42%;left:48%}.world-number>span{font-size:14px;color:#fff1d2}.world-number strong{font-size:104px;color:#ffe0a2;line-height:1.05;animation:none}.world-number>span:last-child{font-size:13px}.world-sounds{bottom:76px;left:20px;gap:8px}.world-sound{display:grid;place-items:center;width:44px;height:44px;min-height:44px;color:#ffdf9c;background:#123a3266;border-color:#b2c39c77}.world-sound:not(:disabled):hover{background:#75875d77}.motion-party{transition:none}.float,.float-slow,.star,.ghost-chorus,.potion-bubble{animation:none}.adventure-grid{grid-template-columns:minmax(0,1fr) 274px;gap:24px}.challenge-card{border:1px solid #d2d9c3;border-radius:22px;background:var(--paper);box-shadow:var(--shadow-card);scroll-margin-top:20px}.game-v2 .phase-heading{padding:16px 24px;min-height:60px;border-bottom:1px solid var(--line);background:#f3f4e8}.game-v2 .phase-heading h2{font-size:15px;line-height:1.5;color:var(--green);font-family:Nunito,system-ui,sans-serif;font-weight:800}.phase-dot{width:9px;height:9px;background:#5b8248}.assistance-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--purple);background:var(--lilac)}.game-v2 .challenge-content{padding:24px 24px 0}.task-topline{gap:12px;margin-bottom:12px;flex-wrap:wrap}.game-v2 .task-kind{color:var(--ink);font-size:27px;line-height:1.25}.review-tag{background:#f1e4bd;color:#624b1c;font-size:11px}.game-v2 .task-instruction{font-size:18px;line-height:1.65;color:#3d5446;margin-bottom:20px}.game-v2 .staff-container{margin-top:16px;padding:12px 12px 14px;border-radius:16px;border:1px solid #d8dec8;background:#faf9ec}.staff-inner{width:min(100%,820px);margin-inline:auto}.staff-board{width:100%}.game-v2 .staff{width:100%;height:auto;max-height:none}.game-v2 .staff-labels{margin:0 2% 0 9.2%}.game-v2 .staff-labels .note-position{min-height:40px}.game-v2 .staff-labels .note-position span{font-size:18px;color:var(--green);font-weight:800}.game-v2 .staff-labels .note-position small{font-size:11px;color:#5a6954}.game-v2 .note-keyboard{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:16px 0}.game-v2 .note-key{width:100%;max-width:none;min-width:0;border:1px solid #b4c5a4;border-radius:12px;min-height:64px;background:#eff4e5;color:var(--green);box-shadow:0 3px #d0dabb;padding:10px 4px}.game-v2 .note-key span{font-size:19px;font-weight:800}.game-v2 .note-key small{color:#586e49;font-size:11px;margin-top:4px}.game-v2 .note-key:not(:disabled):hover{background:#e0edce;border-color:#719260}.game-v2 .note-key:not(:disabled):active{box-shadow:0 1px #b3c79d}.pitch-editor .interaction-help,.interaction-help{color:var(--muted);font-size:14px;line-height:1.6;margin:16px 0}.selected-pitches{flex-wrap:wrap;gap:12px;margin:16px 0}.pitch-slot{min-width:100px;min-height:60px;border:1px solid #c8cdb7;border-radius:12px;color:#566348;font-size:12px;background:#f3f2e3}.pitch-slot strong{font-size:22px;color:var(--green)}.pitch-slot.active{background:var(--lilac);border-color:#9e7fbe}.pitch-slot.active strong{color:var(--purple)}.game-v2 .task-tools{justify-content:flex-start;flex-wrap:wrap;gap:12px;margin:20px 0}.game-v2 .task-tools .button{min-height:48px;font-size:14px}.game-v2 .response-actions{border-color:var(--line);padding:16px 0;gap:12px;margin-top:16px;margin-bottom:0}.game-v2 .response-actions .text-button{font-size:13px}.game-v2 .response-actions .button{font-size:15px;margin-left:auto}.hint-box,.rehearsal-box{color:#5c4a72;background:#f0e9f8;border-color:#d3bfe3;border-radius:14px;font-size:15px;line-height:1.75}.sound-monitor{color:var(--purple);background:#eee4f8;font-size:17px}.game-v2 .selection-panel{padding:0 24px 24px;gap:16px}.selection-panel .draw-button{min-height:56px;font-size:16px;background:var(--green);color:var(--paper);border-color:var(--green)}.selection-panel>small{color:var(--muted);font-size:12px;line-height:1.6}.game-v2 .thinking-bar{margin:20px 24px 0;gap:12px;color:var(--muted);font-size:14px;line-height:1.6;background:#edf1df;border-radius:12px}.thinking-bar strong{color:var(--green);font-size:24px;font-variant-numeric:tabular-nums}.game-v2 .thinking-bar .text-button{font-size:13px}.teacher-desk-v2{position:sticky;top:16px;border:1px solid #ced8bf;border-radius:22px;padding:20px;background:#f5f6e9;box-shadow:0 4px #dfe5d4}.teacher-desk-v2 .desk-header>span{color:var(--green);font-size:13px;letter-spacing:.2px;text-transform:none;gap:9px}.teacher-desk-v2 .rotation-status{color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 16px}.mode-card{padding:14px;margin:0 0 20px;border:1px solid #b2c5a2;border-radius:14px;background:#e6eed9;color:#294e31}.mode-card.teacher{color:#644c1d;background:#f6e8bf;border-color:#d5bd81}.mode-card>span{font-size:14px;font-weight:800;line-height:1.5}.mode-card .text-button{justify-content:flex-start;font-size:12px;line-height:1.45;padding:8px 0 0;margin-top:4px;gap:6px}.mode-card .text-button svg{flex-shrink:0}.teacher-desk-v2 .judgment-controls{gap:12px;margin-bottom:20px}.teacher-desk-v2 .judgment-controls .button{font-size:15px;min-height:52px}.judge-correct{background:#dcebd0;color:#285736;border-color:#9fbb89}.judge-incorrect{background:#f5e6c6;color:#6c4b1d;border-color:#d4b37b}.desk-group-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;color:#506249;margin:18px 0 10px}.desk-utility-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.desk-utility-grid .utility-button{font-size:12px;line-height:1.45;gap:7px;min-height:70px;background:#fffdf4;color:var(--green);border:1px solid #d8dfcb;border-radius:12px;padding:10px 6px}.desk-utility-grid .utility-button:not(:disabled):hover{background:#e6eed8;border-color:#afc59c}.desk-skip-actions{display:grid;gap:4px}.desk-skip-actions .text-button{justify-content:flex-start;padding:8px;font-size:12px;min-height:44px}.desk-small-actions{padding-top:12px;margin-top:12px;border-color:#ccd7bb}.desk-small-actions .icon-button{border:1px solid #c9d4b8;background:#fffdf4}.game-v2 .rhythm-measure{flex-wrap:wrap;gap:10px;min-height:120px;border:1px solid #bfcba9;border-radius:16px;background:#faf9e9;padding:16px}.game-v2 .rhythm-token{min-width:36px}.game-v2 .rhythm-token .music-symbol{font-size:39px}.rhythm-token small{font-size:13px;color:#4e6448}.rhythm-token.rest{color:var(--purple)}.rhythm-key{min-height:70px;min-width:56px;border-radius:12px;border-color:#bfcda9;background:#eff2df;color:var(--green)}.rest-toggle{min-width:44px;min-height:84px}.rest-toggle>small{color:#55674d;font-size:11px}.rest-toggle[aria-pressed=true]{border-color:#9779b5;background:var(--lilac)}.option-grid{gap:14px}.choice-card{border-radius:16px;background:#f6f7e9;border-color:#c5d2b3}.choice-card.chosen{border-color:var(--purple);background:var(--lilac)}.choice-main{min-height:126px;padding:16px 12px}.option-letter{color:#45683f;font-size:24px}.chosen .option-letter{color:var(--purple)}.choice-card>.text-button{font-size:12px;min-height:48px;border-color:#d0d9bf}.option-rhythm .rhythm-token .music-symbol{font-size:30px}.fragment-slots>span{min-width:62px;border-color:#ac8ec4;background:var(--lilac)}.fragment-slots>span small{color:#685378;font-size:12px}.fragment-slots>span strong{color:var(--purple)}.game-v2 .echo-trail{gap:12px;flex-wrap:wrap}.game-v2 .echo-bubble{width:54px;height:54px;color:var(--green);border-color:#b6c8aa}.echo-bubble.second-voice{color:var(--purple);border-color:#bda2d0}.ghost-pair>span{font-size:14px;color:var(--muted);line-height:1.5}.game-v2 .answer-slots>span{min-width:44px;min-height:48px;color:var(--purple);border-color:#c6cfae}.dialogue-parts{gap:16px}.dialogue-parts>div{padding:12px;border-radius:16px;background:#f3f5e8;border-color:#cbd5b8}.dialogue-parts>div.active{background:var(--lilac);border-color:#a17dbd}.dialogue-parts .voice-select{color:var(--green);font-size:14px;min-height:48px}.dialogue-parts>div>.text-button:last-child{font-size:12px}.tap-studio{border-color:var(--line);padding-top:24px}.tap-beats>span{width:36px;height:36px;font-size:13px;color:#48653a;border-color:#b6c79d}.tap-beats>span.lit{color:#5e451b;background:#f5ce70;border-color:#b59242}.tap-status{color:var(--muted);font-size:16px;line-height:1.6;min-height:52px}.tap-pad{width:220px;height:170px;border-color:#ab8bca;border-bottom-color:#a082ba;background:#eee2f8;color:var(--purple)}.tap-pad strong{font-size:16px}.tap-pad small{color:#654d79;font-size:10px}.tap-pad.recording{background:#deedcb;color:#355c2a;border-color:#97b67c}.calibration{border-color:var(--line);border-radius:12px;padding:12px}.calibration summary{color:#4d6550;font-size:13px;min-height:44px}.calibration p,.calibration .text-button,.calibration>div{color:var(--muted);font-size:12px}.modal{width:min(700px,calc(100vw - 32px));max-height:90dvh;padding:28px;background:var(--paper);border:1px solid #c6d0b5;border-radius:24px;color:var(--ink);box-shadow:0 24px 100px #0b29194d}.modal::backdrop{background:#102a27a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-title{margin-bottom:20px}.modal-title h2{color:var(--ink);font-size:28px;line-height:1.25}.modal-title .icon-button{margin-right:0}.modal>p{color:var(--muted);font-size:16px;line-height:1.7}.modal:has(.story-body){width:min(920px,calc(100vw - 32px));padding:24px}.modal:has(.story-body)>.modal-title{margin-bottom:20px}.modal:has(.story-body)>.modal-title h2{font-size:13px;color:var(--green);letter-spacing:.4px}.story-body{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:28px;text-align:left;align-items:center}.story-art{min-height:280px;border-radius:22px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f5e3bc;border:1px solid #ead2a3}.story-art-witch{background:#e8d9f5;border-color:#d6c1e8}.story-art-ghost{background:#dcebdc;border-color:#bfd5be}.story-portrait{display:block;width:100%;max-width:250px;height:auto;margin:0}.story-art-staff{display:flex;gap:14px;align-items:center;color:var(--purple);opacity:.75;margin-top:12px}.story-copy{min-width:0}.story-copy>.eyebrow{display:block;margin:0 0 12px;color:#675344;font-size:12px;font-weight:800}.story-copy h2{font-size:34px;line-height:1.2;letter-spacing:-.6px;max-width:none;margin:0 0 18px}.story-copy p{color:#435e4e;font-size:17px;line-height:1.8;max-width:58ch;margin:0}.story-copy>.text-button{margin-top:16px;font-size:13px}.story-actions{gap:16px;margin-top:24px;border-color:var(--line);padding-top:20px}.story-actions .text-button{font-size:14px}.story-book>nav{gap:8px;margin-bottom:24px;max-height:220px;padding:4px}.story-book>nav>button{font-size:12px;color:var(--green);line-height:1.5;padding:10px 12px;min-height:48px;border-radius:12px;border-color:#c6d3b6;background:#f1f5e6}.story-book>nav>button.selected{color:var(--purple);border-color:#ad8fc6;background:var(--lilac)}.story-book .story-copy h2{font-size:28px}.story-book .story-copy p{font-size:16px}.story-book .story-art{min-height:220px}.story-book .story-portrait{width:100%;height:auto;max-width:200px}.feedback-v2{padding:24px}.feedback-result{gap:16px;align-items:center;margin-bottom:24px}.feedback-result h2{font-size:29px;color:var(--ink);margin-top:6px;line-height:1.3}.feedback-result .eyebrow{color:#53654a;font-size:11px;letter-spacing:.5px}.feedback-seal{min-width:52px;width:52px;height:52px;background:#dcebcf;color:#35612b}.incorrect .feedback-seal{background:#f3dfb4;color:#80551d}.submitted-answer{border:1px solid #cbd5b9;border-radius:16px;background:#f4f6e9;padding:16px}.submitted-answer h3,.solution-panel h3{font-size:14px;color:#425c3b;margin-bottom:12px}.teacher-recorded{font-size:14px;color:var(--muted)}.feedback-v2 .musical-explanation{font-size:16px;line-height:1.8;color:#3a5944;margin-top:24px}.feedback-v2 .musical-explanation ul{padding-left:24px}.solution-panel{padding:20px;border-radius:16px;background:#fcf0d1;border-color:#ddc48d}.solution-toggle{font-size:14px}.solution-echo{font-size:21px;color:var(--green)}.correction-sandbox p,.timing-feedback p{color:var(--muted);font-size:14px}.attendance-grid{gap:12px}.attendance-grid button{border-radius:12px;min-height:76px;color:#315d37;background:#e6efd9;border-color:#9eb48a}.attendance-grid button strong{font-size:28px}.attendance-grid button small{font-size:11px}.attendance-grid button.absent{color:#65715e;background:#e8e9df;border-color:#bbc1af}.danger-controls{border-color:var(--line);gap:12px}.danger-controls .text-button{font-size:13px}.finale{padding:36px;margin-block:32px;border:1px solid #d5dabf;border-radius:28px;background:var(--paper);box-shadow:var(--shadow-card)}.finale .eyebrow{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--purple)}.finale h1{font-size:46px;line-height:1.15}.finale>p{color:var(--muted);font-size:18px}.finale-chapters>span{font-size:14px;color:var(--green)}.finale-reviews .button{font-size:14px}.focus-layout .chapter-navigation{display:none}.focus-layout .game-heading{margin-top:20px}.focus-layout .world-stage{min-height:112px;display:flex;align-items:center;justify-content:space-between;padding:8px 24px}.focus-layout .world-art,.focus-layout .world-sounds{display:none}.focus-layout .world-number{position:static;transform:none;order:-1;display:grid;grid-template-columns:auto auto;column-gap:16px;text-align:left;margin-right:24px}.focus-layout .world-number>span{grid-column:1;font-size:12px}.focus-layout .world-number>span:last-child{align-self:start}.focus-layout .world-number strong{grid-column:2;grid-row:1/3;font-size:80px}.focus-layout .world-caption{background:transparent;flex:1;padding:8px 0;justify-content:space-between}.focus-layout .world-caption .eyebrow{max-width:48ch}.focus-layout .world-progress{margin-left:24px}@media(max-width:1150px){.app-shell{padding-inline:28px}.storybook-setup{gap:32px;grid-template-columns:minmax(0,1fr) minmax(360px,.95fr)}.welcome h1{font-size:47px}.setup-card{padding:24px}.setup-heading{align-items:flex-start}.setup-card h2{font-size:25px}.setup-illustration .forest-art{height:290px}.chapter-preview{padding:12px}.adventure-grid{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.teacher-desk-v2{padding:16px}.game-v2 .game-heading h1{font-size:32px}.game-view-tools .button{font-size:12px;padding:10px 12px}.game-v2 .challenge-content{padding:20px 20px 0}.game-v2 .task-instruction{font-size:17px}.chapter-navigation>span{font-size:12px}.world-art{height:190px}.world-number strong{font-size:90px}.world-number>span{font-size:12px}}@media(max-width:900px){.storybook-setup{grid-template-columns:1fr;max-width:660px;margin-inline:auto;padding-top:28px;gap:28px}.welcome h1{font-size:50px}.setup-heading{align-items:center}.setup-illustration .forest-art{height:290px}.chapter-preview{padding:16px}.adventure-grid{grid-template-columns:minmax(0,1fr) 215px;gap:16px}.teacher-desk-v2{padding:14px}.game-view-tools .button span{display:none}.game-view-tools .button{width:48px;min-width:48px;padding:12px}.game-v2 .game-heading h1{font-size:30px}.teacher-desk-v2 .desk-header>span{font-size:12px}.mode-card{padding:12px}.mode-card>span{font-size:13px}.desk-utility-grid .utility-button{font-size:11px;padding-inline:3px}.game-v2 .note-keyboard{grid-template-columns:repeat(4,minmax(0,1fr))}.game-v2 .task-kind{font-size:25px}.game-v2 .challenge-content{padding:20px 18px 0}.story-body{grid-template-columns:minmax(140px,.65fr) minmax(0,1.35fr);gap:24px}.story-copy h2{font-size:29px}.story-copy p{font-size:16px}.story-art{min-height:250px}.focus-layout .world-caption .eyebrow{font-size:12px}}@media(max-width:650px){.app-shell{padding-inline:16px}.site-header{padding:18px 0;gap:12px}.brand{gap:10px}.brand>span:last-child{font-size:17px;max-width:185px}.brand-mark{min-width:38px;width:38px;height:42px;border-radius:14px 14px 14px 4px}.brand small{display:none}.header-actions{gap:4px}.language-select{gap:4px;padding-inline:6px;border-color:transparent;background:transparent}.language-select svg{display:none}.language-select select{font-size:13px;padding:8px 2px;max-width:86px}.fullscreen-button{display:none}.storybook-setup{padding-top:24px;gap:24px}.adventure-tag{font-size:11px}.welcome h1{font-size:42px;letter-spacing:-1.1px;margin:20px 0 16px}.welcome .intro{font-size:16px;line-height:1.7;margin-bottom:20px}.setup-illustration{min-height:264px;border-radius:22px;margin-bottom:16px}.setup-illustration .forest-art{height:258px;margin-bottom:10px}.art-label{left:16px;top:14px;font-size:10px}.illustration-caption{inset-inline:10px;bottom:12px;gap:6px;font-size:10px}.illustration-caption span{padding:6px}.chapter-previews{grid-template-columns:1fr;gap:8px}.chapter-preview{flex-direction:row;align-items:center;gap:12px;padding:12px 14px;border-radius:16px}.chapter-preview .chapter-index{display:none}.chapter-preview strong{font-size:14px;margin:0 0 2px}.chapter-preview small{font-size:12px}.setup-card{padding:20px;border-radius:22px}.setup-heading{gap:12px}.setup-badge{min-width:42px;width:42px;height:46px}.setup-card h2{font-size:24px}.setup-heading .eyebrow{font-size:10px}.setup-subtitle{font-size:14px;margin-top:18px}.field-pair{gap:12px}.setup-basics{grid-template-columns:1fr}.number-stepper{grid-template-columns:48px minmax(0,1fr) 48px}.number-stepper button{width:48px}.mode-option{padding:14px}.mode-options{gap:10px}.advanced-settings>summary{font-size:13px;padding-inline:12px}.advanced-settings[open] .settings-fields{padding-inline:12px}.start-button{font-size:16px}.site-footer{flex-direction:column;align-items:flex-start;gap:12px;font-size:12px}.site-footer>span{max-width:none}.site-footer>div{justify-content:flex-start}.game-v2 .chapter-navigation{gap:8px;padding:16px 0}.chapter-navigation>span{flex:0;padding:0;background:transparent;border-color:transparent;font-size:0;gap:0}.chapter-navigation>span.current{flex:1;padding:8px;font-size:12px;gap:8px}.chapter-navigation>span b{min-width:30px;height:30px;font-size:12px}.game-v2 .game-heading{gap:12px;align-items:flex-start;margin-bottom:16px}.game-v2 .game-heading h1{font-size:28px;margin-top:6px}.game-heading .eyebrow{font-size:10px}.game-view-tools{gap:6px}.game-view-tools .button{min-width:42px;width:42px;min-height:46px;padding:10px}.world-stage{margin-bottom:18px;border-radius:18px}.world-art{width:560px;min-width:560px;height:160px;margin-left:calc((100% - 560px)/2)}.world-number{top:36%;left:50%}.world-number strong{font-size:80px}.world-number>span{font-size:11px}.world-number>span:last-child{font-size:11px}.world-caption{padding:12px;gap:12px}.world-caption .eyebrow{font-size:11px;line-height:1.55;max-width:23ch}.world-caption .page-count{font-size:11px}.world-progress{flex-direction:column;align-items:flex-end;gap:2px}.world-progress strong{font-size:27px}.world-progress strong span{font-size:19px}.world-progress>span{font-size:10px}.world-sounds{display:none}.adventure-grid{grid-template-columns:1fr;gap:20px}.challenge-card{border-radius:20px}.game-v2 .phase-heading{padding:14px 16px;min-height:54px}.game-v2 .phase-heading h2{font-size:13px}.game-v2 .challenge-content{padding:20px 16px 0}.game-v2 .task-kind{font-size:25px}.game-v2 .task-instruction{font-size:16px;line-height:1.7;margin-bottom:16px}.game-v2 .staff-container{padding:8px 2px 10px}.game-v2 .staff-labels .note-position span{font-size:13px}.game-v2 .staff-labels .note-position small{font-size:10px}.game-v2 .staff-labels .note-position{min-height:34px}.game-v2 .note-keyboard{gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.game-v2 .note-key{min-height:62px}.game-v2 .note-key span{font-size:18px}.game-v2 .note-key small{font-size:11px}.game-v2 .response-actions{gap:8px}.game-v2 .response-actions .text-button{font-size:12px}.game-v2 .response-actions .button{margin-left:0;width:100%;font-size:15px}.game-v2 .task-tools{gap:8px;margin:16px 0}.game-v2 .task-tools .button{font-size:13px;padding-inline:12px}.game-v2 .thinking-bar{margin:16px 16px 0;font-size:13px;flex-wrap:wrap}.game-v2 .thinking-bar span,.game-v2 .thinking-bar .text-button{font-size:12px}.game-v2 .selection-panel{padding:0 16px 20px}.teacher-desk-v2{position:static;padding:20px;border-radius:20px}.teacher-desk-v2 .desk-header>span{font-size:14px}.teacher-desk-v2 .rotation-status{font-size:13px}.mode-card>span{font-size:14px}.mode-card .text-button{font-size:13px}.desk-utility-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.desk-utility-grid .utility-button{font-size:12px;min-height:72px;padding:8px 4px}.desk-skip-actions{grid-template-columns:1fr 1fr;gap:8px}.desk-skip-actions .text-button{min-height:52px;font-size:12px}.teacher-desk-v2 .judgment-controls{flex-direction:column}.dialogue-parts{gap:10px}.dialogue-parts>div{padding:10px 6px}.dialogue-parts .voice-select{font-size:12px}.game-v2 .echo-bubble{width:40px;height:44px;font-size:13px}.game-v2 .echo-trail{gap:6px}.ghost-pair>span{font-size:13px}.option-grid{grid-template-columns:1fr}.echo-options{grid-template-columns:repeat(2,minmax(0,1fr))}.tap-pad{width:200px;height:160px}.tap-status{font-size:16px}.feedback-v2{padding:20px 16px}.feedback-result h2{font-size:25px}.feedback-result .eyebrow{font-size:10px}.feedback-seal{min-width:44px;width:44px;height:44px}.feedback-v2 .musical-explanation{font-size:16px}.solution-panel{padding:16px}.modal,.modal:has(.story-body){width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;border-radius:22px}.modal-title h2{font-size:26px}.modal-title{gap:12px}.story-body{grid-template-columns:1fr;gap:20px}.story-art,.story-book .story-art{min-height:132px;flex-direction:row;border-radius:16px}.story-portrait,.story-book .story-portrait{width:148px;height:132px}.story-art-staff{margin:0;gap:8px}.story-copy h2,.story-book .story-copy h2{font-size:28px}.story-copy p,.story-book .story-copy p{font-size:16px;line-height:1.75}.story-copy>.eyebrow{margin-bottom:8px}.story-copy>.text-button{font-size:13px;margin-top:12px}.story-actions{flex-direction:column-reverse;align-items:stretch;padding-top:16px;gap:8px;margin-top:20px}.story-actions .button{font-size:15px}.story-actions .text-button{justify-content:center;font-size:14px}.story-book>nav{grid-template-columns:1fr;max-height:180px}.attendance-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.modal .field-pair{grid-template-columns:1fr}.finale{padding:24px 20px;margin-block:24px}.finale h1{font-size:34px}.finale>p{font-size:16px}.focus-layout .game-heading{margin-top:16px}.focus-layout .world-stage{padding:12px;min-height:112px}.focus-layout .world-number{margin-right:12px;grid-template-columns:1fr;row-gap:0;text-align:center;min-width:94px}.focus-layout .world-number strong{grid-column:1;grid-row:2;font-size:70px;line-height:1}.focus-layout .world-number>span,.focus-layout .world-number>span:last-child{grid-column:1;font-size:10px}.focus-layout .world-caption{flex-direction:column;align-items:flex-end;gap:8px}.focus-layout .world-caption>div:first-child{text-align:right}.focus-layout .world-caption .eyebrow{font-size:11px}.focus-layout .world-progress{margin-left:0;flex-direction:row;align-items:center;gap:8px}.focus-layout .world-progress>span{font-size:10px}}@media(min-width:901px)and (max-height:800px){.in-session .site-header,.game-v2 .chapter-navigation{padding:12px 0}.chapter-navigation>span{padding:6px 12px;font-size:12px}.game-v2 .game-heading{margin:2px 0 16px}.game-v2 .game-heading h1{font-size:30px}.world-art{height:144px}.world-caption{padding:10px 16px}.world-caption .eyebrow{font-size:12px}.world-number{top:35%}.world-number strong{font-size:80px}.world-number>span{font-size:11px}.world-sounds{bottom:76px}.game-v2 .phase-heading{padding:12px 20px;min-height:48px}.game-v2 .challenge-content{padding:18px 20px 0}.game-v2 .task-kind{font-size:25px}.game-v2 .task-instruction{font-size:17px;margin-bottom:14px}.staff-inner{max-width:680px}.game-v2 .task-tools{margin:16px 0}.teacher-desk-v2{padding:16px;top:12px}.desk-utility-grid .utility-button{min-height:58px}.mode-card{margin-bottom:16px}.desk-group-label{margin-top:14px}.focus-layout .game-heading{margin-top:16px}.focus-layout .world-stage{min-height:96px}.focus-layout .world-number strong{font-size:72px}.focus-layout .world-caption .eyebrow{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.skip-link,.game-view-tools{display:none!important}.modal{transform:none!important;opacity:1!important;box-shadow:none}}.game-v2 .tile-bank .note-key{width:68px;min-width:60px;max-width:90px}@media(min-width:1100px){.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell){display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:8px 20px}.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.task-topline,.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.task-instruction,.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.task-tools,.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.response-actions,.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.hint-box{grid-column:1/-1}.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.staff-container{grid-column:1;grid-row:3/5;margin:0;align-self:center}.focus-layout .challenge-content:is(.task-repair,.task-swap,.task-gaps,.task-sound-spell)>.pitch-editor{grid-column:2;grid-row:3/5;align-self:center}.focus-layout .pitch-editor .note-keyboard{grid-template-columns:repeat(4,minmax(0,1fr));margin:8px 0}.focus-layout .pitch-editor .note-key{min-height:50px}.focus-layout .pitch-editor .interaction-help{font-size:12px;margin:0 0 8px}.focus-layout .pitch-editor .selected-pitches{margin:8px 0}.focus-layout .pitch-slot{min-width:80px;min-height:44px;padding:5px}.focus-layout .task-instruction{margin-bottom:8px}.focus-layout .task-tools{margin:8px 0}.focus-layout .response-actions{margin-top:8px;padding-block:10px}}
