@charset "UTF-8";.ed-student-game-bar{box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px max(18px,calc((100vw - 1240px)/2));background:#fff2cb;color:#72502c;border-bottom:1px solid #efdaa1;font-family:Microsoft YaHei,sans-serif;font-size:12px;line-height:1.6}.ed-student-game-bar>div{display:flex;align-items:center;gap:12px;min-width:0}.ed-student-game-bar strong{color:#8c2c27;font-size:13px}.ed-student-game-bar nav{display:flex;align-items:center;gap:12px;flex-shrink:0}.ed-student-game-bar a,.ed-student-game-bar button{display:inline-block;border:1px solid #e5bb75;border-radius:12px;padding:6px 12px;background:#fff;color:#9d4533;text-decoration:none;font:inherit;cursor:pointer;min-height:34px}.ed-student-game-bar [hidden]{display:none!important}.student-result-save{font-size:12px;line-height:1.8;color:#805536;text-align:center;margin:14px 0}.student-result-save.error{color:#b03837}@media(max-width:700px){.ed-student-game-bar{padding:8px 14px;gap:8px}.ed-student-game-bar>div{display:block}.ed-student-game-bar>div>span{display:block;font-size:10px}.ed-student-game-bar nav{gap:7px;font-size:10px}.ed-student-game-bar button,.ed-student-game-bar a{padding:6px 8px}.ed-student-game-bar nav>span{display:none}}#student-result-retry[hidden],#retry-game[hidden]{display:none!important}:root{font-family:Trebuchet MS,Microsoft YaHei,PingFang SC,sans-serif;color:#29485c;background:#fffaf2;font-synthesis:none;font-weight:500;--ink: #29485c;--muted: #8a9aa3;--orange: #ff805c;--blue: #3d9dd9;--line: #eee9df;--shadow: 0 8px 25px #6753330a}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 36%,#ffefdf88,transparent 35%),radial-gradient(ellipse at 100% 62%,#e2f1ff77,transparent 30%),#fffaf2}button,input{font:inherit}button{cursor:pointer;color:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{border:0}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #5aaee2;outline-offset:4px}button{transition:transform .18s,box-shadow .18s,background .18s}button:active:not(:disabled){transform:translateY(2px) scale(.98)}svg{width:22px;height:22px;flex-shrink:0}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}button[hidden],[hidden]{display:none!important}.sprite{display:inline-block;flex-shrink:0;background-image:var(--sprite-url);background-size:600% 600%;background-repeat:no-repeat;vertical-align:middle;filter:drop-shadow(0 2px 2px #79592c0c)}.site-header{height:91px;background:#ffffffdf;border-bottom:1px solid #f1e9db;position:relative;z-index:10}.header-inner{max-width:1236px;margin:auto;padding:0 30px;height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:9px;background:none;text-align:left;padding:0;min-width:232px}.brand b{font-size:28px;font-weight:900;letter-spacing:1.5px}.brand-dot{color:var(--orange);font-size:34px}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:900;margin-top:1px}.main-nav{height:100%;display:flex;gap:30px;margin-right:auto;margin-left:55px}.nav-btn{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;background:none;padding:0 2px;position:relative;color:#8e9ca5;white-space:nowrap}.nav-btn svg{width:18px}.nav-btn.active{color:var(--orange)}.nav-btn.active:after{content:"";width:23px;height:4px;background:var(--orange);border-radius:5px;position:absolute;bottom:16px;left:calc(50% - 11px)}.header-right{display:flex;align-items:center;gap:13px}.currency{display:flex;align-items:center;gap:3px;min-width:63px;border-radius:100px;padding:4px 11px 4px 5px;background:#fff6df;border:1px solid #f8eccc;font-size:16px}.stars-currency{background:#f2efff;border-color:#eae4fb}.icon-btn{width:42px;height:42px;background:#fff;border:1px solid var(--line);border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:#8b9eaa}.icon-btn:hover{background:#f6fafc}.sound-toggle{width:37px;height:37px;border:0;background:none}.avatar{width:49px;height:49px;border-radius:50%;padding:3px;background:#e8f6f5;border:2px solid white;box-shadow:0 0 0 1px #cde5e0}.hub-main{max-width:1236px;padding:37px 30px 0;margin:auto}.eyebrow{display:block;font-weight:800;font-size:10px;letter-spacing:1.7px;color:#9ba8a9;line-height:1.6}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.greeting h1{font-size:21px;margin-top:7px;display:flex;align-items:center;gap:5px;font-weight:800}.greeting h1>span:not(.sprite){font-size:15px;color:#95a1a6;font-weight:500;margin-left:9px}.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:none;color:#91a0a7;font-size:12px;padding:8px 0;white-space:nowrap}.text-btn svg{width:17px;height:17px}.text-btn:hover{color:var(--orange)}.hero{position:relative;height:366px;border-radius:28px;overflow:hidden;background:#d6edff;box-shadow:0 10px 25px #80a6bc17;border:3px solid #fff}.hero-art{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 50%}.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,#e7f6ffed,#e7f6ffb3 30%,#c2e9ff00 62%)}.hero-copy{position:relative;z-index:1;padding:35px 43px;max-width:58%}.hero-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#4f92b5;background:#fff9;border:1px solid #ffffffe6;padding:6px 11px;border-radius:50px}.hero-pill>span{width:6px;height:6px;background:#73b9c4;border-radius:50%}.hero h2{font-size:44px;line-height:1.28;margin:15px 0 12px;font-weight:900;letter-spacing:1px;color:#294d66}.hero h2 span{color:#f48c5a}.hero-copy p{font-size:12px;color:#6d91a5;margin-bottom:23px}.primary-btn{background:linear-gradient(180deg,#ff9b6b,#ff805d);border:2px solid #ffaf8a;border-bottom:4px solid #e36c4c;color:#fff;border-radius:16px;padding:13px 23px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:800;box-shadow:0 5px #f2be9e35,0 7px 14px #ef8e5230;min-height:53px}.primary-btn:hover{box-shadow:0 7px #f2be9e35,0 10px 19px #ef8e5240;transform:translateY(-2px)}.primary-btn svg{width:18px;height:18px}.primary-btn>svg:last-child{margin-left:18px}.hero-copy>small{display:block;color:#80a0af;font-size:10px;margin-top:12px;letter-spacing:.7px}.daily-quest{position:absolute;z-index:2;right:22px;bottom:20px;width:313px;display:flex;text-align:left;align-items:center;gap:11px;background:#fffdf8ed;backdrop-filter:blur(6px);padding:13px 14px;border-radius:18px;border:1px solid white;box-shadow:0 5px 12px #57758314}.quest-icon{width:49px}.quest-copy{flex:1}.quest-copy b{font-size:13px;display:flex;align-items:center;justify-content:space-between}.quest-copy b svg{width:14px;height:14px;color:#b8b2a4}.quest-copy small{display:block;font-size:9px;margin:6px 0 8px;color:#aa9f8f}.quest-progress{display:block;height:5px;background:#f3ecdf;border-radius:10px;overflow:hidden}.quest-progress i{display:block;background:#ffd06a;height:100%;border-radius:10px}.quest-counter{font-size:11px;color:#c5a459;margin-top:32px}.games-section{padding-top:37px;scroll-margin-top:25px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:23px}.section-heading h2{display:flex;align-items:center;gap:13px;font-size:24px;font-weight:800;margin-top:5px}.count-pill{font-size:10px;color:#b1a58f;padding:4px 8px;background:#f1eadf;border-radius:6px;font-weight:600}.filter-tabs{display:flex;align-items:center;gap:4px;padding:4px;background:#f1eee7;border:1px solid #ebe8df;border-radius:12px}.filter-tabs button{background:none;padding:8px 14px;border-radius:9px;font-size:11px;color:#9d9d99}.filter-tabs .selected{background:#fff;color:#e28d63;box-shadow:0 2px 5px #89765313;font-weight:800}.games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.game-card{padding:0;text-align:left;background:#fff;border:1px solid #eee7dd;border-radius:22px;overflow:hidden;box-shadow:0 5px #f0e8dc55,0 9px 24px #7c663a07;position:relative;animation:card-in .5s both;animation-delay:calc(var(--order) * 45ms)}.game-card:hover{transform:translateY(-6px);box-shadow:0 7px #f0e8dc44,0 16px 30px #7c663a18;border-color:var(--game-color)}.card-cover{position:relative;aspect-ratio:1.82;overflow:hidden;background:#e9f6ff}.card-cover img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.game-card:hover .card-cover img{transform:scale(1.04)}.game-tag{position:absolute;top:13px;left:13px;background:#fffdf6ed;padding:5px 9px;font-size:10px;border:1px solid white;border-radius:7px;color:#7c7f78;font-weight:700;backdrop-filter:blur(4px)}.card-play{position:absolute;right:16px;bottom:14px;border-radius:50%;background:#fffe;display:flex;align-items:center;justify-content:center;width:37px;height:37px;color:var(--game-color);box-shadow:0 3px 8px #15374314}.card-play svg{width:18px;height:18px;margin-left:2px}.card-body{padding:20px 20px 14px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:6px}.card-title small{display:block;font-size:10px;letter-spacing:.5px;color:var(--game-color);font-weight:800;margin-bottom:5px}.card-title h3{font-size:21px;font-weight:800;letter-spacing:.2px}.card-arrow{display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--game-color) 11%,white);border-radius:11px;width:33px;height:33px;color:var(--game-color)}.card-arrow svg{width:17px;height:17px}.card-body>p{font-size:11px;color:#a3aaa8;line-height:1.7;margin:10px 0 18px}.card-progress{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9caaa9}.little-stars{display:flex;align-items:center;gap:3px;color:#e8e7e3}.little-stars>span{display:inline-flex}.little-stars svg{width:13px;height:13px;fill:currentColor;stroke-width:0}.little-stars .earned{color:#ffc34c}.progress-track{height:5px;background:#f2f0e9;overflow:hidden;border-radius:10px}.progress-track i{display:block;height:100%;background:var(--game-color, #f6c565);border-radius:10px}.card-body>.progress-track{margin-top:8px}.card-bottom{display:flex;justify-content:space-between;border-top:1px dashed #f0ebe3;padding-top:13px;margin-top:14px;font-size:9px;color:#b3b9b6;align-items:center}.card-bottom b{font-size:10px;color:var(--game-color);font-weight:800}.explorer-strip{display:flex;align-items:center;gap:16px;margin:34px 0 29px;padding:23px 26px;background:#fff8e7;border:1px solid #f6ecd2;border-radius:20px}.explorer-strip h3{font-size:16px;color:#8d805e}.explorer-strip p{font-size:11px;color:#b2a68c;margin-top:8px}.explorer-progress{margin-left:auto;width:180px}.explorer-progress .progress-track{background:#efe6cf;height:7px}.explorer-progress>span{display:block;text-align:right;font-size:9px;color:#bfb298;margin-top:8px}.soft-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #eae7df;border-bottom:3px solid #e6e3db;border-radius:12px;min-height:43px;padding:9px 15px;font-size:12px;font-weight:700;white-space:nowrap;color:#7f96a2}.soft-btn svg{width:17px;height:17px}.soft-btn:hover{background:#fffcf8;transform:translateY(-1px)}.explorer-strip .soft-btn{margin-left:14px;color:#a99a79;border-color:#ece3cc;font-size:11px}.site-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee9df;padding:24px 0 26px;color:#b6bab3;gap:10px;font-size:10px}.site-footer>span:first-child{font-weight:800;color:#aab1a9}.site-footer .text-btn{font-size:10px;color:#b6bab3}.site-footer svg{color:#a5cbb4;width:14px;height:14px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:13px 21px;background:#29485cf2;color:#fff;border:1px solid #ffffff3d;box-shadow:0 8px 30px #143a5433;border-radius:15px;font-size:13px;max-width:90vw;width:max-content;z-index:1000;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%)}.modal{border:3px solid white;border-radius:29px;background:#fffcf6;color:var(--ink);padding:28px;width:min(590px,calc(100% - 28px));max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #20476135;position:relative;animation:modal-in .24s}.modal::backdrop{background:#26485c69;backdrop-filter:blur(6px)}.modal-close{position:absolute;right:14px;top:14px;z-index:2;background:#fffcf4ee}.modal-heading{text-align:center;padding:4px 10px 23px}.modal-heading>.sprite{display:block;margin:0 auto 8px}.modal-heading h2{font-size:27px;line-height:1.4;margin:9px 0}.modal-heading p{font-size:12px;line-height:1.9;color:#8e9ca2}.modal-heading .eyebrow{font-size:9px}.intro-modal{padding:0;max-width:555px}.intro-art{width:100%;aspect-ratio:2.1;object-fit:cover}.intro-body{padding:24px}.intro-body h2{font-size:28px;margin:4px 0 12px}.intro-body>p{font-size:13px;line-height:1.9;color:#8d9ca1}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:23px}.level-button{background:#fff5df;border:2px solid #f8dba4;border-bottom-width:5px;border-radius:16px;display:flex;flex-direction:column;align-items:center;padding:17px 7px 12px;gap:8px;min-height:124px}.level-button b{font-size:29px;color:#e8a654}.level-button>span:not(.little-stars){font-size:11px;color:#af9772}.level-button.locked{background:#f2f1ec;border-color:#e4e5de;opacity:.8;color:#c2c7c1}.level-button.locked>svg{width:28px;height:28px;margin:5px}.intro-note{display:block;font-size:10px;color:#b0b5b2;line-height:1.9;text-align:center;margin:16px 0 0}.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.achievement{border:1px solid #e8e8e2;background:#f2f2ee;border-radius:18px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:17px 9px;gap:8px;color:#aeb4ae}.achievement>.sprite{filter:grayscale(1);opacity:.45}.achievement b{font-size:13px}.achievement>span:not(.sprite){font-size:9px;min-height:26px;line-height:1.7}.achievement small{font-size:8px}.achievement.unlocked{border-color:#f0d69d;background:#fff5d9;color:#ac874b}.achievement.unlocked>.sprite{filter:none;opacity:1}.treasure-total{display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;color:#b69755;padding:22px 0 0}.guide-content p{font-size:12px;line-height:1.9;color:#93a0a3;margin-bottom:20px}.guide-content b{color:#6f8b98;display:inline-block;margin-bottom:4px}.profile-label{display:block;font-size:12px;color:#8c9ca4}.profile-label input{display:block;width:100%;margin-top:8px;border:1px solid #e6e7df;background:#fff;border-radius:12px;padding:13px;color:var(--ink)}.avatar-options{display:flex;justify-content:center;gap:12px;margin:25px 0}.avatar-options label{cursor:pointer;border:2px solid transparent;border-radius:19px;padding:5px}.avatar-options label:has(input:checked){background:#fff1d7;border-color:#f5cb86}.avatar-options input{position:absolute;opacity:0}.profile-save{width:100%;margin:0 auto 6px}.play-main{max-width:1200px;margin:auto;padding:25px 30px 0}.play-heading{display:flex;align-items:center;gap:21px;margin-bottom:20px}.play-heading>div{flex:1}.play-heading h1{display:flex;align-items:center;gap:13px;font-size:23px;margin-top:3px}.play-heading .eyebrow{font-size:9px;color:var(--game-color)}.level-pill{font-size:10px;background:color-mix(in srgb,var(--game-color) 12%,white);color:var(--game-color);padding:5px 9px;border-radius:8px}.play-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;gap:25px;align-items:start}.game-shell{overflow:hidden;background:#fffefb;border:3px solid white;border-radius:24px;box-shadow:0 8px #e7e2d746,0 10px 40px #4b6c7614}.mission{display:flex;align-items:center;gap:12px;padding:15px 17px;background:color-mix(in srgb,var(--game-color) 12%,white);min-height:80px}.mission-sound{background:#fff;color:var(--game-color);width:46px;height:46px;border:1px solid color-mix(in srgb,var(--game-color) 20%,white);border-bottom-width:3px;border-radius:15px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.mission>div{flex:1;min-width:0}.mission #mission-en{display:block;font-size:20px;font-weight:800;color:#456779;line-height:1.3}.mission small{display:block;font-size:11px;line-height:1.6;color:#92a1a3;margin-top:5px}.zh-toggle{display:flex;align-items:center;gap:3px;font-size:10px;color:#9ba5a5;white-space:nowrap;cursor:pointer;min-height:44px}.zh-toggle input{accent-color:var(--game-color);width:16px;height:16px}.game-hud{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:#fffdf8;border-bottom:1px solid #efe9df}.game-hud>span{display:flex;align-items:center;gap:5px;min-width:100px;font-size:17px}.game-hud small{font-size:8px;color:#b7b6ac;margin-left:3px}.game-hud .goal{display:flex;flex-direction:column;gap:5px;flex:1;max-width:180px;font-size:12px}.goal>i{display:block;width:100%;height:5px;background:#efece5;border-radius:10px;overflow:hidden}.goal em{display:block;height:100%;background:var(--game-color);border-radius:10px;transition:width .2s}.game-hud>span:last-child{justify-content:flex-end}.canvas-wrap{position:relative;aspect-ratio:720/760;max-height:calc(100dvh - 360px);min-height:330px;width:100%;overflow:hidden;background:color-mix(in srgb,var(--game-color) 10%,#fffaf2)}#phaser-root{width:100%;height:100%;position:absolute;inset:0;touch-action:none;user-select:none;-webkit-user-select:none}#phaser-root canvas{display:block!important;touch-action:none}.game-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 15px;min-height:74px;background:#fffaf1;border-top:2px solid white;touch-action:none}.control-btn{min-height:48px;min-width:128px;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:2px solid #e8e5db;border-bottom:4px solid #dcded5;border-radius:15px;font-size:14px;font-weight:800;color:#7b919d;touch-action:none;user-select:none}.control-btn.accent{color:#fff;background:var(--game-color);border-color:color-mix(in srgb,var(--game-color) 72%,#fff);border-bottom-color:color-mix(in srgb,var(--game-color) 77%,#6b777c);min-width:160px}.control-btn small{font-size:8px;opacity:.7;border:1px solid currentColor;border-radius:4px;padding:2px;margin-left:6px}.control-btn.direction{min-width:58px;width:70px}.control-caption{font-size:12px;color:#a5a18d;text-align:center}.live-feedback{text-align:center;font-size:10px;color:#aab1a9;padding:0 10px 12px;background:#fffaf1;line-height:1.6;min-height:28px}.play-sidebar{border:1px solid #ece9df;border-radius:21px;background:#fff;overflow:hidden;box-shadow:var(--shadow)}.sidebar-cover{position:relative;aspect-ratio:1.65;background:#eff3f3}.sidebar-cover img{width:100%;height:100%;object-fit:cover}.sidebar-cover span{position:absolute;bottom:12px;left:15px;color:#fff;font-size:13px;font-weight:900;text-shadow:0 1px 6px #27434f66}.howto{padding:22px}.howto h2{font-size:18px;margin:5px 0 12px}.howto p{font-size:12px;line-height:1.95;color:#96a3a8}.howto .text-btn{color:var(--game-color);font-size:11px;margin-top:9px}.word-pocket{margin:0 18px 17px;border-radius:15px;border:1px solid #f3ecdc;background:#fffaef;padding:14px}.word-pocket h3{display:flex;align-items:center;gap:5px;font-size:13px;color:#a49372}.word-pocket p{font-size:10px;line-height:1.8;color:#b9b19e;margin:6px 0 12px}.word-pocket>div{display:flex;flex-wrap:wrap;gap:7px}.word-pocket button{display:inline-flex;gap:4px;align-items:center;font-size:12px;background:#fff;border:1px solid #f0e6d2;border-radius:9px;padding:6px 8px;min-height:36px;color:#ae9c7a}.word-pocket svg{width:13px;height:13px}.sidebar-bottom{display:flex;align-items:center;justify-content:center;padding:3px 0 15px;gap:10px}.sidebar-bottom p{font-size:11px;color:#aab6b5;line-height:1.8}.play-save{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#b0b7ad;padding:18px 0}.play-save svg{width:14px;height:14px;color:#abc8b5}.pause-actions{display:flex;flex-direction:column;gap:12px;padding:0 30px 9px}.pause-modal .modal-heading p{max-width:390px;margin:auto}.result-modal{overflow:auto;padding-top:38px}.result-stars{display:flex;align-items:center;justify-content:center;height:114px;gap:2px;margin:14px 0 4px}.result-stars>span{filter:grayscale(1);opacity:.3;transform:scale(.82)}.result-stars>span:nth-child(2){margin-top:-23px;transform:scale(1)}.result-stars .lit{filter:none;opacity:1;animation:star-pop .6s both;animation-delay:var(--delay)}.result-stats{display:flex;justify-content:center;background:#fff4dd;border:1px solid #f1e4c9;border-radius:18px;padding:19px 8px;margin:0 0 20px}.result-stats>div{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;border-right:1px solid #eadebd}.result-stats>div:last-child{border:0}.result-stats small{font-size:10px;color:#b4a78b}.result-stats b{display:flex;align-items:center;font-size:25px;color:#ad8b51;gap:4px}.result-stats b>span:not(.sprite){font-size:11px;color:#b1a68f;font-weight:500}.result-actions{display:flex;flex-direction:column;gap:11px;margin:0 30px}.result-note{font-size:10px;text-align:center;color:#acb4ad;line-height:1.8;padding-top:18px}.new-achievements{display:flex;justify-content:center;align-items:center;font-size:12px;color:#a28cc3;gap:7px;margin:0 0 20px}.new-achievements svg{width:20px;height:20px}.result-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.result-confetti i{position:absolute;top:0;left:calc(var(--n) * 8.5%);width:7px;height:12px;background:var(--c);border-radius:3px;animation:confetti 2.4s ease-out both;animation-delay:calc(var(--n) * .05s)}@keyframes card-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes modal-in{0%{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:none}}@keyframes star-pop{0%{transform:scale(.15) rotate(-30deg)}65%{transform:scale(1.12) rotate(6deg)}to{transform:scale(.95)}}@keyframes confetti{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(490px) rotate(420deg);opacity:0}}@media(min-width:1500px){.hub-main{padding-top:45px}.hero{height:390px}.hero-copy{padding-top:43px}.hero h2{font-size:48px}}@media(max-width:1050px){.main-nav{margin-left:10px;gap:18px}.brand{min-width:200px}.header-right{gap:7px}.header-inner{gap:16px}.games-grid{gap:18px}.card-body{padding:17px 16px 13px}.card-body>p{font-size:10px}.hero-copy{padding-left:32px}.hero h2{font-size:40px}.explorer-progress{display:none}.explorer-strip>.soft-btn{margin-left:auto}.play-layout{grid-template-columns:minmax(0,1fr) 237px;gap:18px}.howto{padding:18px}.game-hud>span{min-width:90px}.mission #mission-en{font-size:18px}}@media(max-width:800px){.site-header{height:78px}.header-inner{padding:0 20px}.main-nav{gap:15px;margin-left:auto;margin-right:0}.nav-btn{font-size:12px}.nav-btn svg{display:none}.brand{min-width:175px;gap:4px}.brand>.sprite{width:47px!important;height:47px!important}.brand b{font-size:23px}.brand small{font-size:7px;letter-spacing:1.5px}.currency{min-width:48px;padding-right:7px;font-size:13px}.currency .sprite{width:23px!important;height:23px!important}.stars-currency{display:none}.avatar{width:42px;height:42px}.avatar .sprite{width:35px!important;height:35px!important}.header-right{gap:4px}.hub-main{padding:28px 20px 0}.greeting h1{font-size:18px}.greeting h1>span:not(.sprite){font-size:12px;margin-left:4px}.hero{height:338px}.hero-copy{padding:30px 25px;max-width:65%}.hero h2{font-size:36px}.hero-copy p{font-size:11px;max-width:215px;line-height:1.8}.hero-copy .primary-btn{font-size:13px;padding:11px 16px}.daily-quest{width:250px;padding:10px;right:14px;bottom:14px}.quest-copy b{font-size:11px}.quest-copy small{font-size:8px}.quest-counter{font-size:10px}.quest-icon .sprite{width:42px!important;height:42px!important}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.section-heading{align-items:start}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:8px}.filter-tabs button{padding:7px 9px;font-size:10px}.count-pill{font-size:8px;padding:3px 6px}.card-cover{aspect-ratio:1.7}.card-title h3{font-size:21px}.explorer-strip{padding:18px;gap:12px}.explorer-strip h3{font-size:14px}.explorer-strip p{font-size:10px}.explorer-star .sprite{width:46px!important;height:46px!important}.explorer-strip .soft-btn{font-size:10px;padding:8px}.site-footer{font-size:9px;flex-wrap:wrap}.site-footer>span:nth-child(2){display:none}.play-main{padding:18px 18px 0}.play-sidebar{display:none}.play-layout{grid-template-columns:1fr;max-width:690px;margin:auto}.play-heading{gap:12px;max-width:690px;margin:0 auto 15px}.play-heading h1{font-size:22px}.play-heading .soft-btn{font-size:11px;min-height:40px}.play-heading>div .eyebrow{font-size:8px}.canvas-wrap{max-height:calc(100dvh - 350px)}.play-save{padding:15px 0}.mission #mission-en{font-size:19px}}@media(max-width:560px){.site-header{height:70px}.header-inner{padding:0 14px;gap:5px}.brand{min-width:145px;gap:2px}.brand>.sprite{width:43px!important;height:43px!important}.brand b{font-size:21px;letter-spacing:1px}.brand-dot{font-size:26px}.brand small{font-size:6px;letter-spacing:1.2px}.main-nav{display:none}.header-right{margin-left:auto;gap:4px}.currency{min-width:45px;padding:3px 7px 3px 3px;font-size:12px}.sound-toggle{width:30px;height:35px}.sound-toggle svg{width:18px;height:18px}.avatar{width:37px;height:37px}.avatar .sprite{width:30px!important;height:30px!important}.hub-main{padding:22px 14px 0}.greeting{margin-bottom:17px}.greeting .eyebrow{font-size:7px;letter-spacing:1px}.greeting h1{font-size:16px;display:block;line-height:1.6}.greeting h1>.sprite{width:20px!important;height:20px!important}.greeting h1>span:not(.sprite){display:block;margin-left:0;font-size:11px}.greeting>.text-btn{font-size:10px;gap:4px}.greeting>.text-btn svg{width:15px;height:15px}.hero{height:372px;border-radius:22px;border-width:2px}.hero-art{object-position:62% center}.hero-wash{background:linear-gradient(90deg,#e6f5fff0,#e7f5ffce 35%,#d9efff00 76%)}.hero-copy{padding:24px 18px;max-width:85%}.hero-pill{font-size:8px;padding:5px 8px;gap:4px}.hero h2{font-size:32px;line-height:1.25;letter-spacing:.5px;margin:15px 0 10px}.hero-copy p{font-size:10px;max-width:156px;margin-bottom:16px;line-height:1.8}.hero-copy .primary-btn{min-height:45px;border-radius:13px;font-size:12px;padding:9px 13px;gap:5px}.hero-copy .primary-btn>svg:last-child{margin-left:4px}.hero-copy .primary-btn svg{width:15px;height:15px}.hero-copy>small{font-size:7px;margin-top:10px;letter-spacing:.4px}.daily-quest{width:calc(100% - 22px);right:11px;bottom:10px;gap:10px;padding:10px 13px;border-radius:15px}.quest-icon{width:38px}.quest-copy b{font-size:11px}.quest-copy small{margin:4px 0 6px;font-size:8px}.quest-counter{margin-top:29px;font-size:10px}.games-section{padding-top:28px}.section-heading{display:block;margin-bottom:16px}.section-heading h2{font-size:20px;gap:9px;margin-top:3px}.section-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.filter-tabs{width:max-content;margin-top:14px;border-radius:11px;padding:3px}.filter-tabs button{font-size:10px;padding:7px 12px}.games-grid{gap:16px 11px}.game-card{border-radius:16px}.card-cover{aspect-ratio:1.4}.game-tag{font-size:8px;left:8px;top:8px;padding:4px 6px;border-radius:5px}.card-play{width:27px;height:27px;right:9px;bottom:8px}.card-play svg{width:13px;height:13px}.card-body{padding:13px 11px 11px}.card-title small{font-size:8px;letter-spacing:0;margin-bottom:4px;white-space:nowrap}.card-title h3{font-size:17px;letter-spacing:0}.card-arrow{display:none}.card-body>p{font-size:9px;line-height:1.7;margin:9px 0 13px;min-height:31px}.card-progress{font-size:8px;gap:3px}.little-stars{gap:1px}.little-stars svg{width:10px;height:10px}.card-body>.progress-track{margin-top:7px;height:4px}.card-bottom{margin-top:10px;padding-top:10px;gap:3px}.card-bottom span{font-size:7px}.card-bottom b{font-size:8px;white-space:nowrap}.explorer-strip{margin:25px 0 20px;padding:16px 12px;gap:8px;flex-wrap:wrap;border-radius:17px}.explorer-star .sprite{width:39px!important;height:39px!important}.explorer-strip h3{font-size:12px}.explorer-strip p{font-size:9px;margin-top:6px}.explorer-strip .soft-btn{width:100%;margin-top:5px;min-height:34px;border-radius:9px;font-size:10px}.site-footer{padding:18px 0 25px;font-size:8px;gap:5px}.site-footer .text-btn{font-size:8px;gap:3px}.site-footer svg{width:12px;height:12px}.play-main{padding:13px 8px 0}.play-heading{gap:9px;margin-bottom:13px}.play-heading h1{font-size:18px;gap:8px}.play-heading .eyebrow{font-size:7px;letter-spacing:.7px}.play-heading .soft-btn{padding:6px 9px;gap:3px;font-size:10px;border-radius:10px}.play-heading .soft-btn svg{width:14px;height:14px}.back-hub{font-size:0!important;min-width:37px}.back-hub svg{width:19px!important;height:19px!important}.level-pill{font-size:8px;padding:4px 6px}.game-shell{border-radius:19px;border-width:2px}.mission{gap:9px;padding:11px 10px;min-height:78px}.mission-sound{width:38px;height:42px;border-radius:12px}.mission-sound svg{width:19px;height:19px}.mission #mission-en{font-size:16px}.mission small{font-size:9px;line-height:1.6;margin-top:4px}.zh-toggle{font-size:9px;gap:1px;flex-direction:column}.zh-toggle input{width:15px;height:15px}.game-hud{height:44px;padding:0 10px;gap:8px}.game-hud>span{font-size:14px;min-width:78px;gap:3px}.game-hud small{font-size:6px}.game-hud .goal{font-size:10px;max-width:110px;min-width:65px}.game-hud .sprite{width:22px!important;height:22px!important}.game-hud>span:last-child{min-width:72px}.canvas-wrap{min-height:300px;max-height:calc(100dvh - 315px)}.game-controls{padding:10px 9px;gap:9px;min-height:70px}.control-btn{min-height:47px;min-width:115px;font-size:12px;gap:5px;border-radius:13px}.control-btn.accent{min-width:144px}.control-btn svg{width:19px;height:19px}.control-btn small{font-size:6px;margin-left:4px}.control-btn.direction{min-width:56px;width:58px}.control-caption{font-size:10px}.live-feedback{font-size:8px;padding-bottom:10px;min-height:24px}.play-save{font-size:8px;padding:12px 0}.modal{padding:23px 18px;border-radius:24px}.modal-heading h2{font-size:23px}.modal-heading p{font-size:11px}.intro-modal{padding:0}.intro-body{padding:21px 18px}.intro-body h2{font-size:25px}.intro-body>p{font-size:12px}.level-grid{gap:8px;margin-top:19px}.level-button{padding:13px 5px 11px;min-height:112px;border-radius:14px;gap:8px}.level-button>span:not(.little-stars){font-size:10px}.intro-note{font-size:9px}.achievement-grid{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.achievement{padding:13px 7px;border-radius:14px}.achievement>.sprite{width:58px!important;height:58px!important}.achievement b{font-size:12px}.achievement>span:not(.sprite){font-size:9px;min-height:14px}.avatar-options{gap:4px}.avatar-options .sprite{width:57px!important;height:57px!important}.pause-actions{padding:0 12px 8px}.result-modal{padding-top:29px}.result-stars{height:100px;gap:0;margin-top:13px}.result-stars .sprite{width:77px!important;height:77px!important}.result-actions{margin:0 7px}.result-stats{padding:16px 3px}.result-stats b{font-size:22px}.result-stats small,.result-note{font-size:9px}.new-achievements{font-size:10px}}@media(max-width:350px){.greeting>.text-btn{font-size:9px}.hero h2{font-size:29px}.card-title h3{font-size:15px}.card-title small{font-size:7px}.card-body{padding:11px 9px}.card-body>p{font-size:8px}.card-progress{font-size:7px}.card-bottom{display:block}.card-bottom b{display:block;margin-top:6px}.level-pill{display:none}.play-heading h1{font-size:17px}.mission #mission-en{font-size:14px}.game-hud>span{min-width:70px}.control-btn{min-width:103px}.control-btn.accent{min-width:126px}.control-btn.direction{min-width:48px;width:48px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.result-confetti{display:none}}.start-overlay{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;background:#fffcf7c7;backdrop-filter:blur(5px);text-align:center}.start-overlay>div{padding:27px 38px;background:#fffdf7f5;border:3px solid white;border-radius:28px;box-shadow:0 12px 45px #586e7b20}.start-overlay h2{font-size:24px;margin:12px 0 8px}.start-overlay p{font-size:12px;color:#9ba8a8;margin-bottom:22px}.start-overlay .primary-btn{min-width:175px}@media(max-width:560px){.start-overlay>div{padding:20px 28px}.start-overlay h2{font-size:20px}.start-overlay .sprite{width:80px!important;height:80px!important}}.pocket-words{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pocket-words button{display:flex;align-items:center;flex-wrap:wrap;gap:9px;border:1px solid #e9eadf;border-bottom-width:3px;background:#fff;border-radius:16px;padding:14px 12px;text-align:left}.pocket-words b{font-size:16px}.pocket-words small{color:#a7b2a7;font-size:11px}.pocket-words svg{width:17px;height:17px;margin-left:auto;color:#9abcb6}.pocket-btn{border:1px solid #eae7df;width:43px;height:42px}@media(max-width:560px){.play-heading{gap:7px}.pocket-btn{width:35px;height:38px;border-radius:11px}.pocket-words button{padding:11px;gap:6px}.pocket-words b{font-size:14px}.pocket-words .sprite{width:45px!important;height:45px!important}}.campaign-chapters{display:grid;gap:22px;margin:24px 0}.campaign-chapter h3{display:flex;align-items:center;gap:10px;font-size:17px;margin:0 0 12px;color:var(--ink)}.campaign-chapter h3>span{font-size:11px;color:#8c7d60;background:#fbefd4;padding:5px 9px;border-radius:20px;white-space:nowrap}.campaign-chapter .level-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;gap:9px}.campaign-chapter .level-button{min-width:0;min-height:125px;padding:14px 5px;gap:6px}.campaign-chapter .level-button>span{font-size:12px;line-height:1.35}.campaign-chapter .level-button>small{font-size:9px;font-weight:600;max-width:100%;color:#9a9a93;overflow-wrap:anywhere}.campaign-chapter .level-button>b{font-size:24px;display:grid;place-items:center}.chapter-complete{color:#668e74!important;font-weight:800}.result-word-note{font-size:12px;text-align:center;color:#8b978d;line-height:1.8;margin:20px 16px 0}.current-task{font-size:14px!important;background:#f8f3e9;border-radius:16px;padding:15px!important;color:#796c58!important}.start-overlay .eyebrow{display:block;margin-top:10px}.start-overlay h2{margin:8px 0 10px}.start-overlay p{max-width:310px;line-height:1.7;margin:0 auto 24px}.game-controls{flex-wrap:wrap}@media(max-width:560px){.campaign-chapter .level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.campaign-chapters{gap:18px}.campaign-chapter .level-button{min-height:107px;padding:12px 5px}.campaign-chapter h3{font-size:15px}.game-controls .control-caption{font-size:11px}.game-controls .control-btn{padding:10px 12px}}@media(orientation:landscape)and (max-height:820px)and (min-width:600px){body.in-game{overflow:hidden}.in-game .site-header,.in-game .play-sidebar,.in-game .play-save{display:none}.in-game .play-main{padding:5px 12px;max-width:1220px;margin:auto}.in-game .play-heading{height:38px;margin-bottom:5px;gap:10px}.in-game .play-heading .eyebrow{display:none}.in-game .play-heading h1{font-size:17px;display:flex;align-items:center;gap:8px;margin:0}.in-game .play-heading .level-pill{font-size:10px;margin:0;padding:4px 7px}.in-game .play-heading .soft-btn{font-size:11px;padding:7px 10px;min-height:32px}.in-game .pocket-btn{width:34px;height:34px}.in-game .play-layout{display:block}.in-game .game-shell{height:calc(100dvh - 54px);display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.82fr);grid-template-rows:auto auto 1fr auto;column-gap:12px;border-radius:22px;overflow:hidden;box-shadow:0 6px 25px #b69a7215}.in-game .canvas-wrap{grid-column:1;grid-row:1/5;min-height:0;max-height:none;height:100%;width:min(100%,calc((100dvh - 60px) * 720 / 760));aspect-ratio:720/760;margin:auto;background:#fff5e8}.in-game #phaser-root{height:100%}.in-game .mission{grid-column:2;grid-row:1;min-height:76px;padding:12px 12px 10px 4px;gap:10px;border-radius:0;background:transparent}.in-game .mission #mission-en{font-size:18px;line-height:1.35}.in-game .mission small{font-size:11px;line-height:1.6;margin-top:6px}.in-game .mission-sound{width:35px;height:35px;min-width:35px}.in-game .zh-toggle{margin-left:auto;font-size:10px}.in-game .game-hud{grid-column:2;grid-row:2;padding:8px 14px 8px 4px;gap:12px;flex-wrap:wrap}.in-game .game-hud>span{font-size:15px}.in-game .game-hud .goal{min-width:100px;flex:1}.in-game #hearts .sprite{width:20px!important;height:20px!important}.in-game .game-controls{grid-column:2;grid-row:4;padding:8px 14px 10px 4px;min-height:58px;gap:9px;border:0}.in-game .control-btn{font-size:13px;min-height:44px;padding:10px 15px}.in-game .control-caption{font-size:12px;line-height:1.6}.in-game .live-feedback{grid-column:2;grid-row:3;align-self:center;margin:0 20px 0 4px;font-size:12px;line-height:1.7;min-height:0}.in-game .start-overlay>div{padding:12px}.in-game .start-overlay .sprite{width:62px!important;height:62px!important}.in-game .start-overlay h2{font-size:18px;margin:6px 0}.in-game .start-overlay p{font-size:11px;margin-bottom:13px}.in-game .start-overlay .eyebrow{font-size:8px}.in-game .start-overlay .primary-btn{padding:10px 16px;min-height:40px;font-size:13px}.result-modal{padding:14px 20px;width:min(740px,calc(100% - 24px))}.result-modal .modal-heading{padding:0 8px 8px}.result-modal .modal-heading>.eyebrow{display:none}.result-modal .modal-heading h2{font-size:21px;margin:4px 0}.result-modal .modal-heading p{font-size:11px;line-height:1.5}.result-stars{height:47px;margin:6px 0}.result-stars .sprite{width:48px!important;height:48px!important}.result-stars>span:nth-child(2){margin-top:-8px}.result-stats{padding:8px;margin:0 0 10px}.result-stats>div{gap:3px}.result-stats b{font-size:19px}.new-achievements{font-size:11px;margin-bottom:10px}.result-actions{flex-direction:row;margin:0;gap:10px}.result-actions>button{flex:1;min-height:40px;font-size:12px;padding:9px 12px}.result-word-note{margin-top:9px;font-size:10px;line-height:1.5}.result-note{font-size:9px;padding-top:7px;line-height:1.5}}.modal h2:focus{outline:none}.platform-return{max-width:1280px;margin:0 auto;padding:10px 24px 0;line-height:1.5}.platform-return a{display:inline-flex;align-items:center;min-height:28px;font-size:12px;font-weight:600;color:#765b43;text-decoration:none}.platform-return a:hover{text-decoration:underline;text-underline-offset:3px}.platform-return a:focus-visible{outline:3px solid #c17236;outline-offset:3px;border-radius:5px}@media(max-width:600px){.platform-return{padding:7px 16px 0}.platform-return a{font-size:11px;min-height:29px}}:root{--play-ink: #372d43;--play-red: #9e3723;--play-yellow: #ffd072 }body{background:radial-gradient(ellipse at 95% 15%,#ffedca 0,transparent 35%),#fff8e9;color:var(--play-ink)}.platform-return a{min-height:44px;font-size:14px;color:#714a47}.brand b,.greeting h1,.section-heading h2,.card-title h3,.modal-heading h2,.howto h2{color:#392d40}.daily-quest[hidden]{display:none}.greeting{margin-bottom:14px}.greeting h1>span:not(.sprite){color:#645766}.hero{border:2px solid #edd09d;box-shadow:0 5px #efd6ac}.hero-copy h2{color:#482e39;font-size:clamp(28px,4.4vw,56px);line-height:1.15;letter-spacing:-.035em}.hero-copy h2 span{color:#a43e27}.hero-copy p{color:#694d4a;line-height:1.6;font-size:15px;margin-top:12px}.primary-btn,.control-btn.accent{background:#ffd072;color:#5d3014;border:1.5px solid #e7af4c;box-shadow:0 4px #d5a24c}.primary-btn:hover,.control-btn.accent:hover{background:#ffdc8f}.game-card{border:2px solid color-mix(in srgb,var(--game-color),#fff 56%);box-shadow:0 5px color-mix(in srgb,var(--game-color),#fff 52%)}.card-body>p,.card-progress,.card-bottom,.quest-copy small,.play-heading .eyebrow,.play-save{color:#5c4f60}.card-body>p{font-size:14px}.game-tag{color:#3c3441;background:#fffffff2}.card-bottom b{color:#863a23}.game-shell,.modal{border:2px solid #ead5aa}.mission{background:#fff2d2;color:#4c3341}.mission small,.start-overlay p,.howto p,.word-pocket p{color:#604e52}.game-hud .goal{color:#6b4236}.live-feedback{font-size:14px;line-height:1.55;color:#593f43;background:#fff3d8;border-radius:14px;padding:9px 13px}.start-overlay>div{background:#fffbf1;box-shadow:0 5px #dfc191,0 16px 38px #3c2c4b39;border:2px solid #f0d1a4}.start-overlay h2,.result-modal .modal-heading h2{color:#823b28}.modal{max-height:calc(100dvh - 22px);overflow-y:auto;overscroll-behavior:contain;background:#fffcf4}.modal::backdrop{background:#332b45a8}.pause-modal,.result-modal{border-color:#ebc993}.result-modal{background:linear-gradient(155deg,#fff2d2,#fffaf2 52%,#f9ede2)}.result-stats{background:#fff9ed;border-color:#edd6af}.result-stats small,.result-note,.result-word-note,.modal-heading p{color:#684e50}.modal-close,.mission-sound,.pocket-btn,.sound-toggle,.avatar,.in-game #pause-btn,.in-game #back-hub{min-height:44px;min-width:44px}.control-btn{min-height:46px;touch-action:manipulation}.in-game #phaser-root:focus-visible{outline:3px solid #774396;outline-offset:-4px}.filter-tabs button{min-height:44px}@media(max-width:650px){.greeting h1>span:not(.sprite){font-size:13px}.hero-copy p{font-size:13px}.platform-return{padding-top:0}.card-progress,.card-bottom,.play-save{font-size:12px}.play-save{line-height:1.6}.game-shell .live-feedback,.start-overlay p,.modal-heading p{font-size:14px}.result-modal .result-actions button,.pause-actions button{min-height:44px}}button.game-screen-button{appearance:none;display:inline-grid;flex:0 0 44px;width:44px;height:44px;place-items:center;padding:9px;border:1px solid #c7d8df;border-radius:13px;color:#345d70;background:#fff;cursor:pointer;touch-action:manipulation}.game-screen-button svg{width:21px;height:21px}.game-screen-button:focus-visible,.game-exit-dialog button:focus-visible{outline:3px solid #2c719a;outline-offset:2px}dialog.game-exit-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(350px,calc(100% - 32px));height:fit-content;padding:23px;border:1px solid #d7e3df;border-radius:20px;color:#304d55;background:#fffefa;box-shadow:0 14px 50px #19343a42;text-align:left}.game-exit-dialog::backdrop{background:#11242fb0}.game-exit-dialog h2{margin:0;color:inherit;font-size:20px}.game-exit-dialog p{margin:10px 0 20px;font-size:14px;line-height:1.5;color:#526767}.game-exit-dialog>div{display:flex;gap:10px}.game-exit-dialog button{flex:1;min-height:44px;border:1px solid #cbd8d4;border-radius:12px;background:#fff;color:#364f57;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.game-exit-dialog button[data-continue]{border-color:#287865;background:#287865;color:#fff}html.game-expanded,html.game-expanded body{overflow:hidden;overscroll-behavior:contain}html.game-expanded .ed-student-game-bar,html.game-expanded .site-header,html.game-expanded .play-sidebar,html.game-expanded .play-save{display:none}html.game-expanded .play-main{position:fixed;z-index:15;inset:0;width:100%;height:100%;height:100dvh;max-width:none;margin:0;box-sizing:border-box;padding:max(5px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));overflow:auto;overscroll-behavior:contain;background:#fffaf2}html.game-expanded .play-heading,html.game-expanded .play-top{position:sticky;z-index:8;top:0;min-height:46px;max-width:none;height:auto;margin:0 auto 4px;gap:8px;background:#fffaf2}html.game-expanded .play-heading .eyebrow{display:none}html.game-expanded .play-heading h1{font-size:clamp(13px,2vw,20px)}html.game-expanded .play-layout{display:block}html.game-expanded .in-game .game-shell{max-width:1050px;margin:auto}html.game-expanded .in-game .canvas-wrap{min-height:0}html.game-expanded .playing .game-hud{margin:2px auto;max-width:760px}html.game-expanded .playing .game-prompt{min-height:55px;padding-block:5px}html.game-expanded .playing .game-feedback{min-height:0;margin:6px auto;padding:5px 10px}html.game-expanded .playing .game-stage{width:min(100%,calc((100dvh - 169px)*.85714),720px)}html.game-expanded .playing .builder-stage,html.game-expanded .playing .has-maze-legend{width:min(100%,580px)}@media(orientation:landscape)and (min-width:580px){html.game-expanded .in-game .game-shell{height:calc(100dvh - 64px - env(safe-area-inset-top) - env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1.55fr) minmax(200px,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:0 10px}html.game-expanded .in-game .canvas-wrap{grid-area:1 / 1 / 5 / 2;width:100%;height:100%;max-height:none}html.game-expanded .mission{grid-area:1 / 2;min-height:0}html.game-expanded .in-game .game-hud{grid-area:2 / 2}html.game-expanded .live-feedback{grid-area:3 / 2;align-self:center}html.game-expanded .game-controls{grid-area:4 / 2;flex-wrap:wrap}}@media(orientation:landscape)and (min-width:580px)and (max-height:700px){html.game-expanded .playing .play-main{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.35fr);grid-template-rows:auto auto auto 1fr;gap:4px 12px;align-content:start}html.game-expanded .playing .play-top{grid-area:1 / 1;width:100%;align-self:start}html.game-expanded .playing .game-hud{grid-area:2 / 1;width:100%}html.game-expanded .playing .game-prompt{grid-area:3 / 1}html.game-expanded .playing .game-feedback{grid-area:4 / 1;align-self:start}html.game-expanded .playing .game-stage{grid-area:1 / 2 / 5 / 3;align-self:start;width:min(100%,calc((100dvh - 18px)*.85714))}html.game-expanded .playing .builder-stage,html.game-expanded .playing .has-maze-legend{width:100%}}@media(max-width:520px){html.game-expanded .play-heading .level-pill{display:none}html.game-expanded .play-heading{gap:4px}html.game-expanded .play-heading>div{min-width:0}html.game-expanded .in-game .game-shell{border-radius:16px}html.game-expanded .in-game .canvas-wrap{max-height:calc(100dvh - 245px)}html.game-expanded .in-game .mission{min-height:0;padding:6px 10px}html.game-expanded .in-game .game-controls{min-height:48px;padding:5px}}
