/* Edge-mounted glass transit blades. The view stays open between them. */
#star-edge-nav{--en-aura:190,220,218;position:fixed;inset:0;z-index:49;pointer-events:none}
#star-edge-nav .en-arrow{appearance:none;position:absolute;top:50%;transform:translateY(-50%);width:52px;height:116px;padding:0;border:0;border-radius:14px 4px;background:none;color:#e5f0e9;cursor:pointer;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .7s,transform .7s,visibility .7s}
#star-edge-nav .en-prev{left:12px;transform:translate(-8px,-50%)}
#star-edge-nav .en-next{right:12px;transform:translate(8px,-50%)}
#star-edge-nav[data-active=true] .en-arrow:not(:disabled){opacity:.62;visibility:visible;pointer-events:auto;transform:translate(0,-50%)}
#star-edge-nav[data-active=true] .en-arrow:is(:hover,:focus-visible){opacity:1}
#star-edge-nav .en-arrow:focus-visible{outline:1px solid rgba(var(--en-aura),.85);outline-offset:5px}
.en-blade{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.en-blade path{vector-effect:non-scaling-stroke;stroke-linejoin:round;fill:none}
.en-blade .en-glass{fill:#0c182133;stroke:none}
.en-blade .en-rim{stroke:rgba(var(--en-aura),.55);stroke-width:.8}
.en-blade .en-inset{stroke:#e5f6ee30;stroke-width:.5}
.en-blade .en-trace{stroke:#edfff2;stroke-width:1.3;stroke-dasharray:70 930;stroke-dashoffset:1000;opacity:0}
.en-next .en-blade{transform:scaleX(-1)}
.en-chevron{position:absolute;width:23px;height:31px;top:50%;left:50%;transform:translate(-50%,-50%);overflow:visible;pointer-events:none;filter:drop-shadow(0 1px 3px #000a)}
.en-chevron path{fill:none;stroke:currentColor;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
.en-next .en-chevron{transform:translate(-50%,-50%) scaleX(-1)}
.en-arrow:is(:hover,:focus-visible) .en-trace,#star-edge-nav.en-arrived .en-trace{animation:enLock 1.8s ease-out both}
.en-arrow:is(:hover,:focus-visible) .en-glass{fill:#1b303b66}
.en-destination{position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-42%);width:112px;text-align:left;opacity:0;transition:opacity .35s,transform .35s;pointer-events:none;text-shadow:0 1px 6px #000d,0 0 15px #07132099}
.en-next .en-destination{left:auto;right:calc(100% + 12px);width:88px;text-align:right}
.en-destination small{display:block;color:rgba(var(--en-aura),.8);font:9px/1.7 'Yu Gothic UI',sans-serif;letter-spacing:.08em}
.en-destination strong{display:block;color:#e9f2ec;font:13px/1.7 'Yu Mincho','Noto Serif JP',serif;letter-spacing:.06em;text-wrap:balance;overflow-wrap:anywhere}
.en-destination em{display:block;color:rgba(var(--en-aura),.6);font:8px/1.8 'Consolas',monospace;letter-spacing:.2em}
.en-arrow:is(:hover,:focus-visible) .en-destination{opacity:1;transform:translateY(-50%)}
.en-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body:has(dialog[open]) #star-edge-nav,body:has(#cpVision.show) #star-edge-nav{visibility:hidden;opacity:0;pointer-events:none}
body:has(dialog[open]) #star-edge-nav .en-arrow,body:has(#cpVision.show) #star-edge-nav .en-arrow{pointer-events:none!important;visibility:hidden!important}
body[data-mode=dock] .wing-route{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;padding:26px 35% 28px 26px;font-family:var(--hud);pointer-events:none;color:var(--ink-soft)}
.en-current-row{display:flex;align-items:baseline;gap:6px 12px;min-width:0;flex-wrap:wrap}
.en-current{font:400 clamp(17px,1.35vw,21px)/1.5 var(--font-jp);letter-spacing:.09em;overflow-wrap:anywhere}
.en-coordinate{font:8px/1.5 var(--hud);letter-spacing:.06em;color:rgba(var(--aura),.7);white-space:nowrap}
.en-route-line{display:flex;gap:9px;align-items:baseline;font:11px/1.5 var(--font-jp);letter-spacing:.04em;color:#afc4bd}
.en-route-direction{font:11px var(--hud);color:rgba(var(--aura),.8)}
@keyframes enLock{0%{opacity:0;stroke-dashoffset:1000}20%{opacity:.7}100%{opacity:0;stroke-dashoffset:0}}
@media(min-width:1150px){body[data-scene=on] .sv-rail{right:calc(7vw + 84px)}}
@media(max-width:1149px){#star-edge-nav .en-arrow{width:44px;height:106px}#star-edge-nav .en-next .en-destination{display:none}.en-current-row{gap:6px;flex-wrap:wrap}.en-coordinate{font-size:7px}.en-route-line{font-size:10px}}
@media(max-width:760px){#star-edge-nav{display:none}}
@media(prefers-reduced-motion:reduce){#star-edge-nav .en-arrow,.en-destination{transition:none}.en-trace{animation:none!important}}

body:not([data-scene=on]) #star-edge-nav .en-arrow{top:40%}
