/* Luna Terra v2.45.9 — sector facilities, hover dossiers and player image cleanup */
body.lt-sector-hex-map{
  --lt-sector-hud-bg:rgba(4,13,22,.93);
  --lt-sector-hud-line:rgba(73,126,160,.42);
  --lt-sector-hex-size:128px;
}
body.lt-sector-hex-map .sector-wrap{
  background:
    radial-gradient(circle at 50% 44%,rgba(0,216,255,.055),transparent 46%),
    linear-gradient(rgba(69,112,140,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(69,112,140,.055) 1px,transparent 1px),
    linear-gradient(180deg,rgba(5,13,23,.96),rgba(2,7,13,.99))!important;
  background-size:auto,44px 44px,44px 44px,auto!important;
}
.lt-sector-map-hud{
  position:absolute;
  z-index:30;
  top:10px;
  left:10px;
  right:10px;
  min-height:48px;
  display:grid;
  grid-template-columns:auto minmax(180px,1fr) auto;
  gap:8px;
  align-items:center;
  padding:7px 8px;
  border:1px solid var(--lt-sector-hud-line);
  background:linear-gradient(180deg,rgba(7,20,32,.97),var(--lt-sector-hud-bg));
  box-shadow:0 12px 34px rgba(0,0,0,.36);
  backdrop-filter:blur(8px);
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
}
.lt-sector-map-title{min-width:175px;padding:2px 10px 2px 4px;border-right:1px solid rgba(73,126,160,.30)}
.lt-sector-map-title strong{display:block;color:#eef8ff;font:700 11px/1.2 Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}
.lt-sector-map-title span{display:block;margin-top:4px;color:#7295ab;font:9px/1.2 Consolas,monospace;letter-spacing:.10em;text-transform:uppercase}
.lt-sector-map-search{position:relative;display:flex;align-items:center;min-width:0}
.lt-sector-map-search input{
  height:32px!important;
  padding:7px 34px 7px 10px!important;
  border:1px solid rgba(73,126,160,.45)!important;
  background:rgba(3,11,19,.86)!important;
  color:#eaf6ff!important;
  font:11px Consolas,monospace!important;
}
.lt-sector-map-search::after{content:"⌕";position:absolute;right:11px;color:#00d8ff;font:16px/1 Consolas,monospace;pointer-events:none}
.lt-sector-map-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.lt-sector-map-actions .btn{height:32px;padding:7px 9px!important;font-size:9px!important;white-space:nowrap}
.lt-sector-map-actions .lt-recenter-check{display:flex;align-items:center;gap:5px;color:#8da9ba;font:9px Consolas,monospace;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}
.lt-sector-map-actions .lt-recenter-check input{width:13px!important;height:13px!important;margin:0!important;padding:0!important}
.lt-sector-route-planner{
  grid-column:1/-1;
  display:none;
  grid-template-columns:minmax(150px,1fr) 22px minmax(150px,1fr) auto auto;
  gap:7px;
  align-items:center;
  padding-top:7px;
  border-top:1px solid rgba(73,126,160,.27);
}
.lt-sector-route-planner.open{display:grid}
.lt-sector-route-planner select{height:31px!important;padding:6px 8px!important;font:10px Consolas,monospace!important}
.lt-sector-route-arrow{text-align:center;color:#00d8ff;font:700 15px Consolas,monospace}
.lt-sector-route-status{grid-column:1/-1;color:#8faec1;font:10px/1.4 Consolas,monospace;min-height:14px}
.lt-sector-route-status strong{color:#dff7ff}

body.lt-sector-hex-map .system-node.lt-sector-hex-node{
  width:136px!important;
  height:116px!important;
  min-width:136px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  z-index:7!important;
  cursor:pointer!important;
  transform:translate(-50%,-50%)!important;
}
body.lt-sector-hex-map:not(.lt-player-mode) .system-node.lt-sector-hex-node{cursor:move!important}
body.lt-sector-hex-map .system-node.lt-sector-hex-node .node-core{
  position:relative!important;
  width:128px!important;
  height:110px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  overflow:visible!important;
  display:block!important;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)!important;
  background:var(--sector-colour,#00d8ff)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 0 18px var(--sector-glow,rgba(0,216,255,.30))!important;
  filter:drop-shadow(0 8px 8px rgba(0,0,0,.35));
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node .node-core::before,
body.lt-sector-hex-map .system-node.lt-sector-hex-node .node-core::after{content:none!important;display:none!important}
.lt-sector-hex-face{
  position:absolute;
  inset:2px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  align-items:center;
  padding:11px 14px 9px;
  clip-path:inherit;
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--sector-colour,#00d8ff) 16%,#061421),rgba(3,10,17,.96) 58%),
    #061421;
}
.lt-sector-hex-kicker{color:color-mix(in srgb,var(--sector-colour,#00d8ff) 70%,#a9dcef);font:700 7px/1 Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.lt-sector-hex-center{min-width:0;align-self:center}
.lt-sector-hex-symbol{color:var(--sector-colour,#00d8ff);font:700 15px/1 Consolas,monospace;text-shadow:0 0 12px var(--sector-glow,rgba(0,216,255,.45));margin-bottom:4px}
.lt-sector-hex-name{color:#f3f8fc;font:700 11px/1.14 Consolas,monospace;letter-spacing:.035em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:26px}
.lt-sector-hex-footer{display:flex;align-items:center;justify-content:center;gap:6px;color:#86a3b5;font:7px/1 Consolas,monospace;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;overflow:hidden}
.lt-sector-hex-footer span{overflow:hidden;text-overflow:ellipsis;max-width:70px}
.lt-sector-hex-footer b{color:#c4d8e5;font-weight:600}
.lt-sector-risk-mark{position:absolute;left:17px;top:50%;transform:translateY(-50%);width:3px;height:28px;background:#6d8595;box-shadow:0 0 8px currentColor}
.system-node.risk-green .lt-sector-risk-mark{background:#39f09a}.system-node.risk-yellow .lt-sector-risk-mark{background:#f1d277}.system-node.risk-red .lt-sector-risk-mark{background:#ff6d7a}.system-node.risk-black .lt-sector-risk-mark{background:#d7dce2}
.system-node.unpopulated .lt-sector-hex-face{opacity:.66;background:linear-gradient(180deg,rgba(18,30,42,.94),rgba(2,7,12,.98))}
.system-node.region-capital .lt-sector-hex-symbol::after{content:"  ◆";color:#fff}
body.lt-sector-hex-map .system-node.lt-sector-hex-node:hover .node-core,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .node-core{
  background:#dff9ff!important;
  box-shadow:0 0 0 2px rgba(0,216,255,.78),0 0 28px rgba(0,216,255,.42)!important;
  filter:drop-shadow(0 9px 10px rgba(0,0,0,.42));
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .lt-sector-hex-face{background:linear-gradient(180deg,rgba(0,216,255,.19),rgba(3,12,20,.98) 64%)}
.system-node.lt-route-start .node-core{background:#00f0b5!important;box-shadow:0 0 0 2px rgba(0,240,181,.75),0 0 28px rgba(0,240,181,.38)!important}
.system-node.lt-route-destination .node-core{background:#e3c98b!important;box-shadow:0 0 0 2px rgba(227,201,139,.80),0 0 28px rgba(227,201,139,.38)!important}
.system-node.lt-route-path .lt-sector-hex-face{background:linear-gradient(180deg,rgba(0,216,255,.16),rgba(3,12,20,.98) 64%)}
.system-node.lt-sector-search-dim{opacity:.16!important;filter:saturate(.25)}
.system-node.lt-sector-search-match .node-core{box-shadow:0 0 0 2px rgba(227,201,139,.72),0 0 28px rgba(227,201,139,.30)!important}

body.lt-sector-hex-map .route-line{stroke-linecap:round}
body.lt-sector-hex-map .route-line.lt-route-planned{stroke:#00d8ff!important;stroke-width:5px!important;stroke-dasharray:none!important;opacity:1!important;filter:drop-shadow(0 0 5px rgba(0,216,255,.78))}
body.lt-sector-hex-map .route-label.lt-route-planned{border-color:#00d8ff!important;color:#e9fbff!important;background:rgba(0,48,66,.94)!important;box-shadow:0 0 15px rgba(0,216,255,.25)}

.lt-sector-info-panel{
  position:absolute;
  z-index:29;
  top:76px;
  right:12px;
  width:min(320px,calc(100% - 24px));
  max-height:calc(100% - 128px);
  overflow:auto;
  display:none;
  border:1px solid rgba(73,126,160,.48);
  border-left:3px solid var(--sector-panel-colour,#00d8ff);
  background:linear-gradient(180deg,rgba(7,20,32,.97),rgba(3,10,17,.97));
  box-shadow:0 18px 46px rgba(0,0,0,.48);
  backdrop-filter:blur(8px);
  padding:13px;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);
}
.lt-sector-info-panel.open{display:block}
.lt-sector-info-close{position:absolute;right:8px;top:7px;border:0;background:transparent;color:#7896a9;font:18px/1 Consolas,monospace;cursor:pointer;padding:3px 6px}
.lt-sector-info-close:hover{color:#fff}
.lt-sector-info-kicker{color:var(--sector-panel-colour,#00d8ff);font:700 8px/1 Consolas,monospace;letter-spacing:.16em;text-transform:uppercase;margin-bottom:7px}
.lt-sector-info-panel h3{margin:0 28px 4px 0;color:#f3f8fc;font:700 18px/1.1 Consolas,monospace;text-transform:uppercase;letter-spacing:.04em}
.lt-sector-info-faction{display:flex;align-items:center;gap:7px;color:#b7cad7;font:10px Consolas,monospace;margin-bottom:12px}
.lt-sector-info-dot{width:9px;height:9px;background:var(--sector-panel-colour,#00d8ff);box-shadow:0 0 9px var(--sector-panel-colour,#00d8ff)}
.lt-sector-info-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(73,126,160,.24);margin-bottom:11px}
.lt-sector-info-stat{padding:8px;border-right:1px solid rgba(73,126,160,.20);border-bottom:1px solid rgba(73,126,160,.20);min-width:0}
.lt-sector-info-stat:nth-child(2n){border-right:0}.lt-sector-info-stat:nth-last-child(-n+2){border-bottom:0}
.lt-sector-info-stat span{display:block;color:#688b9f;font:7px Consolas,monospace;text-transform:uppercase;letter-spacing:.12em;margin-bottom:4px}
.lt-sector-info-stat strong{display:block;color:#e0edf5;font:10px/1.35 Consolas,monospace;overflow-wrap:anywhere}
.lt-sector-info-section{margin-top:11px;padding-top:9px;border-top:1px solid rgba(73,126,160,.23)}
.lt-sector-info-section h4{margin:0 0 7px;color:#7fc8e6;font:700 8px Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}
.lt-sector-connection-list{display:grid;gap:5px}
.lt-sector-connection{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;border:1px solid rgba(73,126,160,.23);background:rgba(3,11,19,.55);padding:7px 8px;color:#dbe8f0;font:9px Consolas,monospace;cursor:pointer;text-align:left}
.lt-sector-connection:hover{border-color:#00d8ff;color:#fff}.lt-sector-connection em{font-style:normal;color:#7495a8;text-transform:uppercase;font-size:7px}
.lt-sector-info-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}
.lt-sector-info-actions .btn{font-size:8px!important;padding:8px 6px!important}
.lt-sector-map-key{position:absolute;left:12px;bottom:12px;z-index:20;display:flex;gap:12px;align-items:center;border:1px solid rgba(73,126,160,.24);background:rgba(3,10,17,.80);padding:6px 8px;color:#7f9caf;font:8px Consolas,monospace;text-transform:uppercase;letter-spacing:.07em;pointer-events:none}
.lt-sector-map-key span{display:flex;align-items:center;gap:5px}.lt-sector-map-key i{display:inline-block;width:13px;height:11px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:#00d8ff}.lt-sector-map-key b{display:inline-block;width:18px;height:2px;background:#7aaec4}

body.lt-player-mode .lt-sector-map-hud,
body.lt-player-mode .lt-sector-info-panel,
body.lt-player-mode .lt-sector-map-key{display:grid!important}
body.lt-player-mode .lt-sector-info-panel:not(.open){display:none!important}
body.lt-player-mode .lt-sector-map-hud button,
body.lt-player-mode .lt-sector-map-hud input,
body.lt-player-mode .lt-sector-map-hud select,
body.lt-player-mode .lt-sector-info-panel button{pointer-events:auto!important}
body.lt-player-mode .selected-readout{display:none!important}
body.lt-player-mode .zoom-readout{bottom:44px!important}

@media(max-width:1100px){
  .lt-sector-map-hud{grid-template-columns:1fr auto}.lt-sector-map-title{display:none}.lt-sector-map-search{grid-column:1}.lt-sector-map-actions{grid-column:2}.lt-sector-route-planner{grid-template-columns:1fr 18px 1fr auto auto}
  .lt-sector-info-panel{top:74px;width:286px}
}
@media(max-width:760px){
  .lt-sector-map-hud{display:flex;flex-wrap:wrap}.lt-sector-map-search{flex:1 1 210px}.lt-sector-map-actions{flex:1 1 auto}.lt-sector-map-actions .lt-recenter-check{display:none}.lt-sector-route-planner{flex:1 0 100%;grid-template-columns:1fr}.lt-sector-route-arrow{transform:rotate(90deg)}.lt-sector-route-status{grid-column:1}
  .lt-sector-info-panel{left:8px;right:8px;top:auto;bottom:8px;width:auto;max-height:48%;clip-path:none}
  .lt-sector-map-key{display:none!important}
}


/* ---------- v2.45.6: sector control replaces polygon territories ---------- */
body.lt-sector-hex-map #regionsLayer,
body.lt-sector-hex-map .regions-layer,
body.lt-sector-hex-map .region-poly,
body.lt-sector-hex-map .region-title,
body.lt-sector-hex-map .region-handle,
body.lt-sector-hex-map .region-edge-handle,
body.lt-sector-hex-map #ltRangeBands2D,
body.lt-sector-hex-map .lt-range-bands-layer{
  display:none!important;
}
body.lt-sector-hex-map #ctxAddRegion,
body.lt-sector-hex-map #ctxImportRegion,
body.lt-sector-hex-map #regionModeBtn{
  display:none!important;
}
body.lt-sector-hex-map .sector-wrap{
  background:
    linear-gradient(rgba(69,112,140,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(69,112,140,.045) 1px,transparent 1px),
    radial-gradient(circle at 50% 45%,rgba(0,216,255,.035),transparent 50%),
    linear-gradient(180deg,rgba(5,13,23,.985),rgba(2,7,13,.995))!important;
  background-size:44px 44px,44px 44px,auto,auto!important;
}
body.lt-sector-hex-map #mapContent{
  backface-visibility:hidden;
  transform-style:flat;
}
body.lt-sector-hex-map .lt-sector-map-hud,
body.lt-sector-hex-map .lt-sector-info-panel{
  backdrop-filter:none!important;
}

/* ---------- faction-coloured sector hexes ---------- */
body.lt-sector-hex-map .system-node.lt-sector-hex-node{
  transition:opacity .16s ease,filter .16s ease!important;
  contain:layout style;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node .node-core{
  filter:none!important;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
  transform:translateZ(0) scale(1);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--sector-colour,#00d8ff) 70%,#dff8ff),0 0 13px var(--sector-glow,rgba(0,216,255,.28))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node:hover .node-core{
  background:var(--sector-colour,#00d8ff)!important;
  transform:translateZ(0) scale(1.045);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--sector-colour,#00d8ff) 72%,#fff),0 0 22px var(--sector-glow,rgba(0,216,255,.42))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node:hover .lt-sector-hex-face{
  background:linear-gradient(180deg,color-mix(in srgb,var(--sector-colour,#00d8ff) 30%,#0b2433),rgba(3,10,17,.95) 62%)!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus{
  z-index:18!important;
  opacity:1!important;
  filter:none!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .node-core,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus .node-core{
  background:var(--sector-colour,#00d8ff)!important;
  transform:translateZ(0) scale(1.18);
  box-shadow:
    0 0 0 2px color-mix(in srgb,var(--sector-colour,#00d8ff) 60%,#f2fbff),
    0 0 0 6px color-mix(in srgb,var(--sector-colour,#00d8ff) 24%,transparent),
    0 0 34px var(--sector-glow,rgba(0,216,255,.62))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .lt-sector-hex-face,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus .lt-sector-hex-face{
  background:
    linear-gradient(180deg,color-mix(in srgb,var(--sector-colour,#00d8ff) 48%,#b9efff),color-mix(in srgb,var(--sector-colour,#00d8ff) 24%,#07131f) 42%,rgba(2,9,16,.98) 76%)!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .node-core::after,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus .node-core::after{
  content:""!important;
  display:block!important;
  position:absolute;
  inset:-8px;
  z-index:-1;
  clip-path:inherit;
  background:var(--sector-colour,#00d8ff);
  opacity:.18;
  animation:lt-sector-focus-pulse 1.8s ease-in-out infinite;
  pointer-events:none;
}
@keyframes lt-sector-focus-pulse{
  0%,100%{transform:scale(.97);opacity:.12}
  50%{transform:scale(1.045);opacity:.26}
}
body.lt-sector-hex-map .system-node.lt-sector-linked{
  z-index:12!important;
  opacity:1!important;
  filter:none!important;
}
body.lt-sector-hex-map .system-node.lt-sector-linked .node-core{
  transform:translateZ(0) scale(1.07);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--sector-colour,#00d8ff) 55%,#dff8ff),0 0 23px var(--sector-glow,rgba(0,216,255,.44))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-linked .lt-sector-hex-face{
  background:linear-gradient(180deg,color-mix(in srgb,var(--sector-colour,#00d8ff) 26%,#0c2230),rgba(3,10,17,.96) 64%)!important;
}
body.lt-sector-hex-map .system-node.lt-sector-context-dim{
  opacity:.18!important;
  filter:saturate(.32)!important;
}
body.lt-sector-hex-map .system-node.lt-sector-context-dim:hover{
  opacity:.56!important;
  filter:saturate(.7)!important;
}
body.lt-sector-hex-map .system-node.lt-route-start .node-core{
  background:#00f0b5!important;
  box-shadow:0 0 0 2px rgba(215,255,245,.9),0 0 0 6px rgba(0,240,181,.18),0 0 30px rgba(0,240,181,.52)!important;
}
body.lt-sector-hex-map .system-node.lt-route-destination .node-core{
  background:#e3c98b!important;
  box-shadow:0 0 0 2px rgba(255,247,225,.92),0 0 0 6px rgba(227,201,139,.18),0 0 30px rgba(227,201,139,.52)!important;
}

/* ---------- animated transit network ---------- */
@keyframes lt-sector-link-flow{to{stroke-dashoffset:-36}}
body.lt-sector-hex-map #routesLayer .route-line{
  stroke-width:2px!important;
  stroke-dasharray:3 9!important;
  stroke-linecap:round!important;
  opacity:.36!important;
  animation:lt-sector-link-flow 1.65s linear infinite;
  will-change:stroke-dashoffset;
  filter:none!important;
  transition:opacity .14s ease,stroke-width .14s ease,stroke .14s ease!important;
}
body.lt-sector-hex-map #routesLayer .route-line.route-trade,
body.lt-sector-hex-map #routesLayer .route-line.route-military,
body.lt-sector-hex-map #routesLayer .route-line.route-unstable,
body.lt-sector-hex-map #routesLayer .route-line.route-smuggler,
body.lt-sector-hex-map #routesLayer .route-line.route-blockaded{
  stroke-dasharray:3 9!important;
}
body.lt-sector-hex-map #routesLayer .route-line.lt-sector-linked-route{
  stroke:#15ddff!important;
  stroke-width:3.5px!important;
  opacity:1!important;
  animation-duration:.72s;
  filter:drop-shadow(0 0 4px rgba(0,216,255,.58))!important;
}
body.lt-sector-hex-map #routesLayer .route-line.lt-sector-route-dim{
  opacity:.06!important;
  animation-play-state:paused;
}
body.lt-sector-hex-map .route-label.lt-sector-linked-route{
  opacity:1!important;
  border-color:#15ddff!important;
  color:#dffaff!important;
  background:rgba(0,34,48,.94)!important;
}
body.lt-sector-hex-map .route-label.lt-sector-route-dim{
  opacity:.08!important;
}
body.lt-sector-hex-map #routesLayer .route-line.lt-route-planned{
  stroke:#00f3ff!important;
  stroke-width:4.5px!important;
  stroke-dasharray:8 6!important;
  opacity:1!important;
  animation-duration:.58s;
  filter:drop-shadow(0 0 5px rgba(0,216,255,.72))!important;
}
body.lt-map-interacting #routesLayer .route-line{
  animation-play-state:paused!important;
}

/* ---------- lightweight map chrome ---------- */
body.lt-sector-hex-map .lt-sector-map-hud{
  box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
}
body.lt-sector-hex-map .lt-sector-info-panel{
  box-shadow:0 14px 34px rgba(0,0,0,.42)!important;
}
body.lt-sector-hex-map .region-map-legend{
  background:rgba(4,10,18,.92)!important;
  backdrop-filter:none!important;
}

@media(prefers-reduced-motion:reduce){
  body.lt-sector-hex-map #routesLayer .route-line,
  body.lt-sector-hex-map .system-node.lt-sector-hex-node .node-core::after{
    animation:none!important;
  }
}


/* ---------- v2.45.7: remove white selection bloom and map spotlight ---------- */
body.lt-sector-hex-map .sector-wrap{
  background:
    linear-gradient(rgba(69,112,140,.042) 1px,transparent 1px),
    linear-gradient(90deg,rgba(69,112,140,.042) 1px,transparent 1px),
    linear-gradient(180deg,#050d17 0%,#02070d 100%)!important;
  background-size:44px 44px,44px 44px,auto!important;
}

body.lt-sector-hex-map .system-node.lt-sector-hex-node .node-core{
  box-shadow:
    0 0 0 1px var(--sector-colour,#00d8ff),
    0 0 8px var(--sector-glow,rgba(0,216,255,.22))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node:hover .node-core{
  background:var(--sector-colour,#00d8ff)!important;
  transform:translateZ(0) scale(1.035);
  box-shadow:
    0 0 0 2px var(--sector-colour,#00d8ff),
    0 0 13px var(--sector-glow,rgba(0,216,255,.30))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .node-core,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus .node-core{
  background:var(--sector-colour,#00d8ff)!important;
  transform:translateZ(0) scale(1.13);
  box-shadow:
    0 0 0 2px var(--sector-colour,#00d8ff),
    0 0 16px var(--sector-glow,rgba(0,216,255,.38))!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .lt-sector-hex-face,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus .lt-sector-hex-face{
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--sector-colour,#00d8ff) 46%,#07131f),
      color-mix(in srgb,var(--sector-colour,#00d8ff) 20%,#07131f) 43%,
      #020910 78%)!important;
}
body.lt-sector-hex-map .system-node.lt-sector-hex-node.selected .node-core::after,
body.lt-sector-hex-map .system-node.lt-sector-hex-node.lt-sector-focus .node-core::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
body.lt-sector-hex-map .system-node.lt-sector-linked .node-core{
  transform:translateZ(0) scale(1.055);
  box-shadow:
    0 0 0 1px var(--sector-colour,#00d8ff),
    0 0 10px var(--sector-glow,rgba(0,216,255,.27))!important;
}
body.lt-sector-hex-map .system-node.lt-route-start .node-core{
  background:#00f0b5!important;
  box-shadow:0 0 0 2px #00f0b5,0 0 15px rgba(0,240,181,.38)!important;
}
body.lt-sector-hex-map .system-node.lt-route-destination .node-core{
  background:#e3c98b!important;
  box-shadow:0 0 0 2px #e3c98b,0 0 15px rgba(227,201,139,.38)!important;
}

/* ---------- v2.45.9: station-bearing sector hexes and hover dossier ---------- */
body.lt-sector-hex-map .lt-sector-hex-center{
  display:grid;
  justify-items:center;
  align-content:center;
  gap:3px;
  width:100%;
}
body.lt-sector-hex-map .lt-sector-hex-symbol{margin-bottom:0!important}
body.lt-sector-hex-map .lt-sector-hex-name{max-width:92px}
body.lt-sector-hex-map .lt-sector-station-row{
  min-height:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  margin-top:2px;
  pointer-events:none;
}
body.lt-sector-hex-map .lt-sector-station-icon,
body.lt-sector-hex-map .lt-sector-station-more{
  width:18px;
  height:16px;
  display:grid;
  place-items:center;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  border:0;
  background:color-mix(in srgb,var(--sector-colour,#00d8ff) 20%,#03101a);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sector-colour,#00d8ff) 72%,#8db6c8);
  color:#dff8ff;
  font:700 6px/1 Consolas,monospace;
  letter-spacing:-.03em;
}
body.lt-sector-hex-map .lt-sector-station-icon[data-kind="trading"]{color:#ffd84d;box-shadow:inset 0 0 0 1px #e9ba24}
body.lt-sector-hex-map .lt-sector-station-icon[data-kind="hq"]{color:#e7a5ff;box-shadow:inset 0 0 0 1px #b66ad4}
body.lt-sector-hex-map .lt-sector-station-icon[data-kind="pirate"]{color:#ff8c98;box-shadow:inset 0 0 0 1px #c95b67}
body.lt-sector-hex-map .lt-sector-station-icon[data-kind="equipment"]{color:#74ffd0;box-shadow:inset 0 0 0 1px #25c99a}
body.lt-sector-hex-map .lt-sector-hex-footer{min-height:10px}
body.lt-sector-hex-map .lt-sector-hex-footer span{max-width:102px!important}
body.lt-sector-hex-map .lt-sector-hex-footer b{display:none!important}

.lt-sector-hover-card{
  position:absolute;
  z-index:48;
  left:0;
  top:0;
  width:270px;
  max-width:calc(100% - 16px);
  display:none;
  pointer-events:none;
  padding:12px 13px 13px;
  border:1px solid rgba(78,126,158,.62);
  background:linear-gradient(180deg,rgba(8,17,31,.985),rgba(5,12,23,.985));
  box-shadow:0 16px 38px rgba(0,0,0,.56);
  clip-path:polygon(0 0,calc(100% - 11px) 0,100% 11px,100% 100%,0 100%);
  will-change:transform;
}
.lt-sector-hover-card.open{display:block}
.lt-sector-hover-accent{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--sector-hover-colour,#00d8ff);
}
.lt-sector-hover-title{
  margin:0 0 5px;
  color:#f4f8fc;
  font:700 16px/1.15 Consolas,monospace;
  letter-spacing:.015em;
}
.lt-sector-hover-faction{
  display:flex;
  align-items:center;
  gap:6px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(75,117,149,.32);
  color:#a9bfd0;
  font:10px/1.2 Consolas,monospace;
}
.lt-sector-hover-faction i{width:9px;height:9px;border-radius:50%;box-shadow:0 0 8px currentColor}
.lt-sector-hover-section{padding-top:9px}
.lt-sector-hover-label{
  margin-bottom:7px;
  color:#54e4f6;
  font:700 8px/1 Consolas,monospace;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.lt-sector-hover-stations{display:flex;flex-wrap:wrap;gap:5px}
.lt-sector-hover-station{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 6px;
  border:1px solid rgba(80,142,174,.42);
  background:rgba(5,18,29,.76);
  color:#d8e8f1;
  font:8px/1.2 Consolas,monospace;
}
.lt-sector-hover-station b{
  display:grid;
  place-items:center;
  width:18px;
  height:16px;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  background:rgba(0,216,255,.10);
  box-shadow:inset 0 0 0 1px #00d8ff;
  color:#c8f8ff;
  font-size:6px;
}
.lt-sector-hover-station[data-kind="trading"]{border-color:rgba(227,201,139,.60);color:#ffe69f}
.lt-sector-hover-station[data-kind="trading"] b{box-shadow:inset 0 0 0 1px #e3c98b;color:#ffe69f;background:rgba(227,201,139,.10)}
.lt-sector-hover-resources{display:grid;gap:4px}
.lt-sector-hover-resources>div,
.lt-sector-info-resources>div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;color:#bfd0dc;font:9px/1.25 Consolas,monospace}
.lt-sector-stars-on{color:#ffd21c;letter-spacing:1px}.lt-sector-stars-off{color:#425264;letter-spacing:1px}
.lt-sector-hover-quiet{display:flex;justify-content:space-between;gap:10px;color:#7895a8;font:8px/1.3 Consolas,monospace;text-transform:uppercase}
.lt-sector-info-stations{display:flex;flex-wrap:wrap;gap:5px}
.lt-sector-info-stations>span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 6px;
  border:1px solid rgba(73,126,160,.30);
  background:rgba(3,11,19,.56);
  color:#d4e3ec;
  font:8px/1.2 Consolas,monospace;
}
.lt-sector-info-stations>span b{color:#67e5f5;font-size:7px}
.lt-sector-info-resources{display:grid;gap:5px}
body.lt-map-interacting .lt-sector-hover-card{display:none!important}
@media(max-width:760px){.lt-sector-hover-card{width:240px}.lt-sector-hover-title{font-size:14px}}
