
:root{--cyan:#00c8ff;--cyan2:rgba(0,200,255,0.35);--cyan3:rgba(0,200,255,0.08);--amber:#ff8800;--green:#7bffd8;--red:#ff4466;--bg:#010a12;--bg2:#04111d;--bg3:#061520;--text:#c8e8f0;--muted:rgba(200,232,240,0.55);--border:rgba(0,200,255,0.18);--border2:rgba(0,200,255,0.45)}
body{background:var(--bg);color:var(--text)}
.lev-footer{margin-top:48px;border-top:1px solid var(--border);background:rgba(1,8,16,0.82);backdrop-filter:blur(12px);padding:18px 24px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-family:'Orbitron',sans-serif;letter-spacing:2px;text-transform:uppercase;font-size:8px;color:rgba(200,232,240,0.45)}
.lev-footer a{color:rgba(0,200,255,0.65);text-decoration:none}.lev-footer a:hover{color:var(--cyan)}
.lev-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border:1px solid var(--border2);border-radius:4px;background:rgba(0,200,255,0.08);color:#fff;text-decoration:none;font-family:'Orbitron',sans-serif;font-size:11px;letter-spacing:2px;text-transform:uppercase}.lev-btn:hover{background:rgba(0,200,255,0.16)}.lev-btn.amber{border-color:rgba(255,136,0,0.45);background:rgba(255,136,0,0.08);color:#ffd8a0}

/* ============================================================
   LEVIATHAN injected top-nav (server-rendered by the core).
   Without these rules the nav links render run-together
   ("HomeResearch Library...") and the logo is unspaced.
   ============================================================ */
.lev-nav{position:sticky;top:0;z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:14px 30px;background:rgba(1,8,16,0.86);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);font-family:'Orbitron',sans-serif;overflow:hidden}
/* animated scan line along the bottom edge — keeps the header "alive" */
.lev-nav::after{content:'';position:absolute;left:-40%;bottom:0;width:40%;height:1px;
  background:linear-gradient(90deg,transparent,var(--cyan),transparent);opacity:.7;
  animation:levNavScan 5.5s linear infinite}
@keyframes levNavScan{0%{left:-40%}100%{left:100%}}
@media(prefers-reduced-motion:reduce){.lev-nav::after{animation:none;opacity:.25;left:30%}}

.lev-nav-logo{display:inline-flex;align-items:baseline;gap:2px;text-decoration:none;color:#fff;
  font-weight:800;letter-spacing:2px;font-size:15px;white-space:nowrap}
.lev-nav-logo span:first-child{color:var(--cyan)}
.lev-nav-logo .logo-sep{display:inline-block;width:1px;height:13px;margin:0 10px;
  background:var(--border2);transform:translateY(2px)}
.lev-nav-logo .logo-sub{font-size:9px;font-weight:600;letter-spacing:3px;color:var(--muted)}

