/* ============================================================
   COMBAT - Battle reports, incoming attacks
   ============================================================ */

.progress-fill.attack {
  background: linear-gradient(90deg, #cc0000, #ff4444);
}
.progress-fill.harvest {
  background: linear-gradient(90deg, #008844, #44ff88);
}

/* --- Battle Report Modal --- */
.battle-report-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  z-index: 10150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: confirmFadeIn 0.15s ease-out;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.battle-report-box {
  position: relative;
  z-index: 1;
  background: rgba(12, 15, 25, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  animation: confirmSlideIn 0.2s ease-out;
}

.battle-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.battle-report-header span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* .battle-report-close renders via KC.closeBtnHtml (.kc-close). */

.battle-report-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.battle-result-banner {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.battle-result-banner.victory {
  background: rgba(68, 255, 68, 0.12);
  border: 1px solid rgba(68, 255, 68, 0.3);
  color: #44ff44;
}
.battle-result-banner.defeat {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
}
.battle-result-banner.draw {
  background: rgba(255, 200, 68, 0.12);
  border: 1px solid rgba(255, 200, 68, 0.3);
  color: #ffc844;
}

.battle-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.battle-forces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.battle-forces-col {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
}

.battle-forces-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  font-weight: 600;
}

.battle-unit-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 2px 0;
  color: rgba(255, 255, 255, 0.8);
}
.battle-unit-row .loss {
  color: #ff4444;
}

/* ── Round-by-round narration ─────────────────────────────────── */
.battle-narration-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.battle-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.battle-report-action-ic {
  font-size: 0.62rem;
  line-height: 1;
  opacity: 0.9;
}
.battle-narration-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(196, 246, 255, 0.85);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 6px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.battle-narration-toggle:hover {
  background: rgba(0, 240, 255, 0.14);
  border-color: rgba(0, 240, 255, 0.45);
  color: #fff;
}
.battle-narration-toggle.is-open {
  background: rgba(0, 240, 255, 0.18);
  border-color: rgba(0, 240, 255, 0.55);
  color: #fff;
}
.battle-narration {
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid rgba(0, 240, 255, 0.14);
  border-radius: 10px;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.battle-narration[hidden] { display: none; }
.bn-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 2px solid rgba(0, 240, 255, 0.22);
}
.bn-line.bn-opening {
  border-left-color: rgba(148, 163, 184, 0.35);
}
.bn-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(196, 246, 255, 0.75);
}
.bn-events {
  margin: 2px 0 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.88);
}
.bn-events li { list-style: disc; }
.bn-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  line-height: 1.45;
  font-family: var(--font-mono);
}
.bn-row-us   { color: #c4f6ff; }
.bn-row-them { color: #fca5a5; }

.battle-loot-section,
.battle-debris-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
}

.battle-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  font-weight: 600;
}

.battle-loot-row {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #44ff88;
}

.battle-debris-row {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #ffc844;
}

.btn-send-recyclers {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(68, 255, 136, 0.3);
  background: rgba(68, 255, 136, 0.1);
  color: #44ff88;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-send-recyclers:hover {
  background: rgba(68, 255, 136, 0.2);
  box-shadow: 0 0 12px rgba(68, 255, 136, 0.2);
}

/* --- Incoming Attack Banner (F2a: one-line pinned row) --- */
.incoming-attack-banner {
  background: rgba(255, 40, 40, 0.12);
  border: 1px solid rgba(255, 40, 40, 0.3);
  border-radius: 6px;
  min-height: 44px;
  padding: 4px 10px;
  margin-bottom: 6px;
  cursor: pointer;
  animation: attack-pulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 8px;
}

.incoming-attack-banner .attack-icon {
  font-size: 1rem;
  flex: none;
  animation: attack-flash 1s ease-in-out infinite;
}

.incoming-attack-banner .attack-info {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.incoming-attack-banner .attack-name {
  flex: none;
  font-weight: 700;
  font-size: 12.5px;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.incoming-attack-banner .attack-eta {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.incoming-attack-banner .attack-countdown {
  flex: none;
  margin-left: auto;
  font-size: 13px;
  color: #ff9b9b;
  white-space: nowrap;
}

@keyframes attack-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 40, 40, 0.15); }
  50% { box-shadow: 0 0 20px rgba(255, 40, 40, 0.35); }
}

@keyframes attack-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Post-impact attack aftermath (replaces countdown banner) --- */
.incoming-attack-aftermath {
  background: linear-gradient(160deg, rgba(40, 14, 18, 0.72), rgba(22, 10, 14, 0.88));
  border: 1px solid rgba(214, 58, 58, 0.45);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow: hidden;
}

.incoming-attack-aftermath-hero {
  width: 64px;
  min-width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 58, 58, 0.35);
  flex: none;
}

.incoming-attack-aftermath-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.incoming-attack-aftermath-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.incoming-attack-aftermath .attack-name {
  font-weight: 700;
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  line-height: 1.2;
}

.incoming-attack-aftermath .attack-eta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
}

.incoming-attack-aftermath-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.incoming-attack-aftermath-btn {
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-transform: uppercase;
}

