/* Galaxy home: decorative art sits below the shared planetary canvas;
   controls and text remain above it. No clipped page content or global overflow fix. */
body[data-page=indice]:not(.in-flight) #space-canvas{z-index:1}
body[data-page=indice] #space-veil{background:#03091388}
.galaxy-home{position:relative;padding:38px 4vw 0;max-width:1800px;margin:auto}
.galaxy-heading{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:0 0 22px;border-bottom:1px solid #9bc6dc26}
.galaxy-home .galaxy-heading h1{font-size:clamp(30px,3.1vw,48px);font-weight:400;letter-spacing:-1.2px;line-height:1.15;max-width:none;margin:12px 0 8px}
.galaxy-heading h1 span{color:#d5ac6f}.galaxy-heading p{color:#acc2d1;font-size:15px;margin:0}.galaxy-home .eyebrow{font-size:10px;letter-spacing:2px;line-height:1.7;max-width:none}
.galaxy-index{font-size:12px;white-space:nowrap;text-decoration:none;border-bottom:1px solid #a5c6d95c;padding:8px 0;color:#b9d5e4}.galaxy-index span{margin-left:22px;color:#e6b577}
.galaxy-navigation{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;position:relative;align-items:center}
.galaxy-chart{height:640px;min-width:0;position:relative}
.galaxy-art{position:absolute;inset:-12px -10px 0;background:url('space/galaxy.webp') center/100% 100% no-repeat;pointer-events:none;opacity:.9;mask-image:radial-gradient(ellipse 70% 65% at 50% 48%,#000 45%,transparent 92%)}
.galaxy-grid{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#7bafcb22;stroke-width:.75;pointer-events:none}.galaxy-grid ellipse{transform:rotate(-10deg);transform-origin:50% 50%}.galaxy-grid>path{stroke-dasharray:2 7}.galaxy-grid .galaxy-course-route{stroke:#8db8cf3b;stroke-dasharray:3 8}.galaxy-grid #galaxy-selected-route{stroke:#e5b773b0;stroke-width:1;stroke-dasharray:none}
.galaxy-region{position:absolute;color:#b6d3e3;background:#06101ee8;padding:3px 5px;font:10px LMMono,monospace;letter-spacing:1.2px;text-transform:uppercase;pointer-events:none;z-index:2;text-shadow:0 1px 4px #000}.region-0{left:3%;top:16%}.region-1{left:40%;top:4%}.region-2{right:2%;top:15%}.region-3{right:9%;bottom:6%}.region-4{left:45%;top:46%}
.galaxy-node{position:absolute;left:var(--gx);top:var(--gy);transform:translate(-50%,-50%);padding:0;width:86px;min-height:78px;background:none;border:0;color:#c4dce9;cursor:pointer;z-index:2;text-align:center;touch-action:manipulation}
.galaxy-orbit{display:flex;position:relative;width:60px;height:60px;margin:auto;align-items:center;justify-content:center;border:1px solid #acd3ea38;border-radius:50%;background:none;box-shadow:0 0 16px #05152388}
.galaxy-orbit:after{content:"";position:absolute;inset:-5px;border:1px solid transparent;border-radius:50%;transition:border-color .18s}
.galaxy-node .planet-slot{width:43px;height:43px}.galaxy-node .planet-slot.ringed{width:29px;height:29px}
.galaxy-node-label{display:block;white-space:nowrap;font:12px/1.5 Nimbus,sans-serif;letter-spacing:.3px;text-shadow:0 1px 6px #000,0 0 8px #000;background:#040c18c4;padding:2px 5px;margin-top:5px;border-left:1px solid transparent}.galaxy-node-label small{font:9px LMMono,monospace;color:#8ca9bd;margin-right:2px}
.galaxy-node[aria-pressed=true] .galaxy-orbit{border-color:#e8bd79;box-shadow:0 0 22px #bb8c3e28}.galaxy-node[aria-pressed=true] .galaxy-orbit:after{border-color:#e8bd795e}.galaxy-node[aria-pressed=true] .galaxy-node-label{color:#ffe1b3;border-left-color:#e0ad64;background:#2a2114e6}.galaxy-node[aria-pressed=true] small{color:#edc790}.galaxy-node:focus-visible{outline-offset:8px;border-radius:3px}
.galaxy-map-caption{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:12px;color:#89aabc;font:9px LMMono,monospace;letter-spacing:1.1px;z-index:2}
.destination-detail{position:relative;z-index:auto;min-width:0;align-self:center;border:1px solid #afd6ec30;border-top:2px solid #d8b477;padding:22px;background:none}
.destination-detail:before{content:"";position:absolute;inset:0;background:linear-gradient(140deg,#0d1e30ed,#06101ef5);box-shadow:0 20px 60px #0004;z-index:0;pointer-events:none}.destination-detail>*{position:relative;z-index:2}.destination-detail>.destination-portrait{z-index:auto}
.destination-signal{font:9px LMMono,monospace;letter-spacing:1px;color:#a4bdcc;display:flex;gap:8px;align-items:center}.destination-signal>span,.galaxy-beacon{display:inline-block;width:5px;height:5px;background:#a3dccf;border-radius:50%;box-shadow:0 0 8px #a3dccf66}
.destination-portrait{position:relative;height:132px;margin:16px 0 12px;display:flex;align-items:center;justify-content:center}.destination-portrait .planet-slot{width:104px;height:104px;position:relative}.destination-portrait .planet-slot.ringed{width:64px;height:64px}.portrait-orbit{position:absolute;width:140px;height:140px;border:1px solid #afd6ec28;border-radius:50%}.portrait-orbit:before,.portrait-orbit:after{content:"";position:absolute;width:12px;height:1px;background:#d6b173;left:-5px;top:50%}.portrait-orbit:after{left:auto;right:-5px}
/* The portrait canvas must stay above its panel's opaque surface. */
.destination-detail .destination-portrait{background:radial-gradient(ellipse,#31506433,transparent 70%)}
.destination-sector{font:10px LMMono,monospace;color:#cfae7d;letter-spacing:1px;text-transform:uppercase;margin:15px 0 8px}.destination-detail h2{font-size:36px;font-weight:400;letter-spacing:.8px;line-height:1.1;margin:0 0 6px;color:#e0edf5}.destination-type{font-size:12px;color:#97b4c8;margin:0 0 19px}.destination-subject{padding:18px 0;border-top:1px solid #a6c6dd26;border-bottom:1px solid #a6c6dd26;min-height:126px}.destination-subject h3{font-size:18px;line-height:1.3;font-weight:400;margin:0 0 9px}.destination-subject p{font-size:13px;line-height:1.65;color:#a7c0d1;margin:0}.destination-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#a8c3d4;margin:18px 0}.destination-meta strong{font-weight:400;color:#e0edf6}
.galaxy-travel{display:flex;align-items:center;justify-content:space-between;background:#dfbc83;border:1px solid #f1d4a3;color:#152534;text-decoration:none;font-size:15px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:15px 18px;transition:background .2s}.galaxy-travel:hover{background:#f5d4a0;color:#101c28}.galaxy-travel span{font-size:22px;font-weight:400;line-height:1}.galaxy-help{font-size:11px;line-height:1.6;color:#9ab5c8;margin:13px 0 0}
.galaxy-return{display:none}
.galaxy-footer{position:relative;z-index:2;border-top:1px solid #9bc6dc26;margin-top:22px;padding:21px 0 28px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#a6bdcb}.galaxy-footer p{margin:0}.galaxy-footer a{text-decoration:none}.galaxy-beacon{margin-right:10px}.galaxy-separator{margin:0 12px;color:#57788e}
body[data-page=indice] .site-footer{position:relative;z-index:2;margin-top:0}.space-fallback .galaxy-node .planet-slot,.space-fallback #destination-planet{border-radius:50%;background:radial-gradient(circle at 30% 25%,#98bed3,var(--world-color,#366783) 45%,#020b19 85%)}
@media(min-width:1550px){.galaxy-navigation{grid-template-columns:minmax(0,1fr) 320px}.galaxy-chart{height:700px}.galaxy-node .planet-slot{width:52px;height:52px}.galaxy-orbit{width:70px;height:70px}.galaxy-node{width:98px}.galaxy-node-label{font-size:13px}}
@media(max-width:1100px){.galaxy-navigation{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.galaxy-chart{height:625px}.destination-detail{padding:18px}.galaxy-node{width:72px}.galaxy-orbit{width:49px;height:49px}.galaxy-node .planet-slot{width:36px;height:36px}.galaxy-node .planet-slot.ringed{width:24px;height:24px}.galaxy-node-label{font-size:11px;padding:2px}.galaxy-region{font-size:9px;letter-spacing:.4px}}
@media(max-width:850px){.galaxy-home{padding:28px 5vw 0}.galaxy-heading{align-items:flex-start}.galaxy-heading p:not(.eyebrow){max-width:420px;line-height:1.6}.galaxy-heading .galaxy-index{margin-top:7px}.galaxy-navigation{grid-template-columns:minmax(0,1fr)}.galaxy-chart{height:590px}.galaxy-node{width:80px}.galaxy-orbit{width:56px;height:56px}.galaxy-node .planet-slot{width:41px;height:41px}.galaxy-node .planet-slot.ringed{width:28px;height:28px}.galaxy-node-label{font-size:12px}.destination-detail{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:22px;padding:20px;margin-top:15px}.destination-signal{grid-column:1/-1}.destination-portrait{grid-column:1;grid-row:2/7;height:135px;margin-top:20px}.destination-portrait .planet-slot{width:90px;height:90px}.portrait-orbit{width:118px;height:118px}.destination-sector,.destination-detail h2,.destination-type,.destination-subject,.destination-meta{grid-column:2}.destination-detail h2{font-size:30px}.destination-subject{min-height:0;padding:12px 0}.destination-type{margin-bottom:12px}.galaxy-travel,.galaxy-help{grid-column:1/-1}.galaxy-footer{font-size:11px;line-height:1.8;flex-wrap:wrap}.galaxy-map-caption{font-size:8px;letter-spacing:.6px}}
@media(max-width:540px){.galaxy-return{display:block;grid-column:1/-1;background:none;border:0;border-top:1px solid #a6c6dd26;color:#b9d5e4;font-size:12px;padding:14px 0 0;margin-top:14px;min-height:44px;text-align:left}.galaxy-home .galaxy-heading h1{font-size:32px;letter-spacing:-.8px;margin:12px 0}.galaxy-heading{display:block;padding-bottom:16px}.galaxy-heading p:not(.eyebrow){font-size:14px}.galaxy-heading .galaxy-index{display:inline-block;margin-top:12px}.galaxy-chart{height:auto;min-height:600px;padding:26px 1px 36px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 9px;align-items:center}.galaxy-node{position:relative;left:auto;top:auto;transform:none;width:100%;min-height:69px}.galaxy-node .planet-slot{width:40px;height:40px}.galaxy-orbit{width:54px;height:54px}.galaxy-node-label{font-size:12px;white-space:normal;margin-top:4px}.galaxy-node-label small{font-size:9px}.galaxy-art{inset:0;background-size:auto 100%;opacity:.6}.galaxy-region,.galaxy-grid{display:none}.galaxy-map-caption{font-size:8px;line-height:1.5;letter-spacing:.5px}.galaxy-map-caption span:last-child{max-width:100px;text-align:right}.destination-detail{grid-template-columns:76px minmax(0,1fr);column-gap:17px;padding:18px}.destination-portrait{height:100px;grid-row:2/5}.destination-portrait .planet-slot{width:65px;height:65px}.destination-portrait .planet-slot.ringed{width:42px;height:42px}.portrait-orbit{width:80px;height:80px}.destination-subject,.destination-meta{grid-column:1/-1}.destination-type{line-height:1.5}.destination-detail h2{font-size:30px}.destination-sector{font-size:9px;line-height:1.7;margin-top:18px}.galaxy-footer{margin-top:20px}.galaxy-footer p{max-width:280px}.galaxy-separator{margin:0 5px}}
@media(prefers-reduced-motion:reduce){.galaxy-orbit:after,.galaxy-travel{transition:none}}
