@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/dm-sans-latin.woff2') format('woff2')}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/fredoka-latin.woff2') format('woff2')}
:root{--ink:#293f3b;--green:#256957;--paper:#fcf9f1;--muted:#6c7872;--line:#e4e5da;--yellow:#fbd36b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;min-height:46px;border-radius:14px;font-weight:600;transition:transform .15s,background .15s}button:hover{transform:translateY(-2px)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9369de;outline-offset:4px}button:disabled{opacity:.4;cursor:default;transform:none}h1,h2,h3,.brand{font-family:Fredoka,'Arial Rounded MT Bold',sans-serif;font-weight:500}h1{font-size:clamp(34px,4.2vw,58px);line-height:1.08;letter-spacing:-1.5px;margin:12px 0}h2{font-size:32px;margin:0 0 12px}h3{font-size:24px;margin:10px 0}p{line-height:1.6}em{font-style:normal;color:var(--green)}header{max-width:1450px;margin:auto;height:98px;padding:18px 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:7px;font-size:32px;letter-spacing:-1px}.brand-icon{background:var(--green);color:var(--yellow);width:38px;height:41px;border-radius:13px;display:grid;place-items:center;transform:rotate(-9deg);font-size:38px}.badge{background:#f9dfa0;font:700 12px 'DM Sans';padding:6px;border-radius:8px;letter-spacing:0}nav{display:flex;gap:8px;background:#f0f0e7;padding:5px;border-radius:19px}nav button{padding:0 22px}nav button.active{background:white;box-shadow:0 2px 5px #253c3510}.quiet{font-size:13px;background:#e7eee2;padding:0 15px}main{max-width:1320px;margin:0 auto;padding:32px 40px 20px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--green)}.intro p{margin:10px 0 0;color:var(--muted)}.step-note{font-size:13px;display:flex;gap:12px;align-items:center}.step-note b{display:inline-grid;place-items:center;border-radius:50%;width:28px;height:28px;background:#e4eddd;margin-right:5px}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.drawing-panel{border:1px solid var(--line);background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 8px 30px #293f3b04}.canvas-top{height:58px;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.canvas-top span{color:var(--muted)}.canvas-top button{min-height:38px;width:40px;font-size:20px}.draw-area{height:365px;position:relative;margin:0 16px;background-color:#fcfcf8;background-image:radial-gradient(#d9dfd5 1px,transparent 1px);background-size:20px 20px;border-radius:15px;overflow:hidden}#drawing{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.canvas-hint{position:absolute;bottom:12px;left:0;right:0;text-align:center;font-size:12px;color:#78857d;pointer-events:none}.tools{display:flex;gap:7px;justify-content:center;padding:14px 12px 8px;flex-wrap:wrap}.tools button{min-width:62px;background:#f5f5ef;padding:8px 10px;font-size:12px;display:flex;align-items:center;gap:6px}.tools button span{font-size:21px}.tools button.selected{background:#e4eee2;box-shadow:inset 0 0 0 2px #71927d}.palette{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 12px 18px;flex-wrap:wrap}.swatch{width:30px;min-height:30px;border:4px solid white;box-shadow:0 0 0 1px #eee;border-radius:50%;font-size:0}.swatch.selected{box-shadow:0 0 0 2px var(--ink);transform:scale(1.12)}input[type=range]{width:90px;accent-color:var(--green)}.side{display:flex;flex-direction:column;gap:16px}.preview-card{background:#edf1e5;border-radius:24px;padding:20px;text-align:center;position:relative;overflow:hidden}.preview-card .eyebrow{font-size:10px}.preview-stage{height:190px;display:grid;place-items:center;perspective:700px;position:relative}.preview-stage:after{content:'';position:absolute;width:120px;height:15px;bottom:14px;background:#bccbb2;border-radius:50%;filter:blur(7px)}#preview{width:180px;height:180px;object-fit:contain;z-index:1;filter:drop-shadow(0 7px 0 #32564135);transition:transform .4s}.puffy #preview{transform:rotateY(-22deg) rotateX(10deg);filter:drop-shadow(1px 1px 0 #b1c49b) drop-shadow(2px 2px 0 #9bb487) drop-shadow(3px 3px 0 #809e70) drop-shadow(5px 8px 2px #294e3930)}.preview-card input{font-family:Fredoka;font-size:25px;text-align:center;width:100%;border:0;background:transparent;color:var(--ink);padding:8px}.toggle{display:inline-flex;padding:3px;background:#dfe6d6;border-radius:12px}.toggle button{min-height:34px;padding:0 16px;font-size:12px}.toggle button.selected{background:white}.primary{background:var(--green);color:white;padding:13px 24px;border-radius:16px;box-shadow:0 4px 0 #194c40}.primary:hover{background:#1e5c4c}.primary.wide{width:100%}.secondary{background:white;border:1px solid var(--line);padding:10px 18px}.tip{background:#fff1ce;padding:18px;border-radius:18px;font-size:13px;line-height:1.6}.tip strong{display:block;margin-bottom:5px}.under-studio{display:flex;justify-content:space-between;margin:20px 0;font-size:12px;color:var(--muted)}.under-studio button{min-height:32px;font-size:12px}.game-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}.game-card{background:white;border:1px solid var(--line);border-radius:24px;padding:20px;text-align:left}.game-art{height:190px;border-radius:17px;display:grid;place-items:center;position:relative;overflow:hidden}.game-art svg{width:90%;height:90%}.game-card p{font-size:14px;color:var(--muted);min-height:45px}.game-card .primary{width:100%}.card-tag{font-size:10px;letter-spacing:1.5px;font-weight:bold;margin-top:20px;display:block}.arcade-buddy{display:flex;gap:12px;align-items:center;font-size:13px;background:#edf1e5;border-radius:16px;padding:8px 16px}.arcade-buddy img{width:50px;height:50px;object-fit:contain}.game-shell{max-width:800px;margin:auto}.game-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:8px}.game-head h2{margin:0;font-size:26px}.game-wrap{position:relative;background:#eaf0e2;border-radius:22px;overflow:hidden}#game{display:block;width:100%;aspect-ratio:1.6;touch-action:none}.game-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f9fbf2ed;text-align:center;padding:20px}.game-overlay h2{font-size:38px}.game-overlay p{max-width:420px}.game-overlay[hidden]{display:none}.controls{display:flex;justify-content:center;gap:12px;margin:18px 0}.controls button{font-size:24px;background:white;border:1px solid #d9e0d2;min-width:65px;min-height:55px;touch-action:none}.controls .jump{font-size:16px;padding:10px 25px}.game-tip{text-align:center;font-size:13px;color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.buddy-card{background:white;border:1px solid var(--line);padding:18px;border-radius:20px;text-align:center}.buddy-card img{width:150px;height:150px;object-fit:contain}.buddy-card button{padding:8px;font-size:12px}.empty{text-align:center;padding:50px}.empty p{color:var(--muted)}footer{max-width:1240px;margin:18px auto;padding:15px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:#7b857b;font-size:11px}footer button{font-size:11px;min-height:40px}dialog{border:1px solid #e4e7db;background:var(--paper);color:var(--ink);border-radius:28px;max-width:680px;width:92%;padding:38px;box-shadow:0 25px 100px #20352b30}dialog::backdrop{background:#243c365c;backdrop-filter:blur(6px)}.welcome{text-align:center}.welcome h1{font-size:48px}.welcome p{color:var(--muted)}.age-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0}.age-options button{background:#e9efdf;padding:22px 12px;display:flex;flex-direction:column;align-items:center;gap:10px;border:2px solid transparent}.age-options button:last-child{background:#f3e9fa}.age-options button:hover{border-color:var(--green)}.age-art{font-size:48px}.age-options strong{font-family:Fredoka;font-size:23px}.age-options small{font-size:12px;font-weight:400}.fine{font-size:11px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;padding:14px 24px;border-radius:16px;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90%;text-align:center;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){main{padding:24px}.studio-grid{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.step-note{display:none}header{padding:12px 24px}.brand{font-size:26px}nav button{padding:0 14px}.draw-area{height:345px}.preview-stage{height:170px}footer{margin:15px 24px}}@media(max-width:650px){header{height:auto;flex-wrap:wrap;padding:14px 18px}.brand{font-size:25px}nav{order:3;width:100%;justify-content:center}nav button{flex:1}.quiet{font-size:11px}main{padding:24px 16px}.studio-grid{grid-template-columns:1fr}.side{display:grid;grid-template-columns:1fr 1fr;align-items:center}.preview-card{grid-row:span 2;padding:12px}.preview-stage{height:130px}#preview{width:130px;height:130px}.tip{display:none}.draw-area{height:320px}.tools button{min-width:52px;font-size:11px}.palette{gap:9px}.game-cards{grid-template-columns:1fr}.game-art{height:160px}.intro{gap:10px}.arcade-buddy{padding:8px}.arcade-buddy span{display:none}.age-options{gap:10px}.age-options strong{font-size:20px}dialog{padding:25px 18px}.welcome h1{font-size:38px}.under-studio{flex-wrap:wrap;gap:10px}.game-head h2{font-size:20px}.game-head button{font-size:12px}.controls{gap:8px}.controls button{min-width:55px}.game-overlay h2{font-size:28px}.game-overlay p{font-size:13px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep the drawing's proportions identical in the studio and every game. */
#drawing{width:auto;max-width:100%;height:100%;aspect-ratio:1;margin:auto}.swatch{width:44px;min-height:44px;border-width:8px}.canvas-top button{min-height:44px;min-width:44px}.toggle button{min-height:44px}.palette{gap:7px}.draw-area{height:365px}@media(max-width:650px){.draw-area{height:min(365px,calc(100vw - 66px))}.palette{gap:3px}}

.draw-area{background:#f8f9f3}#drawing{background-color:#fcfcf8;background-image:radial-gradient(#d9dfd5 1px,transparent 1px);background-size:20px 20px;border-left:1px dashed #e1e6da;border-right:1px dashed #e1e6da}.tools button{min-width:58px}.game-card .primary{min-height:50px}
.canvas-top>div{display:flex;flex-shrink:0}.canvas-top strong{line-height:1.35}.canvas-top{gap:8px}@media(max-width:650px){.canvas-top{padding:8px 12px;min-height:64px;height:auto}.canvas-top strong{font-size:11px}}
@media(min-width:900px) and (max-height:900px){header{height:80px}main{padding-top:22px}.intro{margin-bottom:20px}.intro h1{font-size:44px}.intro p{margin-top:6px}.draw-area{height:300px}.preview-stage{height:145px}#preview{height:145px;width:145px}.preview-card{padding:16px}.tip{padding:13px}.under-studio{margin:12px 0}footer{margin-top:5px}}
/* Creative studio */
.editor-grid{grid-template-columns:minmax(0,1fr) 270px;align-items:start}.editor-intro h1{font-size:42px}.editor-intro{margin-bottom:22px}.editor-modes{gap:4px}.canvas-top .editor-modes button{width:auto;font-size:13px;padding:0 12px}.editor-modes .selected,.editing-bar .selected,.tool-presets .selected{background:#e3eddf;box-shadow:inset 0 0 0 1px #6e967b}.editor-grid .canvas-top{height:62px;border-bottom:1px solid #eef0e7;padding:8px 12px}.editing-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px;background:#fafbf5}.editing-bar button{padding:0 14px;font-size:13px}.editing-bar>span{font-size:11px;color:#65796e}.tool-presets{display:flex;gap:6px;flex-wrap:wrap;padding:10px 16px}.tool-presets button{display:flex;gap:7px;align-items:center;padding:0 12px;font-size:12px;background:#f6f6f0}.tool-presets button.selected{background:#e3eddf}.tool-presets button span{font-size:22px}.brush-settings{display:flex;gap:22px;align-items:center;flex-wrap:wrap;padding:2px 20px 12px}.brush-settings label{display:flex;align-items:center;gap:10px;font-size:11px}.brush-settings output{min-width:25px}.editor-paper{height:420px;margin:0 16px;background:#edf0e6;display:flex;justify-content:center}.editor-paper #drawing{background-color:#fffef9;background-image:radial-gradient(#dce3d7 1px,transparent 1px);border:0;box-shadow:0 2px 12px #293f3b0a}.editor-hint{padding:12px 20px 0;font-size:12px;color:#5f7467;min-height:40px;text-align:center}.editor-grid .palette{padding:8px 12px 14px;gap:8px}.custom-colour{width:44px;height:44px;display:grid;place-items:center;position:relative;border:1px solid #bdcbbb;border-radius:50%;overflow:hidden;font-size:22px;cursor:pointer}.custom-colour input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.editor-side .preview-stage{height:150px}.editor-side #preview{width:150px;height:150px}.editor-side .preview-card{padding:16px}.editor-side{gap:14px}.layer-panel{background:white;border:1px solid var(--line);border-radius:18px;padding:14px}.layer-panel summary{cursor:pointer;font-size:13px;font-weight:700;min-height:30px}.layer-panel summary span{float:right;background:#eef0e7;border-radius:6px;padding:2px 7px}.layer-panel p{font-size:11px;color:var(--muted);margin:4px 0 10px}.layer-row{display:flex;align-items:center;gap:6px}.layer-row>button:first-child{display:flex;gap:9px;align-items:center;flex:1;text-align:left;font-size:12px;min-width:0;padding:3px 7px}.layer-row canvas{width:36px;height:36px;background:#f2f4ed;border-radius:7px}.layer-row>button:last-child{min-width:44px;min-height:44px;font-size:17px}.layer-row .selected{background:#e8efdf}.inspector{padding:17px;background:#f7edda;border-radius:18px}.inspector .eyebrow{font-size:9px;letter-spacing:1.5px}.inspector p{font-size:12px;margin-bottom:0}.inspector label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:15px}.inspector input{width:150px}.object-actions{display:flex;flex-wrap:wrap;margin-top:10px;gap:4px}.object-actions button{background:#fffbf3;font-size:11px;flex:1;padding:0 7px;white-space:nowrap}.help-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.help-steps p{background:#edf1e5;border-radius:14px;padding:18px;margin:0;font-size:13px}.help-steps b{display:block;margin-bottom:8px;font-family:Fredoka;font-size:20px}.editor-help{max-width:720px}.editor-help>.primary{width:100%}@media(min-width:900px) and (max-height:900px){.editor-intro h1{font-size:34px}.editor-intro p{font-size:13px}.editor-paper{height:340px}.editor-side .preview-stage{height:100px}.editor-side #preview{width:110px;height:110px}.editor-side .preview-card{padding:12px}.editor-grid .canvas-top{height:56px}.tool-presets{padding-top:6px;padding-bottom:6px}.editor-side .preview-card input{font-size:22px}}
@media(max-width:900px){.editor-grid{grid-template-columns:minmax(0,1fr) 220px;gap:14px}.editor-paper{height:380px}.editor-grid .canvas-top{height:auto;flex-wrap:wrap}.canvas-top .editor-modes button{padding:0 10px}.editing-bar{padding:6px 10px}.editing-bar button{padding:0 10px}.editing-bar>span{display:none}.tool-presets{padding:10px;gap:5px}.tool-presets button{padding:0 9px}.editor-grid .palette{gap:5px}.inspector input{width:120px}}@media(max-width:650px){.editor-grid{grid-template-columns:1fr}.editor-intro h1{font-size:34px}.editor-intro{align-items:flex-start}.editor-intro>.secondary{font-size:11px;padding:8px;min-width:70px}.editor-paper{height:min(400px,calc(100vw - 66px))}.editor-side{display:grid;grid-template-columns:1fr 1fr}.editor-side .preview-card{grid-row:span 2}.editor-side .layer-panel{grid-column:1/-1}.editor-side .inspector{grid-column:1/-1}.editor-grid .canvas-top{justify-content:center;gap:3px}.canvas-top .editor-modes button{padding:0 8px}.editor-grid .palette{gap:4px}.editor-grid .palette .swatch{width:36px;min-height:44px;border-left-width:4px;border-right-width:4px}.editor-hint{font-size:11px}.help-steps{grid-template-columns:1fr}.brush-settings{gap:8px;padding:4px 12px 10px}.brush-settings input{width:85px}}
.sculpture-stage{height:185px!important}.sculpture-stage:after{bottom:0;opacity:.45}.sculpture-stage #preview{filter:none;transform:none}.sculpture-stage #sculpture{width:100%;height:100%;position:absolute;inset:0;z-index:2;touch-action:none;cursor:grab}.sculpture-stage #sculpture:active{cursor:grabbing}.sculpture-tools>span{font-size:10px;color:#5c7164;display:block;margin:10px 0}.sculpture-tools label{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px}.sculpture-tools label input{width:100px}.sculpture-tools>div{display:flex;justify-content:center;gap:4px}.sculpture-tools button{font-size:11px;padding:0 10px;min-height:44px}.sculpture-tools[hidden],#sculpture[hidden],#preview[hidden]{display:none}.editor-side .preview-card input{font-size:23px}@media(max-height:900px) and (min-width:900px){.sculpture-stage{height:140px!important}}@media(max-width:650px){.sculpture-stage{height:140px!important}.sculpture-tools>div{flex-wrap:wrap}.sculpture-tools button{padding:0 7px}.sculpture-tools label{gap:3px}.sculpture-tools label input{width:70px}}
.playground-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#eef1e5;border-radius:20px}.world-picker{display:flex;gap:4px}.world-picker button{padding:0 13px;font-size:13px}.world-picker .selected{background:#fffdf6;box-shadow:0 2px 4px #203c3510}.passport{display:flex;flex-direction:column;gap:5px}.passport strong{font-family:Fredoka;font-weight:500;font-size:19px}.passport span{font-size:11px;color:#687b6c}.playground-bar>.secondary{font-size:12px;background:#fafbf4}.game-filters{display:flex;gap:6px;margin:22px 0 0}.game-filters button{padding:0 18px;font-size:13px}.game-filters .selected{background:#e4ebdc}.expanded-games{margin-top:18px}.expanded-games .game-art{height:155px}.expanded-games .game-card h3{font-size:25px}.expanded-games .game-card p{min-height:65px}.completed-stamp{position:absolute;bottom:9px;right:9px;border-radius:10px;padding:7px 10px;background:#ffffffe0;font-size:11px;color:#426e56}.game-overlay{gap:4px}.game-overlay p{margin:6px 0 15px}.game-overlay .hear-button{font-size:12px;margin-top:6px;padding:0 15px}.direction-demo{text-align:center;font-size:25px;line-height:1.1;color:#628c70;margin-bottom:10px}.direction-demo span{display:inline-block;background:#e4ebd9;border-radius:50%;padding:3px 8px}.slide-demo{font-size:30px;margin-bottom:12px;display:flex;gap:25px;align-items:center;color:#628c70}.slide-demo>span{animation:hint-slide 2s ease-in-out infinite}.tap-demo{font-size:35px;position:relative;padding:5px 35px;margin-bottom:12px}.tap-demo span{position:absolute;left:30px;top:0;color:#8eac7f;font-size:55px;animation:tap-ring 2s ease-in-out infinite}.win-stamp{font-size:45px;color:#b1842d;background:#f5df94;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;animation:stamp-in .5s ease-out}.game-overlay #restNow{font-size:12px;color:#6b7b70}.game-shell .game-wrap{box-shadow:0 10px 40px #294f3610}.game-shell .controls button:active{background:#dbe8cf;transform:scale(.96)}@keyframes hint-slide{50%{transform:translateX(8px)}}@keyframes tap-ring{50%{transform:scale(1.2);opacity:.3}}@keyframes stamp-in{from{transform:scale(.3) rotate(-30deg);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:900px){.playground-bar{flex-wrap:wrap}.expanded-games{grid-template-columns:repeat(2,1fr)}.arcade-intro h1{font-size:40px}}@media(max-width:650px){.expanded-games{grid-template-columns:1fr}.playground-bar{padding:14px;gap:12px}.world-picker{width:100%;justify-content:center}.world-picker button{flex:1}.passport strong{font-size:17px}.passport span{font-size:10px}.game-filters button{padding:0 12px;font-size:12px}.game-overlay h2{font-size:24px}.game-overlay p{font-size:11px;line-height:1.4;margin:2px 0 6px}.game-overlay{padding:12px}.game-overlay .direction-demo{font-size:16px;margin-bottom:3px}.slide-demo{font-size:23px;margin-bottom:4px}.tap-demo{font-size:23px;margin-bottom:2px}.tap-demo span{font-size:35px}.game-overlay .primary{min-height:42px;padding:8px 18px}.game-overlay .hear-button{min-height:32px;margin-top:0}.win-stamp{width:40px;height:40px;font-size:28px}.game-overlay #other,.game-overlay #restNow{min-height:30px}.game-overlay .game-tip{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important}}
.editor-side .inspector.has-selection{order:-1;background:#eee5f7;border:1px solid #d4bde6}.editor-grid .palette .swatch{min-width:44px}.editor-intro h1{font-size:34px}.editor-intro p{margin-top:3px;font-size:13px}.editor-intro{margin-bottom:14px}.editor-paper{height:450px}@media(min-width:900px) and (max-height:900px){body:has(.editor-grid) main{padding-top:12px}.editor-intro h1{font-size:28px;margin:6px 0}.editor-intro .eyebrow{font-size:9px}.editor-intro p{font-size:12px}.editor-intro{margin-bottom:12px}.editor-paper{height:380px}.editor-grid .canvas-top{height:52px}.editing-bar{padding-top:3px;padding-bottom:3px}.tool-presets{padding-top:4px;padding-bottom:4px}.brush-settings{padding-bottom:8px}.sculpture-stage{height:155px!important}.editor-grid .palette{padding-bottom:8px;padding-top:3px}.editor-hint{padding-top:8px;min-height:30px}}
@media(max-width:900px){.editor-paper{height:380px}}@media(max-width:650px){.editor-paper{height:min(400px,calc(100vw - 66px))}.editor-intro h1{font-size:29px}.editor-grid .palette .swatch{width:44px;min-width:44px;border-width:8px}.editor-grid .palette{gap:4px}.editor-side .inspector.has-selection{order:-1;grid-column:1/-1}}
.little-guide{display:flex;align-items:center;gap:9px;background:#edf1e4;padding:7px 14px;border-radius:17px;margin-bottom:16px}.little-guide button{display:flex;align-items:center;gap:10px;padding:7px 17px;background:#fffdf6;min-height:52px}.little-guide button>span{font-size:27px;color:#528169}.little-guide b{font-family:Fredoka;font-weight:500;font-size:17px}.little-guide .step-arrow{color:#98aa91}.little-guide #readAloud{margin-left:auto;background:transparent;font-size:12px}.creative-prompt{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:4px 14px;background:#f4eddd;border-radius:15px;font-size:12px}.creative-prompt>span{flex:1;line-height:1.5}.creative-prompt button{font-size:11px;padding:0 12px;white-space:nowrap}.recipe-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.recipe-options button{display:flex;flex-direction:column;align-items:center;gap:15px;background:#e9efdf;padding:24px 12px}.recipe-options button:nth-child(2){background:#e4edf3}.recipe-options button:nth-child(3){background:#f0e6f5}.recipe-options button span{font-size:55px}.recipe-options strong{font-family:Fredoka;font-size:21px;font-weight:500}.recipe-options small{font-size:11px;font-weight:400}.editor-help .hear-button{width:100%;font-size:13px}.little-guide button:active{background:#dce8ce}@media(max-width:650px){.creative-prompt{flex-wrap:wrap;padding-top:10px}.creative-prompt>span{flex-basis:100%}.little-guide{padding:7px;gap:5px;flex-wrap:wrap}.little-guide button{padding:6px 10px;gap:6px;flex:1}.little-guide b{font-size:14px}.little-guide #readAloud{min-height:44px;flex-basis:100%;justify-content:center}.little-guide .step-arrow{display:none}.recipe-options{gap:7px}.recipe-options button{padding:18px 6px}.recipe-options strong{font-size:17px}.recipe-options button span{font-size:40px}}
.inspector select{font:inherit;min-height:44px;border:1px solid #c9b7da;border-radius:9px;padding:0 10px;background:#fffafc;color:var(--ink)}
.power-guide{background:#f0eafa;border:1px solid #e4d8ed;border-radius:14px;padding:10px 15px;margin-bottom:14px}.power-guide summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;min-height:32px;font-weight:600}.power-guide summary>span:first-child:before{content:'▸ ';color:#8a709d}.power-guide[open] summary>span:first-child:before{content:'▾ '}.power-guide p{font-size:12px;margin:7px 0}.power-guide>div{display:flex;gap:8px;flex-wrap:wrap}.power-guide button{background:#fffafc;padding:10px 14px;font-size:11px;flex:1}.power-chip{display:inline-block;padding:5px 10px;color:#806d8c;font-weight:400;font-size:10px}.power-chip.earned{color:#544163;background:#e0d0ee;border-radius:8px;font-weight:700}.active-power{font-size:11px;background:#eee5f5;padding:5px 10px;border-radius:8px;color:#705784}@media(max-width:650px){.power-guide summary{align-items:flex-start;flex-wrap:wrap}.power-chip{padding:5px 8px}.power-guide button{flex-basis:100%}.active-power{font-size:9px;padding:2px 6px}}
@media(max-width:650px){.game-wrap:has(.game-overlay:not([hidden])){min-height:310px}.game-overlay .win-stamp{flex-shrink:0}.game-overlay{overflow-y:auto}.game-overlay>.primary{flex-shrink:0}}
/* Adventure expansion */
.game-title-logo{display:block;width:100%;height:auto;max-height:125px;object-fit:contain}.game-card h3{margin:12px 0 6px}.compact-logo{width:260px;max-height:78px}.start-logo{max-width:340px;max-height:96px;margin:0 auto 4px}.chapter-picker{margin:8px 0 15px}.chapter-picker label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#476c5b}.chapter-picker select{min-height:44px;border:1px solid #cbd8c9;border-radius:12px;padding:8px;background:#fffdf6;color:#344641;max-width:100%;width:100%;font:inherit}.creative-collection{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;background:#f0ead9;padding:18px 22px;border-radius:18px;margin:18px 0}.creative-collection small{width:100%;color:#637365}.audio-settings{margin:12px 0;border:1px solid #d6dfd1;border-radius:15px;padding:10px 16px;background:#fafbf3}.audio-settings summary{cursor:pointer;font-weight:700;min-height:28px}.audio-settings>div{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-top:12px}.audio-settings button,.audio-settings select,.accessible-play button{min-height:44px;border:1px solid #cfdbcc;border-radius:10px;padding:9px 14px;background:#fff;color:#344641}.audio-settings label{display:flex;align-items:center;gap:8px}.quest-ribbon{display:flex;justify-content:space-between;gap:15px;border-radius:12px;background:#e9efdf;padding:12px 16px;margin-bottom:12px;font-size:13px;font-weight:700}.chapter-note{font-size:12px;color:#647568}.return-quest{padding:16px 20px;background:#e9e2f3;border-radius:16px;display:flex;gap:16px;align-items:center;justify-content:space-between;margin:15px 0}.gift-note{background:#f4ecd4;padding:8px 14px;border-radius:12px!important;font-size:14px!important}.discovered-palette{display:flex;align-items:center;gap:10px;margin:20px 0;flex-wrap:wrap}.discovered-palette button{width:44px;height:44px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #cbd5c8}.accessible-play{margin:12px 0;padding:10px;border:1px solid #ccd8c8;border-radius:12px}.accessible-play summary{min-height:40px;cursor:pointer}.accessible-play>div{display:flex;flex-wrap:wrap;gap:8px}.game-overlay{overflow-y:auto;overscroll-behavior:contain;padding:18px;gap:9px}.game-overlay h2{margin:4px 0}.game-overlay p{margin:4px 0;max-width:490px}.game-overlay button{min-height:44px;flex-shrink:0}.game-overlay .direction-demo,.game-overlay .slide-demo,.game-overlay .tap-demo{display:none}.game-overlay .start-logo~h2{font-size:24px}.game-overlay .win-stamp{font-size:32px;width:48px;height:48px;line-height:48px}.controls button{touch-action:none}.game-shell{max-width:1000px}.game-card .primary{margin-top:auto}.game-card{display:flex;flex-direction:column}.game-card>p{flex:1}
@media(max-width:650px){.compact-logo{width:155px;max-height:54px}.game-head{gap:7px}.game-head h2{margin:0;min-width:0}.game-head>button{padding:8px;font-size:12px}.quest-ribbon{flex-direction:column;gap:5px;padding:9px 12px}.return-quest{flex-direction:column;align-items:stretch}.game-overlay{padding:12px;justify-content:flex-start}.start-logo{max-height:60px}.game-overlay .start-logo~h2{font-size:19px}.game-overlay p{font-size:13px}.creative-collection{padding:14px}.audio-settings label{flex-wrap:wrap}.controls{flex-wrap:wrap}}
.controls #launchBall{background:#286d58;color:#fff;font-size:18px;padding:12px 22px;min-width:135px}.controls #glideButton{font-size:16px;padding:12px 20px;min-width:145px;color:#5f487a;background:#eee7f5}.controls #glideButton:disabled{opacity:.5}.game-head h2{line-height:1}.game-overlay .start-logo{flex-shrink:0}
.celebrating-buddy{width:74px;height:74px;object-fit:contain;animation:buddy-cheer .7s ease-in-out infinite alternate;flex-shrink:0}.celebrating-buddy~.win-stamp{display:none}@keyframes buddy-cheer{from{transform:translateY(3px) rotate(-7deg)}to{transform:translateY(-5px) rotate(7deg)}}@media(prefers-reduced-motion:reduce){.celebrating-buddy{animation:none}}
@media(min-width:651px) and (min-height:650px){.game-shell .game-wrap{max-width:min(100%,calc((100svh - 390px)*1.6));margin-inline:auto}.game-shell .controls{margin-top:12px}}
