:root{--ink:#282449;--muted:#77738d;--paper:#f6f4ff;--line:#e7e1f5;--green:#7254dc;--lime:#bbf1b5;--gold:#ffd371;--shadow:0 12px 40px #7454dc12}body{background:radial-gradient(ellipse at 80% 0,#f1e7ff 0,transparent 46%),#f8f7ff}.sidebar{background:#fff;border-color:#ebe5f5}.brand{font-size:20px}.brand-icon{background:linear-gradient(145deg,#9d7af5,#6c45d8);color:#fff3a6}.brand small{font-size:8px;letter-spacing:1.6px;color:#9b8db7}.sidebar-label{color:#aea1c3;font-size:9px}.nav button.active{background:#ede6ff;color:#7151c7}.nav button:hover{background:#f4eeff}.pip-card{background:#fff3df;border:0}.pip-card p{color:#a18363}.topbar{background:#ffffff75;backdrop-filter:blur(12px)}.avatar-btn{background:#efe8ff;border-color:#e5d9ff}.pill{background:#fff}.xp-pill{color:#97711a;background:#fff7d8;border-color:#f7e6a7}.main{padding-bottom:45px}.eyebrow{color:#8970bf;letter-spacing:1.8px}.welcome h1{font-size:39px;font-weight:600;letter-spacing:-1.3px}.greeting-spark{display:inline-block;margin-left:12px;color:#f4a841;vertical-align:middle;font-size:.7em}.welcome p{font-size:14px}.path-tag{background:#eee8ff;border-color:#e2d7ff;color:#7a59b8}.adventure-hero{background:linear-gradient(115deg,#7e59dc,#9471ef 72%,#ab8af4);border:0;min-height:310px;padding:35px;color:#fff;display:flex;align-items:center}.adventure-hero .hero-copy{max-width:61%;width:61%}.adventure-hero h2{color:#fff;font-size:37px;line-height:1.1;max-width:390px;letter-spacing:-1px}.adventure-hero .eyebrow{color:#e2d2ff;font-size:10px}.adventure-hero p{color:#eee5ff;font-size:13px;max-width:330px}.adventure-hero .btn{background:#ffdc81;color:#513d71;padding:13px 20px;box-shadow:0 4px 0 #6542b533}.hero-resume{display:block;margin-top:12px;background:transparent;border:0;color:#fff;font-size:11px;text-decoration:underline;text-underline-offset:4px;padding:6px 0}.hero-pet{width:44%;height:290px;position:absolute;right:-3px;bottom:1px;z-index:1}.hero-pet:before{content:'';position:absolute;inset:30px 13px 25px;border-radius:50%;background:radial-gradient(circle,#e6c5ff70,#ffffff00 70%)}.pet-model{height:100%;width:100%;position:relative;touch-action:pan-y;cursor:grab;display:grid;place-items:center;font-size:80px}.pet-model:active{cursor:grabbing}.pet-model canvas{display:block;width:100%;height:100%;outline:none}.pet-label{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:#f1e6ff;font-size:10px}.hero-star{position:absolute;color:#ffe8a1;font-size:28px}.star-one{right:15%;top:24px}.star-two{right:30%;top:90px;font-size:16px}.daily{background:linear-gradient(145deg,#20a8be,#1790b0);border:0;box-shadow:0 8px 25px #17a0b321}.daily .eyebrow{color:#c3f1f2}.daily p{color:#d9f6f7}.daily .progress span{background:#b7f2da}.daily h3{font-size:23px;line-height:1.25}.daily .big{font-size:43px}.companion-card{background:#fff3e5;border-color:#f9e2c4;position:relative}.companion-card .eyebrow{color:#c18e5b;font-size:9px}.companion-card h3{margin-top:12px;font-size:22px}.companion-badge{position:absolute;right:18px;top:25px;width:47px;height:47px;display:grid;place-items:center;background:#ffe1b6;border-radius:50%;font-size:27px}.companion-card p{max-width:190px}.next-skill{background:#f0ecff;border-color:#e4dafb}.next-skill .eyebrow{font-size:9px}.next-skill h3{font-size:20px}.section-head{margin-top:27px}.world-invitation{display:flex;align-items:center;gap:20px;border:1px solid #e5e8f5;background:#fff;border-radius:19px;padding:24px}.world-invitation h2{font-size:24px}.world-invitation p{font-size:12px;max-width:320px;margin-bottom:14px}.world-invitation .eyebrow{font-size:9px}.world-illustration{flex:0 0 145px;height:150px;border-radius:17px;overflow:hidden;background:#e4f3e7}.world-illustration svg{width:100%;height:100%;transform:scale(1.1)}.btn.secondary{background:#ede7ff;color:#6c4dc1;border-color:#e2d7ff}.btn.gold{background:#ffd371;color:#573e73}.atlas-full .map-card{height:min(60vh,560px);min-height:400px;box-shadow:0 15px 40px #7d66b814}.atlas-full .map-top{display:none}.atlas-worlds{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:24px}.atlas-world{border:1px solid #e5def2;border-radius:17px;padding:20px 15px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff;color:var(--ink);min-height:165px;border-top:4px solid var(--world-colour)}.atlas-world>span{font-size:30px}.atlas-world small{font-size:8px;letter-spacing:1.5px;color:var(--world-colour);margin:15px 0 6px}.atlas-world strong{font-family:'Outfit',sans-serif;font-size:17px;line-height:1.2}.atlas-world em{font-size:10px;font-style:normal;color:var(--muted);margin-top:10px}.atlas-world.world-locked{background:#f4f0fa;opacity:.7}.setup-modal{max-width:940px;padding:25px 32px 32px;background:#fff;overflow-x:hidden}.setup-modal .modal-top{margin-bottom:12px}.setup-modal .modal-top>span{font-size:9px;letter-spacing:1.5px;color:#a596bb}.onboarding-form{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.setup-copy h1{font-size:43px;margin:14px 0;overflow-wrap:anywhere}.setup-copy .eyebrow{font-size:9px;margin-bottom:0}.setup-copy>p{font-size:13px;max-width:340px;margin-bottom:24px}.setup-copy label{font-size:12px;font-weight:600}.setup-copy input[type=text],.setup-copy input:not([type]){padding:14px 16px;font-size:15px;background:#faf8ff;border-color:#e1d7f1;border-radius:12px}.age-heading{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.age-heading output{font-family:'Outfit',sans-serif;font-size:25px;background:#ece4ff;border:1px solid #dfd2fc;color:#7752ce;border-radius:11px;width:46px;height:43px;display:grid;place-items:center}.age-slider{appearance:none;-webkit-appearance:none;height:8px;width:100%;border:0;padding:0;background:linear-gradient(90deg,#92dfba 0%,#6cbfdb 48%,#a481ed 100%);border-radius:8px;margin:25px 0 12px;cursor:pointer}.age-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;border:4px solid #fff;background:#8057d9;border-radius:50%;box-shadow:0 2px 9px #6943a849;cursor:grab}.age-slider::-moz-range-thumb{width:20px;height:20px;border:4px solid #fff;background:#8057d9;border-radius:50%;box-shadow:0 2px 9px #6943a849}.range-labels{display:flex;justify-content:space-between;color:#aaa0b8;font-size:10px}.auto-path{display:flex;align-items:center;gap:10px;background:#f3effc;border-radius:12px;padding:13px;margin:21px 0 24px}.auto-path>span:first-child{font-size:26px}.auto-path strong{font-size:12px;display:block}.auto-path small{font-size:10px;line-height:1.4;color:#9584b0;display:block;margin-top:4px}.auto-label{margin-left:auto;font-size:7px;letter-spacing:1px;white-space:nowrap;color:#9e8cbb}.setup-start{width:100%;justify-content:space-between;background:linear-gradient(110deg,#7952d4,#9b73ea);border-radius:12px;padding:15px 20px}.setup-companion{padding:22px 15px 15px;border-radius:22px;background:radial-gradient(circle at 50% 40%,#f2d8ff,#f1ecff 65%);align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.setup-companion>.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:0}.setup-pet{height:275px;min-height:250px;width:100%;max-width:340px}.pet-name{font-family:'Outfit',sans-serif;font-size:24px;font-weight:600;text-align:center;line-height:1.3;margin:-8px 0 22px}.pet-name span{display:block;font:10px 'DM Sans',sans-serif;color:#ab95b9;margin-top:7px}.pet-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;width:100%}.pet-choice{border:1px solid #e2d5f3;background:#ffffff8f;padding:12px 8px;border-radius:12px;color:#8a77a1}.pet-choice span{font-size:25px;display:block;margin-bottom:6px}.pet-choice strong{font-size:9px;display:block}.pet-choice.selected{background:#fff;border:2px solid #9c70dc;padding:11px 7px;color:#754ebc;box-shadow:0 4px 15px #7652b71a}.scene{background:#e5ddff}.scene-companion{position:absolute;left:7%;bottom:-13px;width:145px;height:170px}.scene-caption{color:#675087;background:#fffaffdc}.question-timer{padding:13px 16px;background:#f2edff;border:1px solid #e3d7fc;border-radius:12px;margin-bottom:22px}.question-timer>div:first-child{display:flex;align-items:center;gap:8px}.timer-icon{font-size:22px;color:#8960d4}.question-timer strong{font-family:'Outfit',sans-serif;font-size:22px;color:#7953c4}.question-timer #timer-state{margin-left:auto;font-size:10px;color:#9a87b3}.timer-track{height:4px;background:#e2d8f4;border-radius:6px;overflow:hidden;margin-top:9px}.timer-track span{display:block;height:100%;background:#9b74e6;border-radius:6px;transition:width .1s linear}.timer-urgent{background:#fff0e7;border-color:#ffd6b8}.timer-urgent strong{color:#d57743}.timer-urgent .timer-track span{background:#ee9a66}.gcse-visual{text-align:center;width:100%}.gcse-visual .badge{display:block;width:max-content;max-width:100%;margin:0 auto 14px;background:#e8ddff;color:#805dbb}.gcse-visual strong{display:block;font-family:'Outfit',sans-serif;font-size:clamp(17px,3vw,25px);font-weight:500;letter-spacing:.4px;overflow-wrap:anywhere}.visual{background:#f8f5ff;border-color:#e9e1f4}.counting-stars{font-size:33px}.notice{background:#f0ebfc;color:#726386}.badge{background:#e7f6ed;color:#538a68}.feedback{background:#e7f6ed;color:#467755}.feedback.wrong{background:#fff2dc;color:#947044}.hint-box{background:#f2edff;color:#75648e}.onboarding-form input:focus-visible{outline-color:#bca1f0}.setup-modal .close{border-color:#e8dff2;color:#9b86b0}.footer{display:none}
@media(max-width:1100px){.adventure-hero{padding:27px;min-height:290px}.adventure-hero h2{font-size:31px}.hero-pet{right:-18px;width:46%;height:270px}.world-invitation{padding:19px;gap:14px}.world-illustration{flex-basis:110px;height:135px}.atlas-worlds{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.right-rail{grid-template-columns:repeat(3,1fr);gap:12px}.daily .big{font-size:33px}.daily h3{font-size:18px}.companion-badge{position:static;width:40px;height:40px}.companion-card h3{font-size:18px}.companion-card .eyebrow{font-size:8px}.companion-card p{font-size:10px}.next-skill h3{font-size:17px}.adventure-hero h2{font-size:36px}.hero-pet{width:43%;right:0}.setup-copy h1{font-size:35px}.onboarding-form{gap:22px}.setup-modal{padding:22px}.setup-pet{height:240px;min-height:220px}.setup-companion{padding:22px 10px 12px}.pet-choice{padding:10px 5px}.pet-choice.selected{padding:9px 4px}.pet-choice span{font-size:22px}.setup-companion>.eyebrow{font-size:7px}}
@media(max-width:650px){.sidebar{background:#fff}.topbar{background:#fff9}.welcome h1{font-size:33px}.welcome p{font-size:12px}.welcome .eyebrow{font-size:9px}.adventure-hero{min-height:295px;padding:25px 21px}.adventure-hero .hero-copy{max-width:67%;width:67%}.adventure-hero h2{font-size:31px;max-width:250px}.adventure-hero p{font-size:11px;max-width:215px}.hero-pet{height:240px;width:47%;right:-23px;bottom:6px}.pet-label{font-size:8px;bottom:14px;left:10px}.adventure-hero .eyebrow{font-size:8px;max-width:180px;line-height:1.5}.hero-star.star-one{right:17%;top:23px}.hero-star.star-two{right:8%;top:95px}.adventure-hero .btn{font-size:11px;padding:12px 14px}.world-invitation{padding:16px;gap:12px}.world-illustration{flex-basis:90px;height:125px}.world-invitation h2{font-size:21px}.world-invitation .eyebrow{font-size:8px}.world-invitation p{font-size:11px}.world-invitation .btn{font-size:10px;padding:10px 12px}.right-rail{grid-template-columns:1fr 1fr}.right-rail .next-skill{grid-column:1/-1}.next-skill{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.next-skill .eyebrow{display:none}.next-skill p{margin:0}.next-skill h3{margin:0}.next-skill .link-btn{margin-left:auto}.daily h3{font-size:20px}.daily .big{font-size:35px}.atlas-worlds{grid-template-columns:1fr 1fr;gap:10px}.atlas-world{padding:17px 13px;min-height:160px}.atlas-full .map-card{min-height:370px;height:48vh}.setup-modal{padding:18px;max-height:94vh}.onboarding-form{grid-template-columns:1fr;gap:22px}.setup-copy h1{font-size:34px;margin:10px 0}.setup-copy>p{margin-bottom:18px;font-size:12px}.setup-copy .form-row{margin-bottom:12px}.setup-copy .age-heading{margin-top:15px}.setup-copy .auto-path{margin:17px 0}.setup-companion{padding:16px 12px 12px;min-height:320px;grid-row:2}.setup-pet{height:220px;min-height:210px}.pet-name{font-size:22px;margin-top:-5px;margin-bottom:15px}.setup-start{margin-top:6px}.onboarding-form{position:relative;padding-bottom:65px}.setup-start{position:absolute;bottom:0;left:0;right:0}.setup-companion>.eyebrow{font-size:8px}.pet-options{max-width:350px}.setup-modal .modal-top>span{font-size:8px}.scene-companion{width:110px;height:130px;left:5%;bottom:-9px}.scene{height:190px}.question-area{padding:22px 20px}.question-timer{padding:10px 12px}.question-timer #timer-state{font-size:9px}.main{padding-bottom:25px}}

.world-orb{font-size:76px;display:grid;place-items:center;height:100%;filter:drop-shadow(0 10px 6px #60938522)}

.calculator{border:1px solid #e7dff2;border-radius:10px;background:#f9f6ff;margin:-6px 0 21px;padding:11px 14px}.calculator summary{font-size:11px;font-weight:600;color:#8865bf;cursor:pointer}.calculator summary span{float:right;font-size:9px;font-weight:400;color:#a68fbd}.calculator form{padding-top:13px}.calculator label{font-size:10px;display:block;margin-bottom:5px}.calculator form>div{display:flex;gap:8px}.calculator input{min-width:0;flex:1;font-size:13px}.calculator .btn{padding:10px 12px;font-size:11px}.calculator output{display:block;font-family:'Outfit',sans-serif;font-size:22px;overflow-wrap:anywhere;margin:12px 0 6px}.calculator small{font-size:9px;color:#a28cb9}

.shape-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 20px}.shape-answer{padding:16px;border:2px solid #e3d7fa;border-radius:12px;background:#f4efff;color:#6e4eb0;text-transform:capitalize;font-size:16px;font-weight:600;min-height:54px}.shape-answer:hover{background:#e7ddff;border-color:#ac8cde}.shape-answer:disabled{opacity:.6}

/* Vivid expedition palette and dimensional surfaces. */
:root{--green:#6237df;--gold:#ffbc39;--ink:#202448;--line:#dedcf7}
body{background:radial-gradient(ellipse at 95% 5%,#caefff 0,transparent 45%),radial-gradient(ellipse at 10% 65%,#ffe2d1 0,transparent 42%),#f5f3ff}
.adventure-hero{background:radial-gradient(circle at 85% 20%,#59d8f3 0,transparent 36%),linear-gradient(125deg,#5432c7,#8c4aea 65%,#ab6af2);box-shadow:0 18px 36px #6948c62b;position:relative;overflow:hidden}
.adventure-hero:before{content:'';position:absolute;width:240px;height:240px;border:1px solid #ffffff30;border-radius:50%;right:-40px;top:-90px;pointer-events:none}
.adventure-hero .btn{background:#ffe08a;color:#382968;box-shadow:0 5px 0 #dbae48;border-color:transparent}
.setup-companion{background:radial-gradient(circle at 50% 35%,#fff6cc,#f0dfff 60%,#d7edff);border:1px solid #d8bdf4}
.scene{background:linear-gradient(160deg,#b4efff,#c8d5ff 55%,#e8c9ff)}
.world-invitation,.question-area,.daily,.companion-card{box-shadow:0 9px 24px #6045a512;border-color:#ddd4f6}
.shape-answer{background:linear-gradient(145deg,#f2eaff,#e3f5ff);color:#4d329a}.shape-answer:hover{background:#d8cbff;transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.shape-answer:hover{transform:none}}
