:root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;color:#e9e6df;background:#030509}*{box-sizing:border-box}body{margin:0;overflow:hidden}canvas{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.grain{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 30%,#02030799);z-index:1}header{position:fixed;z-index:10;top:0;left:0;width:100%;padding:32px 4%;display:flex;justify-content:space-between;align-items:center}.brand{font-size:17px;letter-spacing:5px;text-decoration:none;color:#eee}.brand span{display:block;font-size:8px;letter-spacing:3px;margin-top:11px;color:#8a909a}.sound{display:flex;gap:14px;align-items:center}.sound input{width:65px;accent-color:#c5bfae}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:1px solid #e3c798;outline-offset:7px}button:hover{color:#ead2aa}button{font-size:12px;letter-spacing:.4px}.scene{position:absolute;z-index:3;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:90px 22px;animation:appear 2.5s both}.eyebrow{font-size:9px;letter-spacing:3.5px;color:#b9aa8c;margin:0 0 32px}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.5px;line-height:1.25}h1{font-size:clamp(30px,4.1vw,64px);margin:0}em{font-weight:400;color:#aeb5c2}h1 em{font-size:.83em}.invitation{font:16px Georgia,serif;color:#a0a6b0;margin:30px 0 40px;animation:appear 3s 1s both}.primary{border:1px solid #bbb5a345;border-radius:40px;padding:17px 26px;background:#b7c5e009;min-width:210px;transition:background .3s,transform .3s}.primary:hover{background:#b7c5e016;transform:translateY(-3px)}.primary span{margin-left:25px}.small{font-size:10px;color:#818895;line-height:1.8;margin-top:25px}.hidden{display:none!important}#journey h2{font-size:clamp(30px,4vw,55px);max-width:780px;margin:0}#reflectionNote{color:#a6aebc;line-height:1.9;max-width:480px;margin:30px 0 38px;font-size:14px}#skip{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);color:#858d9b;z-index:5;white-space:nowrap}#system{position:fixed;inset:0;z-index:2;pointer-events:none}.system-title{position:absolute;top:150px;left:5%}.system-title h2{font-size:clamp(27px,3vw,45px);margin:0}.system-title p:last-child{font-size:12px;color:#8993a3;margin-top:20px}.system-title .eyebrow{margin-bottom:18px}#planets{position:absolute;bottom:85px;left:5%;right:5%;display:flex;justify-content:center;gap:26px;pointer-events:auto}#planets button{padding:12px 6px;color:#b8bfcb;border-bottom:1px solid #ffffff20}#planets button:hover,#planets button.active{border-color:#c5aa7c;color:#fff}.bottom{position:absolute;bottom:26px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center;color:#85909f;font-size:10px;pointer-events:auto}.bottom button{font-size:10px}#detail{position:fixed;z-index:6;right:4%;top:110px;bottom:60px;width:360px;overflow:auto;padding:10px 18px 35px 24px;background:linear-gradient(90deg,#05081199,#050811ee);scrollbar-width:thin;animation:appear .8s}#back{padding:0;margin-bottom:30px;color:#aaa}#detail .eyebrow{margin-bottom:10px}#detail h2{font-size:54px;margin:0 0 16px}#detail p{font-size:13px;line-height:1.85;color:#b4bbc6}dl{display:grid;grid-template-columns:1fr 1fr;gap:20px 15px;margin:28px 0}dt{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#838c9d;margin-bottom:8px}dd{margin:0;font:17px Georgia,serif}#detail h3{font:19px Georgia,serif;margin-top:26px}#detail ol{padding-left:18px;font-size:12px;line-height:1.9;color:#b4bbc6}#detail li{padding-left:5px;margin-bottom:12px}a{color:#c4b18d;font-size:11px}#hint{position:fixed;bottom:25px;left:5%;color:#818c9e;font-size:10px;z-index:4}dialog{background:#0c111b;color:#dce0e7;border:1px solid #ffffff25;border-radius:12px;max-width:560px;max-height:85vh;padding:40px;line-height:1.8}dialog::backdrop{background:#000b;backdrop-filter:blur(10px)}dialog h2{font-size:30px}dialog p{font-size:13px;color:#aeb5c1}#closeAbout{float:right;font-size:24px}#error{position:fixed;bottom:60px;left:20%;right:20%;z-index:30;background:#171d2c;padding:22px;font-size:13px} @keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){header{padding:24px}.brand{font-size:12px}.sound{gap:6px}.sound input{width:40px}.system-title{top:115px;left:24px}.system-title h2{font-size:29px}.system-title .eyebrow{font-size:7px}#planets{gap:3px;flex-wrap:wrap;bottom:65px;left:12px;right:12px}#planets button{font-size:10px;padding:10px 8px}.bottom{bottom:20px;left:20px;right:20px}.bottom span{display:none}#detail{top:49%;bottom:40px;left:0;right:0;width:100%;padding:22px 26px;background:linear-gradient(#050811bb,#050811)}#detail h2{font-size:38px}#back{margin-bottom:16px}#hint{bottom:15px;left:20px;font-size:9px}dl{gap:16px}dialog{padding:24px;margin:20px}#skip{font-size:10px}.eyebrow{font-size:8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

