
*{box-sizing:border-box}body{margin:0;font-family:'Trebuchet MS',sans-serif;color:#12316c;background:linear-gradient(#27b9f5,#b9f4ff 65%,#a7df63);min-height:100vh}button{font:inherit;font-weight:900;color:inherit;cursor:pointer;border:3px solid white;border-radius:24px;background:linear-gradient(#fff,#a9eaff);box-shadow:0 6px 0 #278bc2,0 9px 15px #12446b30;padding:12px;transition:.15s}button:hover{transform:translateY(-4px) scale(1.025)}button:active{transform:translateY(5px);box-shadow:none}button:focus-visible{outline:4px solid #173d91}header,nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4%;position:relative;z-index:2}header img{width:min(42vw,300px);border-radius:25px} .pill{background:#fff8d7;border:3px solid white;border-radius:25px;padding:10px 18px;font-weight:900;font-size:clamp(16px,3vw,28px);box-shadow:0 4px 0 #e9a426}.orange{background:linear-gradient(#ffd441,#ff8200);color:white;text-shadow:0 2px #b75b00;box-shadow:0 6px 0 #c66a00}.green{background:linear-gradient(#b8ff4d,#4dbb08);color:white;box-shadow:0 6px 0 #348500}.scene{position:fixed;inset:0;z-index:-1;overflow:hidden}.cloud{position:absolute;width:180px;height:65px;border-radius:80px;background:#fff9;animation:drift 24s linear infinite}.cloud:before,.cloud:after{content:'';position:absolute;background:inherit;border-radius:50%;width:85px;height:85px;bottom:10px;left:30px}.cloud:after{left:80px;width:70px;height:70px}@keyframes drift{from{transform:translateX(-230px)}to{transform:translateX(110vw)}}main{max-width:1200px;margin:auto;padding:10px 18px 30px}h1{text-align:center;color:white;text-shadow:0 3px #ad630e;background:linear-gradient(#ffcf65,#ff9d27);border:4px solid white;border-radius:25px;padding:12px;margin:0 auto 22px;width:fit-content;font-size:clamp(22px,4vw,38px)}.layout{display:grid;grid-template-columns: minmax(150px,1fr) 3fr;gap:20px;align-items:center}.mascot img{width:100%;border-radius:30px;mix-blend-mode:normal}.mascot{text-align:center}.speech{background:white;border-radius:20px;padding:12px;font-weight:bold;margin:8px 0}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tile{padding:0;overflow:hidden;background:#fff;animation:pop .45s both}.tile img{width:100%;display:block}.tile span{display:block;padding:8px;font-size:clamp(12px,2vw,19px)}@keyframes pop{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.panel{background:#fffdf3;border:6px solid #ffd04d;border-radius:32px;padding:20px;text-align:center;box-shadow:0 8px 0 #e9a426;min-height:360px}.choices{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:20px 0}.choices button{min-width:90px;font-size:22px}.fruit{font-size:100px;display:block;animation:pop .4s}.feedback{min-height:32px;font-weight:900;font-size:23px}.progress{height:15px;background:#e5eaf2;border-radius:20px;overflow:hidden}.progress i{display:block;height:100%;background:#65d52a;transition:width .4s}.spark{position:fixed;pointer-events:none;z-index:9;font-size:30px;animation:fly 1s forwards}@keyframes fly{to{transform:translate(var(--x),var(--y)) rotate(240deg);opacity:0}}nav{justify-content:center;flex-wrap:wrap}nav button{min-width:90px}.talk img{animation:bob .35s alternate infinite}@keyframes bob{to{transform:translateY(-5px)}}@media(max-width:650px){.layout{grid-template-columns:1fr}.mascot{display:flex;align-items:center;gap:10px}.mascot img{width:90px}.tiles{grid-template-columns:repeat(2,1fr)}header{gap:5px;padding:8px}header button{padding:8px}.pill{padding:8px}.panel{padding:12px}.fruit{font-size:80px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
 .hills{position:absolute;bottom:0;width:100%;height:28%;background:linear-gradient(0deg,#8bd34c,#c6f39a);border-radius:50% 50% 0 0}.hills:after{content:'';position:absolute;inset:30% 0 0;background:url(../assets/reference/scenery.webp) center/cover;opacity:.45;border-radius:50% 50% 0 0}.ico{width:34px;height:34px;object-fit:contain;vertical-align:middle;mix-blend-mode:multiply;border-radius:8px}.fruit .ico{width:180px;height:180px}.choices .ico{width:100px;height:100px}.memory-card .ico{width:60px;height:60px}.spark .ico{width:30px;height:30px}.pill .ico{width:32px;height:32px}@media(max-width:650px){.fruit .ico{width:135px;height:135px}.choices .ico{width:75px;height:75px}nav .ico{width:25px;height:25px}}.countgrid{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px}.countgrid .ico{width:75px;height:75px}.bagpic .ico{width:90px;height:90px}.missing{font-size:38px;letter-spacing:3px}input[type=number]{width:100px;font-size:32px;border:3px solid #58b9ed;border-radius:15px;text-align:center}.emptybasket{padding:30px;border:3px dashed #a5c5e4;border-radius:20px}.tile img{background:white} .profile{position:fixed;inset:0;background:#12316c99;z-index:20;display:grid;place-items:center;padding:18px;backdrop-filter:blur(8px)}.profile .panel{width:min(440px,100%);min-height:0}.profile input{width:100%;padding:14px;font:inherit;font-size:22px;border:3px solid #6dcfff;border-radius:18px;margin:15px 0}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.stat{background:white;border:3px solid #a9eaff;border-radius:22px;padding:12px;text-align:left}.stat h3{margin:4px 0}.stat p{margin:8px 0}.wrong{background:#ffd1c2!important;box-shadow:0 5px #d77b64!important}.choices button:disabled{cursor:default;transform:none}.level{display:inline-block;background:#e0f8ff;border-radius:20px;padding:7px 14px;margin:8px}.choices button{max-width:100%}header{flex-wrap:wrap}.pill{overflow-wrap:anywhere;max-width:100%}.feedback{margin:12px 0}.tile:nth-child(3n+1){background:linear-gradient(#fff,#a9eaff)}.tile:nth-child(3n+2){background:linear-gradient(#fff,#ffe284)}.tile:nth-child(3n){background:linear-gradient(#fff,#e5baff)} 
/* Adapt reference visual language to the existing learning engine */
body{position:relative;isolation:isolate}header{max-width:1300px;margin:auto;flex-wrap:wrap}header .brand img{width:230px;max-width:45vw}header nav{padding:0;flex:1}header nav button{display:flex;align-items:center;gap:6px}main{min-height:70vh}.hero{display:grid;grid-template-columns:1fr 2fr;gap:24px;align-items:center;margin:12px 0 28px}.hero>div:first-child{grid-column:2;grid-row:1;background:#fffdf3;border:6px solid #ffd04d;border-radius:32px;padding:24px;box-shadow:0 8px #e9a426;text-align:center}.hero-art{grid-column:1;grid-row:1;text-align:center}.hero-art img,.hero>img{width:100%;max-height:320px;object-fit:contain;border-radius:30px}.orbit{display:none}.hero h1{font-size:clamp(25px,4vw,42px)}.hero p{font-size:20px;font-weight:bold}.eyebrow{font-weight:bold;color:#ad630e}.actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0}.primary{background:linear-gradient(#ffd441,#ff8200);color:white;text-shadow:0 2px #b75b00;box-shadow:0 6px #c66a00}.blue{background:linear-gradient(#b8ff4d,#4dbb08);color:white;box-shadow:0 6px #348500}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;border:3px solid white;border-radius:24px;box-shadow:0 6px #278bc2,0 9px 15px #12446b30;overflow:hidden;text-align:center;padding:12px;min-height:185px}.tile img{width:100%;height:130px;object-fit:contain;background:transparent;mix-blend-mode:multiply}.tile h3{margin:8px 0 0;font-size:21px}.tile small{display:none}.play-pill{font-size:14px;color:#12316c}.sectionhead,h2{text-align:center}.sectionhead h2,.dashboard>h2,main>h2{background:linear-gradient(#ffcf65,#ff9d27);border:4px solid white;border-radius:25px;color:white;text-shadow:0 2px #ad630e;padding:12px;width:fit-content;margin:24px auto}.game{max-width:960px;margin:auto}.gamehead,.row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.track{height:18px;background:#e5eaf2;border-radius:20px;overflow:hidden;margin:14px 0;border:2px solid white}.track i{display:block;height:100%;background:linear-gradient(#b8ff4d,#4dbb08);transition:width .4s}.question{display:flex;align-items:center;gap:20px;text-align:left}.question .mascot{width:150px;height:150px;object-fit:contain;border-radius:25px}.bubble{flex:1;background:white;border-radius:20px;padding:12px}.bubble h2{text-align:left;margin:0 0 10px}.options{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:20px 0}.option{min-width:100px;flex:1;max-width:240px;font-size:22px;overflow-wrap:anywhere}.option img,.promptimg{width:100%;height:130px;object-fit:contain;mix-blend-mode:multiply}.promptimg{width:180px;height:150px}.swatch{display:block;height:85px;border-radius:18px;border:3px solid white;box-shadow:inset 0 8px 12px #fff8,0 4px #0003}.count{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px}.count img{width:75px;height:75px;object-fit:contain;mix-blend-mode:multiply}.correct{background:linear-gradient(#b8ff4d,#4dbb08)!important}.feedback.spark{position:static;animation:pop .4s both;font-size:23px}.rolebar{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:20px}.dashboard .panel{margin:22px 0;min-height:0}.dashboard .grid{grid-template-columns:repeat(3,1fr)}.dashboard .metric{font-size:36px;font-weight:900}.dashboard .tile{min-height:120px}.notice{background:#fff8d7;border-radius:20px;padding:14px;margin:14px 0}.stars{white-space:nowrap}footer{display:flex;justify-content:space-between;padding:20px 4%}.muted{font-size:14px}button:disabled{opacity:.75;cursor:default;transform:none}@media(max-width:650px){.hero{grid-template-columns:1fr;gap:10px}.hero>div:first-child,.hero-art{grid-column:1;grid-row:auto}.hero-art img{max-height:170px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile img{height:95px}.tile h3{font-size:16px}.question .mascot{width:80px;height:90px}.option{min-width:70px;font-size:17px;padding:8px}.option img{height:75px}.count img{width:45px;height:45px}.dashboard .grid{grid-template-columns:repeat(2,1fr)}header nav{order:3;flex-basis:100%}header nav button{min-width:0;font-size:13px}.hero>div:first-child{padding:14px}}