/* Real five-second server-authorized fleet positions in the canvas map.
   Lightweight quick list supports touch/mobile selection of tiny markers. */
.galaxy-fleet-live{
 display:grid;gap:7px;margin:10px 0 12px;padding:10px 12px;
 border:1px solid #6475ab;border-radius:10px;
 background:linear-gradient(115deg,#1b2341,#152c43);
 min-width:0;max-width:100%;
}
.galaxy-fleet-live-heading{
 display:flex;justify-content:space-between;align-items:center;
 gap:9px;flex-wrap:wrap;font-size:12px;color:#dfeeff;
}
.galaxy-fleet-live-heading strong{font-size:13px;color:#e5dcff}
.galaxy-fleet-live-heading span{font-size:11px;color:#b4d2ed}
.galaxy-fleet-quick-list{
 display:flex;flex-wrap:wrap;gap:6px;align-items:center;max-height:118px;
 overflow:auto;scrollbar-width:thin;min-width:0;
}
.galaxy-fleet-quick-list .galaxy-fleet-chip{
 display:grid;gap:3px;align-content:center;
 text-align:left;max-width:230px;min-width:110px;
 border:1px solid #43aaaf;border-radius:8px;
 background:#153448;color:#d8fff9;padding:6px 9px;
 font-size:11px;white-space:normal;cursor:pointer;
}
.galaxy-fleet-chip strong{display:block;font-size:11px;line-height:1.3}
.galaxy-fleet-chip small{font-size:10px;color:#b8d7df}
.galaxy-fleet-quick-list .galaxy-fleet-chip.foreign{
 border-color:#c07aac;background:#392c49;color:#f2d5f4;
}
.galaxy-fleet-chip:hover,.galaxy-fleet-chip:focus-visible{
 outline:2px solid #a3f3ff;outline-offset:1px;
}
.galaxy-fleet-no-signals{font-size:11px;color:#a9c5dd;line-height:1.5}
.galaxy-key .key-fleet-owned{color:#78ece6;font-size:11px;font-weight:750}
.galaxy-key .key-fleet-detected{color:#eac4ff;font-size:11px;font-weight:750}
.galaxy-wrap{position:relative}
.galaxy-fleet-popup{
 position:absolute;z-index:25;left:12px;top:12px;
 box-sizing:border-box;width:min(420px,calc(100% - 24px));
 max-height:min(600px,calc(100% - 24px));
 display:grid;grid-template-rows:auto minmax(0,1fr);
 border:1px solid #8ecbdb;border-radius:12px;
 overflow:hidden;background:linear-gradient(135deg,#122e48f9,#221b3af7);
 box-shadow:0 12px 35px #000c,0 0 18px #5fbaca44;
 color:#eef8ff;pointer-events:auto;
}
.galaxy-fleet-popup[hidden]{display:none!important}
.galaxy-fleet-popup>header{
 display:flex;align-items:center;justify-content:space-between;
 gap:6px;padding:9px 11px;
 background:#1c2c4fee;border-bottom:1px solid #678aaa;
}
.galaxy-fleet-popup>header>div{display:grid;gap:3px;min-width:0}
.galaxy-fleet-popup>header small{font-size:9px;letter-spacing:.12em;color:#8eece5}
.galaxy-fleet-popup-title{font-size:15px;overflow-wrap:anywhere}
.galaxy-fleet-popup>header .galaxy-fleet-close{
 width:32px;height:32px;flex:none;border:1px solid #759cb2;
 border-radius:7px;background:#273856;color:#fff;font-size:15px;cursor:pointer;
}
.galaxy-fleet-popup-content{overflow:auto;padding:11px;min-height:0;scrollbar-width:thin}
.galaxy-fleet-detail{display:grid;gap:9px}
.galaxy-fleet-detail-top{display:flex;flex-wrap:wrap;gap:6px;align-items:center;
 justify-content:space-between}
.galaxy-fleet-detail-top strong{color:#7fefdf;font-size:11px}
.galaxy-fleet-detail-top span{font-size:11px;color:#eed9ff}
.galaxy-fleet-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}
.galaxy-fleet-detail-facts>div{
 display:grid;gap:4px;padding:8px;border:1px solid #436486;border-radius:7px;
 background:#11273df0;min-width:0;
}
.galaxy-fleet-detail-facts dt{font-size:10px;color:#a6cde7}
.galaxy-fleet-detail-facts dd{margin:0;overflow-wrap:anywhere;font-size:12px;font-weight:700;color:#f1f8ff}
.galaxy-fleet-detail h4{margin:4px 0 0;color:#d7eaff;font-size:12px}
.galaxy-fleet-progress{height:7px;overflow:hidden;border-radius:5px;
 background:#33415a;border:1px solid #5f7990}
.galaxy-fleet-progress>div{height:100%;border-radius:4px;
 background:linear-gradient(90deg,#5ed8e3,#b8a2ff)}
.galaxy-fleet-detail>small{font-size:10px;color:#c3dcf1}
.galaxy-fleet-manifest{display:flex;flex-wrap:wrap;gap:5px}
.galaxy-fleet-manifest>span{font-size:11px;line-height:1.45;
 background:#172f50;border:1px solid #4d77a1;border-radius:6px;padding:5px 7px}
@media(max-width:660px){
 .galaxy-fleet-live{padding:8px;gap:6px}
 .galaxy-fleet-quick-list{max-height:104px}
 .galaxy-fleet-quick-list .galaxy-fleet-chip{min-width:100px;max-width:180px;padding:6px}
 .galaxy-fleet-popup{
  top:8px;left:8px;width:calc(100% - 16px);
  max-height:calc(100% - 16px);
 }
 .galaxy-fleet-detail-facts{gap:5px}
 .galaxy-fleet-detail-facts>div{padding:6px}
}
@media(max-width:390px){
 .galaxy-fleet-detail-facts{grid-template-columns:1fr 1fr}
 .galaxy-fleet-live-heading{display:grid}
 .galaxy-fleet-quick-list .galaxy-fleet-chip{width:100%;max-width:none}
}
