.galaxy-feed { max-width: 1400px; width: 100%; margin: 1.75rem auto 3rem; padding: 0 1rem; }
.gf-head { border-bottom: 2px solid var(--hud-orange); margin-bottom: 1.25rem; padding-bottom: .5rem; }
.gf-head h2 { font-size: 1.4rem; margin: 0; color: var(--hud-orange); text-transform: uppercase; font-family: "Orbitron", "Orbitron Fallback", sans-serif; letter-spacing: .08em; }
.gf-eyebrow { display: block; font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: .7rem; letter-spacing: .15em; color: var(--hud-cyan); text-transform: uppercase; margin-bottom: .25rem; }
.gf-cap { font-size: .8rem; color: var(--hud-muted); margin: .35rem 0 0; }

.gf-tile { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.gf-title { font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hud-cyan); margin: 0; }
.gf-col { display: flex; flex-direction: column; min-width: 0; }
.gf-col[hidden] { display: none; }
.gf-col > .gf-tile { flex: 1; }
.gf-has-cgs .gf-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 851px) { .gf-has-cgs .gf-layout { align-items: stretch; } .gf-has-cgs .gf-col > .gf-head { min-height: 6.5rem; } }
[data-gf="cgs"] > .btn { align-self: start; font-size: .65rem; margin-top: .5rem; text-decoration: none; }
[data-gf="cgs"] > .gf-upd { margin: 0; font-size: .65rem; }
.gf-goal { padding: 1.25rem 0; border-bottom: 1px solid var(--hud-border); transition: transform .18s, box-shadow .18s; scroll-margin-top: 1rem; }
.gf-goal:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--hud-border); }
.gf-goal h4 { margin: 0 0 .6rem; }
.gf-goal-system { display: flex; align-items: center; gap: .25rem; color: var(--hud-cyan); font-size: .8rem; }
.gf-goal-station { color: var(--hud-muted); font-size: .74rem; margin: .25rem 0 .75rem; }
.gf-goal-stats { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .7rem; color: var(--hud-muted); }
.gf-goal-stats .gf-num { display: block; }
.gf-goal-stats strong { font-size: 1.1rem; margin-right: .2rem; }
.gf-goal-stats time { white-space: nowrap; }
@media (max-width: 850px) { .gf-has-cgs .gf-layout { grid-template-columns: 1fr; gap: 1.25rem; } }

html.js .galaxy-feed.gf-pending { display: block !important; }
.galaxy-feed.gf-pending [data-gf="territory"] .gf-body, [data-gf="territory"] .gf-body.gf-empty { min-height: 672.3125px; }

.gf-skel { height: .9rem; margin: .55rem 0; background: rgba(25, 179, 230, .12); animation: gf-skel 1.4s ease-in-out infinite; }
.gf-skel:nth-child(2) { width: 85%; } .gf-skel:nth-child(3) { width: 65%; }
@keyframes gf-skel { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.gf-ex { font-size: .8rem; color: var(--hud-muted); margin: .2rem 0 0; }

/* territory */
.gf-nums { display: flex; gap: 2rem; }
.gf-num { display: flex; flex-direction: column; }
.gf-num strong { font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: 1.8rem; color: var(--hud-orange); line-height: 1.1; }
.gf-num span { font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--hud-muted); }
.gf-sys { margin-top: .55rem; }
.gf-sys-top { display: flex; align-items: baseline; gap: .6rem; font-size: .85rem; }
.gf-sys-name { color: var(--hud-text); text-decoration: none; font-weight: 600; }
.gf-sys-name:hover { color: var(--hud-cyan); }
.gf-sys-meta { color: var(--hud-muted); font-size: .75rem; }
.gf-sys-pct { margin-left: auto; color: var(--hud-text); font-size: .8rem; }

.gf-bar { height: 6px; background: rgba(255,255,255,.08); margin-top: .3rem; }
.gf-bar i { display: block; height: 100%; background: var(--hud-muted); }
.gf-bar.gf-newp i { background: var(--hud-orange); box-shadow: 0 0 8px rgba(255,113,0,.6); }

