:root{--ink:#242535;--muted:#656575;--paper:#f7f6f2;--purple:#6651bd;--line:#dfdfe6;--green:#207056;--soft:#ebe7f7;font-family:Inter,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--purple);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #9874ee;outline-offset:4px}button:disabled{cursor:default;opacity:.55}header{height:98px;max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 40px}.brand{font-size:29px;font-weight:750;letter-spacing:-1.5px;text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:9px}.brandmark{font-size:42px;color:var(--purple);font-weight:400}.prototype{font-size:9px;letter-spacing:1.2px;align-self:center;margin:5px 0 0 12px;color:var(--muted);font-weight:600}nav{display:flex;gap:32px}nav a{font-size:14px;text-decoration:none;font-weight:600;color:var(--muted);padding:13px 0;border-bottom:2px solid transparent}nav a[aria-current=page]{color:var(--purple);border-color:var(--purple)}.points{display:flex;gap:7px;align-items:center;text-decoration:none;background:#eeebdf;border-radius:22px;padding:11px 16px;font-size:12px;color:#615537}.points>span:first-child{color:#927531}main{max-width:1160px;margin:22px auto 0;padding:0 0 30px;min-height:70vh}h1,h2,h3,p{margin-top:0}h1{font-size:44px;line-height:1.12;letter-spacing:-1.7px;font-weight:680;margin-bottom:12px}h2{font-size:26px;letter-spacing:-.6px}h3{font-size:20px;letter-spacing:-.3px}p{line-height:1.65;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.9px;font-weight:750;text-transform:uppercase}.welcome{display:flex;justify-content:space-between;align-items:flex-end;margin:15px 0 28px}.welcome p{margin:0}.date{font-size:12px;color:var(--muted)}.hero{position:relative;min-height:390px;overflow:hidden;border-radius:28px;background:#142b49;color:white;display:grid;grid-template-columns:1.1fr 1fr;box-shadow:0 14px 35px #1e254d12}.hero-copy{padding:40px;position:relative;z-index:2}.hero .eyebrow{color:#cecfff;display:flex;gap:9px;align-items:center}.dot{width:6px;height:6px;background:#bdb3ff;border-radius:50%;display:inline-block}.hero h2{font-size:45px;line-height:1.08;letter-spacing:-1.6px;margin:23px 0 15px;max-width:480px}.hero p{color:#d4deea;max-width:375px;font-size:15px}.hero .meta{color:#d3dcf3;font-size:12px;margin:23px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:46px;padding:12px 21px;border-radius:12px;border:1px solid transparent;background:var(--purple);color:white;text-decoration:none;font-weight:650;font-size:14px}.button.light{background:white;color:#31304d}.button.secondary{color:var(--purple);background:var(--soft)}.button.outline{background:transparent;border-color:var(--line);color:var(--ink)}.hero-art{position:relative;min-height:330px;background:radial-gradient(ellipse at 65% 70%,#fdad75 0,transparent 35%),linear-gradient(165deg,#244b8a 10%,#7897c4 48%,#e5acac 72%,#e4a277);overflow:hidden}.hero-art:before{content:'';position:absolute;width:155px;height:155px;background:#ffdfad;border-radius:50%;left:49%;top:39%;box-shadow:0 0 80px 28px #ffb98b55}.hero-art:after{content:'';position:absolute;width:150%;height:38%;left:-25%;bottom:-11%;border-radius:50% 50% 0 0;background:#213952;box-shadow:80px -28px 0 #516482,-60px -45px 0 #7b7e99}.orbit{position:absolute;width:410px;height:410px;border:1px solid #ffffff32;border-radius:50%;left:17%;top:6%}.orbit:after{content:'';position:absolute;inset:40px;border:1px solid #ffffff28;border-radius:50%}.art-label{position:absolute;z-index:1;top:25px;right:27px;font-size:10px;letter-spacing:1.4px;color:#fff}.art-caption{position:absolute;z-index:2;bottom:25px;left:26px;color:#e7e5ed;font-size:11px;letter-spacing:.5px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:34px 0 16px;gap:16px}.section-head h2{margin:0}.section-head p{font-size:13px;margin:6px 0 0}.pill{font-size:11px;padding:7px 10px;border-radius:20px;background:#eeedf0;color:#605c70;white-space:nowrap}.shelf{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 15px;scrollbar-width:thin}.topic-card{flex:1 0 265px;scroll-snap-align:start;max-width:380px;border-radius:20px;overflow:hidden;border:1px solid #e3e1e9;background:#fff;text-align:left;color:var(--ink);padding:0;transition:transform .2s,box-shadow .2s}.topic-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px #25254c0e}.topic-art{height:150px;position:relative;overflow:hidden;display:grid;place-items:center}.spectrum{background:#e9e6f5}.spectrum:before{content:'';width:160px;height:160px;border:18px solid #8b75c9;border-bottom-color:#eaa176;border-right-color:#e3c26f;border-left-color:#8bb8a4;border-radius:50%;transform:rotate(-35deg);box-shadow:0 0 0 10px #ffffff69,inset 0 0 0 10px #fff6}.mars{background:radial-gradient(ellipse at 55% 70%,#db795c,#503d64)}.mars:before{content:'';height:125px;width:125px;background:radial-gradient(circle at 32% 30%,#efb68f,#aa503e 65%,#583755);border-radius:50%;box-shadow:15px 15px 30px #33284488}.gps{background:#dae7e5}.gps:before,.gps:after{content:'';position:absolute;width:170px;height:65px;border:1px solid #709c98;border-radius:50%;transform:rotate(-30deg)}.gps:after{transform:rotate(40deg)}.globe{width:80px;height:80px;border-radius:50%;background:radial-gradient(circle at 32% 30%,#a4cbb2,#508b83);box-shadow:0 12px 22px #447e7b22}.topic-copy{padding:19px 21px 22px}.topic-copy .eyebrow{font-size:9px;letter-spacing:1.4px;color:var(--purple)}.topic-copy h3{margin:10px 0 9px}.topic-copy p{font-size:13px;margin:0 0 17px}.card-end{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.bottom-callout{display:flex;gap:20px;align-items:center;padding:23px 27px;background:#edece5;border-radius:18px;margin-top:20px}.bottom-callout .icon{font-size:28px;color:var(--purple)}.bottom-callout h3{font-size:16px;margin:0 0 4px}.bottom-callout p{font-size:13px;margin:0}.bottom-callout a{margin-left:auto;white-space:nowrap;font-size:13px;font-weight:600}.text-button{border:0;background:transparent;color:var(--purple);padding:10px 0;text-decoration:underline;text-underline-offset:4px;font-size:13px}footer{max-width:1160px;margin:8px auto 35px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.skip{position:fixed;top:-100px;left:20px;z-index:10;background:#fff;padding:15px}.skip:focus{top:10px}.lesson-layout{display:grid;grid-template-columns:230px minmax(0,760px);gap:50px;justify-content:center}.lesson-sidebar{align-self:start;position:sticky;top:26px;padding-top:15px}.lesson-sidebar a.back{display:block;margin-bottom:28px;font-size:13px}.lesson-sidebar h2{font-size:17px}.lesson-sidebar ol{list-style:none;padding:0;display:grid;gap:17px;font-size:13px}.lesson-sidebar li a{text-decoration:none;color:var(--muted)}.lesson-sidebar li span{display:inline-grid;place-items:center;width:25px;height:25px;background:#e7e4ef;border-radius:50%;margin-right:9px;font-size:11px}.lesson-sidebar .aside-note{font-size:12px;margin-top:25px}.lesson-title h1{font-size:42px;max-width:600px;margin:16px 0}.lesson-title .eyebrow{color:var(--purple)}.lesson-title p{font-size:16px;max-width:580px}.lesson-banner{height:210px;border-radius:20px;position:relative;overflow:hidden;margin:23px 0}.lesson-banner .hero-art{height:100%;min-height:0}.lesson-banner .hero-art:before{width:90px;height:90px;top:27%;left:68%}.lesson-banner .hero-art:after{bottom:-12%}.lesson-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}select{padding:10px 12px;border:1px solid var(--line);background:white;border-radius:10px;color:var(--ink)}.reading{padding:28px 0;border-bottom:1px solid var(--line);scroll-margin-top:25px}.reading h2{font-size:27px;line-height:1.2;margin-bottom:18px}.reading h2 small{display:block;font-size:10px;letter-spacing:2px;color:var(--purple);margin-bottom:10px}.reading p{font-size:16px;line-height:1.8;color:#555565}.definition{display:inline;border:0;border-bottom:1px dashed var(--purple);padding:0;background:transparent;color:var(--purple)}.definition-box{border-left:3px solid var(--purple);padding:12px 18px;background:var(--soft);border-radius:0 8px 8px 0;font-size:14px;margin:15px 0;line-height:1.7}.source{font-size:11px!important;margin:10px 0;color:var(--muted)}.challenge{background:white;border:1px solid var(--line);border-radius:17px;padding:24px;margin:23px 0 0}.challenge .eyebrow{color:var(--purple);font-size:10px}.challenge h3{font-size:18px;line-height:1.4;margin:10px 0 17px}.answers{display:grid;gap:9px}.answer{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:11px;min-height:48px;padding:11px 14px;background:#faf9fc;color:var(--ink);font-size:14px}.answer .letter{width:25px;height:25px;border-radius:6px;display:grid;place-items:center;background:#efedf4;color:#6e6583;font-size:11px;flex-shrink:0}.answer.correct{border-color:#79aa90;background:#edf6f0}.answer.wrong{border-color:#cc9867;background:#fff5eb}.feedback{font-size:13px!important;line-height:1.6!important;margin:14px 0 0;color:var(--green)!important}.feedback:empty{display:none}.deeper{background:#ece9f4;padding:18px;border-radius:12px;font-size:14px!important;margin-top:18px}.deeper[hidden]{display:none}.lab{border-radius:16px;background:#eeeff6;padding:22px;margin:22px 0}.lab-view{height:160px;border-radius:12px;background:linear-gradient(#4b84c5,#c4def0);position:relative;overflow:hidden;margin:14px 0}.lab-sun{position:absolute;width:38px;height:38px;border-radius:50%;background:#ffe6a6;left:13%;top:20%;box-shadow:0 0 30px #ffe7a7aa;transition:left .2s,top .2s}.lab-ground{position:absolute;bottom:-52px;left:-5%;width:110%;height:85px;background:#384c64;border-radius:50%}.lab-path{position:absolute;top:39%;left:20%;width:63%;height:2px;background:#fff5cc;transform-origin:right center;transform:rotate(20deg)}.observer{position:absolute;right:13%;bottom:33px;font-size:10px;background:#fff;padding:5px 8px;border-radius:8px}.lab input{width:100%;accent-color:var(--purple);min-height:35px}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.lab label{font-size:14px;font-weight:600}.lab p{font-size:13px;margin:12px 0 0}.completion{border:1px solid #d6cfee;background:#eeebf7;text-align:center;padding:32px;border-radius:20px;margin:30px 0}.completion h2{margin-bottom:9px}.completion p{font-size:14px}.completion .award{font-size:33px;color:var(--purple);margin-bottom:12px}.source-list{font-size:13px;line-height:1.8;padding-left:19px}.related-links{display:grid;gap:10px}.related-links button{text-align:left;background:white;border:1px solid var(--line);border-radius:12px;padding:15px;color:var(--ink)}.related-links small{display:block;color:var(--muted);margin-top:5px}.page-narrow{max-width:850px;margin:auto}.page-narrow>p{max-width:650px}.panel{background:white;border:1px solid var(--line);padding:28px;border-radius:20px;margin:25px 0}.panel h2{font-size:22px}.steps{padding-left:22px;line-height:1.9;color:var(--muted)}textarea{display:block;width:100%;min-height:110px;resize:vertical;padding:14px;font:inherit;border:1px solid var(--line);border-radius:12px;margin:12px 0;background:#faf9fc}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:28px 0}.stat{padding:24px;background:white;border:1px solid var(--line);border-radius:17px}.stat strong{display:block;font-size:38px;font-weight:650;margin-bottom:6px}.stat span{font-size:12px;color:var(--muted)}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:9px;margin:20px 0}.day{border-radius:10px;background:#f1eff5;min-height:68px;text-align:center;display:grid;place-content:center;gap:6px;color:var(--muted);font-size:12px}.day.done{background:var(--purple);color:#fff}.milestone{display:flex;gap:16px;align-items:center;padding:16px;background:var(--soft);border-radius:14px}.milestone b{font-size:27px;color:var(--purple)}.milestone p{margin:0;font-size:13px}.progressbar{height:6px;background:#e5e1ee;border-radius:5px;overflow:hidden}.progressbar>span{display:block;height:100%;background:var(--purple);transition:width .3s}dialog{border:0;border-radius:24px;padding:35px;max-width:520px;width:calc(100% - 32px);box-shadow:0 20px 100px #20203544;color:var(--ink)}dialog::backdrop{background:#171c3d70;backdrop-filter:blur(4px)}dialog h2{padding-right:20px}dialog p,dialog li{font-size:14px;line-height:1.7;color:var(--muted)}dialog .close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:29px;color:var(--muted);width:40px;height:40px}.modal-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:14px;background:#282a3c;color:white;padding:13px 22px;font-size:13px;z-index:20;box-shadow:0 6px 22px #20203533;display:none;max-width:90%;text-align:center}#toast.visible{display:block}#storage-warning{position:fixed;bottom:0;background:#ffedca;padding:8px;width:100%;font-size:12px;text-align:center}.checklist{display:grid;gap:12px}.checklist label{display:flex;gap:10px;align-items:center;min-height:35px;font-size:14px}.checklist input{width:19px;height:19px;accent-color:var(--purple)}
@media(max-width:1240px){main,footer{margin-left:40px;margin-right:40px}}@media(max-width:850px){header{padding:0 24px;height:88px;gap:15px}.prototype{display:none}nav{gap:20px}main,footer{margin-left:24px;margin-right:24px}.hero-copy{padding:30px}.hero h2{font-size:36px}.hero{min-height:370px;grid-template-columns:1.15fr 1fr}.hero-art:before{left:28%}.lesson-layout{grid-template-columns:1fr;gap:10px}.lesson-sidebar{position:static;padding:0}.lesson-sidebar>*:not(.back){display:none}.lesson-sidebar a.back{margin-bottom:12px}}@media(max-width:600px){header{height:80px;padding:0 20px;margin-bottom:47px}.brand{font-size:27px}.brandmark{font-size:37px}nav{position:absolute;top:77px;left:20px;right:20px;border-bottom:1px solid var(--line);justify-content:space-between;gap:12px}nav a{font-size:12px;padding:10px 0}main,footer{margin-left:20px;margin-right:20px}.welcome{margin:25px 0 23px}.welcome h1{font-size:33px;letter-spacing:-1px}.welcome p{font-size:13px}.date{display:none}.hero{display:flex;flex-direction:column-reverse;min-height:0;border-radius:23px}.hero-art{min-height:185px;height:185px}.hero-art:before{width:96px;height:96px;top:28%;left:64%}.orbit{width:290px;height:290px;top:-45%;left:30%}.hero-art:after{height:40%;bottom:-15%}.art-caption{display:none}.art-label{font-size:8px;top:18px;right:19px}.hero-copy{padding:25px}.hero h2{font-size:34px;margin-top:17px;max-width:320px}.hero p{font-size:14px;line-height:1.6}.hero .meta{margin:20px 0}.hero .button{width:100%}.section-head{margin-top:28px}.section-head h2{font-size:23px}.section-head .pill{display:none}.topic-card{flex-basis:265px}.topic-art{height:135px}.bottom-callout{padding:20px;flex-wrap:wrap;gap:12px}.bottom-callout .icon{display:none}.bottom-callout a{margin-left:0}footer{font-size:10px;gap:15px}footer button{font-size:11px!important}.lesson-title h1{font-size:35px}.lesson-title p{font-size:15px}.lesson-banner{height:170px}.reading h2{font-size:25px}.reading p{font-size:15px}.challenge{padding:19px}.stats{gap:8px}.stat{padding:17px 12px}.stat strong{font-size:29px}.stat span{font-size:11px}.panel{padding:22px}.day{font-size:10px;min-height:60px}.week{gap:5px}.completion{padding:25px 20px}.page-narrow h1{font-size:35px}.points{padding:10px 13px}dialog{padding:29px 24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

.topic-card{display:flex;flex-direction:column}.topic-art{width:100%;flex-shrink:0}.topic-copy{flex:1;width:100%}.skip{top:0;transform:translateY(-150%)}.skip:focus{transform:translateY(0)}

/* Reading leads; activities are quiet, optional supporting material. */
.lesson-map{background:#eeece5;padding:22px 25px;border-radius:16px;margin:22px 0}.lesson-map p{font-size:14px;margin:0;line-height:1.8}.lesson-map strong{color:var(--ink)}.reading p{max-width:68ch}.spectrum-strip{height:22px;border-radius:20px;background:linear-gradient(90deg,#7754b5,#537ad2,#73b4b1,#a6c77c,#ecc66f,#dc8b5b,#b85759);margin:18px 0 8px}.spectrum-key{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.reading figure{margin:25px 0;padding:23px;background:#eeedf4;border-radius:16px}.reading figcaption{font-size:12px;line-height:1.7;color:var(--muted);margin-top:13px}.reading .takeaway{border-left:3px solid #a49ac7;padding:6px 0 6px 18px;font-size:15px;color:#4d4762}.path-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px}.path-comparison div{padding:16px;background:#fff9;border-radius:12px;font-size:13px;line-height:1.7}.path-comparison strong{display:block;color:var(--ink);margin-bottom:5px}.reading .lab{margin-top:0}.optional-lab{margin:28px 0;border:1px solid var(--line);border-radius:16px;padding:20px;background:#faf9fc}.optional-lab summary{font-weight:600;cursor:pointer;min-height:35px;line-height:1.6}.optional-lab>p{font-size:13px;margin:8px 0 15px}.optional-lab .lab{margin-bottom:0}.challenge{background:#f2f0f7;border:0;margin:28px 0}.challenge .eyebrow{font-size:9px}.completion{background:#eeece5;border:0;text-align:left}.completion .award{display:none}.completion .button{margin-top:5px}.lesson-sidebar ol{gap:13px}.lesson-sidebar .aside-note{line-height:1.7}.reading h3{font-size:19px;margin-top:26px}.reading .source{margin-bottom:0}.points{background:transparent;color:var(--muted);border:1px solid var(--line)}@media(max-width:600px){.path-comparison{grid-template-columns:1fr;gap:10px}.reading figure{padding:18px}.lesson-map{padding:20px}.optional-lab{padding:17px}.optional-lab .lab{padding:15px}.lesson-title h1{font-size:35px}}

.topic-open{border:0;padding:0;background:transparent;text-align:left;color:inherit;width:100%;flex:1}.card-bookmark{padding:0 20px 18px;width:100%;text-align:right}.bookmark{min-height:40px;padding:8px 15px;font-size:12px}.hero .bookmark{color:white;border-color:#ffffff77;background:transparent;margin:10px 0 0 10px}.hero-read{display:inline-block;font-size:12px;margin-left:12px}.read-badge{display:inline-block;font-size:11px;margin-left:6px;color:var(--green)}.saved-item .modal-actions{align-items:center}@media(max-width:600px){.hero .bookmark{width:auto;margin-left:0}.lesson-toolbar .bookmark{margin-bottom:5px}}
.topic-open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}

.wrinkle-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:34px 40px;border-radius:26px;background:linear-gradient(130deg,#3e3269,#7762b1);color:#fff;margin-top:28px;overflow:hidden}.wrinkle-hero .eyebrow{color:#d9cff4}.wrinkle-hero h2{font-size:78px;line-height:1;letter-spacing:-4px;margin:20px 0 10px}.wrinkle-hero h2 span{display:block;font-size:22px;letter-spacing:-.5px;margin-top:12px}.wrinkle-hero p{color:#e1dced;margin:15px 0 0;font-size:14px}.brain-art{width:225px;flex-shrink:0;color:#d9c2f1}.metaphor-note{font-size:12px;margin:14px 5px 25px}.next-milestone h2{margin:10px 0 22px}.next-milestone p{font-size:14px;margin:15px 0}.milestone-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.milestone-tile{padding:25px;border:1px solid var(--line);border-radius:20px;background:#efeee9}.milestone-tile.achieved{background:#f1ecfa;border-color:#c9b8e1}.milestone-emblem{display:grid;place-items:center;width:52px;height:52px;border-radius:18px 18px 18px 5px;background:#dedbe3;color:#62596f;font-size:18px;font-weight:700;margin-bottom:21px}.achieved .milestone-emblem{background:#7862ad;color:white}.milestone-tile .eyebrow{font-size:9px;color:#665b75}.milestone-tile h3{margin:10px 0}.milestone-tile p{font-size:13px;margin:0}.quiet-stats{display:flex;gap:30px;align-items:center;margin:30px 0;padding:0 5px}.quiet-stats strong{display:block;font-size:25px}.quiet-stats span{font-size:12px;color:var(--muted)}.quiet-stats>a{margin-left:auto;font-size:13px}.celebration{text-align:center;padding:8px 0}.celebration .brain-art{width:145px;color:#8d6bbb;animation:gentle-arrive .45s ease-out}.celebration h2{padding:0;margin:15px 0;font-size:29px}.celebration .eyebrow{font-size:10px;color:var(--purple);margin-top:12px}.celebration-total{font-size:30px!important;font-weight:700;color:var(--purple)!important}.celebration-total span{display:block;font-size:12px;font-weight:400}.celebration .source{margin-bottom:24px}.celebration .text-button{display:block;margin:8px auto 0}.celebration .button{min-width:170px}@keyframes gentle-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){nav{gap:12px}nav a{font-size:11px}.wrinkle-hero{padding:28px 24px;gap:10px}.wrinkle-hero h2{font-size:60px}.wrinkle-hero h2 span{font-size:18px}.wrinkle-hero .brain-art{width:115px}.wrinkle-hero p{font-size:12px}.milestone-grid{gap:10px}.milestone-tile{padding:19px 15px}.milestone-tile h3{font-size:17px}.quiet-stats{gap:20px;flex-wrap:wrap}.quiet-stats>a{margin-left:0}.next-milestone h2{font-size:21px}}@media(prefers-reduced-motion:reduce){.celebration .brain-art{animation:none}}

.cosmic-page{max-width:1040px;margin:auto}.cosmic-intro{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:12px 0 28px}.cosmic-intro .eyebrow{color:#6b5c96}.cosmic-intro h1{font-size:47px}.cosmic-intro p:last-child{margin-bottom:0}.spark-total{text-align:right;padding-right:8px}.spark-total strong{display:block;font-size:68px;line-height:1;letter-spacing:-3px;color:#554282}.spark-total span{font-size:12px;color:var(--muted);display:block;margin-top:8px}.constellation-map{height:400px;position:relative;border-radius:25px;background:radial-gradient(ellipse at 80% 35%,#4a3c7055,transparent 45%),radial-gradient(ellipse at 30% 80%,#24517355,transparent 50%),#101c32;color:white;overflow:hidden;box-shadow:0 15px 40px #18254015}.constellation-map:before{content:'';position:absolute;inset:0;opacity:.5;background-image:radial-gradient(circle,#d6dbf7 1px,transparent 1px),radial-gradient(circle,#9cadd5 1px,transparent 1px);background-size:73px 83px,137px 123px;background-position:15px 20px,42px 59px}.map-heading,.map-legend{position:absolute;z-index:2;left:28px;right:28px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.4px;color:#bfc9e2;pointer-events:none}.map-heading{top:25px}.map-legend{bottom:23px;letter-spacing:.3px;justify-content:flex-start;gap:23px}.map-legend span:last-child{margin-left:auto}.map-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#7d8ca544;stroke-width:1.5;stroke-dasharray:5 7}.map-lines .lit-line{stroke:#b1a4ef;stroke-width:2;stroke-dasharray:none}.mobile-lines{display:none}.galaxy-glow{position:absolute;left:82%;top:43%;width:110px;height:55px;border:1px solid #b7a7e94d;border-radius:50%;transform:rotate(-30deg);box-shadow:0 0 30px #8f70c71a,inset 0 0 25px #aa83ce22}.map-node{position:absolute;z-index:3;transform:translate(-50%,-15px);width:142px;min-height:90px;padding:0 5px 8px;border:1px solid transparent;border-radius:12px;background:transparent;color:#c8d2e7;display:flex;align-items:center;flex-direction:column;text-align:center}.map-node[aria-pressed=true]{background:#ffffff0c;border-color:#b6b4dd70}.node-light{width:14px;height:14px;border-radius:50%;border:2px solid #8590ac;display:grid;place-items:center;font-size:25px;line-height:1;margin:7px 0 13px;color:#b7a7df}.lit .node-light{background:#e6dcff;border-color:#fff;box-shadow:0 0 12px 4px #b7a7ff66,0 0 35px #997fe855}.node-name{font-size:12px;font-weight:600;line-height:1.35}.map-node small{font-size:9px;color:#b3bdd3;margin-top:5px}.map-node.lit{color:#fff}.node-0{left:12%;top:65%}.node-1{left:30%;top:33%}.node-2{left:51%;top:55%}.node-3{left:72%;top:24%}.node-4{left:88%;top:53%}.node-4 .node-light{border:0;background:transparent;box-shadow:none}.map-detail{margin:18px 0 25px;padding:24px 28px;background:#eeebf4;border:1px solid #e0d9ee;border-radius:18px;min-height:190px}.map-detail .eyebrow{font-size:10px;color:#75638e;margin-bottom:10px}.map-detail h3{font-size:23px;margin-bottom:8px}.map-detail p{font-size:14px;margin-bottom:6px}.contributing{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #d5cde2;padding-top:13px;margin-top:16px;font-size:12px}.contributing span{color:var(--muted)}.cosmic-page .next-milestone{display:flex;gap:30px;align-items:center;justify-content:space-between;margin:20px 0}.cosmic-page .next-milestone h2{margin:10px 0}.next-track{width:40%;min-width:210px}.next-track a{font-size:13px;display:block;margin-top:17px}.cosmic-art{width:170px;color:#9a80c8}.celebration .cosmic-art{animation:gentle-arrive .45s ease-out}.cosmic-page .quiet-stats{gap:35px}@media(max-width:600px){.cosmic-intro{align-items:flex-end;gap:12px}.cosmic-intro h1{font-size:32px;letter-spacing:-1px}.cosmic-intro .eyebrow{font-size:9px;letter-spacing:1.2px}.cosmic-intro p:last-child{font-size:13px;max-width:225px}.spark-total{padding:0 0 3px;flex-shrink:0}.spark-total strong{font-size:42px}.spark-total span{font-size:10px;max-width:64px}.constellation-map{height:470px;border-radius:20px}.map-heading{left:18px;right:18px;font-size:8px;letter-spacing:1px}.map-heading span:last-child{display:none}.map-legend{left:18px;right:18px;bottom:17px;gap:18px;font-size:9px}.map-legend span:last-child{display:none}.desktop-lines{display:none}.mobile-lines{display:block;stroke-width:.4}.mobile-lines .lit-line{stroke-width:.6}.map-node{width:105px;min-height:85px}.node-name{font-size:11px}.node-0{left:18%;top:76%}.node-1{left:38%;top:55%}.node-2{left:63%;top:69%}.node-3{left:77%;top:35%}.node-4{left:38%;top:15%}.galaxy-glow{left:24%;top:11%;width:100px}.map-detail{padding:22px;min-height:210px}.cosmic-page .next-milestone{display:block;padding:23px}.next-track{width:100%;min-width:0;margin-top:20px}.cosmic-page .quiet-stats{gap:22px}.cosmic-page .quiet-stats>a{width:100%}.cosmic-page .quiet-stats span{font-size:10px}}@media(prefers-reduced-motion:reduce){.celebration .cosmic-art{animation:none}}

/* A stable spatial atlas: decorative dust never represents a completion. */
.atlas-shell{margin:28px 0 0;border:1px solid #334a59;border-radius:24px;overflow:hidden;background:#07131d;color:#edf7ff}
.atlas-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 20px;background:#101f2b;border-bottom:1px solid #ffffff14;flex-wrap:wrap}
.atlas-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.atlas-breadcrumb button,.atlas-back,.atlas-controls button{color:#d8e8ed;background:transparent;border:1px solid #ffffff24;border-radius:10px;min-height:44px;padding:8px 12px;cursor:pointer;font:inherit}.atlas-breadcrumb button[aria-current]{background:#ffffff14;color:#b9efcf}.atlas-breadcrumb button:disabled,.atlas-back:disabled{opacity:.4;cursor:default}
.atlas-viewport{height:500px;position:relative;overflow:hidden;touch-action:none;cursor:grab;isolation:isolate;background:radial-gradient(ellipse at 40% 45%,#183c413b,transparent 60%),#07131d}.atlas-viewport:active{cursor:grabbing}.atlas-camera{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}.ambient-stars{position:absolute;inset:-15%;pointer-events:none}.ambient-stars i{position:absolute;display:block;border-radius:50%;background:#d9eeff;box-shadow:0 0 3px #cadfff50}
.atlas-scene{position:absolute;inset:0;transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .4s;transform-origin:50% 48%;pointer-events:none;opacity:0;transform:scale(.45)}.atlas-scene button,.atlas-scene a{pointer-events:auto}.atlas-scene[inert]{pointer-events:none}.atlas-scene[inert] button,.atlas-scene[inert] a{pointer-events:none}
[data-level=galaxy] .scene-galaxy,[data-level=constellation] .scene-constellation,[data-level=topic] .scene-topic{opacity:1;transform:scale(1)}[data-level=constellation] .scene-galaxy,[data-level=topic] .scene-galaxy,[data-level=topic] .scene-constellation{transform:scale(2.8);opacity:0}
.spiral-dust{position:absolute;width:410px;height:240px;left:50%;top:45%;transform:translate(-50%,-50%) rotate(-24deg);border-radius:50%;background:radial-gradient(ellipse,#e4e8b740 0%,#b7d5bc20 20%,#507b861a 45%,transparent 70%);box-shadow:inset 0 0 45px #83afb120,0 0 70px #395f5320;border:1px solid #c8ebdc18}.spiral-dust:before,.spiral-dust:after{content:'';position:absolute;inset:28px -20px;border-radius:50%;border-top:2px solid #a6ccbd50;border-bottom:1px solid #d3d8b92b;transform:rotate(13deg)}.spiral-dust:after{inset:60px 35px;transform:rotate(-10deg)}
.galaxy-target{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:10px;width:320px;max-width:90%;padding:20px;border:0;background:transparent;color:#eff6f4;cursor:pointer}.galaxy-target strong{font-size:25px;font-weight:550}.galaxy-target small{font-size:12px;color:#b5c8d1}.galaxy-core{width:66px;height:66px;margin:0 0 20px;border-radius:50%;background:radial-gradient(circle,#fffce0 0%,#d6e8bc 8%,#93bf9770 30%,transparent 68%);box-shadow:0 0 65px #b2da8740}.target-action{font-size:13px;color:#bbefce;border:1px solid #addcb640;border-radius:30px;padding:9px 16px}.preview-region{position:absolute;right:6%;bottom:12%;color:#7b939e;font-size:12px;text-align:right}.preview-region small{color:#57717f}
.orbital-rings{position:absolute;left:50%;top:52%;width:430px;height:265px;transform:translate(-50%,-50%) rotate(-20deg);border:1px solid #b6dacf30;border-radius:50%;box-shadow:0 0 0 40px #adcbb509,0 0 0 100px #a5c8b605}.orbital-rings:after{content:'';position:absolute;inset:40px;border:1px dashed #b6dacf20;border-radius:50%}.constellation-label{position:absolute;left:7%;top:9%;display:flex;flex-direction:column;gap:8px}.constellation-label>span,.topic-world-label>span{font-size:10px;letter-spacing:2px;color:#8bb3bc}.constellation-label strong{font-size:28px;font-weight:500}.constellation-label small{font-size:12px;color:#9eafb8}.topic-star{position:absolute;left:55%;top:49%;transform:translate(-50%,-50%);color:#eaf6f2;display:flex;align-items:center;flex-direction:column;gap:10px;background:transparent;border:0;padding:24px;cursor:pointer;min-width:230px}.earned-star{width:22px;height:22px;margin-bottom:14px;border-radius:50%;background:#fcffe0;box-shadow:0 0 15px #e1ffb8,0 0 50px #b5df9670,0 0 0 14px #b7d9ab10}.topic-star strong{font-size:20px}.topic-star small{font-size:12px;color:#bfdbc5}.unmapped-note{position:absolute;bottom:10%;left:7%;font-size:12px;line-height:1.7;color:#8eacb8}.empty-orbit{position:absolute;top:38%;left:50%;transform:translateX(-50%);width:280px;max-width:85%;text-align:center}.empty-orbit p{color:#9db1bc;font-size:14px}.empty-orbit a{color:#b8efcc}
.topic-orbit{position:absolute;left:50%;top:43%;width:330px;height:200px;transform:translate(-50%,-50%) rotate(-20deg);border:1px solid #bbd9bf40;border-radius:50%}.topic-sun{position:absolute;width:115px;height:115px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffad4,#c5deab 45%,#4c8984);box-shadow:0 0 60px #afd09c55,inset -20px -15px 35px #154257}.topic-world-label{position:absolute;top:69%;left:0;right:0;text-align:center;display:flex;flex-direction:column;gap:13px}.topic-world-label strong{font-size:28px;font-weight:500}.atlas-location{position:absolute;right:18px;top:15px;display:flex;flex-direction:column;align-items:center;font-size:10px;color:#91adb8;pointer-events:none}.atlas-location svg{width:62px;height:42px;fill:none;stroke:#90ada467}.atlas-location circle{fill:#c3e8bc;stroke:none}.atlas-controls{border-top:1px solid #ffffff14;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.atlas-controls>div{display:flex;align-items:center;gap:8px}.atlas-controls button{min-width:44px}.atlas-controls output{font-size:12px;width:43px;text-align:center}.atlas-controls p{font-size:11px;color:#96b0bc;margin:0}.stage-list{margin-top:22px}.stage-list summary{cursor:pointer;min-height:44px}.stage-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-top:1px solid #ddd;font-size:13px}.stage-row strong{flex:1}.stage-row>span:first-child{font-size:11px;color:#61766b}
@media(max-width:600px){.atlas-viewport{height:440px}.atlas-toolbar{padding:10px}.atlas-breadcrumb{gap:4px}.atlas-breadcrumb button{font-size:12px;padding:8px}.atlas-back{font-size:12px}.atlas-controls{padding:12px}.galaxy-target strong{font-size:22px}.galaxy-target small{font-size:10px}.spiral-dust{width:310px;height:210px}.atlas-location{right:10px;top:12px}.constellation-label{top:9%;left:7%}.constellation-label strong{font-size:24px}.constellation-label small{font-size:10px}.topic-star{left:52%;top:52%}.unmapped-note{font-size:10px}.preview-region{font-size:10px}.topic-orbit{width:265px}.stage-row{font-size:11px;gap:8px}}
@media(prefers-reduced-motion:reduce){.atlas-scene{transition:none}.atlas-camera{will-change:auto}}

.demo-banner,.demo-invitation{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#eee8fa;border:1px solid #d7c7ed;border-radius:18px;margin:24px 0}.demo-banner p,.demo-invitation p{margin:6px 0 0;font-size:14px;color:#645b77}.demo-banner .button,.demo-invitation .button{flex-shrink:0}.demo-banner strong{color:#5d3c8c}.demo-map-caption{position:absolute;left:6%;top:6%;font-size:11px;letter-spacing:2px;color:#c1b5e8}.demo-map-caption span{display:block;margin-top:8px;font-size:11px;letter-spacing:0;color:#94aab5}.demo-watermark{position:absolute;bottom:14px;left:20px;pointer-events:none;color:#baa8d9;font-size:10px;letter-spacing:2px}.demo-dust{width:80%;height:70%;opacity:.55}.demo-cluster{position:absolute;width:220px;min-height:145px;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:7px;border:1px solid #ffffff19;border-radius:50%;background:radial-gradient(ellipse,#b7cff714,transparent 70%);color:#eef4ff;padding:16px;cursor:pointer}.demo-cluster strong{font-size:18px}.demo-cluster small{color:#b0b9ca;font-size:11px}.demo-cluster>span:last-child{font-size:11px;color:var(--cluster)}.cluster-0{left:26%;top:36%}.cluster-1{left:72%;top:47%}.cluster-2{left:41%;top:78%}.cluster-stars{position:relative;width:95px;height:40px}.cluster-stars:after{content:'';position:absolute;inset:10px 4px;border-top:1px solid var(--cluster);transform:rotate(-14deg);opacity:.3}.cluster-stars i{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--cluster);box-shadow:0 0 14px var(--cluster);left:4%;top:65%}.cluster-stars i:nth-child(2){left:32%;top:10%}.cluster-stars i:nth-child(3){left:63%;top:70%}.cluster-stars i:nth-child(4){left:95%;top:25%}.demo-connections{position:absolute;inset:0;width:100%;height:100%;stroke:#afc5e740;stroke-width:.25;fill:none;pointer-events:none}.demo-topic{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:6px;background:transparent;border:0;color:#edf5ff;padding:12px;cursor:pointer;width:175px;min-height:92px}.demo-topic .earned-star{width:13px;height:13px;margin:0 0 8px;background:var(--cluster);box-shadow:0 0 15px var(--cluster),0 0 0 9px #c5dfd60b}.demo-topic strong{font-size:15px}.demo-topic small{font-size:10px;color:#aeb8d1}.demo-topic-0{left:27%;top:37%}.demo-topic-1{left:72%;top:46%}.demo-topic-2{left:62%;top:74%}.demo-topic-3{left:24%;top:68%}.demo-page .atlas-breadcrumb{max-width:80%}.demo-page .topic-world-label{padding:0 20px}.demo-page .atlas-viewport{height:540px}
@media(max-width:600px){.demo-banner,.demo-invitation{align-items:flex-start;flex-direction:column;padding:18px}.demo-page .atlas-viewport{height:570px}.demo-cluster{width:175px;min-height:140px}.demo-cluster strong{font-size:15px}.cluster-0{left:34%;top:29%}.cluster-1{left:67%;top:55%}.cluster-2{left:33%;top:81%}.demo-map-caption{font-size:10px}.demo-topic{width:125px;padding:8px}.demo-topic strong{font-size:13px;line-height:1.35}.demo-page .atlas-breadcrumb{max-width:100%}.demo-page .constellation-label strong{font-size:22px}.demo-page .atlas-location{top:16px;font-size:9px}.demo-page .topic-world-label strong{font-size:24px}}
.demo-topic-0{left:26%}.demo-topic-1{left:74%}.demo-topic-2{left:74%}.demo-topic-3{left:26%}

/* Cosmic refinement: static depth, sparse slow shimmer, transform/opacity motion. */
.atlas-shell{border-color:#405364;box-shadow:0 22px 55px #14243c14,0 3px 12px #14243c12}
.atlas-toolbar{background:linear-gradient(110deg,#152635,#101d2b);padding-top:14px;padding-bottom:14px}
.atlas-breadcrumb button,.atlas-back,.atlas-controls button{font-size:12px;font-weight:550;transition:background .2s,border-color .2s,color .2s}
.atlas-breadcrumb button[aria-current]{background:#a5cbd517;border-color:#a4cdd454;color:#d4f5e2;box-shadow:inset 0 1px #e5fff110}
.atlas-viewport{background:radial-gradient(ellipse at 18% 23%,#243a5d50,transparent 58%),radial-gradient(ellipse at 82% 78%,#44366532,transparent 56%),radial-gradient(ellipse at 52% 48%,#1c45462b,transparent 62%),#07121e}
.atlas-viewport:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 95px #02081455;z-index:-1}
.atlas-camera{transition:transform .62s cubic-bezier(.16,1,.3,1)}
.atlas-viewport.is-dragging .atlas-camera{transition:none}
.atlas-scene{transition:transform .9s cubic-bezier(.16,1,.3,1),opacity .48s ease}
.ambient-stars i:nth-child(11n){animation:atlas-shimmer 8s ease-in-out infinite alternate}
.ambient-stars i:nth-child(22n){animation-delay:-4s;animation-duration:11s}
.ambient-stars i:nth-child(33n){animation-delay:-7s;animation-duration:13s;background:#d4bdeb}
.ambient-stars i:nth-child(7n){background:#b4dcd7}
@keyframes atlas-shimmer{from{opacity:calc(var(--star-opacity,.3)*.5)}to{opacity:var(--star-opacity,.3)}}
.spiral-dust{border-color:#d0e3f41c;background:radial-gradient(ellipse,#e3e3b736 0%,#84b8b422 22%,#617eb624 43%,transparent 72%);animation:atlas-nebula 22s ease-in-out infinite alternate}
@keyframes atlas-nebula{from{opacity:.65;transform:translate(-50%,-50%) rotate(-24deg) scale(.97)}to{opacity:.95;transform:translate(-50%,-50%) rotate(-21deg) scale(1.025)}}
.demo-dust{animation-name:atlas-demo-nebula}
@keyframes atlas-demo-nebula{from{opacity:.4;transform:translate(-50%,-50%) rotate(-24deg) scale(.98)}to{opacity:.65;transform:translate(-50%,-50%) rotate(-21deg) scale(1.025)}}
.atlas-scene[inert] *,.atlas-scene[inert] *:before,.atlas-scene[inert] *:after{animation-play-state:paused!important}
.demo-cluster{border-color:#c1d5ea24;background:radial-gradient(ellipse at 50% 36%,#c2d5f51b,transparent 72%);box-shadow:inset 0 1px #ffffff09;transition:border-color .25s,background .25s,box-shadow .25s}
.demo-cluster strong{font-weight:600;letter-spacing:-.35px;color:#f4f7ff;text-shadow:0 2px 10px #030a16}
.demo-cluster small{font-size:10px;letter-spacing:.25px;color:#a8bacd}
.demo-cluster>span:last-child{font-weight:550;letter-spacing:.15px;margin-top:3px}
.cluster-stars{transform:scale(1.08);margin-bottom:3px}
.cluster-stars i{box-shadow:0 0 7px var(--cluster),0 0 20px color-mix(in srgb,var(--cluster) 40%,transparent)}
.cluster-stars i:after,.earned-star:after{content:'';position:absolute;inset:-7px;border:1px solid var(--cluster,#caeab3);border-radius:50%;opacity:.18;animation:atlas-halo 6s ease-in-out infinite alternate;pointer-events:none}
.cluster-stars i:nth-child(2n):after{animation-delay:-3s}
.earned-star{position:relative;flex-shrink:0;transition:transform .25s ease}
.earned-star:after{inset:-10px;animation-duration:7s}
@keyframes atlas-halo{from{transform:scale(.8);opacity:.12}to{transform:scale(1.25);opacity:.32}}
.demo-topic strong,.topic-star strong{font-weight:550;letter-spacing:-.2px;text-shadow:0 2px 8px #030a16,0 0 18px #030a16}
.demo-topic small{font-size:9px;letter-spacing:.6px;color:#aebcd1}
.demo-topic .earned-star{background:radial-gradient(circle at 35% 30%,#fff,var(--cluster) 65%);box-shadow:0 0 9px var(--cluster),0 0 30px color-mix(in srgb,var(--cluster) 35%,transparent)}
.demo-connections{transform:translateY(-26px);stroke:#a9bfd158;stroke-width:.18}
.demo-connections path{stroke-linecap:round;stroke-linejoin:round}
[data-level=constellation] .demo-connections path{stroke-dasharray:240;animation:atlas-connect 1.4s ease-out both}
@keyframes atlas-connect{from{stroke-dashoffset:240;opacity:.2}to{stroke-dashoffset:0;opacity:1}}
.constellation-label>span,.demo-map-caption{font-size:9px;letter-spacing:2.2px;color:#a8c4d7}
.constellation-label strong{font-weight:550;letter-spacing:-.65px;color:#eff7ff}
.constellation-label small{color:#b3c7d2}
.orbital-rings{border-color:#acc7de22;box-shadow:0 0 0 40px #a5c6d406,0 0 0 100px #b7accb04}
.topic-orbit{border-color:#bdd9dc45;box-shadow:0 0 0 22px #b9d8df05}
.topic-sun{background:radial-gradient(circle at 32% 26%,#fff9dc,var(--atlas-accent,#c5deab) 43%,#39737f 78%,#163450);box-shadow:0 0 42px #adc9cb30,0 0 100px #abbbd51a,inset -18px -12px 28px #17374f}
.topic-sun:after{content:'';position:absolute;inset:-18px;border:1px solid #c7dce522;border-radius:50%;animation:atlas-halo 9s ease-in-out infinite alternate}
.topic-world-label strong{font-weight:550;letter-spacing:-.5px}.topic-world-label>span{color:#b2cbd7;font-size:9px}
.atlas-controls{background:linear-gradient(100deg,#101f2b,#0b1723)}.atlas-controls output{font-variant-numeric:tabular-nums;color:#c6d8e7}
.atlas-location{color:#bbcbda;letter-spacing:.3px}.demo-watermark{color:#c6b9dc;letter-spacing:1.8px;font-size:9px}
.map-detail{border-color:#dcd5e9;background:linear-gradient(115deg,#f0edf8,#eeedf5)}
.map-detail h3{letter-spacing:-.55px;font-weight:650}.map-detail .eyebrow{font-size:9px;letter-spacing:1.8px}
.demo-banner,.demo-invitation{background:linear-gradient(110deg,#eee8fa,#f2eef8);border-color:#ded3ef}
.demo-cluster:focus-visible,.demo-topic:focus-visible,.topic-star:focus-visible,.galaxy-target:focus-visible{outline:2px solid #c8d7f3;outline-offset:5px;border-radius:18px}
.demo-cluster:active .cluster-stars,.demo-topic:active .earned-star,.topic-star:active .earned-star{transform:scale(.9)}
@media(hover:hover){.demo-cluster:hover{border-color:var(--cluster);box-shadow:0 0 28px #b8cdea13,inset 0 0 30px #cad8f309}.demo-topic:hover .earned-star,.topic-star:hover .earned-star{transform:scale(1.25)}.demo-topic:hover strong,.topic-star:hover strong{color:#fff}.atlas-controls button:hover,.atlas-breadcrumb button:hover,.atlas-back:not(:disabled):hover{background:#d2eaff12;border-color:#aac7d96b}}
@media(max-width:600px){.atlas-viewport:after{box-shadow:inset 0 0 45px #02081433}.spiral-dust{animation:none}.ambient-stars i:nth-child(11n){animation:none}.ambient-stars i:nth-child(33n){animation:atlas-shimmer 10s ease-in-out infinite alternate}.cluster-stars i:after{animation:none}.demo-cluster strong{font-size:15px}.demo-topic strong{font-size:13px}.demo-topic small{font-size:9px}.demo-connections{stroke-width:.25}.atlas-scene{transition-duration:.7s,.4s}}
@media(prefers-reduced-motion:reduce){.atlas-shell *,.atlas-shell *:before,.atlas-shell *:after{animation:none!important;transition:none!important}.atlas-camera{will-change:auto}}
@media(max-width:600px){.demo-cluster{padding:12px;gap:6px}.cluster-stars{margin-bottom:0}.demo-cluster>span:last-child{margin-top:0}}

/* Structural galaxy portraits and full constellation patterns; all artwork is local SVG. */
.galaxy-portrait{display:block;width:310px;height:205px;object-fit:contain;pointer-events:none;flex-shrink:0;max-width:none;filter:drop-shadow(0 0 20px #89a8db12);transition:transform .55s cubic-bezier(.16,1,.3,1)}
.demo-cluster{width:275px;min-height:230px;border:0;border-radius:20px;background:none;box-shadow:none;padding:0;gap:4px}.demo-cluster .galaxy-portrait{margin:-32px 0 -22px}.demo-cluster strong{font-size:19px;letter-spacing:-.4px}.demo-cluster small{font-size:10px}.demo-cluster>span:last-child{font-size:11px;margin-top:7px}.cluster-0{left:25%;top:35%}.cluster-1{left:73%;top:42%}.cluster-2{left:46%;top:77%}.demo-page .atlas-viewport{height:650px}.demo-map-caption{top:5%}.galaxy-target{top:48%;width:400px}.galaxy-target .galaxy-portrait{width:440px;height:290px;margin:-50px 0 -30px}.galaxy-target strong{font-size:24px}.galaxy-target small{font-size:11px}
@media(hover:hover){.demo-cluster:hover{background:none;box-shadow:none}.demo-cluster:hover .galaxy-portrait,.galaxy-target:hover .galaxy-portrait{transform:scale(1.065)}}
.constellation-plot{position:absolute;left:9%;right:9%;top:26%;bottom:14%}.pattern-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#bbd1ed70;stroke-width:.22;pointer-events:none}.pattern-lines path{stroke-linecap:round;stroke-dasharray:120;animation:atlas-connect 1.3s ease-out both}.pattern-topic{width:44px!important;height:44px;min-height:44px;padding:0!important;gap:0;border-radius:50%;justify-content:center}.pattern-topic .earned-star{width:var(--star-size);height:var(--star-size);margin:0!important;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.pattern-topic .earned-star:after{inset:-6px;animation-duration:9s}.star-index{position:absolute;left:calc(50% + 11px);top:calc(50% + 10px);font-size:9px;letter-spacing:.5px;color:#c0d1e0;background:#091522a0;padding:2px 3px;border-radius:3px}.pattern-topic:focus-visible{outline-offset:1px}.pattern-topic:hover .earned-star{transform:translate(-50%,-50%) scale(1.2)}.pattern-legend{position:absolute;bottom:4%;left:7%;font-size:10px;color:#aebcd0;line-height:1.7}.pattern-topic-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.pattern-topic-list button{display:flex;align-items:center;gap:12px;text-align:left;background:#ffffff6b;color:#32374b;border:1px solid #dcd9e6;border-radius:9px;padding:12px;min-height:44px;font-size:12px}.pattern-topic-list span{font-size:10px;color:#7863a1;flex-shrink:0}.demo-page .constellation-label{top:6%}.demo-page .constellation-label strong{font-size:30px}.demo-page .constellation-label small{font-size:11px}
@media(max-width:600px){.demo-page .atlas-viewport{height:780px}.demo-cluster{width:230px;min-height:210px;padding:0;gap:4px}.demo-cluster .galaxy-portrait{width:270px;height:182px;margin:-20px 0 -17px}.demo-cluster strong{font-size:17px}.cluster-0{left:45%;top:24%}.cluster-1{left:57%;top:52%}.cluster-2{left:44%;top:80%}.demo-page .atlas-viewport[data-level=constellation],.demo-page .atlas-viewport[data-level=topic]{height:650px}.constellation-plot{left:5%;right:5%;top:25%;bottom:16%}.pattern-lines{stroke-width:.35}.demo-page .constellation-label strong{font-size:24px}.demo-page .constellation-label small{font-size:10px}.pattern-topic-list{grid-template-columns:1fr 1fr}.pattern-topic-list button{font-size:11px;padding:10px;gap:8px}.galaxy-target .galaxy-portrait{width:340px;height:235px;margin:-30px 0 -20px}.galaxy-target strong{font-size:21px}.pattern-legend{font-size:9px}.star-index{font-size:8px}}
@media(prefers-reduced-motion:reduce){.galaxy-portrait{transition:none}.pattern-lines path{animation:none}}
@media(min-width:601px) and (max-width:1000px){.demo-cluster{width:230px;min-height:210px}.demo-cluster .galaxy-portrait{width:260px;height:180px;margin:-22px 0 -18px}.cluster-0{left:23%;top:30%}.cluster-1{left:76%;top:43%}.cluster-2{left:42%;top:78%}}

/* Growth stages and anchored zoom travel. Scene motion is driven by JS (Web Animations) from the selected object's position. */
.atlas-viewport[data-level] .atlas-scene{transform:none;transition:opacity .25s ease}
.atlas-scene :is(strong,small,.star-index,.target-action,.pattern-legend,.demo-map-caption,.constellation-label,.topic-world-label,.uncharted-region){transition:opacity .35s ease}
.atlas-viewport.is-travelling .atlas-scene :is(strong,small,.star-index,.target-action,.pattern-legend,.demo-map-caption,.constellation-label,.topic-world-label,.uncharted-region){opacity:0}
.atlas-viewport.is-travelling .ambient-stars i{box-shadow:0 0 6px #d9eeff90}
.growth-seed{position:relative;display:block;width:170px;height:120px;margin:0 0 4px;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--cluster,#c8e8ad) 16%,transparent),transparent 68%)}
.growth-sparks{background:radial-gradient(ellipse,#ffcf7a1c,transparent 62%)}
.mini-pattern{position:absolute;inset:12px 18px;width:calc(100% - 36px);height:calc(100% - 24px);overflow:visible}.mini-pattern path{stroke:var(--cluster,#c8e8ad);stroke-width:1.3;opacity:.6;fill:none;stroke-linecap:round}.mini-pattern circle{fill:#fffbe8;filter:drop-shadow(0 0 3px var(--cluster,#c8e8ad))}
.growth-constellation .growth-seed{width:200px;height:140px}
.seed-field{position:relative;display:block;width:220px;height:150px}.seed-field .growth-seed{position:absolute;inset:15px 25px;width:auto;height:auto;margin:0}
.seed-star{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#c8e8ad 65%);box-shadow:0 0 14px #e1ffb8,0 0 42px #b5df9670}
.spark-mote{position:absolute;width:4px;height:4px;border-radius:50%;background:#ffd48a;box-shadow:0 0 7px #ffb64899;z-index:1;animation:spark-drift 7s ease-in-out infinite alternate;animation-delay:calc(var(--i)*-1.2s)}
.spark-mote:nth-child(1){left:18%;top:30%}.spark-mote:nth-child(2){left:76%;top:22%}.spark-mote:nth-child(3){left:30%;top:76%}.spark-mote:nth-child(4){left:84%;top:64%}.spark-mote:nth-child(5){left:52%;top:12%}.spark-mote:nth-child(6){left:10%;top:58%}
@keyframes spark-drift{from{transform:translate(0,0);opacity:.45}to{transform:translate(4px,-5px);opacity:1}}
.demo-sparks{position:absolute;right:6%;top:6%;width:130px;height:70px;pointer-events:none}
.uncharted-region{position:absolute;transform:translate(-50%,-50%);width:170px;padding:34px 0;text-align:center;font-size:10px;letter-spacing:1.6px;color:#7891a0;border:1px dashed #6d84942e;border-radius:50%}.uncharted-region small{letter-spacing:.2px;color:#5f7886}
.unlit-star{position:absolute;width:9px;height:9px;transform:translate(-50%,-50%);border:1px dashed #a9bccf66;border-radius:50%;pointer-events:none}
.constellation-backdrop{position:absolute;inset:0;display:grid;place-items:center;opacity:.32;pointer-events:none}.constellation-backdrop .galaxy-portrait{width:min(1100px,150%);height:auto;max-height:none}
.demo-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 8px}.demo-stages button{display:grid;grid-template-columns:auto 1fr;column-gap:10px;text-align:left;align-items:center;min-height:44px;padding:12px 14px;border:1px solid #d7c7ed;border-radius:12px;background:#fff9;color:var(--ink)}.demo-stages button span{grid-row:span 2;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e9e1f6;color:#5d3c8c;font-size:12px;font-weight:700}.demo-stages small{color:var(--muted);font-size:11px}.demo-stages button[aria-pressed=true]{background:#4b3474;border-color:#4b3474;color:#fff}.demo-stages button[aria-pressed=true] small{color:#e2d7f5}.demo-stages button[aria-pressed=true] span{background:#fff;color:#4b3474}
.growth-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 4px}.growth-steps div{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);padding:12px;border-radius:10px;background:#f4f2f8}.growth-steps strong{color:var(--ink);font-size:14px}
@media(max-width:600px){.demo-stages{grid-template-columns:1fr}.growth-steps{grid-template-columns:1fr 1fr}.growth-seed{width:140px;height:100px}.growth-constellation .growth-seed{width:170px;height:118px}.seed-field{width:190px;height:130px}.uncharted-region{width:140px;padding:26px 0}.spark-mote:nth-child(n+4){animation:none}}
/* The real completed-topic orb is itself the article link; the visual orb underneath is unchanged. */
.topic-orb-link{position:absolute;left:50%;top:43%;width:136px;height:136px;transform:translate(-50%,-50%);border-radius:50%;z-index:2;text-decoration:none;color:#e8f6ef}.topic-orb-link span{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);white-space:nowrap;font-size:12px;font-weight:600;padding:6px 12px;border:1px solid #addcb655;border-radius:20px;background:#0a1824cc}.topic-orb-link:focus-visible{outline:2px solid #c8d7f3;outline-offset:4px}@media(hover:hover){.topic-orb-link:hover span{background:#1a3242;border-color:#c8e8ad}}
.sample-badge{display:inline-block;font-size:11px;font-weight:600;color:#6b4f97;background:#e9e1f6;border-radius:12px;padding:3px 9px;margin-right:4px}.topic-world-label .sample-badge{align-self:center;color:#e2d7f5;background:#4b347499}
@media(prefers-reduced-motion:reduce){.spark-mote{animation:none}.atlas-scene :is(strong,small){transition:none}}
.atlas-viewport.is-travelling .demo-cluster>span:last-child{opacity:0}@media(max-width:600px){.demo-sparks{top:auto;bottom:4%;right:3%;width:60px;height:40px}}

/* Scrollable complete-lesson catalog */
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:32px}
.catalog-grid .topic-card{width:auto;min-width:0}.catalog-grid a.topic-open{display:block;color:inherit;text-decoration:none}.catalog-grid .topic-art{height:210px}.catalog-grid .topic-copy{min-height:235px}.clock-art{display:grid;place-items:center;background:radial-gradient(circle at 55% 30%,#f7d792,transparent 55%),linear-gradient(135deg,#96c8ba,#304d72)}.clock-face{color:#fff9e7;font-size:125px;line-height:1;text-shadow:0 8px 30px #244d6b55}
.catalog-lesson{display:block;max-width:780px;margin:auto}.catalog-lesson .lesson-body{max-width:100%;width:auto}.catalog-lesson h1{font-size:clamp(2.3rem,5vw,3.7rem);line-height:1.08;margin:20px 0}.lesson-deck{font-size:1.25rem;line-height:1.65;color:var(--muted)}.reading-section{margin:40px 0}.reading-section p{font-size:1.08rem;line-height:1.85}.reading-section h2{font-size:1.65rem;margin-bottom:16px}.reading-section .source{display:block;margin-top:12px;font-size:.85rem}.quiz-block{padding:26px;border:1px solid #d8d3e4;border-radius:22px;background:#f1edf8;margin:40px 0}.quiz-block .answers{display:grid;gap:10px}.quiz-block .answer{text-align:left;white-space:normal;line-height:1.5;min-height:48px}.quiz-block h3{margin:12px 0 20px}.quiz-block .feedback:empty{display:none}.catalog-lesson .modal-actions{gap:16px;flex-wrap:wrap}.pattern-topic-list a{display:block;padding:16px;color:inherit}.topic-star-real{position:absolute!important;transform:translate(-50%,-50%)}
@media(max-width:700px){.catalog-grid{grid-template-columns:1fr;gap:24px}.catalog-grid .topic-copy{min-height:0}.catalog-grid .topic-art{height:190px}.catalog-lesson h1{font-size:2.5rem}.quiz-block{padding:20px}.catalog-lesson{min-width:0}.catalog-lesson .modal-actions a{overflow-wrap:anywhere}}


.cosmic-page:not(.demo-page) .atlas-viewport[data-level=galaxy]{height:650px}@media(max-width:600px){.cosmic-page:not(.demo-page) .atlas-viewport[data-level=galaxy]{height:780px}}

/* Discover editorial: varied sections in the cream / purple / navy identity. */
.ed-jumps{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 28px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.ed-jumps span{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;color:var(--purple);margin-right:6px}.ed-jumps button{min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--ink);font-size:13px;font-weight:600}.ed-jumps button:hover{border-color:var(--purple)}
.ed-section{scroll-margin-top:20px;margin:0 0 34px}.ed-head{max-width:640px;margin-bottom:20px}.ed-head h2{font-size:30px;letter-spacing:-.8px;margin:8px 0}.ed-head p:not(.eyebrow){font-size:14px;margin:0}.ed-head .eyebrow{color:var(--purple)}
.ed-type{display:inline-block;font-size:10px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;padding:4px 9px;border-radius:12px;background:var(--soft);color:var(--purple);margin-bottom:10px}.ed-kicker{display:block;font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--muted);margin-bottom:6px}
.ed-read-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.ed-read{background:#fffdf8;border:1px solid #e6e1d4;border-radius:20px;padding:22px}.ed-read summary{list-style:none;cursor:pointer;display:flex;flex-direction:column}.ed-read summary::-webkit-details-marker{display:none}.ed-read summary strong{font-family:Georgia,'Times New Roman',serif;font-size:22px;font-weight:600;line-height:1.25;color:var(--ink);margin-bottom:8px}.ed-teaser{font-size:14px;color:var(--muted);line-height:1.55}.ed-more{align-self:flex-start;margin-top:14px;font-size:13px;font-weight:650;color:var(--purple)}.ed-more:after{content:' ↓'}.ed-read[open] .ed-more:after{content:' ↑'}.ed-read[open] .ed-more{font-size:0}.ed-read[open] .ed-more:before{content:'Close';font-size:13px}.ed-read>p{font-size:15px;line-height:1.75;color:#4f4f5f}.ed-read[open]{background:#fff;grid-column:span 1}
.ed-facts{background:#142b49;color:#fff;border-radius:26px;padding:30px}.ed-facts .ed-head h2{color:#fff}.ed-facts .ed-head .eyebrow{color:#cecfff}.ed-fact-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ed-fact{background:#ffffff0d;border:1px solid #ffffff1c;border-radius:18px;padding:20px}.ed-fact .ed-type{background:#ffffff1c;color:#e7e2ff}.ed-big{font-family:Georgia,'Times New Roman',serif;font-size:42px!important;line-height:1!important;color:#ffdfad!important;margin:4px 0 12px}.ed-fact .ed-kicker{color:#aebcd6}.ed-fact p{color:#d8e0ef;font-size:14px;line-height:1.65}.ed-fact .source a,.ed-images .source a{color:#cfc4ff}
.ed-video-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ed-video{display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center;background:#eee8fa;border:1px solid #ded3ef;border-radius:22px;padding:18px}.ed-video h3{margin:2px 0 8px}.ed-video p{font-size:14px}.ed-video-art{height:150px;border-radius:16px;display:grid;place-items:center;background:radial-gradient(circle at 30% 30%,#f7d792,transparent 45%),linear-gradient(140deg,#6651bd,#142b49)}.ed-water .ed-video-art{background:radial-gradient(circle at 70% 30%,#bfe6f0,transparent 45%),linear-gradient(140deg,#2f6f9a,#142b49)}.ed-play{width:0;height:0;border-left:22px solid #ffffffd9;border-top:14px solid transparent;border-bottom:14px solid transparent;margin-left:6px}
.ed-images{background:#0b1626;border-radius:26px;padding:30px;color:#fff}.ed-images .ed-head h2{color:#fff}.ed-images .ed-head p{color:#c4cee0}.ed-images .ed-head .eyebrow{color:#cecfff}.ed-image-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ed-image{margin:0;background:#ffffff08;border:1px solid #ffffff17;border-radius:20px;overflow:hidden}.ed-image-frame{display:block;aspect-ratio:4/3;overflow:hidden;background:#000}.ed-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.ed-image-frame:hover img{transform:scale(1.03)}.ed-image figcaption{padding:20px}.ed-image .ed-type{background:#ffffff1c;color:#e7e2ff}.ed-image .ed-kicker{color:#aebcd6}.ed-image h3{color:#fff;margin:4px 0 8px}.ed-image p{color:#d0d8e8;font-size:14px}.ed-credit{font-size:12px!important;color:#aebcd6!important}
@media(max-width:850px){.ed-read-grid,.ed-fact-row{grid-template-columns:1fr}.ed-video-row,.ed-image-row{grid-template-columns:1fr}}
@media(max-width:600px){.ed-facts,.ed-images{padding:22px 18px;border-radius:22px}.ed-head h2{font-size:25px}.ed-video{grid-template-columns:1fr}.ed-video-art{height:120px}.ed-jumps button{padding:8px 12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.ed-image img{transition:none}}

/* Account preview (local only) */
.account-status{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 16px}.account-status .pill{background:var(--soft);color:var(--purple);font-weight:600}
.account-profile label[for=profile-nickname]{display:block;margin:18px 0 8px}.account-profile input[type=text]{width:100%;max-width:420px;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#faf9fc;color:var(--ink)}
.profile-preview{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:#142b49;color:#fff;max-width:420px}.profile-preview strong{font-size:18px;overflow-wrap:anywhere}
.avatar-badge{display:inline-grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:var(--soft);color:var(--purple);font-size:20px}.profile-preview .avatar-badge{background:#ffffff1f;color:#ffdfad;width:48px;height:48px;font-size:24px}
.avatar-choices{border:0;padding:0;margin:18px 0 6px;display:flex;flex-wrap:wrap;gap:10px}.avatar-choices legend{margin-bottom:10px}.avatar-choice{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 14px 6px 8px;border:1px solid var(--line);border-radius:26px;background:#fff;cursor:pointer;font-size:14px}.avatar-choice input{accent-color:var(--purple);width:18px;height:18px;margin:0}.avatar-choice:has(input:checked){border-color:var(--purple);background:#f3effb}.avatar-choice:has(input:focus-visible){outline:3px solid #9874ee;outline-offset:2px}
.account-counts{margin:10px 0 14px;padding:0}
.connection-steps{list-style:none;padding:0;margin:6px 0 18px;display:grid;gap:10px}.connection-steps li{display:grid;grid-template-columns:minmax(150px,200px) 1fr;gap:4px 16px;padding:12px 14px 12px 38px;border-radius:12px;background:#f4f2f8;position:relative;font-size:14px}.connection-steps li:before{content:'';position:absolute;left:14px;top:17px;width:10px;height:10px;border-radius:50%;border:2px solid #a49ac7}.connection-steps li.is-ready:before{background:var(--green);border-color:var(--green)}.connection-steps strong{color:var(--ink)}.connection-steps span{color:var(--muted);line-height:1.55}
@media(max-width:600px){.connection-steps li{grid-template-columns:1fr}}
.login-form{display:grid;gap:8px;max-width:420px;margin-bottom:12px}.login-form label{font-weight:600;font-size:14px;margin-top:6px}.login-form input{min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#faf9fc;color:var(--ink);font:inherit;width:100%}.login-form .button{justify-self:start;margin-top:8px}.login-form[hidden],#signed-in-box[hidden],.dummy-test[hidden]{display:none}
#auth-panel>.button[disabled]{margin-top:18px}
.dummy-result{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:16px 0 4px}.dummy-result[hidden]{display:none}.dummy-result div{background:#f4f2f8;border-radius:12px;padding:10px 12px}.dummy-result dt{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.dummy-result dd{margin:4px 0 0;font-weight:650;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:600px){nav{gap:6px}nav a{font-size:10.5px}.avatar-choice{flex:1 1 calc(50% - 10px)}}
@media(max-width:360px){nav a{font-size:10px;letter-spacing:-.1px}}

#signed-in-email{overflow-wrap:anywhere}

/* Account saves: readable persistent status, wrapping controls on narrow screens. */
.sync-notice{max-width:1180px;margin:18px auto 0;padding:14px 22px;border:1px solid #d6ddd5;border-radius:16px;background:#edf2eb;color:#304337;font-size:.88rem;line-height:1.5}.sync-notice[hidden]{display:none}.sync-notice p{margin:0}.sync-notice-actions:not(:empty){margin-top:10px}.sync-notice button{white-space:normal} @media(max-width:640px){.sync-notice{margin:12px 16px 0;padding:12px 16px}}

/* Reading history belongs to Progress, below its map and milestone summary. */
.reading-history{margin:36px 0;scroll-margin-top:100px;border-top:1px solid var(--line,#ddd);padding-top:30px}.reading-history .section-head{align-items:flex-start}.reading-history .section-head p{max-width:650px}.reading-history-item{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0}.reading-history-item h3{margin:0 0 8px}.reading-history-item p{margin:0}.reading-history-item .modal-actions{flex-shrink:0}.reading-history h2:focus{outline:2px solid var(--purple);outline-offset:6px;border-radius:4px}@media(max-width:640px){.reading-history-item{display:block}.reading-history-item .modal-actions{margin-top:16px;flex-wrap:wrap}.reading-history .section-head{display:block}.reading-history .section-head>.pill{display:inline-block;margin-top:12px}}

.social-panel input[type=text],.social-panel input:not([type]){min-width:0;width:100%;padding:12px;border:1px solid #d6d4e0;border-radius:10px;font:inherit}.handle-input,.social-search,.social-identity{display:flex;align-items:center;gap:12px;margin:12px 0}.handle-input>span{font-size:1.5rem;color:var(--purple)}.social-consent{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;line-height:1.5;margin:20px 0}.social-consent input{margin-top:5px;flex-shrink:0}.social-gate,.social-result{padding:16px;background:#f1eef9;border-radius:14px;margin:18px 0;line-height:1.6}.social-list{border-top:1px solid #e2e0e8;margin-top:22px;padding-top:18px}.social-list ul{list-style:none;padding:0}.social-list li,.social-blocked{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}.social-list strong,.social-identity strong,.social-result strong{overflow-wrap:anywhere}.social-panel .modal-actions{flex-wrap:wrap}.social-panel button:disabled{opacity:.55}.social-identity strong{font-size:1.3rem}.social-identity .eyebrow{margin-bottom:6px}@media(max-width:600px){.social-search,.social-list li,.social-blocked{align-items:stretch;flex-direction:column}.social-search button{align-self:flex-start}}

.friend-progress{margin-top:24px;padding:22px;border:1px solid #d9d2ed;border-radius:18px;background:#f7f4ff}.friend-stars{position:relative;height:150px;background:radial-gradient(ellipse at 30% 30%,#243f55,#121d32);border-radius:14px;margin:18px 0;color:#d9eaff}.friend-stars i{position:absolute;width:8px;height:8px;border-radius:50%;background:#ebf5cd;box-shadow:0 0 14px #e0f6c9}.friend-stars>span{position:absolute;bottom:12px;left:16px;font-size:13px}.friend-progress .quiet-stats{flex-wrap:wrap;gap:18px}.friend-progress h3{overflow-wrap:anywhere}

.brand{letter-spacing:-.8px;font-size:24px;gap:8px;white-space:nowrap}.brandmark{display:inline-flex;width:43px;height:43px;flex-shrink:0}.brandmark svg{width:100%;height:100%}.brand .prototype{margin-left:4px}@media(max-width:1000px){.brand .prototype{display:none}}@media(max-width:640px){.brand{font-size:23px}.brandmark{width:36px;height:36px}}

.curation-tag{font-size:14px;font-weight:650;color:var(--purple);letter-spacing:.15px;margin-bottom:12px!important}

.friends-jumps{display:flex;flex-wrap:wrap;gap:10px 20px;margin:24px 0}.friends-jumps a{font-size:14px}.friends-page section[id]{scroll-margin-top:28px}.share-label{display:block;margin:18px 0 8px}.friends-page select{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink)}.share-preview:not(:empty){padding:18px;background:#f1eef8;border-radius:12px;margin:14px 0}.friends-page details>button{margin-top:16px}@media(max-width:640px){header nav{gap:18px}header nav a{font-size:12px}}


/* Section links stay in document flow, including on mobile. */
.friends-jumps{position:static;inset:auto;justify-content:flex-start;border-bottom:1px solid var(--line);gap:10px 20px}

#share-form{padding:20px;background:#f8f6fc;border:1px solid var(--line);border-radius:16px;margin:20px 0}#share-form>.button{margin-top:18px}.shared-list{list-style:none;padding:0;margin:24px 0}.shared-list>li{padding:22px 0;border-top:1px solid var(--line)}.shared-list .modal-actions{align-items:center;gap:16px;flex-wrap:wrap}.shared-list h3{line-height:1.3}

/* Selected ice blue/silver flight mark. Existing wordmark typography is preserved. Static artwork. */
.brand{position:relative;padding-top:36px}.brand>.brandmark{position:absolute;left:-6px;top:-5px;width:190px;height:42px;pointer-events:none}.brand>.brandmark svg{display:block;overflow:visible;filter:drop-shadow(0 0 2px #83cdeb18)}@media(max-width:640px){.brand{padding-top:32px}.brand>.brandmark{width:180px;height:39px;top:-5px;left:-5px}}

/* Editorial section navigation must stay in the page flow on small screens. */
.ed-jumps{position:static;inset:auto}

/* Received discoveries lead Friends; management stays secondary. */
.shared-by{font-size:13px;margin:0 0 10px}.received-grid{align-items:start}.received-discovery{min-width:0}.received-discovery .topic-card{width:100%;height:auto}.received-discovery .topic-art{height:190px}.shared-sky-art{position:relative;overflow:hidden;background:linear-gradient(155deg,#315b8e,#c4d6e8 50%,#efb49a)}.shared-sun{position:absolute;width:80px;height:80px;border-radius:50%;background:#ffe1a9;left:55%;top:45%;box-shadow:0 0 35px #ffddaa88}.shared-video-art{display:grid;place-items:center;background:radial-gradient(ellipse at 30% 40%,#315b6b,#152d49)}.shared-play{font-size:40px;color:#e8f5ff}.share-card-tools{display:flex;justify-content:space-between;padding:10px 4px;align-items:center;font-size:12px}.share-refresh{margin-top:20px}.sent-discoveries{margin:22px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sent-share{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.sent-share p{margin:5px 0}.sent-discoveries select{max-width:580px;margin:8px 12px 14px 0}.share-snapshot-note{max-width:750px}.lesson-finish-actions{margin:26px 0;flex-wrap:wrap}#share-picker-root select{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);margin-top:10px}.shared-empty{background:#f1f0f7;margin:18px 0}.shared-empty h3{font-size:23px}@media(max-width:640px){.received-grid{grid-template-columns:1fr}.sent-share{align-items:flex-start}.received-discovery .topic-art{height:210px}}

/* Approved dark space header + Earth O. No body/article typography changes. */
header{position:relative;height:112px;background:radial-gradient(ellipse at 20% 100%,#172b43 0,transparent 45%),linear-gradient(115deg,#0a111e,#111a2b 65%,#0a111c);border-radius:0 0 18px 18px}
.header-stars{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}.header-stars i{position:absolute;background:#c1def3;border-radius:50%}header>.brand,header>nav,header>.points{z-index:1}header>.brand{color:#f5f9fc}.brand .prototype{color:#bbccdc}.brand>.brandmark{top:-6px;height:44px}.brand>.brandmark svg{filter:none}header nav a{color:#bbccdc}header nav a[aria-current=page]{color:#f1f8ff;border-color:#9bd7ec}header>.points{position:relative;color:#bbd1e3;background:transparent;border:1px solid #57718b88}.brand-name .earth-o{position:relative;display:inline-block;width:.76em;height:.76em;vertical-align:-.025em;margin-right:.01em}.earth-o svg{width:100%;height:100%;display:block}.earth-letter{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}header :focus-visible{outline-color:#a6e1f5}
@media(max-width:850px){header{height:auto;min-height:138px;margin-bottom:0;padding:12px 20px 0;display:grid;grid-template-columns:1fr auto;gap:12px 20px}header>nav{position:static;grid-column:1/-1;grid-row:2;inset:auto;justify-content:space-between;border-bottom:0;gap:10px}header>nav a{font-size:12px;padding:10px 0 13px}header>.points{grid-column:2;grid-row:1;align-self:center}.brand>.brandmark{top:-7px}header>.brand{grid-column:1;grid-row:1;justify-self:start}}
@media(max-width:600px){header>nav{gap:6px}header>nav a{font-size:10.5px}header{min-height:132px}.brand>.brandmark{height:41px}}

/* Email signup/recovery, scoped to Account. */
.email-flow fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:12px}.email-flow fieldset:disabled{opacity:.6}.email-steps{display:flex;flex-wrap:wrap;gap:10px 28px;padding-left:22px;font-size:.88rem;color:var(--muted)}.email-options{display:flex;flex-wrap:wrap;gap:8px 18px;position:static;margin:22px 0}.email-options button[aria-pressed="true"]{font-weight:800;text-decoration:underline;text-underline-offset:5px}.email-gate{background:#edf2f0;border-left:3px solid #527968;border-radius:6px;padding:16px}.email-flow input{box-sizing:border-box;max-width:100%;width:100%}.email-flow .visually-hidden{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}

/* Simple account entry: one form at a time. */
.account-simple{max-width:620px;min-height:52vh}.account-entry-actions{display:flex;flex-wrap:wrap;gap:14px;margin:32px 0 48px}.account-entry-actions .button{min-width:170px}.account-form-top{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.account-form-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px}.account-form-links .text-button,.account-form-top .text-button,.account-back{min-height:44px}.account-data-details{margin:28px 0;color:var(--muted)}.account-data-details summary{cursor:pointer}.account-simple [hidden]{display:none!important}@media(max-width:450px){.account-entry-actions{flex-direction:column}.account-entry-actions .button{width:100%}}

/* Full-page universe, local phone-feedback preview. */
html{background:#0a111e}body{background:var(--paper);padding-top:env(safe-area-inset-top,0px)}
body:before{content:'';position:absolute;top:0;left:0;right:0;height:env(safe-area-inset-top,0px);background:#0a111e;pointer-events:none}
header{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.universe-route{background:#07131d}body.universe-route header{border-radius:0;max-width:none}body.universe-route footer{display:none}
body.universe-route main{position:relative;width:100%;max-width:none;margin:0;padding:0;min-height:0;height:calc(100vh - var(--universe-top,132px));height:calc(100dvh - var(--universe-top,132px))}
.universe-experience{position:relative;width:100%;height:100%;min-height:390px;color:#e8f1f7;background:#07131d;isolation:isolate}
.universe-experience .atlas-shell{position:absolute;inset:0;margin:0;border:0;border-radius:0;overflow:hidden;background:#07131d}
.universe-experience .atlas-viewport,.universe-experience .atlas-viewport[data-level]{height:100%;border-radius:0}
.universe-experience .atlas-camera{inset:110px 0 84px}
.universe-hud{position:absolute;z-index:5;top:16px;left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
.universe-hud>*{pointer-events:auto}.universe-balance{display:flex;flex-direction:column;gap:3px}.universe-balance strong{font-size:22px;font-weight:600;letter-spacing:-.5px}.universe-balance strong span{font-size:12px;font-weight:400;letter-spacing:0}.universe-balance>span{font-size:10px;color:#a6bdcc;letter-spacing:1px}
.universe-deeper{font-size:12px;color:#d7e6f0;padding:12px 14px;border:1px solid #c2d8ee30;border-radius:24px;text-decoration:none;background:#0d1d2be6}
.universe-experience .atlas-toolbar{position:absolute;z-index:4;left:16px;right:16px;top:72px;padding:0;background:transparent;border:0;gap:8px;pointer-events:none}.universe-experience .atlas-toolbar>*{pointer-events:auto}.universe-experience .atlas-breadcrumb{gap:5px}.universe-experience .atlas-breadcrumb button,.universe-experience .atlas-back{background:#0b1a28dd;font-size:11px;padding:8px 10px}
.universe-experience .atlas-location{display:none}.universe-experience .atlas-controls{position:absolute;z-index:4;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:16px;right:16px;padding:0;border:0;pointer-events:none}.universe-experience .atlas-controls>*{pointer-events:auto}.universe-experience .atlas-controls>div{background:#0c1b2de8;border:1px solid #b7d6ed22;border-radius:13px;padding:4px}.universe-experience .atlas-controls p{max-width:220px}
.universe-topic-dock{position:absolute;z-index:5;bottom:calc(83px + env(safe-area-inset-bottom,0px));left:20px;width:min(390px,calc(100% - 40px));border:1px solid #bad2e333;border-radius:16px;background:#101e2ff2;box-shadow:0 10px 35px #0005}.universe-topic-dock summary{padding:13px 16px;font-size:13px;cursor:pointer;color:#dcebf6;min-height:44px}.universe-topic-dock .map-detail{background:none;border:0;color:#ecf4fa;min-height:0;margin:0;padding:0 16px 16px;max-height:30vh;overflow:auto}.universe-topic-dock h3{font-size:20px}.universe-topic-dock p,.universe-topic-dock .source{color:#b2c6d4;font-size:12px}.universe-topic-dock a{color:#c5d9fa}.universe-topic-dock .pattern-topic-list{display:flex;flex-direction:column;gap:8px}.universe-topic-dock .modal-actions{margin-top:12px}
.universe-experience:has(.atlas-viewport[data-level=galaxy]) .universe-topic-dock{display:none}
.universe-discover{position:absolute;z-index:4;bottom:calc(82px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;color:#c8e5e5;text-decoration:none;padding:12px 15px;border-radius:30px;background:#112936e8;border:1px solid #b3dfdb25}.universe-experience:has(.atlas-viewport:not([data-level=galaxy])) .universe-discover{display:none}
.universe-experience .demo-cluster{width:220px;min-height:140px}.universe-experience .demo-cluster strong{font-size:17px}.universe-experience .demo-cluster .galaxy-portrait{width:250px;height:170px}.universe-experience .growth-seed{max-height:95px}.universe-experience .cluster-0{left:24%;top:30%}.universe-experience .cluster-1{left:75%;top:38%}.universe-experience .cluster-2{left:48%;top:77%}
.universe-demo .demo-stages{position:absolute;z-index:5;top:66px;left:16px;right:16px;display:flex;gap:6px;margin:0}.universe-demo .demo-stages button{min-height:44px;padding:7px 10px;background:#102439;color:#dce7f5;flex:1}.universe-demo .demo-stages small,.universe-demo .demo-stages button>span{display:none}.universe-demo .demo-stages strong{font-size:11px}.universe-demo .atlas-toolbar{top:122px}.universe-demo .atlas-camera{top:166px}.universe-demo .demo-map-caption{display:none}.universe-demo .demo-watermark{bottom:80px}
.universe-details{padding-top:14px}.universe-details>.back{display:inline-block;margin-bottom:20px}.universe-demo-option{margin-top:40px;padding:20px 0;border-top:1px solid var(--line);font-size:13px}.universe-demo-option p{font-size:12px;margin:10px 0 0}
@media(max-width:600px){.universe-experience .atlas-controls p{display:none}.universe-experience .atlas-controls{justify-content:center}.universe-experience .atlas-breadcrumb{max-width:75%}.universe-experience .demo-cluster{width:160px;min-height:100px;gap:2px}.universe-experience .demo-cluster strong{font-size:13px}.universe-experience .demo-cluster small{font-size:9px}.universe-experience .demo-cluster>span:last-child{font-size:10px}.universe-experience .growth-seed{width:100px;height:75px}.universe-experience .demo-cluster .galaxy-portrait{width:190px;height:125px;margin:-20px 0 -15px}.universe-experience .cluster-0{left:29%;top:24%}.universe-experience .cluster-1{left:71%;top:49%}.universe-experience .cluster-2{left:34%;top:79%}.universe-experience .constellation-label{top:4%;left:7%}.universe-experience .constellation-label strong{font-size:21px}.universe-experience .topic-world-label strong{font-size:22px}.universe-experience .topic-orbit{width:230px;height:160px}.universe-experience .topic-world-label{top:73%}.universe-experience .constellation-plot{top:25%;bottom:15%}.universe-experience .pattern-legend{display:none}}
@media(min-width:851px){header{padding-left:max(40px,env(safe-area-inset-left));padding-right:max(40px,env(safe-area-inset-right))}}

/* Approved: top-right Zoom out only; touch and keyboard camera controls remain. */
.universe-experience .atlas-camera{bottom:50px}.universe-discover,.universe-topic-dock{bottom:calc(20px + env(safe-area-inset-bottom,0px))}.universe-demo .demo-watermark{bottom:20px}

.cloud-art{background:radial-gradient(ellipse at 35% 65%,#fff9 0 18%,transparent 19%),radial-gradient(ellipse at 65% 50%,#cfe8ff 0 25%,transparent 26%),linear-gradient(145deg,#466b9f,#b9dbe6)}.ocean-art{background:radial-gradient(circle at 35% 35%,#beefad 0 4%,transparent 5%),radial-gradient(circle at 60% 60%,#79d4bc 0 9%,transparent 10%),linear-gradient(150deg,#215e70,#062e49)}.atomic-art{background:repeating-radial-gradient(ellipse at center,transparent 0 21px,#b5b5ed88 22px 24px,transparent 25px 40px),#27284e}.daily-streak{font-size:1.5rem;font-weight:750;color:var(--ink)}

/* App-wide slogan directly under the wordmark; rocket stays above. */
header>.brand{flex-direction:column;align-items:flex-start;gap:3px}.brand-slogan{font-size:10px;font-weight:450;line-height:1.3;letter-spacing:.35px;color:#bbccdc}.brand .prototype{display:none}@media(max-width:600px){.brand-slogan{font-size:9px;letter-spacing:.3px}}

/* Global dark viewport/safe-area canvas; light content is a separate painted surface.
   :root specificity overrides the original :root paper background, unlike html alone. */
:root{--safe-top:env(safe-area-inset-top,0px);background:#0a111e}
body,body.universe-route{background:#0a111e;min-height:100dvh;padding-top:var(--safe-top)}
body:before{position:fixed;z-index:30;top:0;left:0;right:0;height:var(--safe-top);background:#0a111e;pointer-events:none}
.page-surface{display:flow-root;background:var(--paper);min-height:calc(100dvh - var(--universe-top,132px))}
body.universe-route .page-surface{background:#07131d;min-height:0}

/* Suppress only the pointer-origin route container ring, never control/keyboard rings. */
#main[data-pointer-route-focus]:focus{outline:none}
