/* The photograph is the workspace; cards identify the numbered destinations. */
#sky-entry #enter::before{content:"";position:absolute;left:calc(50% - 17px);top:-43px;width:34px;height:44px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 44'%3E%3Cpath d='M17 1 33 19 23 19 23 41 17 44 11 41 11 19 1 19Z' fill='%23b6dfec'/%3E%3Cpath d='M17 1 17 16 1 19Z' fill='%23efffff'/%3E%3Cpath d='M17 1 33 19 17 16Z' fill='%238bbdce'/%3E%3Cpath d='M17 16 23 19 23 41 17 44Z' fill='%235c90a5'/%3E%3Cpath d='M17 16 17 44 11 41 11 19Z' fill='%23dbf8ff'/%3E%3C/svg%3E");filter:drop-shadow(0 3px 3px #001522) drop-shadow(0 0 7px #b4edff80);animation:orb-entry-point 2.6s ease-in-out infinite}
#sky-entry #enter{position:relative}#sky-entry>.fine{display:none!important}
#sky-entry #enter:focus-visible{outline:2px solid #e1f8ff;outline-offset:5px}
@keyframes orb-entry-point{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){#sky-entry #enter::before{animation:none}}
#sky-guide{position:absolute;left:48px;top:calc(var(--toolbar) + 25px);width:calc(100% - clamp(330px,29vw,400px) - 112px);max-width:640px;text-shadow:0 2px 14px #020916;z-index:3}
#sky-guide .eyebrow{color:#bbd8e9;margin:0 0 9px}
#sky-guide h2{font:400 clamp(22px,2.2vw,31px)/1.15 Georgia,serif;color:#f0f4f5}
#sky-guide>p:not(.eyebrow){font-size:13px;line-height:1.65;color:#c7d8e2;max-width:530px;margin:12px 0}
#sky-guide button{font-size:11px;padding:6px 12px;border-color:#9dbac44a;background:#1121309c;border-radius:5px}
#sky-guide #call-orbs{margin-left:6px;min-height:36px;padding:7px 15px;border:1px solid #a9dfea;color:#d8f1f7;background:#142a34;box-shadow:0 0 7px #a9dfea88,0 0 22px #9ed8e82e,inset 0 0 8px #a9dfea18;transition:box-shadow .2s,background .2s}
#sky-guide #call-orbs:hover:not(:disabled),#sky-guide #call-orbs:focus-visible{background:#203e49;box-shadow:0 0 10px #a9dfeac0,0 0 28px #9ed8e855;outline:2px solid #e1f8ff;outline-offset:3px}
#sky-guide #call-orbs:disabled{opacity:.6;box-shadow:0 0 8px #a9dfea30;cursor:wait}
#call-orbs-status{display:block;max-width:530px;font-size:13px;line-height:1.5;color:#e4f3f7;margin:10px 0;padding:8px 11px;border-left:2px solid #a9dfea;background:#0b1b29d9;border-radius:0 4px 4px 0;min-height:20px}
#call-orbs-status[data-state="error"]{border-color:#ffc18a;color:#ffe3c9}
#sky-guide #call-orbs[aria-busy="true"]{opacity:1;color:#f3fbff;background:#244550}
#call-orbs-status:empty{display:none}
#sky-guide #call-orbs:disabled:not([aria-busy="true"]){cursor:not-allowed}
#called-orb-source{display:block;margin:10px 0;color:#b9e2ec;font-size:12px}
.destination.orb-arriving{opacity:0;animation:called-orb-title .3s ease forwards;pointer-events:none}
@keyframes called-orb-title{to{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.destination.orb-arriving{opacity:1;animation:none;pointer-events:auto}}
#sky-guide>.fine{display:inline-block;margin-left:12px;font-size:10px;color:#b8cbd7}
.map-panel{left:auto;right:22px;top:calc(var(--toolbar) + 22px);bottom:20px;width:clamp(330px,29vw,400px);max-height:none;padding:0 4px 12px 16px;background:linear-gradient(90deg,#08142100,#0814216b 15%,#081421b0);border:0;z-index:4;scrollbar-gutter:stable}
.current-orb-card{padding:18px;background:#0d1a26e8;border:1px solid #b4d7e749;border-radius:10px;box-shadow:0 12px 30px #02071626}
.current-orb-card .eyebrow{display:flex;align-items:center;gap:7px;margin:0;color:#c0dfed;font-size:10px}
.current-orb-dot{width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f0ffff,#6f9fb7 35%,#142844 80%);box-shadow:0 0 10px #b9eaff55}
.current-orb-card h2{font-size:21px;line-height:1.3;margin:10px 0 12px;overflow-wrap:anywhere;color:#f0f6f8}
.current-orb-card #scope-details{margin-bottom:13px}
.current-orb-actions{display:flex;gap:7px;flex-wrap:wrap}.current-orb-actions button{font-size:11px;min-height:35px;border-radius:5px;flex:1;white-space:nowrap}
.map-panel .destinations{border:0;padding:0;margin:22px 0 0}
.map-panel .destinations>.eyebrow{font-size:10px;color:#c2d8e5;margin:0 0 7px 3px}
.destination-help{font-size:11px;color:#b6c9d6;line-height:1.5;margin:0 3px 12px;max-width:280px}
#destinations{display:grid;gap:8px}
.destination{display:grid;grid-template-columns:31px minmax(0,1fr) 12px;align-items:center;gap:10px;text-align:left;width:100%;min-height:75px;padding:13px 12px;border:1px solid #b3cadd33;border-radius:8px;background:#0a1723df;transition:border-color .18s,background .18s,transform .18s;scroll-margin-block:10px}
.destination-number{height:30px;width:30px;display:grid;place-items:center;border:1px solid #a9d4e776;border-radius:50%;background:radial-gradient(circle at 30% 25%,#80aabd,#2c4c64 45%,#112239);box-shadow:0 0 12px #7cc6ff12;font-size:11px;font-weight:600;color:#f3fbff}
.destination-copy{min-width:0}.destination-copy strong{font-size:13px;font-weight:500;line-height:1.4;display:block;overflow-wrap:anywhere;color:#e6f0f5}.destination-copy small{font-size:10px;line-height:1.5;margin-top:5px;color:#9fb7c7}
.destination-arrow{font-size:14px;color:#9fbdce}
.destination:hover,.destination.is-linked,.destination:focus-visible,.destination[aria-pressed=true]{padding:13px 12px;border:1px solid #c1e0f2aa;background:#21384de8;transform:translateX(-3px)}
.map-panel>.fine{display:block;font-size:10px;margin:17px 4px 0;color:#a5bece}
#sky-entry{width:190px}#sky-entry .eyebrow{display:none}#sky-entry #enter{border-radius:7px;border-color:#adcada8c;background:#152838ec;box-shadow:0 8px 25px #0003;font-size:13px;min-height:40px}#sky-entry #enter:hover{background:#294358;border-color:#d6f0ff}#sky-entry>.fine{color:#d2dfe7;font-size:10px}
.selection{right:calc(clamp(330px,29vw,400px) + 52px);bottom:15px;width:330px;max-width:calc(100% - clamp(330px,29vw,400px) - 76px);max-height:65%;border:1px solid #a5c8dc80;border-radius:10px;background:#0b1826f7;box-shadow:0 14px 50px #0007;backdrop-filter:blur(14px);padding:20px}
.selection #relation{color:#b7d5e8}.selection p{color:#b9cdd9}.selection h2{color:#f2f6f8}.selection button{border-radius:5px;min-height:36px}
.point-actions{display:grid;gap:14px;margin:16px 0}.point-actions button{width:100%;text-align:left;padding:10px 13px}.selection .point-action-note{font-size:11px;line-height:1.5;margin:7px 0 0}.selection #call-orbs-here{border-color:#a9dfea;color:#d8f1f7;background:#142a34;box-shadow:0 0 12px #a9dfea38}.selection #call-orbs-here:focus-visible{outline:2px solid #d8f1f7;outline-offset:3px}.selection #call-orbs-here:disabled{opacity:.55;cursor:not-allowed}.selection #call-here-status{font-size:12px;line-height:1.5;color:#c4e8f0;overflow-wrap:anywhere}.selection #call-here-status:empty{display:none}
@media(min-width:701px) and (max-width:1050px){#sky-guide{left:24px;width:calc(100% - 390px);top:calc(var(--toolbar) + 18px)}#sky-guide h2{font-size:23px}#sky-guide>p:not(.eyebrow){font-size:12px;margin:8px 0}#sky-guide>.fine{display:block;margin:6px 0 0;font-size:9px}.map-panel{right:12px;width:320px;padding-left:10px}.current-orb-card{padding:15px}.selection{right:350px;max-width:calc(100% - 365px)}}
@media(max-width:700px){
  #sky-guide{left:20px;right:20px;top:calc(var(--toolbar) + 12px);width:auto;max-width:none}
  #sky-guide .eyebrow{font-size:9px;margin-bottom:5px}#sky-guide h2{display:none}#sky-guide>p:not(.eyebrow){font-size:11px;line-height:1.5;max-width:550px;margin:0 0 6px}#sky-guide button{font-size:10px;padding:4px 9px;min-height:28px}#sky-guide>.fine{font-size:8px;margin-left:8px;max-width:65%;vertical-align:middle}
  .map-panel{left:0;right:0;width:100%;top:calc(var(--toolbar) + 365px);bottom:0;max-height:none;padding:14px 18px 24px;background:#0b1723f2;border-top:1px solid #bad7e243;scrollbar-gutter:auto}
  .current-orb-card{padding:13px 15px}.current-orb-card h2{font-size:18px;margin:8px 0 10px}.current-orb-card .eyebrow{font-size:9px}.current-orb-actions button{min-height:36px}.current-orb-card #scope-details{display:none}
  .map-panel .destinations{margin-top:17px}.destination{min-height:70px}.destination:hover,.destination.is-linked,.destination:focus-visible,.destination[aria-pressed=true]{transform:none}
  .map-panel>.fine{display:block}#sky-entry{width:155px}#sky-entry #enter{font-size:11px;min-height:34px}#sky-entry>.fine{font-size:9px}
  .selection{right:12px;left:12px;width:auto;max-width:none;bottom:10px;max-height:60%;padding:16px}
  body.exploring:not(.reading) #sky{background-size:auto calc(var(--header) + var(--toolbar) + 365px);background-position:60% top;background-repeat:no-repeat}
}
@media(max-width:700px) and (max-height:740px){.map-panel{top:calc(var(--toolbar) + 300px)}body.exploring:not(.reading) #sky{background-size:auto calc(var(--header) + var(--toolbar) + 300px)}#sky-guide>p:not(.eyebrow){font-size:10px}#sky-guide>.fine{display:none}#sky-entry>.fine{display:none}}
@media(min-width:701px) and (max-height:650px){#sky-guide h2{font-size:22px}#sky-guide>p:not(.eyebrow){margin:6px 0;font-size:11px}#sky-guide .eyebrow{display:none}#sky-guide>.fine{display:none}}
@media(prefers-reduced-motion:reduce){.destination{transition:none}}
#orb-hover-preview{position:fixed;z-index:30;width:min(290px,calc(100vw - 24px));box-sizing:border-box;padding:15px 17px;border:1px solid #a8d9ed40;border-radius:12px;background:#081522f5;color:#dfedf3;box-shadow:0 12px 40px #0006;font:14px/1.5 "Segoe UI",sans-serif;}#orb-hover-preview[hidden]{display:none}#orb-hover-preview strong{font-weight:600;color:#f0faff}#orb-hover-preview p{margin:7px 0 0;overflow-wrap:anywhere}


#sky-entry #enter::before{left:calc(50% - 17px * var(--entry-scale,1));top:calc(-43px * var(--entry-scale,1));width:calc(34px * var(--entry-scale,1));height:calc(44px * var(--entry-scale,1))}

/* Soft blue invitation into the branching sky. */
#sky-entry #enter{border-color:#a9dfea;box-shadow:0 0 12px #a9dfea65,0 0 30px #9ed8e828;color:#ddf3f8}
#sky-entry #enter::before{filter:drop-shadow(0 0 7px #a9dfea80)}
.destination.is-linked,.destination:focus-visible{border-color:#a9dfea;box-shadow:0 0 14px #a9dfea38}
body:has(#selection:not([hidden])) #orb-hover-preview{display:none}
@media(max-width:700px){body:has(#selection:not([hidden])) #sky-entry{visibility:hidden}body:has(#selection:not([hidden])) #orb-hover-preview{display:none}}
@media(max-width:700px){body #selection{position:fixed;inset:auto 12px 96px;width:auto;max-width:none;max-height:calc(100svh - 130px);margin:0;padding:16px;overflow-y:auto;overscroll-behavior:contain;z-index:35;background:#102531fa;border:1px solid #a9dfea80;box-shadow:0 10px 45px #0009}body #selection:not([hidden]){display:flex;flex-direction:column}body #selection #relation{order:0;margin:0 0 8px}body #selection #destination-title{order:1;margin:0 0 8px}body #selection .point-actions{order:2;margin:8px 0 12px}body #selection #call-here-status{order:3}body #selection #destination-summary{order:4}body #selection #bridge{order:5}body #selection #called-orb-source{order:6}body #selection #deselect{order:7;align-self:flex-start}}

.call-formation-control{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:11px;color:#c1e3ec}.call-formation-control select{font:inherit;min-height:36px;padding:6px 28px 6px 10px;border:1px solid #a9dfea66;border-radius:5px;background:#18242b;color:#d8f1f7}.call-formation-control select:focus-visible{outline:2px solid #a9dfea;outline-offset:3px}body .map-panel>.destinations{margin-top:0}body .map-panel>.current-orb-card{margin-top:22px}

.temporal-calls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.temporal-calls .point-action-note{grid-column:1/-1}.point-actions .temporal-calls button{font-size:12px;padding:10px 8px}.selection #call-orbs-future{border-color:#ffc18aaa;color:#ffe4c9;background:#302013;box-shadow:0 0 14px #ffc18a28}.selection #call-orbs-past{border-color:#f49b98aa;color:#ffd8d5;background:#352024;box-shadow:0 0 14px #f49b9828}.temporal-calls button:disabled{opacity:.5;cursor:not-allowed}.call-color-key{display:flex;gap:13px;font-size:10px;margin-top:9px}.call-color-key span::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor;margin-right:6px}.future-key{color:#ffc18a}.past-key{color:#f49b98}.standard-key{color:#a9dfea}.destination[data-call-direction=future] .destination-number{color:#ffc18a;border-color:#ffc18a99;box-shadow:0 0 10px #ffc18a44;opacity:1}.destination[data-call-direction=past] .destination-number{color:#f49b98;border-color:#f49b9899;box-shadow:0 0 10px #f49b9844;opacity:1}

#sky-guide #calibrate-orb-energy{margin-top:9px;min-height:36px;color:#d8f1f7;border-color:#a9dfea77;background:#142a34}#sky-guide #calibrate-orb-energy[data-calibrated=true]{box-shadow:0 0 12px #a9dfea44;border-color:#a9dfea}.energy-calibration-note{display:block;font-size:10px;line-height:1.4;color:#b9d8e2;max-width:420px;margin-top:5px}

.call-formation-control{display:inline-flex;margin-right:10px}
.call-formation-control{margin-left:10px}

/* The exploration action belongs to the inspector, leaving the sky unobstructed. */
body #map-panel #sky-entry{position:static;inset:auto;transform:none;width:auto;margin:12px 0 18px;text-align:left;animation:none;visibility:visible}
body #map-panel #sky-entry #enter{width:100%;min-height:40px;font-size:13px}
body #map-panel #sky-entry #enter::before{content:none;display:none}
.point-energy-score{color:#d8f1f7!important;font-size:12px;letter-spacing:.02em}
@media(max-width:700px){body #selection #destination-energy{order:2;margin:0 0 8px}}
#sky-guide #calibrate-orb-energy{margin-left:6px}

.destination-copy .destination-energy{color:#d0eaf3;font-size:10px;margin-top:5px}

#sky-guide #reorient-orb-energy{margin:9px 0 0 6px;min-height:36px;border-color:#a9dfea99;color:#ddf3f8;background:#142a34;box-shadow:0 0 12px #a9dfea25}#sky-guide #reorient-orb-energy:hover{background:#244550}#energy-formation-status:empty{display:none}

/* The guide becomes part of the top controls when the sky loses its spare corner. */
#workspace.compact-sky #sky-guide{box-sizing:border-box;padding:8px 10px;background:#0a1926de;border:1px solid #afd9e536;border-radius:8px;scrollbar-gutter:stable;overscroll-behavior:contain;scroll-padding-block:8px}
#workspace.compact-sky #sky-guide>.eyebrow,#workspace.compact-sky #sky-guide>h2,#workspace.compact-sky #sky-guide>p:not(#call-orbs-status){display:none}
#workspace.compact-sky #sky-guide #call-orbs,#workspace.compact-sky #sky-guide #rearrange-sky,#workspace.compact-sky #sky-guide #calibrate-orb-energy,#workspace.compact-sky #sky-guide #reorient-orb-energy{min-height:32px;font-size:11px;padding:6px 9px;margin-top:0;margin-bottom:6px}
#workspace.compact-sky #sky-guide .call-formation-control{margin-top:3px}
#workspace.compact-sky #sky-guide .energy-calibration-note{margin:2px 0 6px}

/* The guide is measured out of the stage; empty overlay space cannot steal taps. */
#workspace #sky-guide{pointer-events:none}
#workspace #sky-guide :is(button,a,input,select,textarea,summary,details,[role="button"]){pointer-events:auto}
#workspace.compact-sky #sky-guide{pointer-events:auto}
#map-panel{overflow-anchor:none}
#orb-hover-preview{pointer-events:none}
@media(max-width:700px){#orb-hover-preview{display:none!important}}
body #selection{animation:none;scroll-padding-top:56px;overscroll-behavior:contain}
body #selection #deselect{position:sticky;top:0;z-index:2;min-height:44px;align-self:flex-end;order:-1;margin:0 0 8px;background:#18313e}
@media(min-width:701px){body #map-panel #selection{display:flex;flex-direction:column;max-height:var(--selection-height,calc(100dvh - 240px));overflow-y:auto}}
@media(max-width:700px){body #selection{inset:auto 12px calc(84px + env(safe-area-inset-bottom));max-height:calc(100dvh - 110px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}body #selection #deselect{order:-1;align-self:flex-end}}

/* Full, tappable titles remain available below even a crowded phone map. */
@media(max-width:700px){
 body #map-panel #destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 body #map-panel .destination,body #map-panel .destination:hover,body #map-panel .destination.is-linked,body #map-panel .destination[aria-pressed=true]{grid-template-columns:22px minmax(0,1fr);gap:7px;min-height:54px;padding:9px 8px;box-shadow:none}
 body #map-panel .destination-copy strong{font-size:12px;line-height:1.35}
 body #map-panel .destination-number{width:22px;height:26px;background:none;box-shadow:none;font-size:11px}
 body #map-panel .destination-arrow,body #map-panel .destination-copy small:not(.destination-energy){display:none}
 body #map-panel .destination[aria-pressed=true]{outline:1px solid #a9dfea;outline-offset:-1px}
 body #map-panel .destination[data-group]{margin-top:0}
 body #map-panel .destination[data-group]::before{display:none}
 body #map-panel #sky-entry{margin:6px 0 10px}
 body #map-panel #sky-entry #enter{min-height:44px}
}