/* territory system list: search + scroll */
.gf-filter { display: block; width: 100%; background: var(--hud-panel); border: 1px solid var(--hud-border); border-radius: 0; color: var(--hud-text); font-family: "Exo 2", "Exo 2 Fallback", sans-serif; font-size: .85rem; padding: .4rem .6rem; margin: .5rem 0; }
.gf-filter:focus { outline: none; border-color: var(--hud-cyan); box-shadow: 0 0 8px rgba(56, 189, 248, .25); }
.gf-sys-list { max-height: 320px; overflow-y: auto; padding-right: .25rem; scrollbar-width: thin; scrollbar-color: var(--hud-orange) transparent; }
.gf-sys-list::-webkit-scrollbar { width: 6px; }
.gf-sys-list::-webkit-scrollbar-thumb { background: var(--hud-orange); }
.gf-upd { font-size: .72rem; color: var(--hud-muted); margin-top: .75rem; }
.gf-count { margin-top: .4rem; }

/* territory map */
.gf-top { display: flex; gap: 1.5rem; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.gf-search { position: relative; flex: 1 1 220px; max-width: 320px; }
.gf-search .gf-filter { margin: 0; }
.gf-results { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; background: var(--hud-panel); border: 1px solid var(--hud-border); border-top: 0; }
.gf-results button { display: flex; justify-content: space-between; gap: .5rem; width: 100%; background: none; border: 0; color: var(--hud-text); font-size: .8rem; padding: .35rem .6rem; text-align: left; cursor: pointer; }
.gf-results button:hover, .gf-results button:focus { background: rgba(255,113,0,.15); outline: none; }
.gf-results small, .gf-results .more { color: var(--hud-muted); font-size: .7rem; }
.gf-results .more { padding: .3rem .6rem; }
.gf-zones { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .35rem; }
.gf-zone { font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; background: transparent; border: 1px solid rgba(25,179,230,.4); color: var(--hud-muted); padding: .32rem .55rem; cursor: pointer; border-radius: 0; }
.gf-zone b { color: var(--hud-text); font-weight: 600; margin-left: .35rem; }
.gf-zone.on { border-color: var(--hud-cyan); color: var(--hud-cyan); background: rgba(25,179,230,.12); }
.gf-map { position: relative; height: 560px; background: radial-gradient(ellipse at 50% 45%, rgba(25,179,230,.08), transparent 70%), #07080b; border: 1px solid rgba(25,179,230,.25); overflow: hidden; }
.gf-map svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.gf-map svg.drag { cursor: grabbing; }
.gf-ctl { position: absolute; right: .6rem; bottom: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.gf-ctl button { width: 34px; height: 34px; background: rgba(10,10,12,.9); border: 1px solid rgba(25,179,230,.45); color: var(--hud-cyan); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0; }
.gf-ctl button:hover { background: rgba(25,179,230,.15); }
.gf-core { position: absolute; top: .45rem; right: .6rem; font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: .55rem; letter-spacing: .15em; color: var(--hud-muted); text-transform: uppercase; pointer-events: none; }
.gf-scale { position: absolute; left: .6rem; bottom: .5rem; font-size: .65rem; color: var(--hud-muted); pointer-events: none; }
.gf-scale i { display: block; height: 5px; border: 1px solid var(--hud-muted); border-top: 0; margin-bottom: 2px; }
.gf-tip { position: absolute; pointer-events: none; background: rgba(10,10,12,.92); border: 1px solid var(--hud-border); font-size: .72rem; padding: .12rem .4rem; white-space: nowrap; color: var(--hud-text); transform: translate(-50%,-150%); }
.gf-wrap { position: relative; margin-top: .6rem; }
.gf-card { position: absolute; left: .6rem; top: .6rem; width: min(270px, calc(100% - 1.2rem)); background: rgba(10,10,12,.94); border: 1px solid var(--hud-border); padding: .6rem .7rem; font-size: .8rem; box-shadow: 0 0 18px rgba(255,113,0,.15); }
.gf-card h4, .gf-goal h4 { font-size: .95rem; font-family: "Exo 2", "Exo 2 Fallback", sans-serif; font-weight: 700; }
.gf-card h4 { margin: 0 1.4rem .2rem 0; }
.gf-card h4 a { color: var(--hud-text); text-decoration: none; }
.gf-card h4 a:hover { color: var(--hud-cyan); }
.gf-card .m { color: var(--hud-muted); font-size: .74rem; }
.gf-card .x { position: absolute; top: .2rem; right: .35rem; background: none; border: 0; color: var(--hud-muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: .1rem .3rem; }
.gf-card .row2 { display: flex; justify-content: space-between; margin-top: .45rem; font-size: .75rem; }
.gf-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .72rem; color: var(--hud-muted); margin-top: .45rem; }
.gf-legend { display: flex; align-items: center; gap: .35rem; }
.gf-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.gf-lg-home { background: var(--hud-cyan); box-shadow: 0 0 6px var(--hud-cyan); }
.gf-lg-sys { background: var(--hud-orange); margin-left: .4rem; }
.gf-mapgrid { stroke: rgba(25,179,230,.08); stroke-width: 1; }
.gf-dot { fill: #ff7100; fill-opacity: .85; }
.gf-dot.dim { fill-opacity: .12; }
.gf-dot.sel { stroke: #fff; stroke-width: 2; fill-opacity: 1; }
.gf-dot.gf-home { fill: #19b3e6; fill-opacity: 1; filter: drop-shadow(0 0 4px #19b3e6); }
.gf-ring { fill: none; stroke: #19b3e6; stroke-opacity: .6; stroke-width: 1; }
.gf-lbl { font-family: "Exo 2", "Exo 2 Fallback", sans-serif; font-size: 11px; fill: #e8e6e3; paint-order: stroke; stroke: #07080b; stroke-width: 3px; }
.gf-home-lbl { font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: 9px; letter-spacing: .12em; fill: #19b3e6; paint-order: stroke; stroke: #07080b; stroke-width: 3px; }
.gf-sol path { stroke: #b4b1ac; stroke-width: 1; }
.gf-sol text { fill: #b4b1ac; font-size: 9px; font-family: "Exo 2", "Exo 2 Fallback", sans-serif; }
.gf-area { fill: none; stroke: rgba(255,113,0,.45); stroke-width: 1; stroke-dasharray: 4 4; pointer-events: none; }
.gf-area-lbl { font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; fill: rgba(255,113,0,.75); pointer-events: none; paint-order: stroke; stroke: #07080b; stroke-width: 3px; }
.gf-copy { background: transparent; border: 1px solid var(--hud-border); color: var(--hud-muted); font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; padding: .05rem .4rem; margin-left: .4rem; vertical-align: middle; cursor: pointer; }
.gf-copy:hover, .gf-copy:focus-visible { color: var(--hud-cyan); border-color: var(--hud-cyan); outline: none; }
.gf-zh { cursor: pointer; }
.gf-zh circle { fill: rgba(255,113,0,.14); stroke: #ff7100; stroke-width: 1; }
.gf-zh text { fill: #e8e6e3; font-family: "Orbitron", "Orbitron Fallback", sans-serif; font-size: 10px; letter-spacing: .08em; paint-order: stroke; stroke: #07080b; stroke-width: 3px; }
@media (max-width: 575.98px) { .galaxy-feed.gf-pending [data-gf="territory"] .gf-body, [data-gf="territory"] .gf-body.gf-empty { min-height: 650.75px; } .gf-map { height: 380px; } .gf-search { max-width: none; } .gf-card { position: relative; left: auto; top: auto; width: auto; margin-top: .5rem; } }
