*{box-sizing:border-box}html,body{margin:0;min-height:100%;overflow-x:hidden}body{font-family:ui-rounded,'Trebuchet MS',system-ui,-apple-system,'Segoe UI',sans-serif;color:#fff;background:#0d203f}button{font:inherit;cursor:pointer}button:focus-visible,input:focus-visible{outline:4px solid #fff5a0;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.47}img{display:block;max-width:100%}.shell{width:min(1280px,100%);margin:0 auto;min-height:100svh;padding:15px clamp(10px,2.2vw,24px) 10px;display:flex;flex-direction:column}.topbar{height:66px;border-radius:22px;border:1px solid #ffffff55;background:linear-gradient(110deg,#1a255edb,#28256ab0);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;box-shadow:0 12px 28px #05061e55;position:relative;z-index:4}.brand{display:flex;align-items:center;gap:10px}.brand-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#8e71ff,#5039cf);border:2px solid #d2b7ff;color:#ffdf69;font-size:25px;text-shadow:0 2px 4px #512eb2}.brand-text b{display:block;letter-spacing:.2px;font-size:16px}.brand-text small{display:block;font-size:9px;letter-spacing:1.3px;opacity:.85;margin-top:2px;font-weight:800}.nav-actions{display:flex;gap:9px}.round-btn{height:41px;min-width:41px;border-radius:14px;border:2px solid #e3deff;box-shadow:inset 0 2px 0 #ffffff88,0 5px 0 #31166f;background:linear-gradient(#906bff,#5136cf);color:#fff;font-size:22px;font-weight:1000;display:grid;place-items:center;padding:0 10px;transition:transform .14s}.round-btn:active,.btn:active,.world-card:active{transform:translateY(3px) scale(.99);box-shadow:none}.fineprint{text-align:center;font-size:10px;font-weight:600;opacity:.65;padding:12px 3px 2px}.home-stage,.hub,.play-stage,.finish-scene{position:relative;isolation:isolate;overflow:hidden;flex:1;border:2px solid #e9d2ff75;margin-top:14px;border-radius:30px;background:linear-gradient(#26285f33,#141b5099),url('assets/premium-world.webp') center/cover no-repeat;box-shadow:0 25px 65px #0007,inset 0 0 0 3px #c7a9f825}.home-stage{min-height:min(700px,calc(100svh - 118px));display:flex;align-items:center;padding:65px 6% 95px}.home-stage:after{content:'';z-index:-1;inset:0;position:absolute;background:linear-gradient(90deg,#181643c9 0%,#1116489c 43%,#0e145100 78%),linear-gradient(0deg,#140a49ba,transparent 35%)}.home-copy{position:relative;z-index:3;width:55%;max-width:650px}.tiny-ribbon{font-size:11px;letter-spacing:2.2px;color:#fff0a2;font-weight:900;text-shadow:0 3px 6px #0c1127;display:inline-block}.wordmark{display:block;margin:15px 0 5px;font-weight:1000;font-size:clamp(53px,7vw,98px);line-height:.95;letter-spacing:-4px;color:#fff1be;-webkit-text-stroke:2px #5f2959;text-shadow:0 3px 0 #fff,0 7px 0 #e37f43,0 12px 0 #743481,0 19px 24px #000a}.wordmark span{color:#90f8d4}.subheading{font-size:clamp(14px,1.7vw,22px);font-weight:1000;color:#ffe29c;background:#612c91c7;border-radius:30px;display:inline-block;padding:6px 18px;box-shadow:0 3px 0 #ffc95a}.home-description{font-size:clamp(14px,1.4vw,18px);max-width:510px;line-height:1.55;text-shadow:0 2px 9px #000d;font-weight:650}.home-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.btn{padding:13px 20px;border:2px solid #fff7b7;border-radius:17px;font-weight:1000;font-size:14px;letter-spacing:.2px;box-shadow:inset 0 3px 1px #ffffff80,0 6px 0 #875217,0 12px 18px #180d3165;transition:transform .14s,filter .15s;color:#502457;background:linear-gradient(#ffeb74,#ffae26)}.btn:hover{filter:brightness(1.08)}.btn-play{background:linear-gradient(180deg,#ffeb79,#ffb52b 60%,#f39b19);color:#542054;border-color:#fff2c9}.btn-alt{background:linear-gradient(180deg,#a58af9,#704ad3);color:#fff;border-color:#e6d4ff;box-shadow:inset 0 3px 1px #fff4,0 6px 0 #39227c,0 12px 18px #180d314f}.home-chips{display:flex;gap:9px;flex-wrap:wrap}.home-chips span{font-size:11px;font-weight:850;background:#ffffff22;border:1px solid #ffffff70;border-radius:30px;padding:8px 11px;backdrop-filter:blur(8px)}.home-figure{width:45%;height:100%;position:absolute;right:0;bottom:2%;z-index:2;display:flex;align-items:flex-end;justify-content:center}.home-figure img{height:min(95%,680px);width:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 25px 18px #21123294);animation:float 4.3s ease-in-out infinite}.figure-halo{width:69%;aspect-ratio:1;border-radius:50%;position:absolute;bottom:10%;background:radial-gradient(#faebbcaa,#ba76e24f,transparent 72%);filter:blur(7px)}.home-bottom{position:absolute;bottom:0;inset-inline:0;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;background:#171248b9;padding:13px 11px;border-top:1px solid #ffffff77;z-index:3}.home-bottom span{border-radius:18px;padding:5px 10px;background:#ffffff22;font-size:12px;font-weight:850}.spark{position:absolute;color:#ffeb77;text-shadow:0 0 15px #ffdc56;z-index:2;font-size:35px;pointer-events:none;animation:twinkle 3s ease-in-out infinite}.s1{top:9%;right:15%}.s2{bottom:27%;right:44%;animation-delay:1s}.s3{top:26%;left:48%;animation-delay:1.5s}@keyframes twinkle{50%{transform:scale(.6) rotate(30deg);opacity:.5}}@keyframes float{50%{transform:translateY(-12px)}}.hub{min-height:600px;padding:28px 26px 34px}.hub:before,.play-stage:before,.finish-scene:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#14182ac7,#121d38c4);pointer-events:none}.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:10px 0 27px}.hub-heading h1{font-size:clamp(30px,4vw,52px);line-height:1.12;margin:8px 0;color:#fff3bf;text-shadow:0 4px 0 #43295c,0 10px 16px #0008}.hub-heading h1 em{color:#a5ffda;font-style:normal}.hub-heading p{margin:0;color:#fff9e3;font-size:14px}.mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:18px}.world-card{min-height:300px;overflow:hidden;text-align:left;border:3px solid #ffeeb6;border-radius:28px;background:linear-gradient(160deg,#8053c8ee,#48208deb);box-shadow:inset 0 3px 0 #ffffff70,0 8px 0 #31175a,0 15px 22px #0008;color:white;padding:16px;display:flex;flex-direction:column;align-items:center;position:relative;transition:transform .16s,filter .15s}.world-card:hover{filter:brightness(1.08);transform:translateY(-4px)}.world-0{background:linear-gradient(150deg,#a768d0c9,#4432b6f1)}.world-1{background:linear-gradient(150deg,#279e9cdb,#3a3a97f1)}.world-2{background:linear-gradient(150deg,#e18050df,#713c9eec)}.world-3{background:linear-gradient(150deg,#2b9dbee0,#2d4aa0ef)}.world-shine{position:absolute;top:-115px;right:-110px;width:260px;height:250px;border-radius:100%;background:#ffffff26;pointer-events:none}.mode-number{font-weight:1000;letter-spacing:1.4px;font-size:11px;background:#ffffff2a;border:1px solid #ffffff6e;padding:7px 14px;border-radius:50px;align-self:flex-start}.world-art{font-size:82px;filter:drop-shadow(0 12px 6px #100b4663);padding:23px 0 9px;animation:float 3.8s ease-in-out infinite}.world-heading{font-size:clamp(20px,2vw,25px);font-weight:1000;text-shadow:0 3px 5px #070e36af;margin-bottom:6px;text-align:center}.world-desc{font-size:12px;font-weight:750;opacity:.92;text-align:center;line-height:1.5}.world-go{align-self:stretch;text-align:center;margin-top:auto;background:linear-gradient(#ffefa3,#ffc347);border-radius:16px;border:2px solid #fff5c4;box-shadow:0 4px 0 #91602a;color:#53235b;padding:11px 8px;font-weight:1000;font-size:13px}.hub-hint{margin-top:28px;font-size:14px;color:#ffefa4;text-align:center;font-weight:850;text-shadow:0 2px 7px #0009}.play-stage{min-height:660px;padding:17px 20px 21px}.play-stage:before{background:linear-gradient(#0511286e,#0b15398c)}.play-hud{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#17174eb8;border:1px solid #fff9a066;border-radius:18px;padding:8px 13px;min-height:62px;box-shadow:0 5px 15px #080a3080}.hud-left,.hud-right{display:flex;align-items:center;gap:14px}.hud-left>div{display:flex;flex-direction:column;gap:2px}.level-label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;font-weight:950;color:#ffe899}.hud-left strong{font-size:clamp(14px,1.7vw,20px)}.hud-stars,.hud-count{border-radius:13px;padding:8px 12px;background:#e7b33a;color:#422758;font-size:15px;font-weight:1000;box-shadow:inset 0 2px 0 #ffffff96}.hud-count{background:#ffffffeb;color:#3b306a}.stage-progress{height:13px;background:#242855;border:2px solid #f9e5a0;border-radius:20px;margin:12px 6px 16px;overflow:hidden;box-shadow:0 3px 6px #0009}.stage-progress span{height:100%;display:block;border-radius:10px;background:linear-gradient(90deg,#6ff4b1,#ffdc53);transition:width .3s}.play-columns{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:17px;align-items:stretch}.game-card{border-radius:29px;min-width:0;overflow:hidden;background:linear-gradient(#fffaf0,#fff0ce);color:#302542;border:4px solid #e8b967;box-shadow:inset 0 3px 0 #fff,0 10px 0 #6a418a,0 16px 28px #0a113c97;padding:20px clamp(13px,3vw,30px);position:relative}.game-card:before{content:'✦';position:absolute;font-size:42px;opacity:.12;right:12px;top:5px}.companion{border-radius:30px;border:2px solid #efdc9d80;background:linear-gradient(#644ec94a,#38237f91);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:390px}.companion img{max-width:100%;max-height:320px;height:55%;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 9px 12px #0a09437d);animation:float 4s ease-in-out infinite}.companion-halo{position:absolute;top:5%;left:5%;right:5%;height:62%;background:radial-gradient(#affbff80,transparent 70%)}.companion-speech{position:relative;z-index:3;background:#fff5d9;border:3px solid #e4bc63;color:#3d2b4d;border-radius:22px;margin:0 9px 12px;padding:13px 12px;width:calc(100% - 18px);box-shadow:0 6px 0 #413170;font-size:12px;line-height:1.45}.companion-speech b{display:block;color:#8e52b0;font-size:10px;letter-spacing:1px;margin-bottom:4px}.companion-speech span{font-weight:750}.mission-heading{display:flex;align-items:center;gap:8px;color:#8b4d7b;font-size:11px;font-weight:1000;letter-spacing:1.7px;margin-bottom:8px;text-transform:uppercase}.game-card h2{font-size:clamp(21px,2.4vw,29px);line-height:1.18;color:#503478;margin:3px 0 14px}.mission-instruction{font-size:14px;font-weight:700;line-height:1.4;color:#655170;margin:-4px 0 13px}.storybook{display:grid;grid-template-columns:46% 1fr;gap:12px;margin-bottom:16px}.storybook-visual{position:relative;min-height:205px;border:5px solid #fff7dd;border-radius:22px;background:#b5e2b6;overflow:hidden;box-shadow:0 4px 0 #c6a76f,0 7px 10px #4b346630}.storybook-visual img{width:100%;height:100%;min-height:205px;position:absolute;inset:0;object-fit:cover}.scene-badge{position:absolute;bottom:10px;left:10px;padding:5px 11px;border-radius:12px;background:#fcf3dadd;color:#785343;font-size:13px;font-weight:950;box-shadow:0 4px 12px #0003}.reading-page{background:#fffbef;border:2px solid #d4b575;box-shadow:inset 0 0 0 5px #f8ebce;border-radius:18px;padding:15px 18px;display:flex;align-items:center;font-size:clamp(14px,1.45vw,17px);line-height:1.58;color:#493d45;font-weight:650;overflow-wrap:anywhere}.reading-page strong{color:#934687}.question-ribbon{font-weight:1000;text-align:center;font-size:clamp(15px,1.5vw,20px);padding:12px 15px;margin:12px 0;background:linear-gradient(110deg,#6f41a8,#915dcc);color:#fff;border-radius:14px;box-shadow:0 5px 0 #4f307d}.ans-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer,.seq-item{color:#3d3255;background:linear-gradient(#fff,#fff1d6);border:2px solid #b99ce7;border-radius:15px;box-shadow:inset 0 3px 0 #fff,0 4px 0 #b2a0c8;padding:13px 12px;font-weight:850;line-height:1.28;min-height:57px;font-size:14px;text-align:center;transition:transform .12s,background .12s}.answer:hover,.seq-item:hover{background:#e3f8d1;transform:translateY(-2px)}.answer:active,.seq-item:active{transform:translateY(2px)}.seq-list{display:flex;flex-direction:column;gap:9px}.seq-item{display:flex;align-items:center;gap:12px;text-align:left}.seq-item b{display:grid;place-items:center;flex:none;width:32px;height:32px;background:#9a70d8;color:white;border-radius:10px}.seq-item.picked{background:#ccf0cb}.choice-line{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:15px}.choice-line button,.lab-options button{border:2px solid #c9a7e8;background:linear-gradient(#fff,#e7d8fa);color:#573e7e;padding:10px 13px;border-radius:13px;font-weight:950;box-shadow:0 3px 0 #947db5}.choice-line .btn{background:linear-gradient(#ffea82,#ffbb3d);color:#6d326e;border:2px solid #fff5bf}.feedback{display:flex;align-items:center;gap:13px;border:3px solid #80c27c;border-radius:18px;padding:11px;margin-top:16px;background:#e5ffdc;box-shadow:0 4px 0 #9ab68b}.feedback.tryagain{border-color:#edc36f;background:#fff4d6}.feedback-badge{display:grid;place-items:center;font-size:26px;color:#e6a82c}.feedback-copy{flex:1;min-width:0}.feedback-copy strong{display:block;color:#2e6846;font-size:14px}.feedback-copy span{display:block;font-size:12px;color:#66516a;line-height:1.35}.feedback.tryagain .feedback-copy strong{color:#a46121}.feedback .btn{flex:none;padding:10px 13px;font-size:12px}.finish-scene{min-height:570px;display:flex;align-items:center;justify-content:center;padding:30px;gap:20px}.finish-art{width:35%;max-width:330px;align-self:center;filter:drop-shadow(0 17px 17px #0006)}.finish-art img{max-height:380px;object-fit:contain;animation:float 3s ease-in-out infinite}.finish-card{max-width:640px;text-align:center;background:#fff8e6;border:5px solid #edc967;border-radius:30px;padding:30px 24px;color:#514169;box-shadow:0 11px 0 #64458e,0 22px 35px #0006}.finish-card h1{font-size:clamp(30px,4vw,54px);color:#6d3b94;text-shadow:0 3px 0 #ffce59}.finish-stars{font-size:45px;letter-spacing:12px;color:#ffbe2c;text-shadow:0 3px 2px #ba792e}.finish-count{font-weight:1000;color:#603b91;font-size:20px}.finish-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.confetti{position:absolute;top:12%;font-size:60px;opacity:.55;pointer-events:none;color:#ffd765}
/* Lab visual workbenches */
.lab-workbench{border:3px solid #5ed3ff;border-radius:24px;background:linear-gradient(155deg,#113f80,#07265a);min-height:245px;padding:14px;box-shadow:inset 0 0 29px #22b9ff6c,0 6px 0 #084072;color:white;margin:15px 0;overflow:hidden;position:relative}.lab-workbench:before{content:'';pointer-events:none;position:absolute;inset:0;background-image:linear-gradient(#a1eaff20 1px,transparent 1px),linear-gradient(90deg,#a1eaff20 1px,transparent 1px);background-size:30px 30px}.bench-title{position:relative;z-index:2;text-transform:uppercase;letter-spacing:1.2px;color:#b8fdff;font-size:11px;font-weight:1000}.lab-workbench>*{position:relative}.lab-options{display:flex;gap:9px;flex-wrap:wrap;margin:9px 0 12px}.lab-options button.active{background:linear-gradient(#ceff9a,#7ae599);color:#166a51;border-color:#66caae}.control-panel{border:2px solid #d8c69c;border-radius:17px;background:#fff9e9;padding:13px;margin-top:9px}.control-panel strong{font-size:14px}.control-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;margin-top:10px}.control-row input[type=range]{width:min(100%,350px);accent-color:#6c54cb}.circuit-art{height:230px;width:100%;display:block;filter:drop-shadow(0 5px 7px #0008)}.circuit-wire{stroke:#ff8b41;stroke-width:10;fill:none;stroke-linecap:round;stroke-linejoin:round}.circuit-live .circuit-wire{stroke:#ffd568;filter:drop-shadow(0 0 8px #ffe761)}.circuit-bulb{fill:#586984;stroke:#b4dff0;stroke-width:7}.circuit-live .circuit-bulb{fill:#fff29d;filter:drop-shadow(0 0 17px #ffe161)}.circuit-line{fill:none;stroke:#b2d7ed;stroke-width:5}.track-car{height:145px;display:flex;align-items:center;position:relative;border-bottom:6px solid #7bf4e5;border-radius:14px;overflow:hidden;background:linear-gradient(90deg,#24508c,#123566)}.track-car:before{content:'';position:absolute;top:62%;left:0;width:100%;border-top:3px dashed #b9f3ff88}.car{position:relative;font-size:78px;transform:translateX(var(--car-x,0px));transition:transform .65s cubic-bezier(.2,.6,.2,1);filter:drop-shadow(0 5px 2px #0008)}.distance-readout{text-align:center;font-size:16px;margin-top:12px;font-weight:950;color:#ceffda}.shadow-scene{height:210px;position:relative;display:flex;align-items:flex-end;justify-content:space-around;padding:15px 13px 20px;background:radial-gradient(#4d78a6aa,transparent 60%)}.shadow-scene .sun{font-size:63px;filter:drop-shadow(0 0 20px #ffdb63)}.shadow-scene .tree{font-size:70px}.shadow-shape{height:116px;min-width:45px;background:#06172fc4;border-radius:50% 50% 13% 13%;box-shadow:0 0 20px #a1b5eb8c;transition:width .3s}.slider-wrap{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 0}.slider-wrap label{min-width:140px;font-weight:900}.slider-wrap input{flex:1;accent-color:#7b61d2}.mini-notice{font-size:11px;color:#755d74;margin:10px 0 0;line-height:1.4}.lab-materials{display:flex;gap:12px;justify-content:center;align-items:center;padding:28px 0}.lab-materials span{display:grid;place-items:center;width:84px;height:84px;border:3px solid #9ef0ff;background:#195ba1;border-radius:23px;box-shadow:0 5px 0 #0b3377;font-size:43px}
@media (max-width:850px){.home-copy{width:60%}.home-figure{width:47%}.play-columns{grid-template-columns:minmax(0,1fr) 190px}.companion img{height:47%}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-card{min-height:260px}}
@media (max-width:620px){.shell{padding:8px 7px 8px}.topbar{height:56px;border-radius:15px;padding:7px 10px}.brand-icon{width:33px;height:33px}.brand-text b{font-size:14px}.brand-text small{font-size:7px}.nav-actions{gap:5px}.round-btn{min-width:34px;height:34px;border-radius:11px;font-size:20px}.home-stage{margin-top:8px;min-height:calc(100svh - 94px);padding:25px 13px 70px;align-items:flex-start;flex-direction:column;justify-content:flex-start;border-radius:21px}.home-stage:after{background:linear-gradient(180deg,#100d44ba 0%,#16194e84 43%,#11163883 100%)}.home-copy{width:100%;text-align:center;z-index:3}.wordmark{font-size:clamp(42px,13vw,70px);letter-spacing:-3px;margin:12px 0 5px}.subheading{font-size:13px;margin:5px auto 7px}.home-description{font-size:12px;line-height:1.42;margin:9px auto;max-width:460px}.home-figure{width:100%;height:56%;right:0;bottom:43px}.home-figure img{height:100%;object-position:center bottom;max-width:min(75vw,390px)}.home-actions{position:absolute;top:auto;bottom:65px;left:0;right:0;display:flex;justify-content:center;z-index:5;gap:8px}.home-actions .btn{padding:11px 12px;font-size:11px}.home-chips{display:none}.home-bottom{padding:7px 3px;gap:5px}.home-bottom span{font-size:9px;padding:5px}.tiny-ribbon{font-size:9px}.hub{min-height:calc(100svh - 100px);padding:15px 12px;border-radius:22px}.hub-heading{margin:5px 0 17px;align-items:flex-start}.hub-heading h1{font-size:26px}.hub-heading p{font-size:11px;max-width:250px}.hub-heading .btn{padding:8px 9px;font-size:10px}.mode-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.world-card{min-height:210px;border-radius:18px;border-width:2px;padding:10px}.mode-number{font-size:8px;padding:4px 7px}.world-art{font-size:56px;padding:12px 0 5px}.world-heading{font-size:15px}.world-desc{font-size:10px}.world-go{font-size:10px;padding:8px 3px}.hub-hint{font-size:10px;margin-top:18px}.play-stage{margin-top:8px;min-height:calc(100svh - 95px);padding:10px 8px;border-radius:22px}.play-hud{min-height:52px;padding:6px 8px}.hud-left{gap:7px}.hud-left strong{font-size:12px}.level-label{font-size:8px}.hud-stars,.hud-count{font-size:11px;padding:6px}.hud-right{gap:5px}.stage-progress{margin:9px 3px 12px}.play-columns{display:flex;flex-direction:column;gap:9px}.game-card{padding:15px 11px;border-width:3px;border-radius:22px;order:1}.companion{display:none}.game-card h2{font-size:19px}.storybook{grid-template-columns:1fr;gap:6px}.storybook-visual,.storybook-visual img{min-height:145px;max-height:170px}.reading-page{font-size:12px;line-height:1.45;padding:10px 12px}.question-ribbon{font-size:13px;padding:9px}.answer{font-size:11px!important;padding:10px 6px;min-height:46px}.ans-grid{gap:7px}.seq-item{font-size:11px;padding:10px}.feedback{gap:6px;padding:8px;flex-wrap:wrap}.feedback .btn{margin-left:auto}.feedback-copy strong{font-size:12px}.feedback-copy span{font-size:11px}.finish-scene{flex-direction:column;padding:14px}.finish-art{width:50%;max-height:160px}.finish-art img{max-height:150px}.finish-card{padding:18px}.finish-stars{font-size:30px}.finish-actions .btn{font-size:11px;padding:8px}.lab-workbench{min-height:185px;padding:9px}.circuit-art{height:170px}.track-car{height:110px}.shadow-scene{height:150px}.shadow-scene .sun{font-size:42px}.shadow-scene .tree{font-size:52px}.shadow-shape{height:85px}.lab-materials span{width:62px;height:62px;font-size:30px}.fineprint{font-size:8px}}
@media(max-width:350px){.home-description{font-size:11px}.world-card{min-height:192px}.world-art{font-size:46px}.world-heading{font-size:13px}.wordmark{font-size:43px}.home-actions{top:auto;bottom:55px}.question-ribbon{font-size:12px}.ans-grid{grid-template-columns:1fr}.answer{min-height:37px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* LabLoom: bioluminescent science lab palette */
body{background:#061b3c}
.home-stage{background:linear-gradient(90deg,#13265f55,#13265f55),url('assets/lab-scene.webp') center/cover no-repeat}
.hub,.play-stage,.finish-scene{background-image:linear-gradient(#0c1e6599,#051239b0),url('assets/lab-scene.webp');background-size:cover}
.wordmark span{color:#a7ecff}.wordmark{color:#c2f7ff;-webkit-text-stroke:2px #384caa;text-shadow:0 3px 0 #fff,0 7px 0 #328ce2,0 12px 0 #1d3e95,0 19px 24px #000a}
.game-card{border-color:#52bbf4;background:linear-gradient(#f3fcff,#dff4ff);box-shadow:inset 0 3px 0 #fff,0 10px 0 #2256a6,0 16px 28px #0a113c97}
.question-ribbon{background:linear-gradient(110deg,#236cb9,#6a67d9)}
.companion-speech{border-color:#5ec8f2}
.world-card{border-color:#9ff4ff}
.material-symbol{display:block;font-size:25px;margin-bottom:3px}
@media(max-width:620px){.material-symbol{display:inline;font-size:17px;margin-right:6px}}

.home-figure img{width:min(100%,600px);height:auto;max-height:none;aspect-ratio:1.92;object-fit:cover;border:4px solid #fff0b1;border-radius:28px;box-shadow:0 9px 0 #58418c,0 24px 48px #0009;filter:drop-shadow(0 8px 14px #0c184077)}
@media(max-width:620px){.home-figure{height:43%;bottom:89px}.home-figure img{max-width:85vw;border-radius:21px}.home-copy{padding-top:3px}.home-actions{bottom:61px}}

@media(max-width:620px){.home-copy{position:static}.home-actions{position:absolute;bottom:66px;top:auto;left:8px;right:8px;z-index:8}.home-figure{bottom:105px;height:45%}}

@media(max-width:620px){.home-figure{bottom:148px;height:40%}}
