:root{--night:#101b30;--cream:#f5eddd;--gold:#edcd98;--muted:#a2adc3;--serif:'Fraunces',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}html{min-height:100%;background:var(--night)}body{margin:0;background:var(--night);color:var(--cream);font:16px var(--sans);min-height:100svh;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #efd6a9;outline-offset:5px}button:disabled{cursor:default}button[hidden],section[hidden],div[hidden]{display:none!important}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}[data-icon]{display:inline-flex;align-items:center;justify-content:center}#playfield{position:fixed;inset:0;overflow:hidden;touch-action:none}#sky{display:block;width:100%;height:100%;pointer-events:none}.scene-vignette{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 35%,#07112566 100%);pointer-events:none}header{position:relative;z-index:5;padding:26px 3.6%;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #d9e4ff0a;min-height:93px}.brand{display:flex;align-items:center;gap:12px;font:500 26px var(--serif);letter-spacing:-.8px}.brand-mark{color:var(--gold)}.brand-mark svg{width:34px;height:34px;stroke-width:1}.brand small{font:500 9px var(--sans);letter-spacing:1.8px;color:#9aa7bf;display:block;margin-top:5px}.header-note{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.7px;color:#8798b6}.header-note>span{height:4px;width:4px;border-radius:50%;background:#c4b58f;box-shadow:0 0 11px #edcd9855}nav{display:flex;align-items:center;gap:11px}.icon-button{width:36px;height:36px;background:transparent;color:#a9b5cc;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.icon-button:hover{background:#ffffff08}.all-games{display:flex;align-items:center;gap:7px;font-size:12px;color:#a4b1c9;border-left:1px solid #b8c6e21c;padding-left:20px;margin-left:6px}.all-games svg{width:16px;height:16px}main{position:relative;z-index:2;pointer-events:none}.welcome{width:min(670px,calc(100% - 32px));margin:5vh auto 0;text-align:center;pointer-events:auto}.welcome-eyebrow{display:flex;align-items:center;justify-content:center;gap:13px;font-size:10px;letter-spacing:2px;color:#b0b6c7}.welcome-eyebrow>span{font-size:21px;color:#cdb78d}h1{font:400 clamp(46px,5.2vw,76px)/1.12 var(--serif);letter-spacing:-2.4px;margin:21px 0 22px;text-shadow:0 3px 30px #08142b30}h1 em{font-weight:400;color:var(--gold)}.welcome-copy{font-size:16px;line-height:1.9;color:#a6b1c9;margin:0 auto 30px}.theme-label{font-size:9px;letter-spacing:1.9px;color:#8296b6;margin-bottom:15px}.themes{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;max-width:560px;margin:auto}.theme-button{position:relative;border:1px solid #c4d5fc1c;border-radius:11px;background:#c8d9ff05;text-align:center;padding:18px 10px 16px;transition:background .2s,border-color .2s,transform .2s}.theme-button:hover{background:#e6d8c60c;transform:translateY(-2px)}.theme-button[aria-pressed=true]{background:#e2c58d0b;border-color:#ddc28c66}.theme-button[aria-pressed=true]:after{content:'✓';position:absolute;right:10px;top:8px;color:#d8c397;font-size:11px}.theme-art{height:40px;display:flex;justify-content:center;margin-bottom:10px}.theme-art svg{width:61px;height:43px;overflow:visible}.theme-name{font-size:13px;color:#d9dfeb}.theme-subtitle{display:block;font-size:11px;color:#8193b0;margin-top:7px}.start-button{margin:26px auto 0;background:#e9c994;color:#323c4a;border:1px solid #f4d9ae;display:flex;align-items:center;justify-content:center;gap:10px;padding:15px 26px;border-radius:9px;min-width:267px;font-size:14px;font-weight:550;box-shadow:0 5px 30px #cda77016;transition:background .2s,transform .2s}.start-button:hover{background:#f0d6aa;transform:translateY(-2px)}.start-button svg{width:18px;height:18px}.drift-button{display:block;margin:12px auto 0;padding:7px 15px;background:transparent;color:#9eacc5;font-size:12px}.drift-button:hover{color:#e4cfab}.welcome-controls{display:flex;justify-content:center;align-items:center;gap:7px;color:#7187a7;font-size:11px;margin:24px auto 0}.welcome-controls svg{height:14px;width:14px}.welcome-controls i{height:3px;width:3px;border-radius:50%;background:#69809e;margin:0 6px}.welcome-saved{font-size:11px;line-height:1.7;color:#8d9fb6;margin-top:13px;min-height:19px}.bottom-signature{position:fixed;bottom:20px;left:3.6%;right:3.6%;display:flex;justify-content:space-between;font-size:10px;color:#687e9b;pointer-events:none}.journey-hud{position:fixed;top:124px;left:3.6%;right:3.6%;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;pointer-events:none}.chapter-card{padding:21px 23px;background:#14213b8c;border:1px solid #a7bde51c;backdrop-filter:blur(18px);border-radius:13px;width:310px;box-shadow:0 10px 30px #06112810}.chapter-eyebrow{font-size:9px;letter-spacing:1.5px;color:#aab7cc}h2{font:400 27px/1.2 var(--serif);letter-spacing:-.4px;margin:11px 0 9px}.chapter-card p{font-size:12px;color:#8e9fbb;line-height:1.7;margin:0}.chapter-progress{height:3px;margin-top:19px;background:#a8bbd91a;border-radius:5px;overflow:hidden}.chapter-progress>div{height:100%;background:#dec492;border-radius:5px;width:0;transition:width .4s}.chapter-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7f94b3;margin-top:10px}.chapter-bottom>span:last-child{font-size:14px;letter-spacing:2px;color:#b9ad97}.journey-name{display:flex;align-items:center;gap:10px;color:#9caec8;font-size:12px;padding-top:8px}.journey-name>span:first-child svg{width:57px;height:40px;overflow:visible}.play-controls{position:fixed;bottom:25px;left:3.6%;right:3.6%;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none}.control-hint{display:flex;align-items:center;gap:9px;font-size:12px;color:#8299b8;max-width:300px;line-height:1.7}.control-hint svg{height:19px;width:19px;flex-shrink:0}.pulse-button{pointer-events:auto;display:flex;align-items:center;gap:12px;text-align:left;background:#cbd8ef0c;border:1px solid #c2d4f139;border-radius:40px;padding:11px 25px 11px 15px;backdrop-filter:blur(15px);font-size:14px;color:#d9d4c8;box-shadow:0 0 40px #a1b6e007}.pulse-button>span:first-child{width:36px;height:36px;border-radius:50%;background:#d4bb8620;color:#e2c48e;box-shadow:0 0 15px #debf8511}.pulse-button small{display:block;font-size:9px;letter-spacing:1.2px;color:#7b92b3;margin-top:4px}.pulse-button:active{background:#d8c79c22}.sky-progress{min-width:220px;display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#b5bfd2;font-size:12px}.sky-progress>span:first-child{font:400 30px var(--serif);color:#dcc79f}.sky-progress small{font-size:8px;color:#738bad;letter-spacing:1.4px;display:block;margin-top:4px}.sky-progress>span:last-child{margin-left:12px;color:#d6c396}.sky-progress svg{width:23px;height:23px}.kind-word{position:fixed;top:39%;left:50%;transform:translate(-50%,-8px);opacity:0;max-width:80vw;text-align:center;pointer-events:none;font:italic 21px/1.6 var(--serif);color:#dfd8c8;text-shadow:0 1px 20px #0b193c;transition:opacity .6s,transform .6s;z-index:4}.kind-word.visible{opacity:1;transform:translate(-50%,0)}#targets{position:absolute;inset:0;pointer-events:none}.sky-entity{position:absolute;transform:translate(-50%,-50%);border:0;padding:0;pointer-events:auto;background:transparent;outline-offset:2px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:opacity .4s}.spark-entity{width:62px;height:62px;color:#f4d99d}.spark-core{width:8px;height:8px;border-radius:50%;background:#ffe7ae;box-shadow:0 0 12px 4px #f2cb8c55,0 0 35px 13px #dfbb6d11;animation:sparkBreathe 3s ease-in-out infinite}.spark-wing{position:absolute;left:21px;top:21px;width:9px;height:5px;background:#e8d8a4;border-radius:60%;opacity:.3;rotate:30deg}.spark-wing:after{content:'';position:absolute;left:8px;top:4px;width:9px;height:5px;border-radius:60%;background:#e8d8a4;rotate:-60deg}.spark-entity:hover .spark-core,.spark-entity:focus-visible .spark-core{box-shadow:0 0 18px 6px #f2cb8c88,0 0 40px 18px #dfbb6d22}.cloud-entity{border-radius:40px;min-width:166px;max-width:225px;min-height:95px;padding:20px 17px;color:#b5bed5;font-size:12px;line-height:1.7;isolation:isolate}.cloud-entity:before{content:'';position:absolute;inset:7px -10px;background:radial-gradient(ellipse,#5c64877a,#56607f22 65%,transparent 75%);z-index:-1;filter:blur(4px)}.cloud-entity:after{content:'';position:absolute;left:20%;right:20%;top:5%;height:100%;background:#7e8aaf0b;box-shadow:-28px 4px 30px #8998c20c,26px 10px 30px #8998c211;border-radius:50%;filter:blur(8px);z-index:-1}.cloud-entity:hover,.cloud-entity:focus-visible{color:#e0d8ca}.cloud-entity small{display:block;color:#8a99bb;font-size:10px;margin-top:5px}.cloud-entity>span{max-width:150px}.node-entity{width:65px;height:65px;color:#dfd7bb}.node-entity .node-star{font-size:30px;text-shadow:0 0 25px #d3bb7199;line-height:1}.node-entity.next .node-star{color:#ffe4a9;text-shadow:0 0 12px #f9d58e,0 0 45px #dcb97677;animation:sparkBreathe 2s ease-in-out infinite}.node-entity.connected .node-star{font-size:23px;color:#e6d1a0}.node-entity.waiting{opacity:.27}.node-label{position:absolute;top:52px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;color:#aebbd1;letter-spacing:.3px}.node-entity.next:before{content:'';position:absolute;width:47px;height:47px;border:1px solid #e3ca9855;border-radius:50%;animation:nodeRing 2.5s ease-in-out infinite}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{background:#14243c;color:#e7e3d9;border:1px solid #adc2e52e;border-radius:21px;padding:38px;width:min(580px,calc(100vw - 30px));max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #020a1d80}dialog::backdrop{background:#071124ad;backdrop-filter:blur(10px)}.modal-close{position:absolute;right:11px;top:11px}.modal-eyebrow{font-size:10px;letter-spacing:1.8px;color:#9facc6;margin:5px 0 17px}.modal-title{font:400 35px/1.25 var(--serif);letter-spacing:-.9px;margin:0 0 17px}.modal-copy{font-size:15px;line-height:1.8;color:#91a3c0}.modal-centered{text-align:center}.modal-constellation{width:100%;height:190px;display:block;margin:0 auto 15px}.primary,.secondary{padding:13px 20px;border-radius:8px;font-size:14px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.primary{background:#e7c791;color:#34414f}.secondary{background:#c2d3f00c;color:#aebdd4;border:1px solid #b9cdf226}.primary:hover{background:#f0d8ae}.secondary:hover{background:#c2d3f015}.modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:22px}.modal-actions svg{width:17px;height:17px}.keepsake-quote{font:italic 21px/1.6 var(--serif);color:#d8cdae;padding:23px;border:1px solid #e5d4a922;background:#edcb9005;border-radius:12px;margin:20px 0}.keepsake-facts{display:flex;justify-content:center;gap:20px;font-size:12px;color:#8299bb;margin-top:19px}.help-items{display:grid;gap:12px;margin-top:22px}.help-item{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #afc7ed1a;background:#a4c0ed04;border-radius:10px}.help-item>span{color:#d6bf90;padding-top:2px}.help-item h3{font-size:14px;font-weight:550;margin:0 0 6px}.help-item p{font-size:14px;line-height:1.7;color:#90a3c1;margin:0}.modal-note{font-size:12px;color:#728baa;line-height:1.8;margin-top:18px}.pause-actions{display:grid;gap:10px;margin-top:25px}.pause-actions>button,.pause-actions>a{width:100%}.memory-title{font-family:var(--serif);font-size:16px;color:#c0c7d6}.download-status{min-height:20px;font-size:12px;color:#b6c3b0;margin-top:13px}.collect-ring{position:fixed;border:1px solid #ead3a17a;border-radius:50%;width:30px;height:30px;pointer-events:none;z-index:4;animation:collectRing .8s ease-out forwards}
@keyframes sparkBreathe{0%,100%{opacity:.7;scale:.9}50%{opacity:1;scale:1.12}}@keyframes nodeRing{0%,100%{scale:.85;opacity:.35}50%{scale:1.1;opacity:.7}}@keyframes collectRing{from{transform:translate(-50%,-50%) scale(.5);opacity:1}to{transform:translate(-50%,-50%) scale(3);opacity:0}}
@media(min-height:950px){.welcome{margin-top:8vh}.welcome-copy{margin-bottom:36px}.themes{margin-bottom:30px}.theme-button{padding:22px 12px 20px}}
@media(max-width:1000px){.header-note{display:none}.welcome{margin-top:5vh}.journey-hud{top:112px}.journey-name{display:none}.chapter-card{width:280px}.control-hint{max-width:230px;font-size:11px}.sky-progress{min-width:150px}.play-controls{gap:15px}}
@media(max-width:650px){header{padding:19px 5%;min-height:82px}.brand{font-size:23px;gap:9px}.brand small{font-size:8px;letter-spacing:1.1px}.brand-mark svg{width:29px;height:29px}nav{gap:4px}.all-games{border:0;margin:0;padding:0 0 0 6px}.all-games>span:last-child{display:none}.icon-button{width:31px;height:34px}.icon-button svg{width:19px;height:19px}.all-games svg{width:18px;height:18px}.welcome{margin-top:6vh;width:calc(100% - 32px)}h1{font-size:49px;letter-spacing:-1.8px;margin:22px 0 20px}.welcome-eyebrow{font-size:9px;letter-spacing:1.1px;gap:9px}.welcome-copy{font-size:14px;line-height:1.9;margin-bottom:29px}.theme-label{font-size:9px;letter-spacing:1.1px;margin-bottom:14px}.themes{gap:8px;max-width:420px}.theme-button{padding:16px 6px 14px;border-radius:9px}.theme-art{height:33px;margin-bottom:9px}.theme-art svg{height:34px;width:53px}.theme-name{font-size:12px}.theme-subtitle{font-size:10px;line-height:1.5;margin-top:6px}.theme-button[aria-pressed=true]:after{right:7px;top:5px;font-size:10px}.start-button{margin-top:24px;padding:14px 24px;min-width:255px}.drift-button{font-size:12px;margin-top:9px}.welcome-controls{font-size:9px;gap:5px;margin-top:21px;flex-wrap:wrap}.welcome-controls svg{width:12px;height:12px}.welcome-controls i{margin:0 4px}.welcome-saved{font-size:10px}.bottom-signature{bottom:16px;font-size:8px;left:5%;right:5%}.journey-hud{top:98px;left:5%;right:5%}.chapter-card{width:100%;padding:15px 17px 12px;background:#14213b9c;border-radius:10px;max-width:none}.chapter-eyebrow{font-size:8px;letter-spacing:1.3px}.chapter-card h2{font-size:24px;display:inline-block;margin:9px 0 5px}.chapter-card p{font-size:11px;margin:0}.chapter-progress{margin-top:12px;height:3px}.chapter-bottom{font-size:9px;margin-top:8px}.kind-word{top:30%;font-size:16px;max-width:84vw;width:max-content}.play-controls{bottom:18px;left:5%;right:5%;gap:10px;flex-wrap:wrap;justify-content:space-between}.control-hint{max-width:none;flex-basis:100%;justify-content:center;font-size:11px;margin-bottom:1px;min-height:20px}.control-hint svg{width:15px;height:15px}.pulse-button{padding:8px 17px 8px 10px;font-size:13px;gap:8px}.pulse-button>span:first-child{width:30px;height:30px}.pulse-button small{font-size:8px;letter-spacing:1px}.sky-progress{min-width:0;font-size:11px;gap:7px}.sky-progress>span:first-child{font-size:27px}.sky-progress>span:last-child{margin-left:4px}.sky-progress small{font-size:7px;letter-spacing:1px}.sky-progress svg{width:21px;height:21px}.cloud-entity{min-width:125px;max-width:145px;min-height:85px;padding:15px 9px;font-size:11px}.cloud-entity small{font-size:9px}.node-label{font-size:10px}.node-entity{width:53px;height:53px}.node-label{top:45px}.node-entity .node-star{font-size:26px}.node-entity.next:before{width:42px;height:42px}dialog{padding:34px 23px}.modal-title{font-size:30px}.modal-copy{font-size:14px}.modal-eyebrow{font-size:9px;letter-spacing:1.4px}.modal-constellation{height:155px}.keepsake-quote{font-size:18px;padding:19px}.modal-actions{gap:10px}.modal-actions .primary,.modal-actions .secondary{width:100%}.keepsake-facts{font-size:10px;gap:12px}.modal-note{font-size:11px}.help-item{padding:13px;gap:10px}.help-item p{font-size:13px}.help-item h3{font-size:14px}}
@media(max-height:780px) and (min-width:651px){header{padding-top:17px;padding-bottom:17px;min-height:78px}.welcome{margin-top:3vh}h1{font-size:58px;margin:13px 0 15px}.welcome-copy{font-size:14px;margin-bottom:20px}.theme-button{padding:12px 10px}.theme-art{height:32px;margin-bottom:7px}.theme-art svg{height:32px}.start-button{margin-top:20px;padding:12px 24px}.welcome-controls{margin-top:16px}.bottom-signature{bottom:12px}}
@media(max-height:760px) and (max-width:650px){.welcome{margin-top:3vh}h1{font-size:43px;margin:14px 0 15px}.welcome-copy{margin-bottom:22px;font-size:13px}.theme-label{margin-bottom:11px}.theme-button{padding:12px 5px}.theme-art{height:28px;margin-bottom:6px}.theme-art svg{height:29px}.theme-subtitle{font-size:9px}.start-button{margin-top:19px;padding:12px 22px}.welcome-controls{margin-top:15px}.drift-button{margin-top:7px}.chapter-card{padding:12px 15px}.journey-hud{top:91px}.kind-word{top:34%;font-size:15px}.bottom-signature{position:relative;bottom:auto;margin:35px 0 13px}.cloud-entity{min-width:112px;max-width:128px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep game instructions comfortable to read. */
.theme-name{font-size:14px}.theme-subtitle{font-size:12px}.theme-label{font-size:11px}.welcome-eyebrow{font-size:12px}.welcome-controls,.welcome-saved,.brand small,.header-note,.bottom-signature{font-size:12px}.brand small{letter-spacing:1px;font-size:10px}.header-note{font-size:10px}.chapter-eyebrow{font-size:11px}.chapter-card p{font-size:14px}.chapter-bottom{font-size:12px}.journey-name{font-size:14px}.control-hint,.sky-progress{font-size:14px}.pulse-button small{font-size:10px}.sky-progress small{font-size:10px}.cloud-entity{font-size:14px}.cloud-entity small{font-size:12px}.node-label{font-size:12px}.modal-eyebrow{font-size:12px}.modal-copy{font-size:16px}.welcome-copy{font-size:16px}.all-games{font-size:14px}
@media(min-width:651px) and (max-width:1000px){.kind-word{left:72%;top:26%;max-width:43vw;font-size:17px}.chapter-card{width:270px}.welcome{padding-bottom:30px}.bottom-signature{font-size:10px}.header-note{display:none}}
@media(max-width:650px){.theme-name{font-size:13px}.theme-subtitle{font-size:11px}.theme-label{font-size:11px}.welcome-eyebrow{font-size:10px;letter-spacing:1px}.welcome-controls,.welcome-saved{font-size:11px}.welcome-copy{font-size:16px}.brand small{font-size:9px}.chapter-eyebrow{font-size:10px}.chapter-card p{font-size:13px}.chapter-bottom{font-size:11px}.cloud-entity{font-size:12px}.cloud-entity small{font-size:11px}.kind-word{top:275px;left:50%;font-size:16px;max-width:86vw}.control-hint,.sky-progress{font-size:12px}.modal-copy{font-size:16px}.modal-eyebrow{font-size:11px}.bottom-signature{font-size:9px}.welcome{padding-bottom:30px}.node-label{font-size:11px}}
@media(max-width:650px) and (max-height:760px){.welcome-copy{font-size:14px}.theme-name{font-size:12px}.theme-subtitle{font-size:10px}.welcome-controls{font-size:10px}.chapter-card p{font-size:12px}.kind-word{top:255px;font-size:14px}.bottom-signature{font-size:9px}}
@media(max-height:700px) and (min-width:651px){.journey-hud{top:96px}.chapter-card{padding:14px 17px;width:275px}.chapter-card h2{font-size:22px;line-height:1.2;margin:9px 0 8px}.chapter-card p{font-size:12px;line-height:1.6}.chapter-eyebrow{font-size:10px}.chapter-progress{margin-top:13px}.chapter-bottom{font-size:11px;margin-top:8px}.cloud-entity{font-size:12px}.cloud-entity small{font-size:11px}}
.bottom-signature{position:relative;bottom:auto;left:auto;right:auto;margin:26px 3.6% 16px;padding-bottom:10px}@media(max-width:650px){.bottom-signature{margin:20px 5% 14px;gap:12px;flex-wrap:wrap;line-height:1.7}}