#enterGalaxy{position:absolute;right:5%;top:155px;pointer-events:auto}#galaxyScene{position:fixed;inset:0;z-index:3;pointer-events:none}.galaxy-copy{position:absolute;top:16%;left:7%;right:7%;text-align:center}.galaxy-copy .eyebrow{margin-bottom:18px}.galaxy-copy h2{font-size:clamp(27px,3.6vw,48px);margin:0;text-shadow:0 2px 28px #000}.galaxy-copy p:last-child{font-size:13px;color:#b7c2d4;line-height:1.8}.galaxy-controls{position:absolute;bottom:65px;left:6%;right:6%;display:flex;justify-content:space-between;gap:20px;pointer-events:auto}.galaxy-disclosure{position:absolute;bottom:20px;width:100%;text-align:center;font-size:9px;color:#929caf;letter-spacing:.8px}#homeMarker{position:fixed;z-index:4;pointer-events:none;color:#ffe0ad;font-size:10px;letter-spacing:2px;transform:translate(15px,-10px);text-shadow:0 2px 8px #000}#homeMarker span{display:block;font-size:9px;letter-spacing:0;color:#bec5d0;margin-top:8px}@media(max-width:700px){#enterGalaxy{top:270px;left:24px;right:auto;min-width:0;padding:13px 18px;font-size:11px}.galaxy-copy{top:20%;left:22px;right:22px}.galaxy-controls{bottom:75px;flex-wrap:wrap}.galaxy-controls button{font-size:11px}#homeMarker{max-width:140px;font-size:9px}.galaxy-disclosure{padding:0 20px;line-height:1.8}}