.incoming-attack-aftermath-btn-report {
  background: linear-gradient(180deg, #d63a3a 0%, #a92e2e 100%);
  color: #fff5f5;
  box-shadow: 0 4px 12px rgba(214, 58, 58, 0.35);
}

.incoming-attack-aftermath-btn-dismiss {
  background: rgba(71, 85, 105, 0.55);
  color: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.incoming-attack-aftermath-btn:hover {
  filter: brightness(1.08);
}

.progress-fill.espionage {
  background: linear-gradient(90deg, #7744cc, #aa66ff);
}

/* --- Spy Report Modal --- */
.spy-report-header {
  border-bottom-color: rgba(170, 102, 255, 0.2) !important;
}
.spy-report-header span {
  color: #bb88ff;
}

.spy-target-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(170, 102, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(170, 102, 255, 0.15);
}
.spy-target-main,
.spy-target-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.spy-target-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spy-target-coords {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #bb88ff;
  flex-shrink: 0;
}
.spy-target-player {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.spy-target-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}
.spy-target-age {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-align: right;
}
.spy-target-age-label {
  color: rgba(255, 255, 255, 0.38);
  font: 600 0.66rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spy-capital-crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
  font-size: 0.95em;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.45));
}

.spy-tier-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
}
.spy-tier-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.spy-tier-stars {
  font-size: 1.2rem;
  color: #ffc844;
  letter-spacing: 2px;
}
.spy-probes-used {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -2px 0 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}
.spy-probes-used span:first-child {
  color: rgba(255, 255, 255, 0.42);
  font: 600 0.66rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spy-report-tabs {
  display: flex;
  gap: 6px;
  margin: 10px 0 8px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  border: 1px solid rgba(170, 102, 255, 0.14);
}
.spy-report-tab {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.spy-report-tab.is-active {
  color: #e9d5ff;
  background: rgba(170, 102, 255, 0.18);
  border-color: rgba(170, 102, 255, 0.35);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.18);
}
.spy-report-panels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Keep the modal a stable height when switching Resumen/Detalles. */
  min-height: 340px;
}
.spy-report-panel {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.spy-report-panel.is-active {
  display: flex;
}
.spy-summary-block {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(170, 102, 255, 0.12);
}
.spy-summary-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(170, 102, 255, 0.7);
  margin-bottom: 8px;
  font-weight: 600;
}
.spy-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spy-summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(170, 102, 255, 0.06);
}
.spy-summary-item--missing {
  color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.02);
}
.spy-summary-item--missing .spy-summary-label {
  color: rgba(255, 255, 255, 0.28);
}
.spy-summary-note {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.spy-summary-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
}
.spy-summary-check--empty {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
/* Obtained but the colony has none of it (vs --missing = not recovered). */
.spy-summary-none {
  margin-left: auto;
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}
.spy-summary-item--none .spy-summary-label {
  color: rgba(255, 255, 255, 0.62);
}

.spy-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 12px;
}
/* Compact one-line row for categories the intel reached but the colony has none of. */
.spy-section--empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
}
.spy-section--empty .spy-section-title {
  margin-bottom: 0;
}
.spy-section-none {
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.spy-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(170, 102, 255, 0.7);
  margin-bottom: 8px;
  font-weight: 600;
}

.spy-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
.spy-res-item {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
}

.spy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.8);
}
.spy-row-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.spy-thumb {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(170, 102, 255, 0.2);
  flex-shrink: 0;
}

.spy-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 0;
}
.spy-traffic-row {
  padding: 8px;
  border-radius: 8px;
  background: rgba(170, 102, 255, 0.05);
  border: 1px solid rgba(170, 102, 255, 0.1);
}
.spy-traffic-row + .spy-traffic-row {
  margin-top: 8px;
}
.spy-traffic-head,
.spy-traffic-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.spy-traffic-head {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
}
.spy-traffic-meta {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.64);
  padding: 2px 0;
}
.spy-traffic-meta span:first-child {
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
}
.spy-traffic-meta span:last-child {
  text-align: right;
}
@media (max-width: 480px) {
  .spy-row-grid {
    grid-template-columns: 1fr;
  }
  .spy-target-main,
  .spy-target-meta,
  .spy-traffic-head,
  .spy-traffic-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .spy-traffic-meta span:last-child {
    text-align: left;
  }
  .spy-target-age {
    text-align: left;
  }
}

/* --- Exploration Report Planet Hero --- */
.explore-planet-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 8px;
}
.explore-planet-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(170, 102, 255, 0.2);
}
.explore-planet-label {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.explore-planet-rarity {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 2px;
}

/* --- System survey exploration report (explore_galaxy) --- */
.spy-report-box--system {
  max-width: 640px;
}

.spy-survey-wrap {
  margin-top: 4px;
}

.spy-survey-summary {
  margin: 0 0 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(187, 136, 255, 0.85);
  font-weight: 600;
  text-align: center;
}

.spy-survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 520px) {
  .spy-survey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.spy-survey-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(170, 102, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
}

.spy-survey-card-thumb {
  position: relative;
  aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.35);
}

.spy-survey-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spy-survey-card-pos {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #e9d5ff;
  background: rgba(12, 15, 25, 0.82);
  border: 1px solid rgba(170, 102, 255, 0.35);
}

.spy-survey-card-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.spy-survey-card-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

.spy-survey-card-rarity {
  font-size: 0.7rem;
  font-weight: 600;
}

.spy-survey-card-stats {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}

.spy-survey-card-bonuses {
  margin-top: 4px;
}

.spy-survey-card-bonuses .planet-bonuses {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.spy-survey-card-bonuses .planet-bonuses > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.spy-survey-card-bonuses .bonus-icon {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.explore-planet-bonuses .planet-bonuses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.explore-planet-bonuses .planet-bonuses > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.explore-planet-bonuses .bonus-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.spy-survey-card-status {
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spy-survey-card-status.is-free {
  color: #10b981;
}

.spy-survey-card-status.is-occupied {
  color: #ef4444;
}

.spy-no-data {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  padding: 16px;
}

/* --- Fleet target input (manual coords for attack/harvest) --- */
.fleet-target-coords {
  display: flex;
  gap: 6px;
  align-items: center;
}

.fleet-target-coords input {
  width: 60px;
  text-align: center;
}

.fleet-target-coords .coord-sep {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}