.lev-nav-links{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.lev-nav-links a{position:relative;color:var(--text);text-decoration:none;font-size:12px;
  letter-spacing:1.5px;text-transform:uppercase;font-weight:500;white-space:nowrap;
  padding:4px 0;transition:color .2s ease}
.lev-nav-links a:hover{color:var(--cyan)}
.lev-nav-links a.active,.lev-nav-links a[aria-current="page"]{color:var(--cyan)}
.lev-nav-links a::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:1px;
  background:var(--cyan);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.lev-nav-links a:hover::after,.lev-nav-links a.active::after{transform:scaleX(1)}

.lev-nav-burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.lev-nav-burger span{display:block;width:24px;height:2px;background:var(--cyan)}

@media(max-width:860px){
  .lev-nav{padding:12px 18px}
  .lev-nav-links{display:none}
  .lev-nav-burger{display:inline-flex !important}
}

/* Mobile slide-in drawer (built/wired by leviathan-nav.js) */
.lev-nav-drawer{position:fixed;top:0;right:0;height:100%;width:min(82vw,330px);z-index:1300;
  transform:translateX(100%);transition:transform .3s ease;background:rgba(2,10,18,0.97);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-left:1px solid var(--border2);
  box-shadow:-18px 0 50px rgba(0,0,0,0.55);padding:64px 22px 28px;display:flex;flex-direction:column;gap:4px;overflow-y:auto}
.lev-nav-drawer.open{transform:none}
.lev-nav-drawer a{color:var(--text);text-decoration:none;font-family:'Orbitron',sans-serif;
  font-size:13px;letter-spacing:1.5px;text-transform:uppercase;padding:13px 8px;border-bottom:1px solid var(--cyan3)}
.lev-nav-drawer a:hover,.lev-nav-drawer a.active{color:var(--cyan)}
.lev-nav-drawer .drawer-cta{color:var(--amber)}
.lev-nav-drawer .drawer-close{position:absolute;top:16px;right:18px;background:none;border:0;
  color:var(--cyan);font-size:22px;cursor:pointer;line-height:1}

/* v16 Command Dock + Guided Deep Dive Tour */
.dw9-ship-command-hotspot{position:absolute;left:50%;top:73%;transform:translate(-50%,-50%);width:min(920px,78vw);height:clamp(118px,18vw,250px);z-index:18;border:1px solid transparent;border-radius:999px;background:radial-gradient(ellipse at 50% 50%,rgba(0,255,210,.055),rgba(0,120,255,.025) 42%,transparent 70%);cursor:pointer;pointer-events:auto;opacity:.72;transition:opacity .22s ease,filter .22s ease,border-color .22s ease,background .22s ease;}
.dw9-ship-command-hotspot:hover,.dw9-ship-command-hotspot:focus-visible{opacity:1;border-color:rgba(0,255,210,.28);filter:drop-shadow(0 0 28px rgba(0,255,210,.18));outline:none;background:radial-gradient(ellipse at 50% 50%,rgba(0,255,210,.10),rgba(0,120,255,.04) 45%,transparent 74%)}
.dw9-ship-hotspot-label{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);font-family:Orbitron,system-ui,sans-serif;font-size:9px;letter-spacing:2.4px;color:rgba(220,255,250,.72);text-shadow:0 0 14px rgba(0,255,210,.32);background:rgba(0,9,16,.62);border:1px solid rgba(0,255,210,.18);border-radius:999px;padding:6px 11px;white-space:nowrap;animation:dw9HotspotPulse 3.2s ease-in-out infinite;}
@keyframes dw9HotspotPulse{0%,100%{box-shadow:0 0 8px rgba(0,255,210,.09)}50%{box-shadow:0 0 24px rgba(0,255,210,.24)}}
.dw9-ship-dock-backdrop,.dw9-tour-backdrop{position:fixed;inset:0;z-index:99960;background:radial-gradient(circle at 50% 42%,rgba(0,200,255,.12),rgba(0,0,0,.78) 58%,rgba(0,0,0,.88));backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .22s ease;}
.dw9-ship-dock-backdrop.open,.dw9-tour-backdrop.open{opacity:1;pointer-events:auto;}
.dw9-ship-dock,.dw9-tour-panel{position:fixed;left:50%;top:50%;z-index:99970;width:min(760px,calc(100vw - 28px));transform:translate(-50%,-46%) scale(.98);opacity:0;pointer-events:none;border:1px solid rgba(0,255,210,.24);border-radius:26px;background:linear-gradient(180deg,rgba(2,20,32,.96),rgba(1,8,16,.96));box-shadow:0 28px 90px rgba(0,0,0,.74),0 0 40px rgba(0,200,255,.12),inset 0 0 0 1px rgba(255,255,255,.035);padding:28px;color:#dffcff;transition:opacity .22s ease,transform .22s ease;}
.dw9-ship-dock.open,.dw9-tour-panel.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1);}
.dw9-dock-close,.dw9-tour-close{position:absolute;right:18px;top:16px;width:34px;height:34px;border:1px solid rgba(0,255,210,.2);border-radius:50%;background:rgba(0,0,0,.28);color:#eaffff;font-size:22px;line-height:1;cursor:pointer;}
.dw9-dock-kicker,.dw9-tour-kicker,.dw9-tour-route{font-family:Orbitron,system-ui,sans-serif;font-size:10px;letter-spacing:2.8px;text-transform:uppercase;color:#7bffd8;margin-bottom:10px;}
.dw9-dock-title,.dw9-tour-title{font-family:Orbitron,system-ui,sans-serif;font-size:clamp(24px,4vw,44px);font-weight:900;letter-spacing:2px;text-transform:uppercase;color:#fff;text-shadow:0 0 34px rgba(0,200,255,.22);margin:0 38px 10px 0;}
.dw9-dock-copy,.dw9-tour-copy{font-family:Rajdhani,system-ui,sans-serif;font-size:18px;line-height:1.45;color:rgba(222,250,255,.78);max-width:620px;margin:0 0 22px;}
.dw9-dock-actions,.dw9-tour-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.dw9-dock-action,.dw9-tour-action{display:flex;flex-direction:column;gap:8px;min-height:128px;text-align:left;text-decoration:none;border:1px solid rgba(0,200,255,.22);border-radius:20px;background:radial-gradient(circle at 22% 14%,rgba(0,200,255,.12),rgba(0,0,0,.18) 52%),rgba(0,11,18,.72);color:#eaffff;padding:18px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
.dw9-dock-action:hover,.dw9-dock-action:focus-visible,.dw9-tour-action:hover,.dw9-tour-action:focus-visible{transform:translateY(-2px);border-color:rgba(0,255,210,.56);box-shadow:0 0 28px rgba(0,255,210,.14);outline:none;}
.dw9-dock-action strong,.dw9-tour-action strong{font-family:Orbitron,system-ui,sans-serif;font-size:15px;letter-spacing:1.4px;text-transform:uppercase;}
.dw9-dock-action span,.dw9-tour-action span{font-family:Rajdhani,system-ui,sans-serif;font-size:15px;line-height:1.35;color:rgba(222,250,255,.70);}
.dw9-dock-action.submit{border-color:rgba(0,255,210,.32)}
.dw9-dock-action.tour{border-color:rgba(80,144,255,.34)}
.dw9-tour-stepbar{display:flex;gap:7px;margin:2px 0 14px;}
.dw9-tour-dot{width:28px;height:4px;border-radius:999px;background:rgba(0,200,255,.18);}
.dw9-tour-dot.active{background:#7bffd8;box-shadow:0 0 14px rgba(123,255,216,.45);}
.dw9-tour-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 18px;}
.dw9-tour-mini div{border:1px solid rgba(0,200,255,.16);border-radius:999px;padding:8px 10px;text-align:center;font-family:Orbitron,system-ui,sans-serif;font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:rgba(220,255,250,.72);background:rgba(0,200,255,.045);}
.dw9-map-cinematic::before{content:'';position:absolute;inset:-1px;z-index:6;pointer-events:none;background:repeating-linear-gradient(115deg,rgba(0,255,210,0) 0 34px,rgba(0,255,210,.045) 35px,rgba(0,255,210,0) 37px);mix-blend-mode:screen;animation:dw9MapDrift 6.4s linear infinite;}
.dw9-map-cinematic::after{content:'';position:absolute;left:50%;top:52%;width:34%;aspect-ratio:1;border-radius:50%;z-index:7;pointer-events:none;transform:translate(-50%,-50%);border:1px solid rgba(0,255,210,.18);box-shadow:0 0 28px rgba(0,255,210,.10),inset 0 0 34px rgba(0,255,210,.05);animation:dw9MapSonar 3.4s ease-out infinite;}
.dw9-map-cinematic.dw9-map-awake::after{border-color:rgba(255,210,121,.55);box-shadow:0 0 44px rgba(255,210,121,.22),inset 0 0 42px rgba(255,210,121,.10)}
@keyframes dw9MapDrift{to{background-position:160px 0}}
@keyframes dw9MapSonar{0%{opacity:.35;transform:translate(-50%,-50%) scale(.70)}70%{opacity:.12;transform:translate(-50%,-50%) scale(1.78)}100%{opacity:0;transform:translate(-50%,-50%) scale(2.05)}}
@media(max-width:760px){.dw9-ship-command-hotspot{top:70%;width:84vw;height:150px}.dw9-ship-hotspot-label{font-size:8px;bottom:0}.dw9-ship-dock,.dw9-tour-panel{padding:22px 16px;border-radius:22px;max-height:calc(100vh - 30px);overflow:auto}.dw9-dock-actions,.dw9-tour-actions{grid-template-columns:1fr}.dw9-dock-action,.dw9-tour-action{min-height:112px}.dw9-tour-mini{grid-template-columns:1fr}.dw9-dock-title,.dw9-tour-title{margin-right:42px}}
@media(prefers-reduced-motion:reduce){.dw9-ship-hotspot-label,.dw9-map-cinematic::before,.dw9-map-cinematic::after{animation:none!important}.dw9-dock-action:hover,.dw9-tour-action:hover{transform:none}}


/* === DW9 v16: clickable LEVIATHAN ship command + guided descent tour === */
.ship-stage{position:relative;}
.dw9-ship-command-trigger{position:absolute;left:50%;top:52%;width:min(74vw,920px);height:min(34vw,310px);transform:translate(-50%,-50%);z-index:45;border:0;border-radius:52% 52% 42% 42%;background:radial-gradient(circle at 50% 50%,rgba(0,255,210,.055),rgba(0,0,0,0) 68%);cursor:pointer;pointer-events:auto;color:#eaffff;display:flex;align-items:flex-end;justify-content:center;padding:0 0 clamp(12px,3vw,34px);}
.dw9-ship-command-trigger:focus-visible{outline:2px solid rgba(0,255,210,.92);outline-offset:8px;}
.dw9-ship-command-trigger:hover{background:radial-gradient(circle at 50% 50%,rgba(0,255,210,.105),rgba(0,0,0,0) 70%);}
.dw9-ship-command-ring{position:absolute;inset:8%;border:1px dashed rgba(0,255,210,.30);border-radius:50%;box-shadow:0 0 28px rgba(0,255,210,.14);animation:dw9ShipTargetPulse 4.8s ease-in-out infinite;}
.dw9-ship-command-ring::before,.dw9-ship-command-ring::after{content:"";position:absolute;left:50%;top:50%;width:34%;height:34%;transform:translate(-50%,-50%);border:1px solid rgba(98,215,255,.20);border-radius:50%;}
.dw9-ship-command-ring::after{width:58%;height:58%;border-style:dotted;animation:dw9ShipTargetPulse 3.6s ease-in-out infinite reverse;}
.dw9-ship-command-label{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(0,255,210,.38);border-radius:999px;background:rgba(0,13,22,.78);color:#dffcff;font:800 10px/1 Orbitron,system-ui,sans-serif;letter-spacing:1.15px;text-transform:uppercase;box-shadow:0 0 22px rgba(0,255,210,.18);}
.dw9-ship-command-label::before{content:"";width:7px;height:7px;border-radius:50%;background:#00ffd0;box-shadow:0 0 12px #00ffd0;animation:dw9ShipBlink 1.8s ease-in-out infinite;}
.dw9-ship-dock-backdrop,.dw9-tour-backdrop{position:fixed;inset:0;z-index:999970;background:radial-gradient(circle at 50% 40%,rgba(0,255,210,.13),rgba(0,0,0,.78) 58%,rgba(0,0,0,.92));backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .22s ease;}
.dw9-ship-dock-backdrop.open,.dw9-tour-backdrop.open{opacity:1;pointer-events:auto;}
.dw9-ship-dock{position:fixed;left:50%;top:50%;transform:translate(-50%,-46%) scale(.98);z-index:999980;width:min(640px,calc(100vw - 28px));border:1px solid rgba(0,255,210,.44);border-radius:22px;background:linear-gradient(180deg,rgba(2,22,34,.96),rgba(0,7,13,.97));box-shadow:0 0 90px rgba(0,210,255,.20),inset 0 0 64px rgba(0,255,210,.06);padding:24px;color:#eaffff;opacity:0;pointer-events:none;transition:opacity .22s ease, transform .22s ease;}
.dw9-ship-dock.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1);}
.dw9-ship-dock::before{content:"";position:absolute;inset:8px;border:1px solid rgba(0,255,210,.12);border-radius:16px;pointer-events:none;}
.dw9-dock-close,.dw9-tour-close{position:absolute;right:13px;top:10px;z-index:3;border:0;background:transparent;color:#9dfcff;font-size:26px;line-height:1;cursor:pointer;}
.dw9-dock-kicker,.dw9-tour-kicker{font:800 11px/1 Orbitron,system-ui,sans-serif;letter-spacing:2px;color:#00ffd0;text-transform:uppercase;}
.dw9-dock-title,.dw9-tour-title{font:900 clamp(26px,5vw,46px)/1 Orbitron,system-ui,sans-serif;letter-spacing:2.5px;margin:8px 0 10px;text-transform:uppercase;}
.dw9-dock-copy,.dw9-tour-copy{font:500 16px/1.58 Rajdhani,system-ui,sans-serif;color:rgba(229,253,255,.78);max-width:58ch;}
.dw9-dock-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;}
.dw9-dock-action,.dw9-tour-action{border:1px solid rgba(0,255,210,.38);border-radius:14px;background:rgba(0,255,210,.08);color:#eaffff;text-decoration:none;padding:14px;min-height:70px;font:800 12px/1.25 Orbitron,system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;cursor:pointer;display:flex;flex-direction:column;justify-content:center;gap:6px;box-shadow:0 0 20px rgba(0,255,210,.08);}
.dw9-dock-action:hover,.dw9-tour-action:hover{background:rgba(0,255,210,.16);box-shadow:0 0 28px rgba(0,255,210,.18);}
.dw9-dock-action span,.dw9-tour-action span{font:500 13px/1.35 Rajdhani,system-ui,sans-serif;letter-spacing:.2px;text-transform:none;color:rgba(226,252,255,.74);}
.dw9-dock-action.tour{border-color:rgba(255,210,121,.55);background:rgba(255,185,74,.10);box-shadow:0 0 24px rgba(255,185,74,.14);}
.dw9-tour-panel{position:fixed;right:18px;bottom:20px;z-index:999980;width:min(460px,calc(100vw - 28px));border:1px solid rgba(0,255,210,.42);border-radius:18px;background:rgba(0,14,22,.95);box-shadow:0 0 70px rgba(0,210,255,.18);padding:18px;color:#eaffff;opacity:0;pointer-events:none;transform:translateY(14px);transition:opacity .22s ease,transform .22s ease;}
.dw9-tour-panel.open{opacity:1;pointer-events:auto;transform:translateY(0);}
.dw9-tour-route{font:800 10px/1 Orbitron,system-ui,sans-serif;letter-spacing:1.3px;color:#ffd279;text-transform:uppercase;margin-top:10px;}
.dw9-tour-title{font-size:24px;letter-spacing:1.6px;}
.dw9-tour-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;}
.dw9-tour-mini div{border:1px solid rgba(0,255,210,.20);border-radius:10px;padding:8px;text-align:center;color:rgba(226,252,255,.72);font:800 10px/1 Orbitron,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.8px;background:rgba(255,255,255,.035);}
.dw9-tour-stepbar{display:flex;gap:6px;margin:12px 0 6px;}
.dw9-tour-dot{height:4px;flex:1;border-radius:99px;background:rgba(255,255,255,.12);}
.dw9-tour-dot.active{background:linear-gradient(90deg,#00ffd0,#62d7ff);box-shadow:0 0 12px rgba(0,255,210,.5);}
.dw9-tour-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;}
@keyframes dw9ShipTargetPulse{0%,100%{opacity:.38;transform:scale(.98)}50%{opacity:.82;transform:scale(1.04)}}
@keyframes dw9ShipBlink{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.2)}}
@media(max-width:720px){.dw9-ship-command-trigger{width:94vw;height:280px;padding-bottom:8px}.dw9-ship-command-label{font-size:8px;max-width:86vw;text-align:center;white-space:normal}.dw9-ship-dock{padding:22px 16px}.dw9-dock-actions,.dw9-tour-actions{grid-template-columns:1fr}.dw9-tour-panel{left:14px;right:14px;bottom:86px;width:auto}.dw9-tour-mini{grid-template-columns:1fr 1fr}.dw9-dock-action,.dw9-tour-action{min-height:56px}}
@media(prefers-reduced-motion:reduce){.dw9-ship-command-ring,.dw9-ship-command-ring::after,.dw9-ship-command-label::before{animation:none}}


/* === v17 · Ship Command Tethers: off-vessel command nodes === */
.dw9-ship-command-tethers{position:absolute;inset:0;z-index:48;pointer-events:none;overflow:visible;--begin:#63ffe4;--submit:#ffd376;}
.dw9-command-tether-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;filter:drop-shadow(0 0 18px rgba(0,255,210,.12));}
.dw9-tether-line,.dw9-tether-flow{fill:none;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:520;stroke-dashoffset:520;filter:url(#dw9TetherGlow);animation:dw9TetherDraw 1.45s cubic-bezier(.2,.8,.2,1) .25s forwards;}
.dw9-tether-flow{stroke-width:2.7;stroke-dasharray:18 92;stroke-dashoffset:0;opacity:.42;animation:dw9TetherDraw 1.45s cubic-bezier(.2,.8,.2,1) .25s forwards,dw9TetherFlow 4.7s linear 1.8s infinite;}
.dw9-sector-reticle{fill:none;stroke:rgba(220,250,255,.42);stroke-width:1.15;opacity:.68;filter:drop-shadow(0 0 12px rgba(0,255,210,.20));animation:dw9ReticleBreathe 3.6s ease-in-out infinite;}
.dw9-sector-reticle.submit{stroke:rgba(255,226,152,.50);filter:drop-shadow(0 0 14px rgba(255,211,118,.20));}
.dw9-command-node{position:absolute;top:50%;transform:translateY(-50%) scale(.88);width:clamp(104px,10.2vw,142px);height:clamp(104px,10.2vw,142px);pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;text-decoration:none;border-radius:28px;clip-path:polygon(50% 0,88% 13%,100% 50%,88% 87%,50% 100%,12% 87%,0 50%,12% 13%);border:1px solid rgba(0,255,210,.40);background:radial-gradient(circle at 50% 34%,rgba(0,255,210,.18),rgba(2,21,32,.88) 46%,rgba(0,8,16,.94));box-shadow:0 0 34px rgba(0,255,210,.18),inset 0 0 28px rgba(0,255,210,.07),0 18px 48px rgba(0,0,0,.52);font-family:Orbitron,system-ui,sans-serif;color:#dffeff;text-transform:uppercase;letter-spacing:1.1px;opacity:0;animation:dw9CommandNodeIn .7s cubic-bezier(.2,.9,.2,1) 1.05s forwards;}
.dw9-command-node-begin{left:clamp(18px,5.2vw,86px);}
.dw9-command-node-submit{right:clamp(18px,5.2vw,86px);border-color:rgba(255,211,118,.52);background:radial-gradient(circle at 50% 34%,rgba(255,211,118,.20),rgba(31,24,8,.88) 46%,rgba(0,8,16,.94));box-shadow:0 0 36px rgba(255,211,118,.18),inset 0 0 28px rgba(255,211,118,.07),0 18px 48px rgba(0,0,0,.52);color:#fff2c6;}
.dw9-command-node-ring{position:absolute;inset:-12px;border:1px solid currentColor;border-radius:50%;opacity:.18;clip-path:none;animation:dw9NodePing 3.8s ease-in-out infinite;}
.dw9-command-node::before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.10);border-radius:22px;clip-path:inherit;pointer-events:none;}
.dw9-command-node::after{content:"";position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.24) 46%,transparent 58%);transform:translateX(-135%) rotate(12deg);opacity:.0;pointer-events:none;}
.dw9-command-icon{font-size:clamp(25px,2.8vw,38px);line-height:1;color:currentColor;text-shadow:0 0 18px currentColor;}
.dw9-command-node strong{position:relative;z-index:2;font-size:clamp(9px,.9vw,13px);line-height:1.18;font-weight:900;}
.dw9-command-node em{position:relative;z-index:2;font-style:normal;font-family:Rajdhani,system-ui,sans-serif;font-size:clamp(9px,.78vw,11px);line-height:1;letter-spacing:.8px;color:rgba(228,252,255,.66);}
.dw9-command-node-submit em{color:rgba(255,236,186,.74);}
.dw9-command-node:hover,.dw9-command-node:focus-visible{transform:translateY(-54%) scale(1);outline:2px solid currentColor;outline-offset:8px;filter:brightness(1.18);}
.dw9-command-node:hover::after,.dw9-command-node:focus-visible::after{opacity:.55;animation:dw9NodeShine .82s ease forwards;}
.dw9-command-node.is-engaging{animation:dw9EngageFlash .42s ease both!important;}
.dw9-command-engage-flash{position:absolute;left:50%;top:50%;width:80px;height:80px;border-radius:50%;border:1px solid currentColor;transform:translate(-50%,-50%);opacity:.75;pointer-events:none;animation:dw9EngageBurst .48s ease-out forwards;}
.dw9-ship-command-tethers[data-command-active="begin"] .dw9-tether-line.begin,.dw9-ship-command-tethers[data-command-active="begin"] .dw9-tether-flow.begin{opacity:1;stroke-width:3.2;filter:drop-shadow(0 0 20px rgba(0,255,210,.45));}
.dw9-ship-command-tethers[data-command-active="submit"] .dw9-tether-line.submit,.dw9-ship-command-tethers[data-command-active="submit"] .dw9-tether-flow.submit{opacity:1;stroke-width:3.2;filter:drop-shadow(0 0 22px rgba(255,211,118,.48));}
.dw9-ship-command-tethers[data-command-active="begin"] .dw9-sector-reticle.begin,.dw9-ship-command-tethers[data-command-active="submit"] .dw9-sector-reticle.submit{opacity:1;stroke-width:1.8;animation-duration:1.4s;}
@keyframes dw9TetherDraw{to{stroke-dashoffset:0}}
@keyframes dw9TetherFlow{to{stroke-dashoffset:-220}}
@keyframes dw9ReticleBreathe{0%,100%{opacity:.46;transform:scale(.95)}50%{opacity:.95;transform:scale(1.04)}}
@keyframes dw9CommandNodeIn{from{opacity:0;transform:translateY(-50%) scale(.70);filter:blur(6px)}to{opacity:1;transform:translateY(-50%) scale(.88);filter:blur(0)}}
@keyframes dw9NodePing{0%,100%{transform:scale(.88);opacity:.12}50%{transform:scale(1.10);opacity:.28}}
@keyframes dw9NodeShine{to{transform:translateX(135%) rotate(12deg)}}
@keyframes dw9EngageBurst{to{width:230px;height:230px;opacity:0}}
@keyframes dw9EngageFlash{0%{filter:brightness(1)}50%{filter:brightness(1.55) drop-shadow(0 0 30px currentColor)}100%{filter:brightness(1)}}
@media(max-width:980px){.dw9-command-node{width:96px;height:96px}.dw9-command-node-begin{left:8px}.dw9-command-node-submit{right:8px}.dw9-command-node strong{font-size:8px}.dw9-command-node em{font-size:8px}.dw9-command-tether-svg{opacity:.74}}
@media(max-width:720px){.dw9-ship-command-tethers{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:360px;margin:-8px auto 8px;padding:0 14px;overflow:visible}.dw9-command-tether-svg{display:none}.dw9-command-node{position:relative;left:auto;right:auto;top:auto;transform:none;width:auto;height:76px;min-height:76px;border-radius:18px;clip-path:none;animation:dw9CommandNodeMobileIn .42s ease forwards;}.dw9-command-node:hover,.dw9-command-node:focus-visible{transform:translateY(-2px) scale(1.02)}.dw9-command-icon{font-size:20px}.dw9-command-node strong{font-size:8px}.dw9-command-node em{font-size:8px}.dw9-command-node-ring{display:none}@keyframes dw9CommandNodeMobileIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.dw9-tether-line,.dw9-tether-flow,.dw9-sector-reticle,.dw9-command-node,.dw9-command-node-ring,.dw9-command-node::after{animation:none!important;transition:none!important;stroke-dashoffset:0!important}.dw9-command-node{opacity:1!important;transform:translateY(-50%) scale(.92)!important}.dw9-tether-flow{opacity:.18}.dw9-command-engage-flash{display:none!important}@media(max-width:720px){.dw9-command-node{transform:none!important}}}

/* === v17 final safety: ship stays clean; command nodes frame it === */
.dw9-ship-command-trigger,.dw9-ship-command-hotspot,.dw9-ship-command-pill,.dw9-ship-popover{display:none!important;pointer-events:none!important;}
.ship-stage.dw9-sector-begin .dw9-ship-command-tethers::before,.ship-stage.dw9-sector-submit .dw9-ship-command-tethers::after{content:"";position:absolute;top:44%;width:clamp(86px,11vw,150px);height:clamp(58px,7vw,100px);border-radius:50%;pointer-events:none;mix-blend-mode:screen;filter:blur(.2px);animation:dw9SectorGlow .9s ease-in-out infinite alternate;}
.ship-stage.dw9-sector-begin .dw9-ship-command-tethers::before{left:38%;background:radial-gradient(circle,rgba(0,255,210,.22),rgba(0,255,210,.055) 48%,transparent 72%);}
.ship-stage.dw9-sector-submit .dw9-ship-command-tethers::after{right:38%;background:radial-gradient(circle,rgba(255,211,118,.24),rgba(255,211,118,.055) 48%,transparent 72%);}
@keyframes dw9SectorGlow{from{opacity:.42;transform:scale(.92)}to{opacity:.92;transform:scale(1.08)}}
@media(max-width:720px){.ship-stage.dw9-sector-begin .dw9-ship-command-tethers::before,.ship-stage.dw9-sector-submit .dw9-ship-command-tethers::after{display:none}.dw9-ship-command-tethers{pointer-events:auto}.dw9-command-node{min-height:76px;min-width:48px}}
@media(prefers-reduced-motion:reduce){.ship-stage.dw9-sector-begin .dw9-ship-command-tethers::before,.ship-stage.dw9-sector-submit .dw9-ship-command-tethers::after{animation:none}}

/* === v18 Ship Command Grid: straight-line electric terminal tethers === */
.ship-stage{isolation:isolate;}
.dw9-tech-tethers{position:absolute;inset:0;z-index:58;pointer-events:none;overflow:visible;--dw9-tech-begin:#64ffe7;--dw9-tech-submit:#ffd979;}
.dw9-tech-tethers .dw9-command-tether-svg{position:absolute;inset:-1.5% -2% 0 -2%;width:104%;height:102%;overflow:visible;pointer-events:none;filter:drop-shadow(0 0 14px rgba(0,210,255,.18));}
.dw9-tech-tethers .dw9-tether-rail,.dw9-tech-tethers .dw9-tether-line,.dw9-tech-tethers .dw9-tether-flow,.dw9-tech-tethers .dw9-tether-data{fill:none;stroke-linecap:square;stroke-linejoin:miter;vector-effect:non-scaling-stroke;}
.dw9-tech-tethers .dw9-tether-rail{stroke-width:8;opacity:.16;filter:url(#dw9TetherGlow);}
.dw9-tech-tethers .dw9-tether-line{stroke-width:2.4;stroke-dasharray:820;stroke-dashoffset:820;opacity:.92;filter:url(#dw9TetherGlow);animation:dw9TechTetherDraw 1s cubic-bezier(.16,.84,.22,1) .14s forwards;}
.dw9-tech-tethers .dw9-tether-flow{stroke-width:1.1;stroke-dasharray:18 32;stroke-dashoffset:0;opacity:.74;filter:url(#dw9TetherGlow);animation:dw9TechTetherDraw 1s cubic-bezier(.16,.84,.22,1) .14s forwards,dw9TechEnergyFlow 2.25s linear 1s infinite;}
.dw9-tech-tethers .dw9-tether-data{stroke-width:.9;stroke-dasharray:5 18;opacity:.55;animation:dw9TechDataPulse 2.7s steps(6,end) 1.1s infinite;}
.dw9-tech-tethers .dw9-tether-junction rect{fill:rgba(3,18,28,.88);stroke:rgba(190,255,255,.44);stroke-width:1;filter:url(#dw9TetherGlow);opacity:.72;animation:dw9TechJunction 3.4s ease-in-out infinite;}
.dw9-tech-tethers .dw9-tether-junction.submit rect{stroke:rgba(255,236,174,.50);}
.dw9-tech-tethers .dw9-sector-reticle{fill:none;stroke:rgba(120,255,238,.78);stroke-width:1.2;opacity:.82;filter:drop-shadow(0 0 14px rgba(0,255,225,.38));stroke-linecap:square;stroke-linejoin:miter;animation:dw9TechReticle 3.2s ease-in-out 1.1s infinite;}
.dw9-tech-tethers .dw9-sector-reticle.submit{stroke:rgba(255,225,142,.82);filter:drop-shadow(0 0 15px rgba(255,218,132,.34));}
.dw9-tech-tethers .dw9-sector-reticle rect{fill:rgba(0,12,20,.72);stroke:currentColor;}
.dw9-tech-tethers .dw9-command-node{position:absolute;top:54%;transform:translateY(-50%) translateZ(0) scale(.94);width:clamp(126px,12vw,174px);min-height:clamp(114px,10.8vw,158px);pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;text-decoration:none;padding:16px 13px;border-radius:0;clip-path:polygon(12% 0,88% 0,100% 12%,100% 88%,88% 100%,12% 100%,0 88%,0 12%);border:1px solid rgba(100,255,231,.70);background:linear-gradient(135deg,rgba(100,255,231,.18) 0 1px,transparent 1px 18px),radial-gradient(circle at 50% 10%,rgba(160,255,255,.16),rgba(4,22,34,.92) 48%,rgba(0,8,16,.97));box-shadow:0 0 0 1px rgba(255,255,255,.045) inset,0 0 36px rgba(0,255,225,.20),0 18px 48px rgba(0,0,0,.58);font-family:Orbitron,system-ui,sans-serif;color:#eaffff;text-transform:uppercase;letter-spacing:1.45px;opacity:0;animation:dw9TechNodeBoot .62s cubic-bezier(.18,.92,.2,1) .82s forwards;transition:transform .18s ease,filter .18s ease,border-color .18s ease,box-shadow .18s ease;isolation:isolate;}
.dw9-tech-tethers .dw9-command-node-begin{left:clamp(14px,4.8vw,76px);}
.dw9-tech-tethers .dw9-command-node-submit{right:clamp(14px,4.8vw,76px);border-color:rgba(255,217,121,.78);color:#fff3c5;background:linear-gradient(135deg,rgba(255,217,121,.17) 0 1px,transparent 1px 18px),radial-gradient(circle at 50% 10%,rgba(255,235,180,.16),rgba(36,25,8,.92) 48%,rgba(0,8,16,.97));box-shadow:0 0 0 1px rgba(255,255,255,.045) inset,0 0 38px rgba(255,217,121,.22),0 18px 48px rgba(0,0,0,.58);}
.dw9-tech-tethers .dw9-command-node::before{content:"";position:absolute;inset:8px;clip-path:inherit;border:1px solid rgba(255,255,255,.13);background:linear-gradient(90deg,transparent 0 48%,rgba(255,255,255,.11) 49% 51%,transparent 52% 100%),linear-gradient(0deg,transparent 0 48%,rgba(255,255,255,.08) 49% 51%,transparent 52% 100%);opacity:.48;pointer-events:none;}
.dw9-tech-tethers .dw9-command-node::after{content:"";position:absolute;inset:-1px;clip-path:inherit;background:linear-gradient(100deg,transparent 0 34%,rgba(255,255,255,.25) 44%,transparent 54% 100%);transform:translateX(-140%);opacity:0;pointer-events:none;}
.dw9-tech-tethers .dw9-command-node-ring{position:absolute;inset:-14px;clip-path:polygon(12% 0,88% 0,100% 12%,100% 88%,88% 100%,12% 100%,0 88%,0 12%);border:1px solid currentColor;opacity:.13;animation:dw9TechNodePing 3.8s ease-out 1.2s infinite;}
.dw9-tech-tethers .dw9-command-icon{position:relative;z-index:2;width:clamp(42px,4.3vw,58px);height:clamp(42px,4.3vw,58px);display:grid;place-items:center;border:1px solid currentColor;clip-path:polygon(18% 0,82% 0,100% 18%,100% 82%,82% 100%,18% 100%,0 82%,0 18%);background:rgba(0,12,22,.74);box-shadow:0 0 18px currentColor,inset 0 0 18px rgba(255,255,255,.045);font-size:0;margin-bottom:1px;}
.dw9-tech-tethers .dw9-command-icon svg{width:72%;height:72%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:square;stroke-linejoin:miter;filter:drop-shadow(0 0 7px currentColor);}
.dw9-tech-tethers .dw9-command-node strong{position:relative;z-index:2;font-size:clamp(10px,1vw,14px);line-height:1.12;font-weight:900;color:#fff;text-shadow:0 0 12px currentColor;}
.dw9-tech-tethers .dw9-command-node em{position:relative;z-index:2;font-style:normal;font-family:Rajdhani,system-ui,sans-serif;font-size:clamp(10px,.86vw,13px);line-height:1;letter-spacing:.72px;text-transform:none;color:rgba(226,255,252,.75);}
.dw9-tech-tethers .dw9-command-node-submit em{color:rgba(255,238,190,.76);}
.dw9-tech-tethers .dw9-command-node:hover,.dw9-tech-tethers .dw9-command-node:focus-visible{transform:translateY(-56%) translateZ(0) scale(1.035);outline:2px solid currentColor;outline-offset:7px;filter:brightness(1.2) saturate(1.16);box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 0 54px currentColor,0 22px 60px rgba(0,0,0,.60);}
.dw9-tech-tethers .dw9-command-node:hover::after,.dw9-tech-tethers .dw9-command-node:focus-visible::after{opacity:.55;animation:dw9TechNodeSweep .78s ease forwards;}
.dw9-tech-tethers[data-command-active="begin"] .dw9-tether-line.begin,.dw9-tech-tethers[data-command-active="begin"] .dw9-tether-flow.begin,.dw9-tech-tethers[data-command-active="begin"] .dw9-tether-data.begin{opacity:1;stroke-width:3;filter:drop-shadow(0 0 22px rgba(0,255,225,.62));}
.dw9-tech-tethers[data-command-active="submit"] .dw9-tether-line.submit,.dw9-tech-tethers[data-command-active="submit"] .dw9-tether-flow.submit,.dw9-tech-tethers[data-command-active="submit"] .dw9-tether-data.submit{opacity:1;stroke-width:3;filter:drop-shadow(0 0 24px rgba(255,217,121,.60));}
.dw9-tech-tethers[data-command-active="begin"] .dw9-sector-reticle.begin,.dw9-tech-tethers[data-command-active="submit"] .dw9-sector-reticle.submit{opacity:1;stroke-width:1.8;animation-duration:1.2s;}
.ship-stage.dw9-sector-begin .leviathan-vessel{filter:drop-shadow(-18px -8px 28px rgba(0,255,225,.22)) drop-shadow(0 18px 42px rgba(0,0,0,.52));}
.ship-stage.dw9-sector-submit .leviathan-vessel{filter:drop-shadow(18px -8px 30px rgba(255,217,121,.22)) drop-shadow(0 18px 42px rgba(0,0,0,.52));}
.dw9-tech-tethers .dw9-command-node.is-engaging{animation:dw9TechEngage .36s ease-out both!important;}
@keyframes dw9TechTetherDraw{to{stroke-dashoffset:0}}
@keyframes dw9TechEnergyFlow{to{stroke-dashoffset:-100}}
@keyframes dw9TechDataPulse{0%,100%{opacity:.24}50%{opacity:.70}}
@keyframes dw9TechJunction{0%,100%{opacity:.42}50%{opacity:.92}}
@keyframes dw9TechReticle{0%,100%{transform:scale(.94);opacity:.62}50%{transform:scale(1.06);opacity:1}}
@keyframes dw9TechNodeBoot{to{opacity:1;transform:translateY(-50%) translateZ(0) scale(1)}}
@keyframes dw9TechNodePing{0%{transform:scale(.92);opacity:.18}100%{transform:scale(1.22);opacity:0}}
@keyframes dw9TechNodeSweep{to{transform:translateX(145%)}}
@keyframes dw9TechEngage{50%{filter:brightness(1.75);transform:translateY(-58%) scale(1.08)}100%{filter:brightness(1.05);transform:translateY(-54%) scale(1.02)}}
@media(max-width:980px){.dw9-tech-tethers .dw9-command-node{width:118px;min-height:104px}.dw9-tech-tethers .dw9-command-node strong{font-size:9px}.dw9-tech-tethers .dw9-command-node em{font-size:10px}.dw9-tech-tethers .dw9-command-tether-svg{opacity:.74}}
@media(max-width:720px){.dw9-tech-tethers{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:380px;margin:-4px auto 10px;padding:0 14px;overflow:visible;pointer-events:auto}.dw9-tech-tethers .dw9-command-tether-svg{display:none}.dw9-tech-tethers .dw9-command-node{position:relative;left:auto;right:auto;top:auto;transform:none;width:auto;min-height:84px;border-radius:0;animation:dw9TechMobileBoot .42s ease forwards}.dw9-tech-tethers .dw9-command-node:hover,.dw9-tech-tethers .dw9-command-node:focus-visible{transform:translateY(-2px) scale(1.02)}.dw9-tech-tethers .dw9-command-icon{width:38px;height:38px}.dw9-tech-tethers .dw9-command-node strong{font-size:8px}.dw9-tech-tethers .dw9-command-node em{font-size:9px}.dw9-tech-tethers .dw9-command-node-ring{display:none}@keyframes dw9TechMobileBoot{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.dw9-tech-tethers .dw9-tether-line,.dw9-tech-tethers .dw9-tether-flow,.dw9-tech-tethers .dw9-tether-data,.dw9-tech-tethers .dw9-sector-reticle,.dw9-tech-tethers .dw9-command-node,.dw9-tech-tethers .dw9-command-node-ring,.dw9-tech-tethers .dw9-tether-junction rect,.dw9-tech-tethers .dw9-command-node::after{animation:none!important;transition:none!important;stroke-dashoffset:0!important}.dw9-tech-tethers .dw9-command-node{opacity:1!important;transform:translateY(-50%) scale(1)!important}.dw9-tech-tethers .dw9-tether-flow{opacity:.18}@media(max-width:720px){.dw9-tech-tethers .dw9-command-node{transform:none!important}}}

/* ===== v19 Ship Command Refinement: remove tour dimmer, clean reticles, neon transmit channel ===== */
.dw9-tour-shade,.dw9-tour-panel{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
.dw9-tour-target{outline:0!important;box-shadow:none!important;z-index:auto!important;}
.dw9-tech-tethers,.dw9-ship-command-tethers{--dw9-tech-submit:#37ff8a;--submit:#37ff8a;}
.dw9-tech-tethers .dw9-sector-reticle,.dw9-ship-command-tethers .dw9-sector-reticle{display:none!important;}
.dw9-tech-tethers .dw9-command-node-submit,.dw9-ship-command-tethers .dw9-command-node-submit{border-color:rgba(55,255,138,.86)!important;color:#caffde!important;background:linear-gradient(135deg,rgba(55,255,138,.20) 0 1px,transparent 1px 18px),radial-gradient(circle at 50% 10%,rgba(88,255,157,.22),rgba(5,37,23,.93) 48%,rgba(0,8,16,.97))!important;box-shadow:0 0 0 1px rgba(255,255,255,.045) inset,0 0 46px rgba(55,255,138,.34),0 18px 48px rgba(0,0,0,.58)!important;}
.dw9-tech-tethers .dw9-command-node-submit em,.dw9-ship-command-tethers .dw9-command-node-submit em{color:rgba(203,255,222,.86)!important;}
.dw9-tech-tethers[data-command-active="submit"] .dw9-tether-line.submit,.dw9-tech-tethers[data-command-active="submit"] .dw9-tether-flow.submit,.dw9-tech-tethers[data-command-active="submit"] .dw9-tether-data.submit{filter:drop-shadow(0 0 26px rgba(55,255,138,.78))!important;}
.ship-stage .ship-svg,.ship-stage .leviathan-vessel,.ship-stage .vessel-corona{transition:filter .2s ease,opacity .2s ease,box-shadow .2s ease;}
.ship-stage.dw9-sector-begin .ship-svg,.ship-stage.dw9-sector-submit .ship-svg{filter:drop-shadow(0 0 50px rgba(0,229,255,.48)) drop-shadow(0 24px 62px rgba(0,0,0,.36)) brightness(1.16) saturate(1.24)!important;}
.ship-stage.dw9-sector-begin .leviathan-vessel,.ship-stage.dw9-sector-submit .leviathan-vessel{filter:drop-shadow(0 0 20px rgba(0,229,255,.34)) drop-shadow(0 0 34px rgba(0,255,210,.18)) drop-shadow(0 18px 42px rgba(0,0,0,.54))!important;}
.ship-stage.dw9-sector-submit .leviathan-vessel{filter:drop-shadow(0 0 22px rgba(0,229,255,.34)) drop-shadow(0 0 36px rgba(55,255,138,.26)) drop-shadow(0 18px 42px rgba(0,0,0,.54))!important;}
.ship-stage.dw9-sector-begin .vessel-corona,.ship-stage.dw9-sector-submit .vessel-corona{opacity:1!important;filter:brightness(1.45) saturate(1.35) drop-shadow(0 0 34px rgba(0,229,255,.22));}
.ship-stage.dw9-sector-submit .vessel-corona{filter:brightness(1.48) saturate(1.38) drop-shadow(0 0 34px rgba(55,255,138,.24));}
.ship-stage.dw9-sector-submit .dw9-ship-command-tethers::after{background:radial-gradient(circle,rgba(55,255,138,.38),rgba(55,255,138,.10) 48%,transparent 72%)!important;}
