:root{--paper:#f1f1e3;--cream:#fbf9ed;--ink:#42513e;--muted:#65715a;--green:#648357}*{box-sizing:border-box}[hidden]{display:none!important}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--paper);color:var(--ink);font-family:ui-rounded,Hiragino Maru Gothic ProN,PingFang SC,Microsoft YaHei,sans-serif}body{min-width:360px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:4px;outline:3px solid #c78d3e}button{background:0 0;border:0}p{line-height:1.75}h1,h2,h3,p{margin-top:0}.app-header{background:var(--cream);border-bottom:1px solid #d8d9c4;align-items:center;gap:24px;height:60px;padding:0 34px;display:flex}.wordmark{letter-spacing:2px;white-space:nowrap;align-items:center;gap:11px;font-size:22px;font-weight:850;display:inline-flex}.sprout-mark{border-left:3px solid var(--green);width:17px;height:19px;position:relative;transform:translate(6px,4px)}.sprout-mark:before,.sprout-mark:after{content:"";border:2px solid var(--green);background:#80a568;width:12px;height:8px;position:absolute}.sprout-mark:before{border-radius:2px 7px;top:-4px;right:15px}.sprout-mark:after{border-radius:7px 2px;top:-8px;right:0}.header-motto{color:var(--muted);letter-spacing:1px;font-size:12px}.app-header nav{gap:22px;margin-left:auto;display:flex}.app-header nav button{padding:8px 0;font-size:13px}.app-header nav button:hover{color:var(--green);text-underline-offset:5px;text-decoration:underline}.primary-button,.secondary-button,.small-button{border:2px solid;border-radius:5px;justify-content:center;align-items:center;gap:16px;min-height:44px;padding:10px 23px;font-weight:750;transition:transform .12s,background .12s;display:inline-flex}.primary-button{color:#fffdef;background:var(--green);border-color:#466448;box-shadow:0 3px #3d583e}.secondary-button{color:#53694b;background:#fcfaee;border-color:#c4c9ac;box-shadow:0 3px #d5d5bc}.small-button{background:#eee7cc;border-color:#cabb91;min-height:34px;padding:6px 16px;font-size:13px}.primary-button:hover,.secondary-button:hover,.small-button:hover{transform:translateY(-1px)}.primary-button:active,.secondary-button:active{box-shadow:none;transform:translateY(2px)}.quiet-button,.text-button{color:#627159;text-underline-offset:4px;padding:8px 4px;font-size:13px;text-decoration:underline}.quiet-button{padding:10px 16px;text-decoration:none}.text-button:hover,.quiet-button:hover{color:#2e5435}.portrait{background-image:var(--portraits);background-repeat:no-repeat;background-size:200% 200%;width:150px;height:150px;display:inline-block}.portrait.player{background-position:0 0}.portrait.teacher{background-position:100% 0}.portrait.rival{background-position:0 100%}.portrait.king{background-position:100% 100%}.save-notice{color:#715c38;text-align:center;background:#f4e8c2;padding:8px 20px;font-size:12px;line-height:1.5}.save-notice button{font-weight:700;text-decoration:underline}.home-screen{max-width:1440px;margin:auto;padding:24px 34px 0}.home-scene{background:#8cc9d2;border:3px solid #b1baa1;border-bottom-width:7px;border-radius:9px;height:min(700px,100dvh - 137px);min-height:540px;position:relative;overflow:hidden}.home-scene canvas{width:100%;height:100%;image-rendering:pixelated;display:block}.home-menu{background:#fffbedf2;border:2px solid #d5caa5;border-radius:5px;width:min(425px,45%);padding:28px 32px 24px;position:absolute;top:8%;left:4%;box-shadow:0 4px #667c5722}.adventure-label{color:#7e8c6c;letter-spacing:3px;margin-bottom:18px;font-size:12px}.home-menu h1{letter-spacing:1px;margin-bottom:14px;font-size:clamp(29px,3vw,43px);font-weight:850;line-height:1.4}.home-menu p{color:#768065;margin-bottom:24px;font-size:14px}.home-actions{flex-direction:column;align-items:stretch;gap:13px;max-width:260px;display:flex}.big-button{justify-content:space-between;min-height:49px;padding:12px 22px;font-size:16px}.home-actions .text-button{text-align:center;margin-top:2px}.home-progress{color:#74826b;align-items:center;gap:9px;margin-top:25px;font-size:12px;display:flex}.tiny-flag{border-left:2px solid #836e4c;width:14px;height:18px;display:inline-block;position:relative}.tiny-flag:after{content:"";background:#82a26b;width:11px;height:7px;position:absolute;top:0;left:0}.home-player{filter:drop-shadow(0 9px #416d7120);width:clamp(190px,20vw,290px);height:clamp(190px,20vw,290px);animation:4s ease-in-out infinite bob;position:absolute;bottom:7%;right:5%}.home-scene-label{color:#496569;background:#f4f8e8cc;border-radius:2px;padding:7px 12px;font-size:11px;position:absolute;bottom:18px;right:25px}.home-cloud{pointer-events:none;clip-path:polygon(0 35%,15% 35%,15% 0,60% 0,60% 25%,85% 25%,85% 55%,100% 55%,100% 100%,0 100%);background:#fffdf3a8;width:80px;height:14px;position:absolute}.cloud-one{animation:18s ease-in-out infinite drift;top:7%;right:12%}.cloud-two{width:52px;animation:24s ease-in-out infinite reverse drift;top:16%;right:41%}.home-footer{color:#87917c;justify-content:space-between;padding:16px 3px;font-size:11px;display:flex}.overline{color:#879074;letter-spacing:2px;margin-bottom:9px;font-size:11px}.atlas-screen{max-width:1260px;margin:0 auto;padding:35px 35px 22px}.atlas-heading{justify-content:space-between;align-items:center;display:flex}.atlas-heading h1{margin-bottom:8px;font-size:29px;line-height:1.5}.atlas-heading p:last-child{color:var(--muted);margin-bottom:0;font-size:13px}.atlas-count{color:var(--green);font:700 35px Georgia,serif}.atlas-count small{color:var(--muted);font:12px ui-rounded,sans-serif}.chapter-route{grid-template-columns:repeat(8,1fr);gap:7px;padding:18px 0 25px;display:grid}.chapter-stop{border-bottom:2px solid #0000;flex-direction:column;align-items:center;gap:7px;padding:7px 0 13px;display:flex}.chapter-stop:nth-child(2n){transform:translateY(11px)}.chapter-stop strong{font-size:13px}.chapter-stop>span:last-child{color:var(--muted);font-size:10px}.chapter-stop.selected{background:#e9edda;border-color:#88a46d;border-radius:6px 6px 0 0}.chapter-stop.unreached .island-drawing{filter:saturate(.4);opacity:.7}.island-drawing{background:var(--island);clip-path:polygon(12% 10%,37% 10%,37% 0,70% 0,70% 10%,90% 10%,90% 25%,100% 25%,100% 70%,85% 70%,85% 85%,60% 85%,60% 100%,25% 100%,25% 85%,10% 85%,10% 70%,0 70%,0 25%,12% 25%);width:82px;height:63px;display:block;position:relative;box-shadow:inset 0 -10px #7d805844,inset 0 -17px #f6edc524}.island-drawing:before{content:"";background:#456d4e;width:11px;height:18px;position:absolute;top:15px;left:16px;box-shadow:8px 4px #597f58,43px 11px #456d4e,48px 16px #597f58}.island-drawing i{border-left:2px solid #f0e7bf;height:29px;position:absolute;top:8px;left:43px}.island-drawing i:before{content:"";background:#f1dc98;width:17px;height:11px;display:block}.island-drawing b{color:#fff8de;font:700 12px ui-monospace,monospace;position:absolute;bottom:12px;right:15px}.chapter-detail{background:var(--cream);border:2px solid #d2d4bc;border-radius:6px;grid-template-columns:31% 1fr;min-height:292px;padding:20px 27px;display:grid}.chapter-story{text-align:center;border-right:1px solid #dedfcb;flex-direction:column;justify-content:center;align-items:center;padding-right:23px;display:flex}.chapter-story .portrait{width:125px;height:125px}.chapter-story .overline{margin:0 0 5px}.chapter-story h2{margin-bottom:7px;font-size:20px}.chapter-story p:last-child{color:var(--muted);margin:0;font-size:12px}.lesson-list{padding-left:27px}.lesson-row{border-bottom:1px dashed #d9dcc7;align-items:center;gap:12px;min-height:65px;display:flex}.lesson-row:last-child{border-bottom:0}.lesson-entry{text-align:left;flex:1;align-items:center;gap:14px;min-width:0;padding:10px 0;display:flex}.lesson-entry:hover:not(:disabled) strong{color:var(--green)}.lesson-number{color:#a0a98b;font:12px ui-monospace,monospace}.lesson-entry strong{font-size:14px;display:block}.lesson-entry small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:250px;margin-top:4px;font-size:10px;display:block;overflow:hidden}.lesson-stars{color:#b59b51;white-space:nowrap;margin-left:auto;font-size:12px}.challenge-link{color:#947aa5;white-space:nowrap;padding:8px 0;font-size:11px}.atlas-footnote{color:#8a937c;text-align:center;margin:19px 0 0;font-size:11px}.game-screen{flex-direction:column;max-width:1600px;height:calc(100dvh - 60px);min-height:650px;margin:auto;padding:0 25px;display:flex}.save-notice+.game-screen{height:calc(100dvh - 96px)}.game-hud{flex-shrink:0;align-items:center;gap:35px;min-height:74px;padding:10px 2px;display:flex}.lesson-heading{flex-direction:column;gap:5px;min-width:170px;display:flex}.lesson-heading strong{letter-spacing:.5px;font-size:16px}.lesson-heading small{color:#9a9f87;margin-left:8px;font:11px ui-monospace,monospace}.mode-label{color:#859173;letter-spacing:2px;font-size:10px}.land-meter{width:225px}.land-meter>div{justify-content:space-between;margin-bottom:5px;display:flex}.land-meter span,.metric>span{color:#667159;font-size:10px}.land-meter strong{color:#65804e;font-size:13px}progress{appearance:none;background:#e4e5d0;border:1px solid #c2c9a9;border-radius:2px;width:100%;height:10px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#e4e5d0}progress::-webkit-progress-value{background:#8ba566}progress::-moz-progress-bar{background:#8ba566}.metric{flex-direction:column;gap:4px;min-width:65px;display:flex}.metric strong{font:700 20px ui-monospace,monospace}.metric small{color:#8b947d;margin-left:5px;font:10px ui-rounded,sans-serif}.pause-button{background:#ebe6d3;border:1px solid #c6c8ad;border-radius:4px;align-items:center;gap:8px;margin-left:auto;padding:9px 15px;font-size:17px;display:flex}.pause-button span{font-size:12px}.game-world{background:#8cc9d2;border:3px solid #adba9d;border-bottom:6px solid #9da987;border-radius:6px 6px 0 0;flex:1;min-height:240px;position:relative;overflow:hidden}.game-world canvas{width:100%;height:100%;image-rendering:pixelated;display:block;position:absolute;inset:0}.world-caption{pointer-events:none;color:#4d6962;align-items:center;gap:12px;font-size:10px;display:flex;position:absolute;top:13px;left:14px}.map-label{background:#fff9e4df;border:1px solid #b6c6a3;border-radius:2px;padding:5px 9px;font-weight:700}.world-caption>span:last-child{background:#eff5e5c9;border-radius:2px;padding:4px 8px}.world-caption .warning{color:#74527c;background:#f8edcfef!important}.map-legend{color:#47656a;background:#eef4e7ba;gap:13px;padding:5px 8px;font-size:9px;display:flex;position:absolute;bottom:10px;right:13px}.map-legend span{align-items:center;gap:4px;display:flex}.map-legend i{border:1px solid #68855d;width:7px;height:7px}.player-color{background:#a5c77d}.map-legend .enemy-color{background:#b9a6ca;border-color:#987da8}.training-panel{background:#fbf7e9;border:2px solid #c6bea2;border-top:0;border-radius:0 0 5px 5px;flex-shrink:0;grid-template-columns:1fr 176px;gap:18px;padding:15px 22px 10px;display:grid}.practice-body{min-width:0}.exercise-meta{color:#6f755e;align-items:center;gap:20px;font-size:11px;display:flex}.exercise-meta>strong{color:#617850;font-size:12px}.energy-label{align-items:center;gap:3px;display:flex}.energy-label i{background:#e7e2c7;border:1px solid #c8bb8c;width:13px;height:9px;margin-left:1px}.energy-label i.charged{background:#dbba61;border-color:#ba9c49}#combo-label{color:#9b8b5a;margin-left:auto;font-size:10px}.typing-zone{cursor:text;background:#fffdf4;border:1px solid #ded8bd;border-radius:3px;min-height:85px;margin:8px 0 9px;padding:10px 10px 0;position:relative}.typing-zone:focus-within{border-color:#b8b794;box-shadow:0 0 0 2px #c6d1ac44}.typing-zone.has-error{border-color:#c6a48d}.practice-input{opacity:.01;border:0;width:1px;height:1px;padding:0;position:absolute;top:10px;left:10px}.practice-input:focus{outline:0}.prompt-track{color:#716b59;overflow-wrap:anywhere;letter-spacing:1px;min-height:42px;max-height:103px;font:500 clamp(22px,2.5vw,29px)/1.55 SFMono-Regular,Consolas,Liberation Mono,monospace;overflow-y:auto}.prompt-char{text-align:center;border-bottom:2px solid #0000;min-width:.65em;padding:0 1px;display:inline-block}.letter-prompt .prompt-char{min-width:1.3em;margin-right:6px}.prompt-char.done{color:#709765}.prompt-char.current{color:#455f3e;background:#f3e1aa;border-bottom-color:#bc964a;border-radius:2px 2px 0 0}.space-symbol{color:#c1ba9e;font-size:.8em}.current .space-symbol{color:#8d7b4c}.input-feedback{color:#73795e;min-height:19px;margin:3px 0 5px;font-size:12px;line-height:1.6}.has-error .input-feedback{color:#b07f61}.keyboard{max-width:620px;margin:0 auto}.key-row{justify-content:center;gap:4px;margin-bottom:4px;display:flex}.key{color:#b4b29f;background:#efece0;border:1px solid #ddd9c7;border-bottom:3px solid #d0ccba;border-radius:3px;justify-content:center;align-items:center;width:8.2%;min-width:30px;max-width:40px;height:23px;font:11px SFMono-Regular,Consolas,monospace;display:inline-flex;position:relative}.key.learned{color:#68715a;background:#fffdf4;border-color:#d0ccad}.key.target-key{color:#63562f;background:#efd99a;border-color:#d4b96d #d4b96d #b89b50;font-weight:800}.home-key:after{content:"";background:currentColor;width:9px;height:1px;position:absolute;bottom:2px}.shift-key{width:11%;max-width:60px;font-size:9px}.space-key{width:44%;max-width:200px;height:20px;font:9px ui-rounded,sans-serif}.row-2{padding-left:9px}.finger-caption{color:#7c886e;justify-content:center;align-items:center;gap:10px;min-height:32px;font-size:11px;display:flex}.hands{vertical-align:middle;width:83px;height:32px}.finger-caption .text-button{color:#96a085;padding:5px;font-size:10px}.teacher-area{flex-direction:column;justify-content:flex-end;align-items:center;padding:0 2px;display:flex}.teacher-bubble{color:#646a4e;background:#fffcf1;border:1px solid #d9d1b5;border-radius:8px 8px 8px 2px;padding:9px 13px;font-size:12px;line-height:1.8;position:relative}.teacher-bubble:after{content:"";background:#fffcf1;border:1px solid #d9d1b5;border-width:0 1px 1px 0;width:8px;height:8px;position:absolute;bottom:-5px;left:26px;transform:rotate(45deg)}.teacher-area .portrait{width:137px;height:137px;margin-bottom:-3px}.teacher-name{color:#9a9f83;font-size:10px}.game-footer{color:#949c86;justify-content:space-between;align-items:center;min-height:31px;font-size:10px;display:flex}.game-footer .text-button{padding:5px 2px;font-size:10px}.pause-overlay{z-index:4;background:#e8eddb91;place-items:center;display:grid;position:absolute;inset:0}.pause-paper{text-align:center;background:#fffbed;border:2px solid #b8bb99;border-radius:6px;width:260px;padding:24px;box-shadow:0 5px #7b917522}.pause-paper h2{margin-bottom:7px;font-size:23px}.pause-paper p{color:#889173;margin-bottom:18px;font-size:12px}.pause-paper button{width:100%}.pause-paper .quiet-button{margin-top:7px}.editor-heading{align-items:center;gap:12px;margin-bottom:12px;display:flex}.editor-heading h2{margin:0;font-size:16px}.task-count{color:#8d9379;white-space:nowrap;font-size:10px}.editor-fields{align-items:center;gap:12px;display:flex}.editor-fields label{color:#8b9279;flex-direction:column;flex:1;gap:7px;min-width:0;font-size:10px;display:flex}.editor-fields textarea{resize:vertical;color:#52634c;background:#fffdf4;border:1px solid #c9c8ac;border-bottom:3px solid #d9d5be;border-radius:4px;width:100%;min-height:83px;max-height:150px;padding:10px 12px;font:21px/1.5 SFMono-Regular,Consolas,monospace}.transfer-arrow{color:#afad91;padding-top:15px;font-size:25px}.task-toolbar{align-items:center;gap:8px;margin-top:10px;display:flex}.shortcut-reference{color:#6c745b;margin-left:auto;font-size:11px}.task-message{color:#826735;min-height:22px;margin:7px 0 0;font-size:11px}.focus-controls{flex-wrap:wrap;align-items:center;gap:8px;min-height:90px;display:flex}.focus-controls button{background:#e7ebd6;border:1px solid #bdc5a3;border-bottom:3px solid #b8c19f;border-radius:4px;padding:15px 14px;font-size:12px}.focus-controls .focus-goal{background:#f4e5b9;border-color:#c3a661}.focus-controls button:focus{outline-offset:3px;outline:3px solid #8fa56e}.task-success{flex-direction:column;justify-content:center;align-items:center;min-height:225px;display:flex}.success-mark{color:#83a26a;font-size:24px}.task-success h2{margin:6px 0;font-size:21px}.task-success p{color:#8d957a;margin-bottom:16px;font-size:12px}.results-screen{background:#eef0df;place-items:center;min-height:calc(100dvh - 60px);padding:35px 20px;display:grid}.result-paper{text-align:center;background:#fffcf0;border:2px solid #d3d2b4;border-bottom-width:5px;border-radius:7px;width:min(720px,100%);padding:30px 44px}.result-paper h1{letter-spacing:1px;margin-bottom:12px;font-size:30px}.result-stars{color:#c8a750;letter-spacing:9px;font-size:32px}.result-characters{justify-content:center;gap:4px;margin-top:5px;display:flex}.result-characters .portrait{width:135px;height:135px}.chapter-ending{color:#8a9076;max-width:480px;margin:8px auto 18px;font-size:13px}.result-metrics{justify-content:center;gap:0;margin:20px 0;display:flex}.result-metrics>div{border-right:1px solid #e1e0ca;flex-direction:column;gap:7px;min-width:130px;padding:0 25px;display:flex}.result-metrics>div:last-child{border:0}.result-metrics strong{color:#688554;font:700 28px ui-monospace,monospace}.result-metrics small{font-size:14px}.result-metrics span{color:#929a81;font-size:11px}.result-advice{color:#7c896a;margin-bottom:8px;font-size:12px}.result-time{color:#a1a68e;margin-bottom:22px;font-size:10px}.result-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.result-actions .text-button{flex-basis:100%;margin-top:6px}.rest-reminder{color:#a2916f;margin:18px 0 0;font-size:11px}.campaign-ending .result-characters .portrait{width:110px;height:110px}.campaign-ending .portrait.king{filter:brightness(1.12)saturate(.4)}.paper-dialog{width:min(650px,100vw - 32px);max-height:calc(100dvh - 50px);color:var(--ink);background:#fffcee;border:2px solid #bfc5a6;border-bottom:5px solid #aab691;border-radius:8px;padding:25px 30px;overflow-y:auto}.paper-dialog::backdrop{background:#304d4166}.dialog-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.dialog-heading h2{margin:0;font-size:21px}.dialog-heading button{color:#9ca185;padding:0 5px;font-size:24px}.dialog-copy{color:#7f8b6f;font-size:14px}.dialog-actions{justify-content:flex-end;gap:12px;margin-top:23px;display:flex}.dialog-start{margin:22px auto 0;display:flex}.briefing{align-items:center;gap:15px;display:flex}.briefing .portrait{flex-shrink:0;width:153px;height:153px}.briefing p{color:#6d755c;margin-bottom:13px;font-size:13px}.briefing .briefing-hint{color:#57744d;font-size:15px}.briefing .mode-explanation{color:#786b49;margin-bottom:0;font-size:11px}.settings-form{grid-template-columns:1fr 1fr;gap:18px 25px;display:grid}.settings-form label{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.settings-form input[type=range]{accent-color:#789760;width:105px}.settings-form input[type=checkbox]{accent-color:#789760;width:18px;height:18px}.settings-form select,.practice-picker select{color:#6d7e5f;background:#fbf8e9;border:1px solid #ccd0b7;border-radius:3px;max-width:150px;padding:7px 9px;font-size:12px}.storage-settings{border-top:1px dashed #d8d8bf;margin-top:25px;padding-top:20px}.storage-settings h3{margin-bottom:9px;font-size:14px}.storage-settings p{color:#9a9f85;font-size:11px}.storage-actions{flex-wrap:wrap;gap:9px;display:flex}.storage-actions button{min-height:34px;padding:7px 13px;font-size:11px}.danger{color:#ab826d}.handbook{color:#7c896b;font-size:13px}.home-keys{text-align:center;color:#758265;margin:8px 0;font:20px/2 ui-monospace,monospace}.home-keys b{color:#a78a42;border-bottom:2px solid #baa568}.handbook>.hands{width:180px;height:70px;margin:10px auto;display:block}.handbook li{line-height:2}.handbook-note{color:#9da48b;font-size:10px}.practice-picker{justify-content:center;align-items:center;gap:15px;font-size:13px;display:flex}.practice-picker select{max-width:300px}.toast{color:#718060;opacity:0;pointer-events:none;z-index:20;background:#fffcec;border:1px solid #c7c8ac;border-radius:5px;width:max-content;max-width:calc(100vw - 30px);padding:12px 20px;font-size:12px;transition:opacity .15s,transform .15s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,10px);box-shadow:0 3px #a2b18a33}.paper-dialog .toast{width:auto;max-width:100%;margin-top:15px;position:static;transform:none}.toast.visible{opacity:1;transform:translate(-50%)}@keyframes bob{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-7px)rotate(1deg)}}@keyframes drift{0%,to{transform:translate(0)}50%{transform:translate(20px)}}html[data-motion=reduce] *,html[data-motion=reduce] :before,html[data-motion=reduce] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (width<=1050px){.app-header{padding:0 20px}.header-motto{display:none}.home-screen{padding:18px 20px 0}.home-menu{width:45%;padding:24px}.home-player{right:2%}.game-screen{padding:0 14px}.game-hud{gap:20px}.land-meter{width:190px}.training-panel{grid-template-columns:1fr 150px;gap:12px;padding:13px 16px 7px}.teacher-area .portrait{width:125px;height:125px}.teacher-bubble{padding:8px 10px;font-size:11px}.key{height:22px}.shortcut-reference{font-size:9px}.atlas-screen{padding:25px 24px}.chapter-route{gap:2px}.chapter-stop strong{font-size:12px}.island-drawing{width:75px}.lesson-entry{gap:9px}.challenge-link{font-size:10px}}@media (width<=760px){.app-header{gap:12px;height:54px;padding:0 15px}.wordmark{letter-spacing:1px;font-size:18px}.app-header nav{gap:13px}.app-header nav button{font-size:11px}.home-screen{padding:12px 12px 0}.home-scene{height:calc(100dvh - 115px);min-height:640px}.home-menu{width:80%;max-width:355px;padding:23px;top:5%;left:5%}.home-menu h1{font-size:33px}.home-menu p{margin-bottom:18px}.home-player{width:160px;height:160px;bottom:7%;right:1%}.home-scene-label{font-size:9px;right:10px}.home-footer{gap:10px;font-size:9px}.atlas-heading h1{font-size:23px}.atlas-heading p:last-child{font-size:11px}.atlas-count{font-size:27px}.atlas-count small{font-size:10px}.chapter-route{grid-template-columns:repeat(4,1fr);gap:6px;padding-bottom:30px}.chapter-stop{padding-bottom:7px}.chapter-detail{grid-template-columns:1fr;padding:16px}.chapter-story{text-align:left;border-bottom:1px solid #dedfcb;border-right:0;flex-direction:row;justify-content:start;gap:12px;padding:0 0 14px}.chapter-story .portrait{width:75px;height:75px}.chapter-story h2{font-size:18px}.lesson-list{padding-left:0}.lesson-entry small{max-width:170px}.atlas-screen{padding:24px 16px}.game-screen{height:calc(100dvh - 54px);min-height:730px;padding:0 8px}.game-hud{flex-wrap:wrap;gap:6px 18px;min-height:89px;padding:9px 5px}.lesson-heading{flex:1;min-width:130px}.lesson-heading strong{font-size:13px}.mode-label{font-size:9px}.land-meter{width:140px}.metric{min-width:48px}.metric strong{font-size:16px}.pause-button{padding:7px 11px}.game-world{min-height:270px}.world-caption{gap:4px;font-size:9px;top:7px;left:6px}.map-label{padding:4px 6px}.world-caption>span:last-child{max-width:210px}.map-legend{gap:8px;font-size:8px;bottom:7px;right:6px}.training-panel{padding:12px 10px 8px;display:block}.teacher-area{display:none}.exercise-meta{gap:12px}#combo-label{font-size:9px}.key-row{gap:3px}.key{min-width:23px;height:22px;font-size:10px}.shift-key{font-size:8px}.finger-caption{gap:6px;font-size:10px}.hands{width:70px}.game-footer,.game-footer .text-button{font-size:9px}.shortcut-reference{display:none}.editor-heading h2{font-size:14px}.editor-fields{gap:8px}.editor-fields textarea{padding:8px;font-size:18px}.focus-controls button{padding:12px 9px;font-size:11px}.result-paper{padding:27px 18px}.result-paper h1{font-size:25px}.result-metrics>div{min-width:95px;padding:0 17px}.result-metrics strong{font-size:23px}.result-characters .portrait{width:118px;height:118px}.campaign-ending .result-characters .portrait{width:80px;height:80px}.result-actions button{font-size:12px}.paper-dialog{padding:20px}.briefing{gap:5px}.briefing .portrait{width:100px;height:100px}.briefing .briefing-hint{font-size:13px}.briefing p{font-size:11px}.settings-form{grid-template-columns:1fr;gap:17px}.settings-form input[type=range]{width:145px}}@media (prefers-reduced-motion:reduce){html:not([data-motion=full]) *,html:not([data-motion=full]) :before,html:not([data-motion=full]) :after{transition:none!important;animation:none!important}}
