:root{color-scheme:dark;--bg:#090f15;--surface:#0e171e;--ink:#dce6eb;--muted:#8fa3af;--line:#25343f;--accent:#a4cddd;--header:58px;--footer:30px;--toolbar:58px;font:13px 'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#344650 transparent}body{margin:0;background:var(--bg);color:var(--ink);overflow:hidden}button,input,select{font:inherit}button,a,.file-button,summary{-webkit-tap-highlight-color:transparent}button,.file-button{border:1px solid #54575d;background:#292c31;color:var(--ink);padding:7px 11px;border-radius:0;cursor:pointer;line-height:1.3;transition:background .15s,border-color .15s}button:hover,.file-button:hover{border-color:#858990;background:#393d43}button:disabled{opacity:.38;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.primary{background:#292c31;border-color:#54575d;color:#edf0f3}.primary:hover{background:#393d43;border-color:#858990}a{color:var(--accent);text-underline-offset:3px}input{min-width:0;background:transparent;border:1px solid var(--line);color:var(--ink);padding:9px;border-radius:0}p{line-height:1.55}h1,h2{font-weight:500;letter-spacing:-.025em;margin:0}h2{font-size:21px;line-height:1.3}small,.fine{font-size:11px;color:var(--muted);line-height:1.5}.eyebrow{font-size:9px;letter-spacing:.14em;color:var(--muted);font-weight:600}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}[hidden]{display:none!important}
#sky{position:fixed;inset:0;width:100%;height:100%;touch-action:none;background-color:#090f15;background-image:linear-gradient(180deg,#050b1738 0%,#050b1720 48%,#050b176b 100%),url('/mountain-stars-v1.webp');background-size:cover;background-position:60% center}
.departure{text-shadow:0 2px 18px #020714,0 1px 3px #020714}
#sky-entry{text-shadow:0 1px 6px #020714}#sky-entry .fine,#sky-entry .eyebrow{color:#c2d4df}
#orb-canvas{background-image:linear-gradient(180deg,#050b171a,#09131d33 70%,#101b24e6),url('/mountain-stars-v1.webp');background-size:cover;background-position:center 72%}
@media(max-width:600px){body.exploring:not(.reading) #sky{background-size:auto calc(var(--header) + var(--toolbar) + clamp(220px,32svh,300px));background-position:60% top;background-repeat:no-repeat}}
header{position:relative;height:var(--header);display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--line);background:#090f15e8;z-index:5}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}.brand strong{display:block;font-size:13px;letter-spacing:.12em;font-weight:600}.brand small{display:block;font-size:9px;letter-spacing:.035em;margin-top:3px}.brand-symbol{font-size:24px;color:var(--accent)}nav{display:flex;align-items:center;gap:4px}nav button{border-color:transparent;font-size:11px;padding:7px 9px}#count{color:var(--muted);margin-left:5px}.language-switch{display:flex;align-items:center;margin-left:10px;border-left:1px solid var(--line);padding-left:10px}.language-switch select{font-size:11px;color:var(--ink);background:var(--bg);border:0;border-radius:0;padding:6px 2px;max-width:105px}.language-switch select:disabled{opacity:.5}
#workspace{height:calc(100svh - var(--header) - var(--footer));position:relative;pointer-events:none}#workspace>*{pointer-events:auto}
#command-bar{position:absolute;inset:0 0 auto;min-height:var(--toolbar);padding:10px 22px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #25343f80;background:#0b131aeb;z-index:9}
#search{display:flex;align-items:center;flex:1;max-width:620px;min-width:180px;border:1px solid #435e6e;background:#0b151d;padding:3px;margin:0}#search input{flex:1;border:0;padding:6px 4px;font-size:13px;width:100%;outline-offset:-2px}#search button{font-size:12px;padding:7px 13px;white-space:nowrap}.search-symbol{margin:0 10px;color:var(--accent);font-size:13px}
#archive-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-left:auto;flex-shrink:0}#archive-actions button{font-size:11px;padding:7px 9px;border-color:#435e6e;white-space:nowrap}#archive-actions a{font-size:11px;white-space:nowrap}
.departure{position:absolute;left:8%;top:31%;max-width:520px;animation:arrive .5s both}.departure h1{font-size:clamp(34px,3.6vw,49px);line-height:1.13;margin-top:18px}.departure em{font-style:normal;color:var(--accent)}.intro{font-size:14px;color:var(--muted);margin-top:20px}
#progress{position:absolute;left:50%;transform:translateX(-50%);top:calc(var(--toolbar) + 16px);z-index:16;display:flex;align-items:center;gap:10px;padding:9px 13px;background:#101e29f5;border-bottom:1px solid var(--accent);font-size:12px;white-space:nowrap}#progress strong{font-weight:500}#elapsed{color:var(--accent);font-variant-numeric:tabular-nums}#progress button{padding:4px 8px;font-size:11px}.signal{height:4px;width:4px;background:var(--accent);animation:pulse 1.4s infinite}#notice{position:absolute;top:calc(var(--toolbar) + 12px);left:50%;transform:translateX(-50%);width:min(600px,92%);background:#242628;border-left:2px solid #bbaa93;padding:10px 14px;z-index:17;font-size:12px;margin:0}
.map-panel{position:absolute;left:22px;top:calc(var(--toolbar) + 22px);bottom:20px;width:245px;overflow:auto;padding-right:17px;background:linear-gradient(90deg,#090f15f2 85%,transparent)}.map-panel h2{font-size:21px;line-height:1.25;margin:10px 0 15px}.map-panel>.eyebrow{margin-top:0}.map-panel>button{font-size:11px;margin:0 3px 8px 0}#scope-details{margin:0 0 15px;font-size:12px;color:var(--muted)}#scope-details summary{cursor:pointer;padding:3px 0;color:#a6bbc7}#scope-details p{font-size:12px;line-height:1.6}.destinations{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.destination{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:12px 2px;font-size:13px;background:transparent}.destination small{display:block;font-size:10px;margin-top:5px}.map-panel>.fine{margin-top:20px;font-size:10px}
.selection{position:absolute;right:22px;bottom:22px;width:300px;max-height:65%;overflow:auto;background:#101a22f7;border-top:1px solid #64879c;padding:18px;z-index:7;animation:arrive .2s}.selection h2{font-size:21px}.selection p{font-size:12px;color:var(--muted)}.selection #bridge{border-top:1px solid var(--line);padding-top:12px;color:var(--ink)}.selection button{font-size:11px}
footer{height:var(--footer);position:relative;display:flex;align-items:center;gap:20px;padding:0 22px;font-size:9px;letter-spacing:.03em;border-top:1px solid var(--line);background:#090f15e8}footer button{border:0;padding:4px 0;background:transparent;font-size:10px;color:var(--muted);margin-left:auto}.sky-help{color:var(--muted)}#status{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#reader{position:absolute;inset:calc(var(--toolbar) + 12px) 22px 14px;background:#0c141bf5;display:grid;grid-template-columns:214px minmax(0,1fr);border:1px solid var(--line);z-index:5}.cockpit{border-right:1px solid var(--line);padding:15px;overflow:auto}.cockpit h2{font-size:14px;line-height:1.4}.cockpit>button{font-size:11px;border:0;padding:0 0 9px}.cockpit>.eyebrow{margin:15px 0 7px}#mini-orb{display:none}.compass{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;align-items:center;text-align:center;margin-top:18px}.compass button{padding:5px 2px;font-size:16px}.compass small{display:block;font-size:9px}.compass [data-direction=up]{grid-column:2}.compass [data-direction=left]{grid-row:2;grid-column:1}.compass span{grid-row:2;grid-column:2;color:var(--accent)}.compass [data-direction=right]{grid-row:2;grid-column:3}.compass [data-direction=down]{grid-row:3;grid-column:2}.thread{display:flex;gap:4px;margin-top:10px}.thread button{flex:1;padding:7px 2px;font-size:9px}#compass-note{font-size:10px;margin:13px 0 18px}#reading-index button{display:block;text-align:left;width:100%;border:0;border-top:1px solid var(--line);padding:10px 4px;font-size:11px;line-height:1.4;background:transparent}#reading-index button.current{color:var(--accent);border-left:2px solid var(--accent);padding-left:7px;background:#15232d}
article{padding:22px clamp(22px,4vw,64px);overflow:auto;min-width:0}.reading-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.reading-meta button{font-size:11px;padding:6px 9px}article h2{font-size:clamp(23px,2.1vw,29px);line-height:1.25;max-width:800px;margin:25px 0 18px}#reading-body{font-size:16px;line-height:1.75;max-width:760px;color:#c9d8e1}#reading-body p{line-height:inherit;margin:0 0 18px}#reading-sources{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0;font-size:11px}#deepen{margin:8px 0;font-size:12px}#authorship{font-size:10px;max-width:760px}#content-language:empty{display:none}#content-language{font-size:11px;max-width:650px}
.drawer{position:absolute;inset:var(--toolbar) 0 0 auto;width:min(390px,100%);padding:22px;background:#101a22;border-left:1px solid var(--line);z-index:15;overflow:auto;animation:arrive .2s}.drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.drawer-heading button{font-size:21px;border:0;padding:5px 8px}.drawer-heading h2{font-size:21px}.place{display:grid;grid-template-columns:32px minmax(0,1fr);gap:13px;padding:19px 0;border-bottom:1px solid var(--line)}.place-icon{width:32px;height:32px;background:#22333f;display:grid;place-items:center;color:var(--accent);font-size:18px}.place-icon img{width:25px;height:25px}.place h3{font-size:14px;font-weight:500;line-height:1.4;margin:0 0 5px}.place a{font-size:11px}.place button{display:block;margin-top:10px;font-size:11px}#google{display:inline-block;margin-top:20px;font-size:12px}
#landing{position:absolute;inset:0;background:var(--bg);z-index:20;display:flex;flex-direction:column}.landing-bar{display:flex;align-items:center;padding:8px 18px;gap:20px;border-bottom:1px solid var(--line)}#landing-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.landing-bar a,.landing-bar button{font-size:11px}#landing>.fine{margin:6px 18px}iframe{flex:1;width:100%;border:0;background:white}
 dialog{background:#101a22;color:var(--ink);border:1px solid #405766;border-radius:0;padding:24px;width:min(510px,calc(100% - 28px));max-height:85svh}dialog::backdrop{background:#03080dc9}dialog p{font-size:13px;color:var(--muted)}dialog label{display:block;font-size:12px;margin:18px 0 8px}dialog input{width:100%;margin-bottom:14px}#connection-message{color:var(--accent)}.export-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.export-actions button,.file-button{font-size:11px}.file-button{margin:0}.file-button input{display:none}#journey-list button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:12px 0;background:transparent}
.still *{animation:none!important;transition:none!important}@keyframes arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.25}}
@media(max-width:1050px){#archive-actions{gap:8px}#archive-actions a{max-width:150px;white-space:normal;font-size:10px}#command-bar{gap:10px}.map-panel{width:220px}.selection{width:270px}#reader{grid-template-columns:194px minmax(0,1fr)}.cockpit{padding:12px}.sky-help{display:none}}
@media(max-width:760px){:root{--header:80px;--toolbar:94px}header{flex-wrap:wrap;padding:10px 16px;align-content:center;gap:6px}.brand-symbol{font-size:22px}.brand strong{font-size:12px}.brand small{font-size:8px}nav{width:100%;justify-content:space-between}nav button{padding:5px 0;font-size:11px}.language-switch{margin-left:0;padding-left:8px}.language-switch select{padding:4px 0;font-size:11px}#command-bar{padding:8px 16px;gap:5px;flex-wrap:wrap}#search{flex-basis:100%;max-width:none;min-height:38px}#search input{font-size:16px}#search button{font-size:12px}#archive-actions{min-height:29px;width:100%;justify-content:space-between;gap:8px}#archive-actions button{padding:6px 0;font-size:10px}#archive-actions a{font-size:10px;max-width:none}#archive-note{top:22px;width:250px}body:not(.exploring) #command-bar{min-height:56px}.departure{left:7%;top:30%;max-width:84%}.departure h1{font-size:36px}.intro{font-size:13px;max-width:280px}.map-panel{left:16px;width:205px}.selection{right:16px;bottom:12px}#reader{left:12px;right:12px}.drawer{padding:18px}footer{padding:0 16px;font-size:8px}#status{max-width:75%}#progress{max-width:95%;gap:7px;font-size:11px;flex-wrap:wrap;justify-content:center;white-space:normal}#progress button{min-height:28px}article{padding:18px 22px}}
@media(max-width:600px){:root{--footer:28px}.departure h1{font-size:34px}.map-panel{top:auto;bottom:0;left:0;width:100%;max-height:47%;padding:15px 18px;background:#0b151df5;border-top:1px solid var(--line)}.map-panel h2{font-size:19px;margin:7px 0 10px}.map-panel>button{min-height:34px}#scope-details{margin-bottom:10px}.destinations{margin-top:4px;padding-top:7px}.destination{padding:10px 2px;font-size:12px;min-height:44px}.destination small{margin-top:3px}.map-panel>.fine{display:none}.selection{right:12px;left:12px;width:auto;max-height:65%;bottom:8px}.selection button{min-height:34px}#reader{inset:calc(var(--toolbar) + 7px) 0 0;border-left:0;border-right:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.cockpit{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:9px 12px;border-right:0;border-bottom:1px solid var(--line);overflow:hidden}.cockpit>button{padding:5px 0;margin:0;font-size:10px;min-height:27px}.cockpit h2{font-size:12px;flex:1 0 calc(100% - 115px);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cockpit>.eyebrow,#compass-note{display:none}.compass{display:flex;gap:4px;margin:0;flex-basis:57%;justify-content:space-between}.compass span{display:none}.compass button{flex:1;font-size:16px;padding:5px 2px;min-width:0;min-height:43px}.compass small{font-size:8px}.thread{display:flex;gap:4px;margin:0;flex:1}.thread button{font-size:9px;padding:8px 2px;min-height:43px}#reading-index{display:flex;flex-basis:100%;overflow:auto;gap:4px;max-height:36px}#reading-index button{flex:0 0 auto;max-width:190px;width:auto;padding:7px 8px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:10px;border:1px solid var(--line)}#reading-index button.current{padding-left:8px}article{padding:15px 18px}.reading-meta{gap:6px}.reading-meta button{font-size:10px;min-height:30px}article h2{font-size:23px;margin:19px 0 14px}#reading-body{font-size:16px;line-height:1.65}#reading-sources{margin:18px 0}#deepen{min-height:36px}#authorship{font-size:10px}.drawer{width:100%}.place button{min-height:34px}.landing-bar{gap:10px;padding:8px 12px}#landing-title{display:none}.landing-bar a{margin-left:auto}#archive-actions a{max-width:145px;text-align:right}html[lang=es] .compass small{font-size:8px}html[lang=es] #archive-actions button{white-space:normal;max-width:190px;text-align:left}}
@media(max-height:550px) and (min-width:601px){:root{--header:46px;--toolbar:52px;--footer:24px}.departure{top:26%}.departure h1{font-size:32px}.map-panel{top:calc(var(--toolbar) + 10px)}article{padding-top:14px}article h2{margin:17px 0 12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Visual readings and creator-owned spaces. */
.reading-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}#reading-layout{max-width:880px}#reading-layout.has-media{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:26px;align-items:start}#reading-media{margin:0;min-width:0;animation:arrive .3s}#reading-media>img{width:100%;height:auto;max-height:340px;object-fit:contain;display:block;background:#101c24}#reading-media figcaption{font-size:11px;line-height:1.45;margin-top:9px;color:var(--muted)}#reading-media figcaption>a{color:#aabec8;text-decoration:none}#reading-media small{display:block;font-size:10px;margin-top:4px}.media-label{display:flex;justify-content:space-between;align-items:center;height:28px;font-size:9px;letter-spacing:.07em;color:var(--muted)}.media-label button{padding:3px 6px;font-size:10px;border:0}#reading-layout.has-media #reading-body{font-size:15px;line-height:1.7}#reading-layout.has-media #reading-body p:first-child{margin-top:25px}
#orb-page-view{position:absolute;inset:0;z-index:21;background:var(--bg);display:flex;flex-direction:column}#orb-page-title{flex:1;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.page-context{font-size:10px;color:var(--muted);margin:0;padding:7px 18px;border-bottom:1px solid var(--line)}#orb-surface{flex:1;min-height:0;width:100%;border:0;background:#101c20}#page-editor{width:min(840px,calc(100% - 28px))}#page-editor textarea{display:block;width:100%;height:32svh;resize:vertical;background:#071118;color:var(--ink);border:1px solid var(--line);padding:12px;font:12px/1.5 Consolas,monospace}#page-editor input{font-size:16px}#page-error:empty{display:none}
@media(max-width:1100px){#reading-layout.has-media{grid-template-columns:1fr;gap:10px}#reading-media>img{max-height:240px;object-fit:contain;object-position:left}#reading-layout.has-media #reading-body p:first-child{margin-top:10px}}
@media(max-width:600px){#reading-media>img{max-height:210px}.reading-actions{gap:0}.reading-meta{align-items:center}.reading-meta button{padding:5px 6px}#orb-page-title{display:none}#orb-page-view .landing-bar{gap:5px;justify-content:space-between}#orb-page-view .landing-bar button{font-size:10px;padding:7px}#reading-layout.has-media #reading-body{font-size:16px}}
/* A clear arrival point and explicit private/public save choices. */
#sky-entry{position:absolute;transform:translateX(-50%);width:200px;text-align:center;z-index:4}
#sky-entry .eyebrow{margin:0 0 8px;font-size:9px;letter-spacing:.12em}
#sky-entry #enter{display:block;width:100%;min-height:42px;background:#292c31;border-color:#858990;color:#edf0f3;font-size:14px;font-weight:600}
#sky-entry #enter:hover{background:#393d43;border-color:#b0b4ba}
#sky-entry>.fine{display:block;margin-top:8px;font-size:11px}
#sky-entry.arrived #enter{animation:entry-arrival 1.3s ease-out 2}
@keyframes entry-arrival{0%{box-shadow:0 0 0 0 #a4cddd70}100%{box-shadow:0 0 0 12px #a4cddd00}}
.destination[aria-pressed=true]{color:var(--accent);border-left:2px solid var(--accent);padding-left:8px;background:#12232e}
#save-title{color:var(--ink);font-size:15px;margin:13px 0 20px;overflow-wrap:anywhere}
.save-option{border-top:1px solid var(--line);padding:16px 0 2px}
.social-links{display:flex;flex-wrap:wrap;gap:0 20px;margin:12px 0 0}.social-links a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-decoration:none;border-bottom:1px solid var(--line)}.social-links a:hover,.social-links a:focus-visible{color:var(--accent);border-color:var(--accent)}.share-link-row{display:flex;gap:8px}.share-link-row input{min-width:0;flex:1}.share-link-row button{flex-shrink:0}#native-share{width:100%;margin:8px 0 0;min-height:44px}#save-dialog:has(#shared-result:not([hidden])) #share-instruction{display:none}
.save-option h3{font-size:16px;font-weight:500;margin:7px 0}
.save-option .eyebrow{margin:0;font-size:9px}
.save-option p{font-size:12px;line-height:1.6}
.save-option button{min-height:38px}
#save-dialog #archive-note{position:static;width:auto;padding:0;opacity:1;pointer-events:auto;background:none;border:0}
#share-status{color:var(--accent);margin:12px 0;overflow-wrap:anywhere}
#share-status:empty{display:none}
#shared-result .share-success{color:var(--accent)}
#shared-result label{margin:12px 0 6px}
#share-url{font-size:12px;margin:0;padding:10px}
#shared-result .export-actions{align-items:center;margin-top:10px;gap:14px;font-size:12px}
#shared-result .export-actions a{font-size:12px}
#save-dialog:has(#shared-result:not([hidden])) #send-archive{display:none}
@media(max-width:1050px){#save-state{display:none}}
@media(max-width:760px){#save-state{display:block;font-size:10px}#archive-actions #save-share{font-size:11px;padding:6px 9px;max-width:none;white-space:nowrap}}
@media(max-width:600px){.map-panel{top:calc(var(--toolbar) + clamp(220px,32svh,300px));max-height:none}.map-panel>.eyebrow{display:none}#sky-entry{width:156px}#sky-entry .eyebrow{display:none}#sky-entry #enter{font-size:12px;min-height:36px}#sky-entry>.fine{font-size:9px;margin-top:5px}#save-dialog{padding:18px}#save-state{max-width:48%}}

/* Listening stays compact; voice settings unfold only when needed. */
#listen-toggle[aria-pressed=true]{background:#233c4a;border-color:var(--accent)}
#listen-panel{position:fixed;right:22px;bottom:calc(var(--footer) + 12px);width:365px;max-height:60svh;overflow:auto;z-index:18;background:#101c25;border:1px solid #456170;padding:14px;box-shadow:0 8px 30px #0005;animation:arrive .2s}
.listen-heading{display:flex;gap:12px;align-items:center}.listen-heading strong{font-size:12px;font-weight:600;white-space:nowrap}#listen-status{font-size:10px;color:var(--muted);flex:1;line-height:1.5}.listen-heading>button{border:0;font-size:20px;padding:0 4px}
.listen-playback,.listen-routes{display:flex;gap:6px;margin:12px 0}.listen-playback button,.listen-routes button{font-size:11px;min-height:34px}.listen-playback button{border-color:transparent;padding:5px 7px}.listen-routes{margin-bottom:10px}.listen-routes button{flex:1}
#listen-go{display:block;width:100%;text-align:left;font-size:12px;line-height:1.5;padding:10px 12px;min-height:40px}
#listen-options{border-top:1px solid var(--line);padding-top:10px;font-size:11px;color:var(--muted)}#listen-options summary{cursor:pointer}.listen-settings{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;margin-top:14px}.listen-settings select{min-width:0;background:#0b151d;color:var(--ink);border:1px solid var(--line);font-size:12px;padding:7px}.handsfree-label{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--ink)}.handsfree-label input{margin:0;accent-color:#a4cddd}
body.listening article{padding-bottom:340px}
@media(min-width:1200px){body.listening #reader{right:410px}body.listening article{padding-left:28px;padding-right:28px;padding-bottom:30px}body.listening #reading-layout.has-media{grid-template-columns:1fr}body.listening #reading-media>img{max-height:225px}body.listening #reading-body{max-width:680px}}
@media(max-width:760px){#archive-actions #listen-toggle{padding:6px 9px;font-size:11px;white-space:nowrap}#archive-actions{gap:7px}#save-state{margin-right:auto;max-width:42%;font-size:9px}#listen-panel{right:12px;width:min(365px,calc(100% - 24px));bottom:calc(var(--footer) + 8px);padding:12px}#listen-panel .listen-playback button,#listen-panel .listen-routes button{min-height:36px}}
@media(max-width:600px){body.listening #reader{bottom:calc(var(--listen-height,245px) + 16px);grid-template-rows:minmax(0,1fr)}body.listening .cockpit{display:none}body.listening article{padding:10px 18px 22px}body.listening article h2{font-size:20px;margin:13px 0 10px}body.listening #reading-body{font-size:15px}body.listening:has(#listen-options[open]) #reader{visibility:hidden}}

/* A magazine inside every orb, with its sphere present at every screen size. */
#reader{grid-template-columns:185px minmax(0,1fr)}article{padding:24px clamp(22px,3vw,48px);background:#101b24}
.orb-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.9fr);align-items:center;gap:22px;border-bottom:1px solid #38505f;padding:0 0 22px;margin-bottom:25px;min-height:285px}
.orb-cover h1{font-size:clamp(26px,2.8vw,42px);line-height:1.13;max-width:570px;letter-spacing:-.035em;font-weight:500}.orb-cover>.eyebrow{font-size:9px;margin:0 0 15px}.orb-cover>p:not(.eyebrow){font-size:13px;line-height:1.65;color:#a4bac7;max-width:510px;margin:18px 0}.orb-cover>button{margin-top:3px;font-size:11px}
#orb-display{min-width:0;text-align:center}#orb-canvas{display:block;width:100%;height:260px;touch-action:pan-y;cursor:grab}#orb-canvas:active{cursor:grabbing}#orb-active-title{font-size:11px;color:var(--accent);margin:0 0 10px;line-height:1.4}#orb-points{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}#orb-points button{padding:5px 7px;font-size:10px;border-color:transparent;min-height:30px}#orb-points button[aria-current=true]{border-bottom-color:var(--accent);color:#d5eef5;background:#213947}
#reading-edition{margin-top:26px;color:#a1becc}article #reading-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(25px,2.4vw,35px);line-height:1.2;margin:12px 0 22px;max-width:850px}#reading-body{font-size:17px;line-height:1.8;max-width:780px}#reading-body p:first-child{color:#e0e9ed}#reading-layout.has-media #reading-body{font-size:16px;line-height:1.75}#reading-layout.has-media{gap:26px;grid-template-columns:minmax(180px,.85fr) minmax(0,1.2fr);max-width:1050px}#reading-layout.has-media #reading-body p:first-child{margin-top:24px}#reading-media>img{max-height:380px}
.magazine-contents{border-top:1px solid #38505f;margin-top:34px;padding-top:18px}#magazine-toc{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#magazine-toc button{text-align:left;border:0;border-bottom:1px solid var(--line);padding:14px 0;line-height:1.5;font-size:12px;background:transparent}#magazine-toc button.current{color:var(--accent)}#next-reading{margin-top:20px;text-align:left;line-height:1.5}#course-position{font-size:12px;color:var(--ink)}#course-dialog h3{font-size:19px;font-weight:500}
.cover-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.cover-actions button{font-size:11px}.listen-playback{flex-wrap:wrap}
body.listening .orb-hero{grid-template-columns:minmax(0,1fr) minmax(180px,.75fr);gap:12px}body.listening .orb-cover h1{font-size:27px}body.listening #orb-canvas{height:220px}body.listening .orb-cover>p:not(.eyebrow){font-size:12px}
@media(max-width:1100px){#reading-layout.has-media{grid-template-columns:1fr}#reading-media>img{max-height:280px}.orb-hero{grid-template-columns:1fr}.orb-cover h1{font-size:30px}#orb-canvas{height:260px}.orb-cover>p:not(.eyebrow){max-width:none}.orb-cover{order:1}#orb-display{order:0}}
@media(max-width:600px){#reader{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.cockpit{max-height:56px}.cockpit .compass,.cockpit .thread,#reading-index{display:none}.cockpit h2{white-space:nowrap}.orb-hero{display:flex;flex-direction:column;gap:16px;min-height:0;padding-bottom:23px;margin-bottom:22px}.orb-cover{width:100%}.orb-cover h1{font-size:29px}.orb-cover>.eyebrow{margin-bottom:10px}.orb-cover>p:not(.eyebrow){font-size:13px;margin:13px 0}#orb-display{width:100%}#orb-canvas{height:220px}#orb-points button{min-height:34px;padding:5px 9px}#orb-active-title{font-size:11px}article{padding:12px 18px 28px}.reading-meta{flex-wrap:wrap}article #reading-title{font-size:27px}#reading-body,#reading-layout.has-media #reading-body{font-size:16px}#magazine-toc{grid-template-columns:1fr}#reading-media>img{max-height:260px}body.listening .orb-hero{display:block;margin:0 0 16px;padding:0 0 12px}body.listening .orb-cover{display:none}body.listening #orb-canvas{height:140px}body.listening #orb-points{gap:0}body.listening #orb-points button{min-height:26px;padding:2px 7px}body.listening #orb-active-title{margin:0 0 4px;font-size:10px}body.listening article{padding:0 14px 22px}body.listening article #reading-title{font-size:23px}body.listening #reader{grid-template-rows:minmax(0,1fr)}}

/* Keep the public action and sharing within the mobile toolbar. */
@media(max-width:1200px){#archive-actions #save-state{display:none}}
@media(max-width:760px){:root{--toolbar:110px}#archive-actions{gap:8px;min-height:44px}#archive-actions #archive-direct,#archive-actions #save-share,#archive-actions #listen-toggle{padding:5px 7px;font-size:11px;min-height:44px;max-width:none;white-space:normal;text-align:center}#archive-direct,#save-share{flex:1}#archive-actions #listen-toggle{flex:0 0 auto}}
/* Search homepage: one centered search surface over the landscape. */
body.home-screen header{background:transparent;border-color:transparent}
body.home-screen header .brand{visibility:hidden}
body.home-screen header #history,body.home-screen header #home{display:none}
body.home-screen #workspace{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 18px 16svh;gap:0}
body.home-screen .departure{position:static;width:100%;max-width:none;text-align:center;margin:0 0 29px;animation:none}
body.home-screen .departure h1{font-size:clamp(42px,6.3vw,82px);font-weight:400;line-height:1.08;letter-spacing:-.05em;margin:0;color:#f1f6fa}
body.home-screen .departure .eyebrow{font-size:11px;letter-spacing:.18em;color:#c5d5e3;margin:17px 0 0;font-weight:400}
body.home-screen #command-bar{position:static;display:block;width:min(650px,100%);min-height:0;background:none;border:0;padding:0}
body.home-screen #search{width:100%;max-width:none;min-height:58px;background:#f4f7fbea;border:1px solid #ffffff8a;border-radius:8px;padding:5px 6px;box-shadow:0 10px 40px #00000024;transition:box-shadow .18s,border-color .18s}
body.home-screen #search:focus-within{background:#fbfcff;border-color:#fff;box-shadow:0 0 0 3px #a4cddd33,0 12px 40px #00000030}
body.home-screen #question{font-size:17px;color:#182b39;padding:9px 4px;outline:none}
body.home-screen #question::placeholder{color:#576b7a;opacity:1}
body.home-screen .search-symbol{color:#4a6576;font-size:27px;margin:0 13px 0 8px;line-height:1}
body.home-screen #explore{font-size:13px;padding:12px 17px;min-height:44px;border-radius:4px}

#home-options{text-align:center;margin:22px 0 0;color:#cbd9e2;text-shadow:0 1px 6px #040a15}
#home-options p{font-size:14px;margin:0 0 23px;color:#d5e1e9}
#home-options a,#home-options button{display:inline-block;font-size:12px;color:#d6e5ee;text-decoration:none;background:#292c31e8;border:1px solid #54575d;border-radius:3px;padding:9px 13px;margin:0 4px;min-height:36px}
#home-options a:hover,#home-options button:hover{background:#393d43;border-color:#858990}
body.home-screen #notice{position:static;transform:none;width:min(650px,100%);margin-top:18px}
body.home-screen footer{background:#060e1877;border-color:#9eb7d31c}
body.home-screen #status{visibility:hidden}
body.home-screen .sky-help{display:none}
#orb-image-progress-panel{margin:24px 0 12px;padding:26px 22px;background:#152735;border:1px solid #52798e;min-height:135px}#orb-image-progress-panel strong{display:block;font-size:19px;font-weight:500;color:#e3f3fa}#orb-image-progress{display:block;width:100%;height:12px;margin:19px 0 12px;accent-color:#acddef}#orb-image-elapsed{font-size:12px;color:#b8d4e4}#more-sharing{margin:18px 0}#shared-result>details{font-size:12px;color:#b3cbd8;margin-top:18px}#orb-image-copy{margin-top:14px;min-height:36px}
#research-direction{color:#e2eff5;font-size:17px;line-height:1.45;padding:14px 0;border-block:1px solid #38505f}#research-confirm .export-actions button{min-height:44px}
.orb-image-invite{display:flex;gap:16px;align-items:center;width:100%;padding:18px 16px;text-align:left;background:#292c31;border-color:#54575d;margin:20px 0 0}.orb-image-invite>span:first-child{font-size:30px;color:#add5e6}.orb-image-invite>span:nth-child(2){flex:1;display:grid;gap:7px}.orb-image-invite strong{font-size:18px;font-weight:500}.orb-image-invite small{font-size:11px;line-height:1.5}
#orb-image-dialog{width:min(950px,calc(100% - 24px))}#orb-image-heading{font-size:21px;line-height:1.3}#orb-image-status{min-height:24px;font-size:12px}#orb-image-canvas{display:block;width:100%;height:auto;margin:16px 0}#orb-image-dialog .export-actions button{min-height:40px}#orb-image-dialog details{font-size:12px;margin-top:15px}#orb-image-caption{display:block;width:100%;height:145px;background:#07101a;border:1px solid #38505f;color:#d4e4ed;padding:10px;margin-top:10px;resize:vertical;font:12px/1.5 Segoe UI,sans-serif}
.orb-video-invite{display:grid;grid-template-columns:140px minmax(0,1fr);gap:22px;align-items:center;width:100%;padding:0;background:#292c31;border:1px solid #54575d;text-align:left;overflow:hidden;margin:20px 0}
.orb-video-invite canvas{display:block;width:140px;height:175px;object-fit:cover}
.orb-video-invite>span{padding:15px 18px 15px 0;display:grid;gap:10px}
.orb-video-invite strong{font-size:21px;font-weight:500;color:#e6f4fa;line-height:1.15}
.orb-video-invite .eyebrow{font-size:9px;margin:0}.orb-video-invite span>span:not(.eyebrow){font-size:12px;line-height:1.6;color:#b5cbd7}.orb-video-invite small{font-size:10px;color:#9ebccc}
.orb-video-invite:hover,.orb-image-invite:hover{background:#393d43;border-color:#858990}.orb-video-invite:focus-visible{outline:2px solid #bde6ef;outline-offset:4px}
#orb-video-dialog{width:min(630px,calc(100% - 24px))}#orb-video-heading{font-size:20px;line-height:1.3;margin:0}
#orb-video-canvas,#orb-video-player{display:block;width:min(100%,360px);height:auto;max-height:50svh;aspect-ratio:4/5;object-fit:contain;margin:16px auto;background:#061020}
#orb-video-progress{display:block;width:100%;height:4px;accent-color:#add9e5}#orb-video-status{font-size:12px;min-height:2.8em;line-height:1.5}
#orb-video-dialog .export-actions{gap:8px}#orb-video-dialog .export-actions button{min-height:40px}
#orb-video-dialog details{font-size:12px;margin-top:16px}#orb-video-caption{display:block;width:100%;height:150px;margin-top:10px;padding:10px;color:#c8dbe5;background:#07101a;border:1px solid #38505f;resize:vertical;font:12px/1.5 Segoe UI,sans-serif}
@media(max-width:480px){.orb-video-invite{grid-template-columns:108px minmax(0,1fr);gap:14px}.orb-video-invite canvas{width:108px;height:180px;object-fit:cover}.orb-video-invite strong{font-size:18px}.orb-video-invite>span{padding-right:12px}.orb-video-invite span>span:not(.eyebrow){font-size:11px}.orb-video-invite small{font-size:9px}}
@media(max-width:760px){body.home-screen header{height:64px;padding:12px 18px}body.home-screen header .brand{display:none}body.home-screen nav{justify-content:flex-end;gap:16px}body.home-screen #workspace{height:calc(100svh - 64px - var(--footer));padding-bottom:20svh}body.home-screen .departure{margin-bottom:25px}body.home-screen .departure h1{font-size:clamp(39px,10vw,62px)}body.home-screen .departure .eyebrow{font-size:9px;letter-spacing:.13em}body.home-screen #question{font-size:16px}body.home-screen #search{min-height:54px}body.home-screen #explore{font-size:12px;padding:10px}body.home-screen .search-symbol{margin-left:4px;margin-right:7px}#home-options p{font-size:12px}#home-options a,#home-options button{font-size:11px;margin:3px}body.home-screen .sky-help{display:none}}
@media(max-height:520px){body.home-screen #workspace{padding-bottom:0}body.home-screen .departure{margin-bottom:16px}body.home-screen .departure h1{font-size:42px}body.home-screen .departure .eyebrow{margin-top:9px}body.home-screen #home-options{margin-top:12px}body.home-screen #home-options p{margin-bottom:10px}}

/* Blue is reserved for controls that enter AI research. Cached routes stay neutral. */
button.ai-action{background:#193f70;border-color:#629be1;color:#eef6ff}
button.ai-action:hover{background:#24548d;border-color:#94bfff}
button.ai-action:focus-visible{outline-color:#94bfff}
#archive-actions button{border-color:#54575d}
#orb-points button[aria-current=true],#reading-index button.current{background:#30343a;color:#edf0f3;border-color:#90959d}

/* Size changes configure the next research request; selecting a size does not run AI. */
.orb-size{display:flex;flex:0 0 auto;align-items:center;border-left:1px solid #54575d;margin:0 6px 0 2px;padding-left:6px}
.orb-size select{max-width:96px;padding:6px 2px;background:#292c31;color:#edf0f3;border:1px solid #54575d;border-radius:0;font-size:12px;min-height:32px}
body.home-screen .orb-size{border-left-color:#c1c8cf}body.home-screen .orb-size select{background:#e1e5ea;color:#29313a;border-color:#c1c8cf}
@media(max-width:600px){.orb-size{margin-right:4px;padding-left:4px}.orb-size select{font-size:11px;max-width:81px}body.home-screen #question{font-size:15px}body.home-screen .search-symbol{margin-inline:3px}body.home-screen #explore{padding-inline:8px}}
