/* Your Goal: the chapter sits within its environment, without a covering panel. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#goal-journey{position:fixed;z-index:5;inset:128px 7.2vw 160px;pointer-events:none;color:var(--text)}
#goal-journey[hidden],.story-player[hidden]{display:none!important}
#goal-journey button{pointer-events:auto}
.goal-location{display:flex;align-items:center;gap:30px;color:#c9b6e8;margin-bottom:clamp(20px,4vh,42px)}
.goal-kicker{font-size:10px!important;letter-spacing:.16em;font-weight:800;line-height:1.5;margin:0 0 18px;color:#bfa5e7}
.goal-location .goal-kicker{margin:0}.goal-location #goal-step{font-size:11px;font-weight:700;color:#9c96b4}
.goal-content{width:min(540px,48vw);transition:opacity .16s;pointer-events:auto}
.goal-content h2{font-size:clamp(36px,4.8vw,72px);line-height:1.08;letter-spacing:-.055em;font-weight:800;margin:0 0 23px;outline:none;text-wrap:balance}
.goal-content h2 em{font-style:normal;color:#c5a1f5}
.goal-text{font-size:clamp(14px,1.25vw,18px);line-height:1.75;max-width:470px;color:#d1cddd;margin:0 0 20px}
.goal-note{font-size:13px;line-height:1.75;color:#a9a1bd;max-width:420px}
.goal-services{display:flex;gap:13px;font-weight:750;color:#baabd2;font-size:10px;margin-top:25px}.goal-services span{color:#735995}
.goal-bottom{position:absolute;left:0;bottom:0;width:min(540px,48vw);display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid #bda5e426}
.goal-bottom button{background:none;border:0;padding:12px 0;font-size:12px;font-weight:750;min-height:44px}.goal-bottom #goal-next{color:#dec4ff}.goal-bottom>span{color:#aaa1bd;font-size:10px}
.goal-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:540px}
.goal-choices button{display:flex;align-items:flex-start;gap:10px;text-align:left;border:1px solid #bfa2ec32;border-radius:8px;padding:15px 12px;background:#0f1124d9;min-height:88px;transition:background .2s,border-color .2s;color:#e9e3f3}
.goal-choices strong{display:block;font-size:12px;line-height:1.45;font-weight:800}.goal-choices small{display:block;font-size:10px;line-height:1.55;color:#aaa1bd;margin-top:5px}.choice-dot{height:5px;width:5px;flex:none;border-radius:50%;background:#a38cbf;margin-top:6px}.choice-check{margin-left:auto;color:#bea2e3;font-size:13px}
.goal-choices button:hover,.goal-choices button[aria-pressed=true]{background:#482b6d55;border-color:#d0a7ff}.goal-choices button[aria-pressed=true] .choice-dot{background:#e5ccff;box-shadow:0 0 12px #c098ff}
.goal-saved{font-size:10px;color:#b9a3ce;line-height:1.6;margin-top:12px}.goal-summary{border-left:2px solid #c297f4;padding:10px 18px;margin:25px 0;display:grid;gap:8px}.goal-summary>span{font-size:8px;letter-spacing:.14em;color:#b5a0cd}.goal-summary strong{font-size:20px}.goal-summary small{font-size:11px;color:#b5a8c7}
.story-player{position:fixed;z-index:22;right:4.8vw;bottom:18px;display:flex;gap:5px;align-items:center;padding:5px;background:#0c0e1bd9;border:1px solid #b9a1e12b;border-radius:30px;backdrop-filter:blur(14px)}
.story-player button{background:none;border:0;padding:10px 11px;font-size:10px;font-weight:700;min-height:40px;border-radius:22px;color:#bbb3ce}.story-player #story-play{background:#c4a5ed;color:#171022}.story-player button[aria-pressed=true]{color:#f0dcff}.story-player button:hover{box-shadow:inset 0 0 0 1px #c9b2e75c}
.goal-caption{position:fixed;bottom:112px;right:5vw;width:min(360px,34vw);font-size:12px;line-height:1.7;padding:12px 16px;border-radius:8px;background:#080a12eb;color:#cfc6df;border:1px solid #aa8dce26;pointer-events:none}
.goal-active #anchors{visibility:hidden}.goal-active footer{visibility:hidden}
body.goal-active.journey-ready .region-controls{left:7.2vw;width:min(540px,48vw);top:calc(100dvh - 105px)}
body.journey-ready .region-controls button{min-height:35px}
html[data-theme=light] .goal-kicker,html[data-theme=light] .goal-location{color:#65418d}
html[data-theme=light] .goal-content h2 em{color:#6035a4}
html[data-theme=light] .goal-text{color:#344153}html[data-theme=light] .goal-note,html[data-theme=light] .goal-services,html[data-theme=light] .goal-bottom>span,html[data-theme=light] #goal-step{color:#596276}
html[data-theme=light] .goal-bottom{border-color:#9e88b94d}html[data-theme=light] .goal-bottom #goal-next{color:#6035a4}
html[data-theme=light] .goal-choices button{background:#ffffffe8;border-color:#b9abc9;color:#202a38}html[data-theme=light] .goal-choices button:hover,html[data-theme=light] .goal-choices button[aria-pressed=true]{background:#eae1f5;border-color:#6b3fa1}
html[data-theme=light] .goal-choices small,html[data-theme=light] .goal-saved,html[data-theme=light] .goal-summary small,html[data-theme=light] .goal-summary>span{color:#596276}
html[data-theme=light] .goal-summary{border-color:#6035a4}html[data-theme=light] .story-player{background:#fffffff0;border-color:#c5b9d5}html[data-theme=light] .story-player button{color:#4c4160}html[data-theme=light] .story-player #story-play{background:#6035a4;color:#fff}html[data-theme=light] .story-player button[aria-pressed=true]{color:#6035a4}
html[data-theme=light] .goal-caption{background:#fffffff2;color:#344153;border-color:#b8abc9}
@media(min-width:651px) and (max-height:720px){#goal-journey{inset:108px 7.2vw 145px}.goal-location{margin-bottom:16px}.goal-content h2{font-size:clamp(34px,4.2vw,58px);margin-bottom:15px}.goal-kicker{margin-bottom:10px}.goal-text{font-size:14px;margin-bottom:12px}.goal-note{font-size:11px}.goal-choices button{min-height:70px;padding:10px}.goal-choices small{font-size:9px}.goal-bottom{bottom:-10px}.goal-services{margin-top:14px}}
@media(max-width:650px){
 #goal-journey{inset:108px 7vw 172px}.goal-location{margin-bottom:18px}.goal-content{width:100%;max-width:510px}.goal-kicker{font-size:8px!important;letter-spacing:.12em;margin-bottom:12px}.goal-content h2{font-size:clamp(31px,8.5vw,48px);margin-bottom:17px}.goal-text{font-size:13px;line-height:1.65;max-width:92%}.goal-note{font-size:11px;max-width:92%}.goal-services{font-size:9px;margin-top:15px}.goal-bottom{width:100%;bottom:0}.goal-bottom>span{font-size:9px}.goal-bottom button{font-size:11px}
 .goal-choices{gap:7px}.goal-choices button{min-height:82px;padding:10px 8px;gap:7px}.goal-choices strong{font-size:11px}.goal-choices small{font-size:9px}.choice-check{display:none}.goal-saved{font-size:9px}.goal-summary strong{font-size:18px}
 body.goal-active.journey-ready .region-controls{left:7vw;width:86vw;top:calc(100dvh - 125px)}
 .story-player{right:7vw;bottom:12px;left:7vw;justify-content:space-between;padding:3px}.story-player button{font-size:9px;padding:8px;min-height:36px}.goal-caption{right:7vw;left:7vw;bottom:150px;width:auto;max-height:70px;overflow:auto;font-size:10px;background:#080a12f5}.goal-active:has(.goal-caption:not([hidden])) .goal-bottom{visibility:hidden}
}
@media(max-height:680px) and (max-width:650px){#goal-journey{inset:88px 7vw 160px}.goal-location{margin-bottom:10px}.goal-content h2{font-size:30px;margin-bottom:12px}.goal-text{font-size:12px;margin-bottom:10px}.goal-choices button{min-height:63px;padding:8px}.goal-choices small{display:none}.goal-note{font-size:10px}.goal-bottom{bottom:-7px}}
@media(prefers-reduced-motion:reduce){.goal-content,.goal-choices button{transition:none}}

body.goal-active #anchors button{visibility:hidden!important;pointer-events:none!important}
.story-player:not(.story-expanded)>button:not(:first-child){display:none}
.story-player:not(.story-expanded){background:transparent;border-color:transparent;backdrop-filter:none}
.story-player:not(.story-expanded) #story-play{background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px #ae92d044}
@media(max-width:650px){.story-player:not(.story-expanded){left:auto;width:auto}.goal-active .vignette{opacity:.25}}

html[data-theme=light] .choice-check{color:#6035a4}
html[data-theme=light] body.goal-active.journey-ready .region-controls button[aria-current=true]{color:#472075!important}
html[data-theme=light] body.goal-active.journey-ready .region-controls button{color:#4c5264!important}
.story-player button:disabled{opacity:.55;cursor:default}
/* Content is attached to persistent world coordinates, not a fixed reading column. */
#goal-world{position:fixed;inset:0;z-index:2;pointer-events:none;width:100%;height:100%}
#goal-world[hidden]{display:none}
#goal-journey{inset:0;z-index:6;pointer-events:none}
#goal-content{position:fixed;inset:0;width:100%;max-width:none;transform:none!important;opacity:1!important;pointer-events:none}
.world-station{position:absolute;left:0;top:0;width:min(490px,40vw);transform-origin:0 0;will-change:transform,opacity;pointer-events:none;padding:24px 24px 25px 0}
.world-station::before{content:"";position:absolute;inset:-25px -45px -25px -30px;background:radial-gradient(ellipse at 35% 45%,#080b16f5 20%,#080b16c9 50%,#080b1600 73%);z-index:-1;pointer-events:none}
.world-station h2{font-size:clamp(34px,4.5vw,66px);line-height:1.08;letter-spacing:-.055em;font-weight:800;margin:0 0 22px;text-wrap:balance}
.world-station .goal-text{font-size:clamp(13px,1.15vw,16px);line-height:1.75}
.world-station:not([inert]){pointer-events:auto}
.world-station[inert] button{pointer-events:none!important}
.goal-location{position:fixed;left:7.2vw;top:114px;z-index:2;padding:8px 12px;border-left:2px solid #b78aea;background:#080b16b3;backdrop-filter:blur(8px);border-radius:0 6px 6px 0;gap:24px}
.goal-bottom{position:fixed;left:7.2vw;bottom:150px;width:min(490px,40vw);background:linear-gradient(90deg,#080b16bc,#080b1644);border-color:#baa2df40;padding:8px 12px;border-radius:6px}
.goal-active .vignette{opacity:.12}
html[data-theme=light] .world-station::before{background:radial-gradient(ellipse at 35% 45%,#efedf5fa 20%,#efedf5dd 50%,#efedf500 73%)}
html[data-theme=light] .goal-location{background:#f7f5f9d9;border-color:#8055ac}
html[data-theme=light] .goal-bottom{background:#f7f5f9d9}
@media(min-width:651px) and (max-height:720px){.world-station h2{font-size:clamp(32px,4vw,48px);margin-bottom:14px}.world-station{padding:10px 20px 10px 0}.world-station .goal-text{font-size:13px}.goal-location{top:94px}.goal-bottom{bottom:134px}}
@media(max-width:650px){
 .world-station{width:85vw;padding:15px 10px 15px 0}.world-station h2{font-size:clamp(30px,8.5vw,42px);margin-bottom:14px}.world-station .goal-text{font-size:13px;line-height:1.65}.world-station::before{inset:-20px -25px -20px -20px}.goal-location{left:7vw;top:90px;padding:6px 10px}.goal-bottom{left:7vw;bottom:160px;width:86vw}.goal-active .goal-caption{bottom:155px}.world-station .goal-choices button{min-height:75px}
}

.world-station[data-distant=true] .goal-text,.world-station[data-distant=true] .goal-note,.world-station[data-distant=true] .goal-services,.world-station[data-distant=true] .goal-choices,.world-station[data-distant=true] .goal-saved,.world-station[data-distant=true] .goal-summary{visibility:hidden}
.world-station[data-distant=true] .goal-kicker{color:#d2b8f7}
html[data-theme=light] .world-station[data-distant=true] .goal-kicker{color:#6035a4}
/* Quiet technical direction: one readable message and one purposeful visual at a time. */
body.goal-webgl-active #field{opacity:0}
#goal-world{z-index:2;transition:none}
#goal-world-unavailable{position:fixed;right:5vw;top:118px;z-index:4;max-width:240px;padding:9px 12px;border-left:1px solid #867194;font-size:10px;line-height:1.6;color:var(--muted);background:var(--bg);pointer-events:none}
#goal-world-unavailable:not([hidden])~main .world-station{position:fixed;left:7.2vw;top:22vh;width:min(490px,43vw)}
.world-station{padding:12px 18px 12px 0;width:min(490px,42vw)}
.world-station::before{display:none}
.world-station h2{font-size:clamp(36px,4.3vw,65px);line-height:1.08;font-weight:760;margin-bottom:23px}
.world-station .goal-text{font-size:clamp(13px,1.08vw,16px);max-width:450px;line-height:1.8}
.world-station .goal-kicker{font-size:9px!important;letter-spacing:.14em;color:#b3a3c1}
.world-station .goal-note{font-size:11px;max-width:410px;color:#9e96ab;line-height:1.8}
.world-station .goal-services{font-size:9px;font-weight:650;color:#b7a8c7}
.goal-location{top:110px;left:7.2vw;gap:18px;padding:0;border:0;background:none;backdrop-filter:none}
.goal-location .goal-kicker{font-size:9px!important;color:#b9a6ce}.goal-location #goal-step{font-size:10px;color:#9a90a6}
.goal-bottom{bottom:134px;background:none!important;border:0;border-radius:0;padding:0;width:min(490px,43vw)}
.goal-bottom>span{display:none}.goal-bottom button{font-size:11px;color:#a79ab7}.goal-bottom #goal-next{color:#d0b7e7}
.goal-choices{grid-template-columns:1fr;gap:0}
.goal-choices button{border:0;border-top:1px solid #b99ad328;border-radius:0;min-height:55px;padding:10px 0;background:none!important;align-items:center;gap:12px;box-shadow:none}
.goal-choices strong{font-size:12px;font-weight:700}.goal-choices small{font-size:10px;line-height:1.6;margin-top:3px}.choice-dot{width:4px;height:4px;margin-top:0}.choice-check{font-size:12px}.goal-choices button:hover,.goal-choices button[aria-pressed=true]{border-color:#c9a7e67a;color:#e8d6f7}.goal-saved{font-size:9px;line-height:1.6;margin-top:10px;max-width:420px}.goal-summary{margin:23px 0;border-color:#9a7bb5}
#story-player{background:none!important;border:0!important;backdrop-filter:none!important;gap:7px;padding:0;bottom:17px;right:5vw}
#story-player>button{font-size:10px;border-radius:0;min-height:36px;padding:7px 10px;color:#b4a8c2}
#story-player #story-play{background:none!important;box-shadow:none!important;border-bottom:1px solid #b79ac43b;color:var(--text)}
#story-player #story-options{display:inline-flex!important;background:none;color:#9689a4}
#story-settings{position:absolute;bottom:calc(100% + 8px);right:0;display:grid;gap:4px;min-width:155px;padding:9px;background:#10111bf5;border:1px solid #a98aba30;border-radius:6px}
#story-player #story-settings button{display:block!important;color:#c4b6d5;text-align:left;border-radius:3px;font-size:10px;background:none}
#story-settings[hidden]{display:none!important}
.goal-caption{font-size:11px;line-height:1.8;bottom:100px;background:#080a12f0;border-color:#9179a225}
.hero-header .tools a{font-size:11px;font-weight:700;padding:8px;color:#b7aec8}
html[data-theme=light] #story-settings{background:#faf9fcf5;border-color:#c2b1d1}html[data-theme=light] #story-player #story-settings button{color:#493656}
html[data-theme=light] .goal-location{background:none}html[data-theme=light] .world-station .goal-kicker{color:#6d557d}html[data-theme=light] .world-station .goal-note{color:#5b5363}html[data-theme=light] .goal-choices button{background:none!important;color:#302a39;border-color:#b6a6c53d}html[data-theme=light] .goal-choices button[aria-pressed=true]{color:#603579;border-color:#77518e9a}html[data-theme=light] .hero-header .tools a{color:#263342}
@media(max-width:650px){.hero-header .tools{gap:4px}.hero-header .tools a{font-size:9px;padding:7px 3px}.world-station{width:86vw;padding:8px 8px 8px 0}.world-station h2{font-size:clamp(30px,8vw,40px);margin-bottom:17px}.world-station .goal-text{font-size:12px;line-height:1.75}.world-station .goal-note{font-size:10px}.goal-location{left:7vw;top:94px}.goal-location .goal-kicker{font-size:8px!important}.goal-bottom{bottom:150px;left:7vw;width:86vw}.goal-choices button{min-height:51px;padding:8px 0}.goal-choices strong{font-size:11px}.goal-choices small{font-size:9px}.goal-saved{font-size:9px}.choice-check{display:block}.goal-caption{bottom:150px}#goal-world-unavailable{top:78px;right:7vw;font-size:8px;max-width:200px;opacity:.75}#goal-world-unavailable:not([hidden])~main .world-station{left:7vw;top:19vh;width:86vw}#story-player{left:auto;right:7vw;bottom:12px}.hero-subline{max-width:310px}}
@media(min-width:651px) and (max-height:720px){.world-station h2{font-size:clamp(32px,3.8vw,48px)}.world-station .goal-text{font-size:13px}.goal-location{top:97px}.goal-choices button{min-height:44px;padding:6px 0}.goal-choices small{font-size:9px}.goal-bottom{bottom:116px}.world-station .goal-note{font-size:10px}.goal-services{margin-top:15px}}
/* First-step review: keep the original particle brain and attach type to its mesh. */
#anchors button .mesh-label,body.hero-labels #anchors .mesh-label{font-size:clamp(13px,1.12vw,18px);font-weight:650;letter-spacing:-.015em;line-height:1.15;text-shadow:0 2px 9px #080a12,0 0 5px #080a12}
#anchors .mesh-point,body.hero-labels #anchors .mesh-point{width:4px;height:4px;flex-basis:4px;box-shadow:none;border:0;background:#d9c6f4}
#anchors button,#anchors button.mesh-left{gap:8px}
#brain-entry-title{position:fixed;left:0;top:0;z-index:5;text-align:center;transform-origin:center;pointer-events:none;color:#efe6ff;white-space:nowrap;text-shadow:0 2px 18px #080a12}
#brain-entry-title[hidden]{display:none}
#brain-entry-title span{display:block;font-size:8px;letter-spacing:.14em;color:#bcacd4;margin-bottom:10px}
#brain-entry-title strong{display:block;font-size:clamp(24px,2.4vw,40px);font-weight:650;line-height:1.1;letter-spacing:-.04em}
.world-station[data-source=brain-opening]>.goal-text,.world-station[data-source=brain-opening]>.goal-note,.world-station[data-source=brain-opening]>.goal-services{opacity:var(--entry-detail,1)}
html[data-theme=light] #brain-entry-title{color:#4e2d7c;text-shadow:0 2px 15px #f7f8fa}html[data-theme=light] #brain-entry-title span{color:#775e97}
@media(max-width:650px){#anchors button .mesh-label,body.hero-labels #anchors .mesh-label{font-size:12px}#brain-entry-title strong{font-size:24px}}
#idea-labels{position:fixed;inset:0;z-index:4;pointer-events:none}#idea-labels[hidden]{display:none}#idea-labels>span{position:absolute;left:0;top:0;font-size:11px;font-weight:650;letter-spacing:.025em;color:#d7c6ed;text-shadow:0 2px 8px #080a12;background:#080a12b8;padding:4px 8px;border-radius:2px;white-space:nowrap}
.idea-checks{display:flex;gap:22px;margin-top:25px;font-size:11px;color:#d2c0e7}.idea-checks span{padding-bottom:7px;border-bottom:1px dashed #a78ac065}.idea-demo-note{font-size:9px;color:#94899e;margin-top:13px;letter-spacing:.04em}
html[data-theme=light] #idea-labels>span{color:#6c4b8f;text-shadow:none;background:#f7f8fad8}html[data-theme=light] .idea-checks{color:#70538b}
@media(max-width:650px){#idea-labels>span{font-size:9px;padding:3px 4px}.idea-checks{font-size:10px;gap:18px}}