.galaxy-controls{flex-wrap:wrap;justify-content:center;gap:16px 25px}.journey-forward{border:1px solid #d3c4ec55;border-radius:24px;padding:12px 19px;color:#e5d6ff;background:#b7a1da0c}#beyondScene{position:fixed;inset:0;z-index:3;pointer-events:none}#neighbourLabels span{position:fixed;font-size:9px;letter-spacing:2px;color:#c7cce5;transform:translate(12px,8px);text-shadow:0 2px 12px #000;pointer-events:none}#cosmicInfo{width:min(600px,92vw)}#cosmicInfo h2{font-size:42px;margin:12px 0}#cosmicInfo h3{font:21px Georgia,serif;margin-top:26px}#cosmicInfo li{font-size:13px;color:#b6c0d2;margin:10px 0}#closeCosmicInfo{float:right;font-size:25px}#cosmicInfo dd{font-size:16px}#cosmicInfo .eyebrow{margin:15px 0}@media(max-width:700px){.galaxy-controls{bottom:65px;gap:15px}.galaxy-controls button{font-size:10px}#cosmicInfo{max-height:82dvh}#cosmicInfo h2{font-size:34px}#beyondScene .galaxy-copy{top:15%}#beyondScene .galaxy-copy h2{font-size:27px}.galaxy-disclosure{font-size:8px}}

#beyondScene .galaxy-controls{z-index:5;pointer-events:auto}#beyondScene .galaxy-controls button{pointer-events:auto;position:relative}#beyondScene .galaxy-disclosure{pointer-events:none}

#horizonScene{position:fixed;inset:0;z-index:3;pointer-events:none}#horizonScene .galaxy-controls{pointer-events:auto;z-index:5}#horizonScene .galaxy-disclosure{pointer-events:none}#horizonScene .galaxy-copy p:last-child{max-width:650px;margin:20px auto}

#earlyScene{position:fixed;inset:0;z-index:3;pointer-events:none}#earlyScene .galaxy-controls{pointer-events:auto;z-index:5}#earlyScene .galaxy-disclosure{pointer-events:none}#earlyScene .galaxy-copy p:last-child{max-width:650px;margin:20px auto}#enterPlasma{max-width:340px}

#enterBlackhole{position:absolute;right:5%;top:215px;pointer-events:auto;border-color:#a6a0d866;color:#d2cafa;background:#8f8bbd10}#blackholeScene{position:fixed;inset:0;z-index:3;pointer-events:none}#blackholeScene .galaxy-controls{pointer-events:auto;z-index:5}#blackholeScene .galaxy-disclosure{pointer-events:none}#blackholeScene .galaxy-copy p:last-child{max-width:650px;margin:20px auto}@media(max-width:700px){#enterBlackhole{top:326px;left:24px;right:auto;max-width:calc(100vw - 48px);padding:12px 18px;font-size:10px}#blackholeScene .galaxy-copy{top:16%}}

#darkVeil{position:fixed;inset:0;z-index:2;background:#000;pointer-events:none;opacity:0}#extremeScene{position:fixed;inset:0;z-index:3;pointer-events:none}#extremeScene .galaxy-controls{pointer-events:auto;z-index:5}#extremeScene .galaxy-disclosure{pointer-events:none}#extremeScene .galaxy-copy p:last-child{max-width:660px;margin:20px auto}#extremeScene button:disabled{opacity:.45;cursor:default}@media(max-width:700px){#extremeScene .galaxy-copy{top:15%}#extremeScene .galaxy-copy h2{font-size:27px}#extremeScene .galaxy-copy p:last-child{font-size:12px}}

#milkyExploreScene{position:fixed;inset:0;z-index:3;pointer-events:none}#milkyExploreScene .galaxy-controls{pointer-events:auto;z-index:5}#milkyExploreScene .galaxy-copy{top:15%}#milkyExploreScene .galaxy-copy p:last-child{max-width:660px;margin:18px auto}#milkyExploreScene button:disabled{opacity:.45;cursor:default}@media(max-width:700px){#milkyExploreScene .galaxy-copy{top:14%}#milkyExploreScene .galaxy-copy h2{font-size:28px}#milkyExploreScene .galaxy-copy p:last-child{font-size:12px;max-width:90vw}#galaxyScene .galaxy-controls{gap:10px 16px}}

#lightyearChoices{position:absolute;left:5%;right:5%;bottom:22%;text-align:center;pointer-events:auto}#lightyearChoices[hidden]{display:none}#lightyearChoices>div{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}#lightyearChoices button{border:1px solid #c8b4ed44;border-radius:24px;padding:9px 14px;color:#c5d4ed;background:#0b1223b8;font-size:11px}#lightyearChoices button[aria-pressed=true]{border-color:#c7b4ff99;background:#a68aca20;color:#eee4ff}#lightyearDestination{font-size:11px;color:#bbc9e0;margin:12px auto}@media(max-width:700px){#lightyearChoices{bottom:26%}#lightyearChoices button{font-size:10px;padding:8px 10px}}

#milkyExploreScene .galaxy-copy{padding:18px 24px;border-radius:20px;isolation:isolate}#milkyExploreScene .galaxy-copy::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;opacity:var(--copy-shade,0);background:linear-gradient(180deg,#030509d9,#030509e6 55%,#030509d9);box-shadow:0 0 30px 20px #03050980}#milkyExploreScene .galaxy-copy h2{color:#fff8ee;text-shadow:0 2px 5px #000}#milkyExploreScene .galaxy-copy .eyebrow{color:#ecd29e;text-shadow:0 1px 3px #000}#milkyExploreScene .galaxy-copy p:last-child{color:#eef3fc;text-shadow:0 1px 3px #000}@media(max-width:700px){#milkyExploreScene .galaxy-copy{padding:14px 16px}}

/* The guide speaks briefly, then leaves the discovery room to breathe. */
.cinematic-copy>*{opacity:var(--copy-reveal,1)}.journey-guide{position:absolute;top:42%;left:8%;right:8%;margin:0;text-align:center;pointer-events:none;opacity:var(--guide-reveal,0);font:italic clamp(18px,2.1vw,28px)/1.6 Georgia,serif;color:#f1e9de;text-shadow:0 2px 16px #000,0 0 30px #000;letter-spacing:.3px}.journey-guide:empty{display:none}@media(max-width:700px){.journey-guide{top:43%;left:10%;right:10%;font-size:19px}}@media(prefers-reduced-motion:reduce){.cinematic-copy>*{opacity:1}.journey-guide{display:none}}

#restEntry{position:absolute;right:5%;top:294px;padding-top:20px;border-top:1px solid #acbfda26;pointer-events:auto}#restEntry p{font-size:8px;letter-spacing:2px;color:#8495ad;margin:0 0 13px}#enterRest{border-color:#a9bcd43d;background:#799bb50b;color:#c5d8e3}#restScene{position:fixed;inset:0;z-index:4;background:transparent;color:#d5deea;opacity:0}#restCanvas{z-index:0}#restScene .rest-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse,transparent 15%,#01030880);z-index:1}.rest-heading{position:absolute;top:16%;left:7%;right:7%;text-align:center;z-index:2}.rest-heading h2{font:clamp(26px,3vw,42px) Georgia,serif;margin:14px 0;color:#dce2ed}.rest-heading>p:last-child{font-size:12px;color:#8999ae;line-height:1.8}#restWords{position:absolute;top:43%;left:10%;right:10%;text-align:center;font:italic clamp(20px,2.4vw,31px)/1.7 Georgia,serif;letter-spacing:.2px;color:#d7e0eb;text-shadow:0 2px 24px #010308;z-index:2;pointer-events:none;margin:0;opacity:0}.rest-controls{position:absolute;z-index:2;left:5%;right:5%;bottom:24px;text-align:center}.rest-controls>.eyebrow{font-size:8px;color:#8493a9;letter-spacing:2px;margin-bottom:16px}.rest-moods{display:flex;justify-content:center;gap:12px}.rest-moods button{border:1px solid #a6bbd329;border-radius:17px;background:#0b152345;padding:17px 23px;min-width:195px;color:#b6c6d7;font:17px Georgia,serif;transition:background 1.5s,border-color 1.5s}.rest-moods button span{display:block;font:7px Arial,sans-serif;letter-spacing:1.7px;color:#8092ac;margin-bottom:10px}.rest-moods button small{display:block;font:9px Arial,sans-serif;color:#7e91a9;margin-top:10px}.rest-moods button[aria-pressed=true]{background:#7d9abb12;border-color:#a7c5e369;color:#e0e9f2}.rest-moods button:disabled{cursor:default}.rest-actions{display:flex;justify-content:center;gap:32px;margin-top:20px}.rest-actions button{font-size:10px;color:#90a0b4}.rest-footnote{color:#63748c;font-size:9px;margin:16px 0 0;line-height:1.6}@media(max-width:700px){#restEntry{top:389px;left:24px;right:auto;padding-top:14px}#restEntry p{font-size:7px;margin-bottom:10px}#enterRest{padding:11px 17px;font-size:10px}.rest-heading{top:15%;left:8%;right:8%}.rest-heading h2{font-size:28px}.rest-heading>p:last-child{font-size:11px}#restWords{top:39%;left:9%;right:9%;font-size:22px}.rest-controls{left:14px;right:14px;bottom:20px}.rest-moods{gap:7px}.rest-moods button{min-width:0;flex:1;padding:14px 7px;font-size:13px}.rest-moods button span{font-size:6px;letter-spacing:.8px;min-height:15px;line-height:1.6;margin-bottom:7px}.rest-moods button small{font-size:8px;line-height:1.5;min-height:24px;margin-top:8px}.rest-controls>.eyebrow{font-size:7px;letter-spacing:1.4px}.rest-actions{gap:20px;margin-top:17px}.rest-actions button{font-size:9px}.rest-footnote{font-size:8px;margin-top:12px}}@media(max-height:620px){.rest-heading{top:16%}.rest-heading>p:last-child{display:none}#restWords{top:36%;font-size:20px}.rest-controls{bottom:12px}.rest-moods button{padding:9px 12px}.rest-moods button small{display:none}.rest-actions{margin-top:12px}.rest-footnote{margin-top:8px}.rest-controls>.eyebrow{margin-bottom:10px}}

@media(max-height:620px) and (min-width:701px){#restEntry{top:102px;right:5%;left:auto;padding-top:0;border:0}#restEntry p{display:none}}

@media(max-height:620px) and (max-width:700px){#restEntry{top:376px;padding-top:0;border:0}#restEntry p{display:none}}

#soundtrackScene{position:fixed;inset:0;z-index:3;pointer-events:none}#soundtrackScene .galaxy-copy{top:13%;max-width:760px;margin:auto;padding:16px 24px;isolation:isolate}#soundtrackScene .galaxy-copy::before{content:"";position:absolute;inset:-10px;z-index:-1;background:radial-gradient(ellipse,#030509dd 20%,#03050900 75%);opacity:var(--copy-reveal,0)}#soundtrackNote{max-width:660px;margin:17px auto;color:#e2e8f2!important;text-shadow:0 1px 8px #000;line-height:1.8;font-size:13px}#soundtrackMusic{font-size:10px!important;letter-spacing:.5px;color:#bba9d6!important;margin-top:18px}#soundtrackScene button:disabled{opacity:.4;cursor:default}#soundtrackScene .galaxy-controls{z-index:5}#galaxyScene #enterVelvet,#galaxyScene #enterTides{font-size:11px}#galaxyScene .galaxy-controls{max-width:1050px;margin:auto} @media(max-width:700px){#soundtrackScene .galaxy-copy{top:13%;padding:12px 5px}#soundtrackScene .galaxy-copy h2{font-size:27px}#soundtrackNote{font-size:12px;margin:13px auto}#soundtrackMusic{font-size:9px!important;line-height:1.6}#galaxyScene .galaxy-controls{gap:9px 12px;bottom:62px}#galaxyScene #enterVelvet,#galaxyScene #enterTides{font-size:10px;padding:11px 13px}#soundtrackScene .galaxy-controls{gap:13px;bottom:66px}}

/* Optional rest tools leave the universe and its soundtracks intact. */
#universe,#restCanvas{filter:brightness(var(--scene-brightness,1));transition:filter 2s ease}#sleepControls{position:fixed;right:24px;bottom:24px;z-index:15;font-size:12px}#sleepControls[hidden],#sleepPanel[hidden]{display:none}.sleep-dock{display:flex;gap:8px;justify-content:flex-end}.sleep-dock button{border:1px solid #b0bad441;border-radius:24px;background:#060b16cf;padding:11px 16px;color:#d3dce9;min-height:44px}#sleepPanel{position:absolute;right:0;bottom:58px;width:300px;max-height:calc(100dvh - 150px);overflow:auto;padding:22px;background:#070c17f5;border:1px solid #a9b8d72e;border-radius:18px;box-shadow:0 8px 40px #0008}#sleepPanel label{display:block;margin:18px 0 9px;color:#c4cedd;font-size:12px}#sleepPanel input[type=range]{width:100%;accent-color:#bcb0d1;min-height:28px}#sleepPanel select{width:100%;background:#101828;color:#e2e4ec;padding:10px;border:1px solid #aabbd13d;border-radius:9px;font-size:13px;min-height:44px}#sleepDimValue{float:right;color:#abb6c7}#sleepPanel button{font-size:12px;min-height:44px}#sleepPanel button:disabled{opacity:.4}.sleep-audio{display:flex;align-items:center;gap:16px}.sleep-audio button{white-space:nowrap}.timer-actions{display:flex;justify-content:space-between}#sleepTimerStatus{font-size:11px;color:#a9b6c9;margin:9px 0 0}#sleepGuidanceToggle{margin-top:14px;border:1px solid #b1bcd43d;border-radius:20px;padding:8px 16px}#sleepAudioNote,.sleep-help{font-size:10px;line-height:1.8;color:#a9b6c9}#sleepAudioNote{margin:15px 0 0}.sleep-help{color:#8491a6}#sleepGuidance{position:fixed;top:40%;left:8%;right:8%;z-index:6;text-align:center;pointer-events:none;opacity:0;font:italic clamp(19px,2.1vw,28px)/1.8 Georgia,serif;color:#d4dce7;text-shadow:0 2px 24px #000;transition:opacity 2s}.guidance-off .journey-guide,.guidance-off #restWords{visibility:hidden!important}header,.galaxy-controls,#planets,.bottom,.rest-controls,#lightyearChoices,#sleepControls{transition:opacity 2s ease}.controls-rested :is(header,.galaxy-controls,#planets,.bottom,.rest-controls,#lightyearChoices,#sleepControls){opacity:0;pointer-events:none}.controls-rested.keyboard-controls :is(header,.galaxy-controls,#planets,.bottom,.rest-controls,#lightyearChoices,#sleepControls):focus-within{opacity:1;pointer-events:auto}.staying-here :is(.galaxy-copy,.galaxy-controls,#planets,.bottom,.system-title,#enterGalaxy,#enterBlackhole,#restEntry,#detail,#hint,.rest-heading,.rest-controls,#lightyearChoices,#homeMarker,.galaxy-disclosure){opacity:0;pointer-events:none;transition:opacity 2s}.staying-here :is(.galaxy-controls,#planets,.bottom,.rest-controls,#detail,#lightyearChoices):focus-within{opacity:1;pointer-events:auto}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #bca9e2;outline-offset:4px}@media(max-width:700px){#sleepControls{right:14px;bottom:13px}.sleep-dock button{font-size:10px;padding:9px 12px}#sleepPanel{width:min(300px,calc(100vw - 28px));bottom:53px;padding:18px}.galaxy-disclosure{bottom:54px}#soundtrackScene .galaxy-controls,.galaxy-controls{bottom:100px}#sleepGuidance{font-size:21px}}@media(max-height:620px){#sleepPanel{max-height:calc(100dvh - 82px);bottom:52px}#sleepControls{right:12px;bottom:10px}}
.rest-controls{bottom:80px}@media(max-height:620px){.rest-controls{bottom:70px}.rest-footnote{display:none}#restWords{top:32%}}

.arrival-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap}.arrival-actions #begin{background:transparent;border-color:#c2cce633;color:#c1ccd9}.rest-help-link{font-size:11px;color:#9ba9bd;padding:12px}#restHelpClose{float:right;font-size:25px}#restHelp h3{font:20px Georgia,serif}#restHelp{width:min(600px,92vw)}#restHelp .eyebrow{margin-top:16px}#error{left:8%;right:8%;bottom:20px;border-radius:12px;color:#b8c4d7;text-align:center;font-size:12px}#sleepPanel{max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px)}@media(max-width:700px){.arrival-actions{gap:10px;flex-direction:column}.arrival-actions button{width:min(290px,100%)}#arrival .small{font-size:9px}#error{font-size:10px;line-height:1.7;padding:14px}}@media(max-height:620px){#arrival{top:100px;transform:translateX(-50%);max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow:auto;padding-bottom:12px}#arrival h1{font-size:clamp(27px,3.5vw,43px);margin:16px 0;line-height:1.15}#arrival .invitation{margin:14px auto}#arrival .small{margin:12px auto}.arrival-actions{flex-direction:row}.arrival-actions button{width:auto;padding:13px 18px}#sleepPanel{max-height:calc(100vh - 82px);max-height:calc(100dvh - 82px)}}

.rest-fallback #error{position:static;margin:16px auto 0;max-width:600px;padding:12px 16px;font-size:11px;line-height:1.7}.rest-fallback #arrival .arrival-actions #arrivalRest{width:auto}

/* Account entry and pre-launch Full Access presentation. */
.header-tools{display:flex;align-items:center;gap:24px}.account-nav{display:flex;align-items:center;gap:10px}.account-nav button{min-height:44px;padding:9px 14px;border:1px solid #b7a1da50;border-radius:24px;background:#080c16b8;white-space:nowrap}.account-nav #openPlans{color:#dfceff}.full-access-locked{position:relative;isolation:isolate;overflow:hidden;background:repeating-linear-gradient(135deg,#b9aad514 0,#b9aad514 8px,#05081199 8px,#05081199 20px)!important;color:#afa9bf!important;border-color:#a89bb647!important}.full-access-locked::after{content:"";position:absolute;inset:-20px;z-index:-1;pointer-events:none;background:linear-gradient(135deg,transparent 44%,#c5b3e329 45%,#c5b3e329 49%,transparent 50%)}.full-access-locked::before{content:"✧";display:inline-block;margin-right:7px;color:#ccbae6}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#accessNotice[hidden]{display:none}#accessNotice{position:fixed;z-index:40;top:100px;right:24px;width:min(390px,calc(100vw - 32px));border:1px solid #bba6e066;background:#101323f5;box-shadow:0 10px 40px #0008;border-radius:18px;padding:18px 20px;animation:appear .35s both}#accessNotice p{font-size:13px;line-height:1.7;color:#ddd6e9;margin:0 0 8px}#accessNotice>div{display:flex;justify-content:space-between;gap:16px}#accessNotice button{min-height:44px;color:#d2b9f8}.dialog-close{float:right;font-size:26px;min-width:44px;min-height:44px}#accessPlans,#signInDialog{width:min(540px,92vw);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto}#accessPlans h2,#signInDialog h2{font-size:38px;margin:20px 0 12px}#accessPlans .eyebrow,#signInDialog .eyebrow{margin:16px 0}.plan-price{font:42px Georgia,serif!important;color:#ede3ff!important;margin:18px 0}.plan-price span{font:14px Arial,sans-serif;color:#a99fbc}.plan-includes{padding-left:20px;font-size:13px;line-height:1.9;color:#c3bbd1}.plan-free{border-top:1px solid #b3a4cf26;padding-top:18px}.connection-note{padding:14px 16px;background:#a795cf0e;border:1px solid #b5a4d52e;border-radius:12px}.plan-unavailable{width:100%;margin-top:12px;opacity:.65;cursor:default}.plan-unavailable:hover{transform:none}.header-tools button{font-size:11px}@media(max-width:700px){header{padding:16px}.header-tools{gap:8px}.account-nav{gap:5px}.account-nav button{padding:8px 10px;font-size:10px}.brand{letter-spacing:2px;font-size:11px}.brand span{font-size:6px;letter-spacing:1px;margin-top:7px}.sound input{display:none}.sound button{font-size:10px;padding:8px 0;min-height:44px}.header-tools{flex-direction:column-reverse;align-items:flex-end;gap:0}.sound{height:25px}.account-nav button{min-height:36px}#accessNotice{top:106px;right:16px}.system-title{top:125px}}

/* Short touch viewports have dedicated, non-overlapping navigation bands. */
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){
 header{padding:8px max(20px,env(safe-area-inset-right)) 8px max(20px,env(safe-area-inset-left));height:62px;background:linear-gradient(#030509b8,transparent)}.brand{font-size:12px;letter-spacing:3px}.brand span{font-size:6px;margin-top:5px;letter-spacing:2px}.header-tools{flex-direction:row;gap:16px}.account-nav button{min-height:40px;padding:8px 12px;font-size:10px}.sound{height:auto;gap:8px}.sound button{font-size:10px;min-height:40px}.sound input{display:block;width:45px}
 #system .system-title{top:76px;left:max(24px,env(safe-area-inset-left));width:34%;max-width:280px}.system-title h2{font-size:25px;line-height:1.12}.system-title .eyebrow{font-size:7px;letter-spacing:2px;margin:0 0 10px}.system-title p:last-child{font-size:10px;line-height:1.6;margin-top:12px;max-width:240px}
 #enterGalaxy,#enterBlackhole{left:auto;right:max(24px,env(safe-area-inset-right));width:40%;max-width:335px;min-width:0;min-height:44px;padding:11px 15px;font-size:11px;text-align:center}#enterGalaxy{top:76px}#enterBlackhole{top:128px}#restEntry{top:180px;left:auto;right:max(24px,env(safe-area-inset-right));width:40%;max-width:335px;border:0;padding:0}#restEntry p{display:none}#enterRest{width:100%;min-height:44px;padding:11px 15px;font-size:11px}
 #planets{bottom:66px;left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));gap:8px;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:0 0 4px;scrollbar-width:thin}#planets button{flex:1 0 auto;min-height:44px;padding:10px 12px;font-size:11px;white-space:nowrap;background:#05081155;border-radius:8px 8px 0 0}
 .bottom{bottom:10px;left:max(24px,env(safe-area-inset-left));right:355px;gap:12px;min-height:44px;justify-content:flex-start}.bottom span{display:none}.bottom button{font-size:10px;min-height:44px;padding:6px 10px}#sleepControls{bottom:max(10px,env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right))}.sleep-dock button{min-height:44px;font-size:10px;padding:10px 14px}#sleepPanel{bottom:54px;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px)}
 body[data-scene=system]:not(.staying-here) #sleepGuidance{visibility:hidden}#sleepGuidance{top:38%;font-size:19px}
 #detail{top:70px;bottom:65px;left:auto;right:20px;width:43%;padding:15px 22px;background:#050811de}#detail h2{font-size:32px}#back{margin-bottom:12px}#hint{bottom:20px;left:24px}
 .galaxy-copy,#milkyExploreScene .galaxy-copy,#soundtrackScene .galaxy-copy,#beyondScene .galaxy-copy,#blackholeScene .galaxy-copy,#extremeScene .galaxy-copy{top:72px;left:24px;right:auto;width:39%;max-height:calc(100vh - 208px);max-height:calc(100dvh - 208px);overflow:auto;text-align:left;padding:8px 12px;margin:0}.galaxy-copy .eyebrow{font-size:7px;letter-spacing:1.8px;margin-bottom:10px}.galaxy-copy h2,#beyondScene .galaxy-copy h2,#extremeScene .galaxy-copy h2,#milkyExploreScene .galaxy-copy h2,#soundtrackScene .galaxy-copy h2{font-size:25px;line-height:1.13}.galaxy-copy p:last-child,#soundtrackNote{font-size:11px!important;line-height:1.6!important;margin:10px 0!important}#soundtrackMusic{font-size:8px!important;margin:8px 0}
 .galaxy-controls,#galaxyScene .galaxy-controls,#soundtrackScene .galaxy-controls{bottom:68px;left:24px;right:24px;gap:8px;max-height:104px;overflow:auto;align-content:start;justify-content:center;padding:3px}.galaxy-controls button,#galaxyScene #enterVelvet,#galaxyScene #enterTides{font-size:10px;min-height:40px;padding:9px 12px;flex-shrink:0}.galaxy-disclosure{bottom:10px;left:24px;width:calc(100% - 380px);text-align:left;padding:0;font-size:7px;line-height:1.6;pointer-events:none}
 .journey-guide{top:29%;left:45%;right:6%;font-size:18px}#lightyearChoices{left:44%;right:4%;bottom:40%;font-size:10px}#lightyearChoices button{font-size:9px;padding:8px}#homeMarker{font-size:8px;max-width:130px}#homeMarker span{font-size:8px}
 #arrival{inset:66px 20px 24px;transform:none;max-height:none;justify-content:flex-start;padding:12px 20px;overflow:auto}#arrival .eyebrow{margin:0 0 8px}#arrival h1{font-size:30px;margin:8px 0}#arrival .invitation{font-size:13px;margin:10px 0 16px}#arrival .small{margin:10px 0 0}.arrival-actions{flex-direction:row;gap:10px}.arrival-actions button{width:auto;min-height:44px;padding:10px 18px}#skip{bottom:8px;font-size:9px}#journey{padding:70px 24px 50px}#journey .eyebrow{margin-bottom:12px}#journey h2{font-size:29px}#reflectionNote{font-size:12px;margin:12px 0 18px;line-height:1.6}
 .rest-heading{top:70px}.rest-heading .eyebrow{margin-bottom:10px}.rest-heading h2{font-size:26px;margin:8px 0}#restWords{top:35%;font-size:19px}.rest-controls{bottom:68px}.rest-moods button{padding:10px 18px;min-height:60px}.rest-controls>.eyebrow{display:none}.rest-moods button span{margin-bottom:6px;min-height:0}.rest-actions{margin-top:8px}.rest-actions button{min-height:30px}.rest-footnote{display:none}
 #accessNotice{top:68px;right:16px;max-height:calc(100dvh - 82px);overflow:auto;padding:12px 18px}dialog{max-height:calc(100dvh - 28px);margin:auto;padding:24px}
}
@media(orientation:landscape) and (max-height:350px) and (max-width:1100px){#system .system-title{top:66px}.system-title h2{font-size:21px}.system-title p:last-child{display:none}#enterGalaxy{top:64px}#enterBlackhole{top:111px}#restEntry{top:158px}#planets{bottom:58px}.galaxy-copy{max-height:90px!important}.galaxy-controls{max-height:88px!important}.brand span{display:none}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1100px){
 .system-destinations{position:absolute;top:76px;right:max(24px,env(safe-area-inset-right));width:40%;max-width:335px;max-height:calc(100vh - 196px);max-height:calc(100dvh - 196px);display:flex;flex-direction:column;gap:8px;overflow:auto;pointer-events:auto;padding:0 2px 3px;scrollbar-width:thin}.system-destinations #enterGalaxy,.system-destinations #enterBlackhole,.system-destinations #restEntry{position:static;width:100%;max-width:none;flex-shrink:0}.system-title{max-height:calc(100vh - 196px);max-height:calc(100dvh - 196px);overflow:auto}.galaxy-copy,#milkyExploreScene .galaxy-copy,#soundtrackScene .galaxy-copy,#beyondScene .galaxy-copy,#blackholeScene .galaxy-copy,#extremeScene .galaxy-copy{max-height:calc(100vh - 248px)!important;max-height:calc(100dvh - 248px)!important}
 .staying-here .system-destinations{opacity:0;pointer-events:none}
}
@media(orientation:landscape) and (max-height:350px) and (max-width:1100px){.system-destinations{top:64px;max-height:calc(100dvh - 178px)}.system-title{max-height:calc(100dvh - 178px)}}
@media(orientation:landscape) and (max-height:350px) and (max-width:1100px){.system-destinations{max-height:calc(100dvh - 190px)}}
@media(orientation:portrait) and (max-width:700px){#planets{bottom:110px}.bottom{bottom:70px}}
@media(max-width:1100px){body[data-scene=system]:not(.staying-here) #sleepGuidance{visibility:hidden}}

/* The Milky Way entry is free: a clear purple pill without lock stripes. */
#enterGalaxy{background:#0d0b14!important}#enterGalaxy::before,#enterGalaxy::after{content:none!important}

/* A spacious, scrollable studio page; the universe remains in place behind it. */
#about{width:min(840px,94vw);max-width:840px;max-height:88vh;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;padding:40px clamp(22px,5vw,60px);scrollbar-width:thin}#closeAbout{position:sticky;top:0;z-index:2;min-width:44px;min-height:44px;background:#0c111bee;border-radius:50%}.studio-intro{line-height:1.9}.studio-nav{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 36px;padding-bottom:24px;border-bottom:1px solid #a7a3c22b}.studio-nav a,.studio-nav button{padding:11px 15px;min-height:44px;border:1px solid #b8a5d438;border-radius:24px;font-size:12px;color:#d7c9ed;text-decoration:none}.studio-section{margin-top:52px;padding-top:32px;border-top:1px solid #b8a5d42b;scroll-margin-top:30px}.studio-section .eyebrow{margin-bottom:18px}.studio-section h2{margin:12px 0 24px}.studio-section h3{font:22px Georgia,serif;color:#d6d3e1}.studio-section p{line-height:1.9}.studio-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}.studio-cards article{padding:20px;border:1px solid #bba5db26;border-radius:15px;background:#9a7cc408}.studio-cards h3{font-size:20px;margin:0 0 14px}.studio-cards p{margin:0;font-size:12px}.source-list{list-style:none;padding:0;display:grid;gap:14px}.source-list li{padding:16px 0;border-bottom:1px solid #af9dce1c}.source-list a{font-size:13px}.source-list span{display:block;color:#8793a7;font-size:11px;margin-top:8px}#feedbackForm{margin:26px 0}#feedbackForm label{display:block;font-size:12px;margin:22px 0 10px;color:#c6c6d9}#feedbackForm label span{color:#8e95a8}#feedbackForm :is(input,textarea,select){width:100%;font:14px/1.7 Arial,sans-serif;color:#e0ddeb;background:#080e1a;border:1px solid #b8a5d444;border-radius:10px;padding:12px 14px;min-height:44px}#feedbackForm textarea{resize:vertical;min-height:150px}#feedbackForm .primary{margin-top:14px}#feedbackStatus{font-size:12px;color:#c8b3e5}#feedbackResult[hidden]{display:none}#feedbackResult{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:20px 0}#feedbackEmail{text-decoration:none;display:inline-block;font-size:12px}#feedbackCopy{min-height:44px;border-bottom:1px solid #b8a5d444}#about .small{font-size:11px}.arrival-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}#sleepStudioOpen{margin-top:14px;padding-left:0}.galaxy-controls{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:8px 4px}@media(min-height:601px){.galaxy-controls{max-height:30vh;max-height:30dvh}}
@media(min-height:601px){.system-destinations{position:absolute;right:5%;top:155px;width:min(335px,40%);max-height:calc(100vh - 330px);max-height:calc(100dvh - 330px);display:flex;flex-direction:column;gap:16px;overflow-y:auto;scrollbar-width:thin;pointer-events:auto;padding:3px}.system-destinations #enterGalaxy,.system-destinations #enterBlackhole,.system-destinations #restEntry{position:static;width:100%;max-width:none;min-width:0;flex-shrink:0}.system-destinations #restEntry{margin-top:8px;padding-top:18px}.system-destinations #enterRest{width:100%}}
@media(orientation:portrait) and (max-width:700px){.system-destinations{position:absolute;left:24px;right:24px;top:300px;width:auto;max-height:calc(100vh - 490px);max-height:calc(100dvh - 490px);display:flex;flex-direction:column;gap:14px;overflow-y:auto;pointer-events:auto;padding:3px;scrollbar-width:thin}.system-destinations #enterGalaxy,.system-destinations #enterBlackhole,.system-destinations #restEntry{position:static;left:auto;right:auto;width:100%;max-width:none;min-width:0;flex-shrink:0}.system-destinations #restEntry{margin-top:2px;padding-top:10px}.system-destinations #restEntry p{display:none}.system-destinations #enterRest{width:100%}#about{padding:24px;max-height:92dvh}.studio-cards{grid-template-columns:1fr}.studio-section{margin-top:36px;padding-top:26px}.studio-nav{gap:8px}.studio-nav a,.studio-nav button{font-size:11px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){#about{scroll-behavior:auto}}

/* Accounts stay inside a scrollable foreground panel, independent of exploration. */
#accountTabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}#accountTabs button{padding:10px 14px;min-height:44px;border:1px solid #b7a1da44;border-radius:24px;color:#b6afc7}#accountTabs button[aria-pressed=true]{color:#eee0ff;background:#aa8bdf17;border-color:#c1a4ed88}#accountForm label{display:block;margin:18px 0 9px;font-size:12px;color:#c8c6d7}#accountForm input{display:block;width:100%;min-height:46px;padding:11px 14px;font:16px Arial,sans-serif;background:#080e1a;border:1px solid #b7a1da44;border-radius:10px;color:#e5e1ed}#accountForm [hidden],#accountSummary[hidden],#accountTabs[hidden],#accountRecoveryBack[hidden]{display:none}#accountSubmit{width:100%;margin-top:14px;min-height:46px}#accountRecoveryBack{margin-top:12px;min-height:44px}#accountStatus{min-height:24px;font-size:12px;line-height:1.8;color:#d7bfe9}#accountForm button:disabled,#accountSignOut:disabled{opacity:.45;cursor:wait}.account-beta{font-size:11px!important;border-left:2px solid #b8a0dc66;padding:4px 14px;line-height:1.8}.account-plan{color:#d4c1ec!important;font:21px Georgia,serif}#accountEmailDisplay{overflow-wrap:anywhere}#accountSummary p{line-height:1.8}#signInDialog .small{font-size:11px;line-height:1.8}

.billing-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.billing-actions button{max-width:100%}

#accountGoogleRow{margin:1rem 0}#accountGoogle{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:12px 20px;border:1px solid #747775;border-radius:999px;background:#fff;color:#1f1f1f;font:500 14px/20px Arial,sans-serif;letter-spacing:.25px;box-shadow:none}#accountGoogle img{display:block;flex:0 0 20px;object-fit:contain}#accountGoogle:hover:not(:disabled){background:#f7f8fa;border-color:#5f6368}#accountGoogle:focus-visible{outline:3px solid #a8c7fa;outline-offset:3px}#accountGoogle:disabled{opacity:.55;cursor:wait}#accountGoogleRow .small{text-align:center;margin:.65rem 0}

#refundForm{margin-top:20px;padding-top:16px;border-top:1px solid #b7a1da33}#refundForm[hidden]{display:none}#refundForm label{display:block;margin:14px 0 8px;font-size:13px}#refundForm select,#refundForm textarea{display:block;width:100%;padding:12px;background:#080e1a;color:#e5e1ed;border:1px solid #b7a1da66;border-radius:10px;font:16px Arial,sans-serif}#refundForm textarea{resize:vertical}#refundStatus{font-size:13px;line-height:1.7;color:#d7bfe9}

.brand .brand-beta{display:inline-block;vertical-align:middle;margin-left:10px;padding:4px 7px;border:1px solid #8e7bb580;border-radius:999px;background:#b19bd414;color:#d7c9ee;font:500 10px/1.2 system-ui,sans-serif;letter-spacing:1.2px;white-space:nowrap}
