/* 舰队日常星区（深空远征 + 海盗据点）— 贴合原版暗钢星战界面风格 */

/* 彻底隔离三页签：出征队列绝不显示远征/海盗面板；远征/海盗页绝不显示出征队列 */
[data-screen="hangar"][data-fops-tab="QUEUE"] [data-fleet-ops-mount],
.fleet-ops-mount[hidden],
[data-screen="hangar"][data-fops-tab="EXPEDITION"] .fleet-summary-strip,
[data-screen="hangar"][data-fops-tab="EXPEDITION"] .fleet-task-list,
[data-screen="hangar"][data-fops-tab="PIRATE"] .fleet-summary-strip,
[data-screen="hangar"][data-fops-tab="PIRATE"] .fleet-task-list {
  display: none !important;
}

/* 银河系顶栏星区入口 */
.galaxy-fops-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 8px;
}

.galaxy-fops-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid #254050;
  background: linear-gradient(180deg, #0d1a26, #08111a);
  color: #d6e9f2;
  text-align: left;
  cursor: pointer;
}

.galaxy-fops-btn.is-pir {
  border-color: #4b2d2a;
  background: linear-gradient(180deg, #1b1416, #0d0d12);
}

.galaxy-fops-btn.is-flying {
  border-color: #4f9cb5;
}

.galaxy-fops-planet {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.galaxy-fops-planet.is-blackhole {
  width: 40px;
  height: 40px;
}

.galaxy-fops-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.galaxy-fops-copy strong {
  font-size: 13px;
  font-weight: 700;
  color: #e4f2f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.galaxy-fops-copy span {
  font-size: 11px;
  color: #8eb3c4;
}

.galaxy-fops-btn.is-pir .galaxy-fops-copy span {
  color: #d09b8d;
}

.galaxy-fops-arrow {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(58, 120, 148, 0.24);
  border: 1px solid rgba(98, 168, 198, 0.38);
  color: #a7d9ee;
  flex-shrink: 0;
}

.galaxy-fops-btn.is-pir .galaxy-fops-arrow {
  background: rgba(154, 64, 52, 0.24);
  border-color: rgba(196, 98, 82, 0.42);
  color: #efb2a4;
}

/* 舰队任务页顶部四页签：2×2 清晰不折行，适配 360-430px 竖屏游戏容器 */
.fleet-ops-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 4px 0 10px;
}

.fops-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #223b4a;
  background: #0a141e;
  color: #8db0c1;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
}

.fops-tab img {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: contain;
  flex-shrink: 0;
  border: none;
  outline: none;
}

.fops-tab[data-fops-tab="JOINT"] img {
  filter: sepia(1) saturate(2.2) hue-rotate(355deg) brightness(1.08);
}

.fops-tab.is-active {
  border-color: #4f94b0;
  background: linear-gradient(180deg, #122838, #0b1824);
  color: #edf7fb;
}

.fops-tab[data-fops-tab="JOINT"] {
  border-color: rgba(212, 166, 78, 0.36);
  background: linear-gradient(180deg, #1a170e, #0d1218);
  color: #e6cb8e;
}

.fops-tab[data-fops-tab="JOINT"].has-joint {
  border-color: rgba(242, 198, 109, 0.68);
  background: linear-gradient(180deg, #2b210e, #12151a);
  color: #ffe7ad;
}

.fops-tab[data-fops-tab="PIRATE"].is-active {
  border-color: #9e5346;
  background: linear-gradient(180deg, #271616, #130d0f);
  color: #f6e1dc;
}

.fops-tab-badge {
  font-style: normal;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #142633;
  color: #9dc5d6;
  flex-shrink: 0;
}

.fops-tab-badge.is-joint {
  background: #463210;
  color: #ffd984;
}

.fops-tab-badge.is-free {
  background: #173a2c;
  color: #7ee3b4;
}

.fops-tab-badge.is-pity {
  background: #3d2e14;
  color: #f0ca72;
}

.fops-tab-badge.is-flying {
  background: #14364a;
  color: #79d4f7;
}

.fleet-ops-mount {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
}

.fops-gem-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}

.fops-gem-inline img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.fops-gem-inline b {
  font-weight: 800;
  color: #f4d38a;
}

/* 星区手绘场景横幅 + 节点选择图 */
.fops-sector-hero {
  position: relative;
  border-radius: 8px;
  border: 1px solid #243f50;
  background-color: #071018;
  background-size: cover;
  background-position: center;
  padding: 12px;
  overflow: hidden;
}

.fops-sector-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 16, 0.36) 0%, rgba(5, 10, 16, 0.08) 52%, rgba(5, 10, 16, 0.44) 100%);
  pointer-events: none;
}

.fops-sector-hero.is-pirate {
  border-color: #4c2d2a;
}

.fops-sector-hero > * {
  position: relative;
  z-index: 1;
}

.fops-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.fops-hero-bar h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #eef6fa;
}

.fops-hero-bar span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #9cb9c9;
}

.fops-gem-pill {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #3c3424;
  background: rgba(10, 15, 22, 0.86);
  flex-shrink: 0;
}

.fops-sector-grid {
  display: grid;
  gap: 8px 4px;
  padding: 4px 0 2px;
}

.fops-sector-grid.is-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fops-sector-grid.is-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 520px) {
  .fops-sector-grid.is-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

html body button.fops-sector-node,
html body button.fops-sector-node:hover,
html body button.fops-sector-node:active,
html body button.fops-sector-node:focus-visible,
html body button.fops-sector-node.is-selected,
html body button.fops-sector-node.is-pirate,
html body button.fops-sector-node.is-blackhole,
html body button.fops-sector-node.lg-control,
html body button.fops-sector-node.lg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px 8px;
  border-radius: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  color: #d6eaf4;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.fops-weekly-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(130, 175, 198, 0.28);
  background: rgba(10, 20, 28, 0.72);
  color: #b7d2e0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fops-weekly-btn.is-ready {
  border-color: rgba(244, 198, 92, 0.78);
  background: linear-gradient(180deg, rgba(114, 78, 24, 0.88), rgba(56, 36, 12, 0.92));
  color: #fff3cf;
  box-shadow: 0 0 12px rgba(244, 190, 78, 0.25);
}

.fops-weekly-btn.is-done {
  border-color: rgba(86, 192, 138, 0.42);
  background: rgba(16, 48, 34, 0.65);
  color: #8ee0b5;
}

.fops-weekly-btn:disabled {
  cursor: default;
  opacity: 0.72;
}

.fops-weekly-btn .fops-gem-inline {
  gap: 3px;
}

.fops-weekly-btn .fops-gem-inline img {
  width: 14px;
  height: 14px;
}

.fops-sector-node:hover {
  transform: translateY(-2px);
}

.fops-sector-node img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.fops-sector-node.is-blackhole img {
  width: 72px;
  height: 72px;
}

@media (max-width: 520px) {
  .fops-sector-node img {
    width: 60px;
    height: 60px;
  }

  .fops-sector-node.is-blackhole img {
    width: 64px;
    height: 64px;
  }
}

.fops-node-code {
  font-size: 10px;
  color: #9ec4d8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.fops-sector-node strong {
  font-size: 12px;
  font-weight: 700;
  color: #eef7fc;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.98);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.fops-sector-node em {
  font-style: normal;
  font-size: 10px;
  color: #a9cadb;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.fops-sector-node::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.16s ease;
}

.fops-sector-node.is-selected img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(114, 206, 240, 0.78));
}

.fops-sector-node.is-selected strong {
  color: #8be0ff;
}

.fops-sector-node.is-selected::after {
  background: #6cc2e2;
}

button.fops-sector-node.is-pirate {
  border: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.fops-sector-node.is-pirate .fops-node-code {
  color: #d9a094;
}

.fops-sector-node.is-pirate.is-selected img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(226, 118, 92, 0.78));
}

.fops-sector-node.is-pirate.is-selected strong {
  color: #ffb19c;
}

.fops-sector-node.is-pirate.is-selected::after {
  background: #cf725e;
}

.fops-sector-node.is-locked {
  opacity: 0.45;
}

/* 执行中的航行任务栏 */
.fops-active-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fops-active-card {
  border-radius: 7px;
  border: 1px solid #2e5d74;
  background: #0b1823;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fops-active-card[data-mode="PIRATE"] {
  border-color: #743e36;
  background: #171012;
}

.fops-active-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fops-active-code {
  font-size: 11px;
  color: #7eb6ce;
  margin-right: 6px;
}

.fops-active-head strong {
  font-size: 14px;
  color: #edf6fb;
}

.fops-active-head small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #8faebc;
}

.fops-active-timer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  color: #79d4f5;
  flex-shrink: 0;
}

.fops-active-card[data-mode="PIRATE"] .fops-active-timer {
  color: #f0a78f;
}

.fops-progress-track {
  height: 6px;
  border-radius: 3px;
  background: #060d14;
  border: 1px solid #1e3342;
  overflow: hidden;
}

.fops-progress-track i {
  display: block;
  height: 100%;
  background: #3d98bd;
  transition: width 0.35s linear;
}

.fops-active-card[data-mode="PIRATE"] .fops-progress-track i {
  background: #b85644;
}

.fops-active-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #8da8b8;
}

.fops-accel-btn {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #6b562e;
  background: #241d11;
  color: #f5dfb0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fops-accel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 结算报告与战利品面板（克制暗钢，不用荧光大背景） */
.fops-report-box {
  border-radius: 8px;
  border: 1px solid #2c5266;
  background: #09131c;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fops-report-box.is-victory {
  border-color: #7c6233;
}

.fops-report-box.is-defeat {
  border-color: #7a3a35;
}

.fops-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fops-report-head strong {
  font-size: 14px;
  color: #eef6fa;
}

.fops-report-head span {
  display: block;
  font-size: 11px;
  color: #8eaec0;
}

.fops-flag-text {
  color: #e6c26c !important;
  font-weight: 700;
}

.fops-report-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fops-close-btn,
.fops-link-btn {
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid #2b4758;
  background: #10202d;
  color: #cde3ee;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.fops-link-btn {
  border-color: #6b562e;
  background: #201a0f;
  color: #efd498;
}

.fops-warn-strip {
  padding: 6px 9px;
  border-radius: 5px;
  border: 1px solid #6b4c22;
  background: #1b1409;
  color: #e7be75;
  font-size: 12px;
}

.fops-ok-strip {
  padding: 6px 9px;
  border-radius: 5px;
  border: 1px solid #254f3d;
  background: #0c1b15;
  color: #8cd4b1;
  font-size: 12px;
}

.fops-casualty-bar {
  padding: 6px 9px;
  border-radius: 5px;
  border: 1px solid #28404f;
  background: #0d1822;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #c5dce8;
}

.fops-casualty-bar.has-loss {
  border-color: #6c3631;
  background: #190f10;
  color: #f0beb6;
}

.fops-casualty-bar small {
  font-size: 11px;
  color: #a69996;
}

.fops-res-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 460px) {
  .fops-res-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fops-res-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 4px;
  border-radius: 6px;
  border: 1px solid #1d3240;
  background: #0b1620;
}

.fops-res-row.is-compact .fops-res-cell {
  padding: 6px 4px;
}

.fops-res-cell span {
  font-size: 10px;
  color: #85a4b5;
}

.fops-res-cell b {
  font-size: 13px;
  color: #e6f3f9;
}

.fops-loot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

@media (max-width: 440px) {
  .fops-loot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fops-loot-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid #263b49;
  background: #0c1620;
}

.fops-loot-slot.is-rare {
  border-color: #346888;
}

.fops-loot-slot.is-epic {
  border-color: #735799;
}

.fops-loot-slot.is-legendary {
  border-color: #a88235;
}

.fops-loot-tag {
  font-size: 10px;
  color: #8aa8b9;
}

.fops-loot-slot.is-legendary .fops-loot-tag {
  color: #e2be6b;
}

.fops-loot-slot img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.fops-loot-slot strong {
  font-size: 12px;
  color: #e8f3f8;
  line-height: 1.25;
}

.fops-loot-slot em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #d6b877;
}

.fops-report-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #809dad;
}

/* 编队与出征控制台 */
.fops-panel {
  border-radius: 8px;
  border: 1px solid #213948;
  background: #08121b;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fops-panel-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

@media (max-width: 520px) {
  .fops-panel-row {
    grid-template-columns: 1fr;
  }
}

.fops-planet-picker {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fops-planet-picker span {
  font-size: 11px;
  color: #84a5b7;
}

.fops-planet-picker select {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid #2a4758;
  background: #0d1a26;
  color: #e4f2f8;
  font-size: 12px;
}

.fops-pity-strip {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 5px;
  border: 1px solid #1e3543;
  background: #0b1620;
}

.fops-pity-strip span {
  font-size: 11px;
  color: #9cb9c9;
}

.fops-pity-strip.is-ready {
  border-color: #8e6d2f;
  background: #1a150b;
}

.fops-pity-strip.is-ready span {
  color: #efd07f;
  font-weight: 700;
}

.fops-pips {
  display: flex;
  gap: 4px;
}

.fops-pip {
  flex: 1;
  height: 5px;
  border-radius: 2px;
  background: #172834;
}

.fops-pip.is-lit {
  background: #4ba4c7;
}

.fops-pip.is-gold.is-lit {
  background: #c99c42;
}

.fops-ladder {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.fops-ladder-cell {
  flex: 1;
  min-width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 2px;
  border-radius: 4px;
  border: 1px solid #1b2f3c;
  background: #0a141d;
  font-size: 10px;
  color: #7794a5;
}

.fops-ladder-cell i {
  font-style: normal;
  font-weight: 700;
  color: #b4cedc;
}

.fops-ladder-cell.is-done {
  opacity: 0.4;
}

.fops-ladder-cell.is-now {
  border-color: #8c6e35;
  background: #1c160c;
}

.fops-ladder-cell.is-now i {
  color: #f0ca75;
}

.fops-target-spec {
  border-radius: 6px;
  border: 1px solid #1e3442;
  background: #0b1520;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fops-target-spec.is-pirate {
  border-color: #3f2825;
  background: #140e10;
}

.fops-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fops-spec-head strong {
  font-size: 13px;
  color: #e8f4fa;
}

.fops-spec-head span {
  font-size: 11px;
  color: #88a6b7;
}

.fops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fops-tags span {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #3c2e28;
  background: #1b1414;
  color: #dec2b4;
}

/* 货舱 / 战力状态条 */
.fops-cargo-box {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #223b4a;
  background: #0a1620;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fops-cargo-box.is-short {
  border-color: #7c5b25;
}

.fops-cargo-box.is-full,
.fops-cargo-box.is-ok {
  border-color: #2b5e4d;
}

.fops-cargo-box.is-danger {
  border-color: #823c36;
}

.fops-cargo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #b7d2df;
}

.fops-cargo-head b {
  color: #f0f8fc;
}

.fops-cargo-head em {
  font-style: normal;
  font-size: 11px;
  color: #93b4c5;
}

.fops-cargo-box.is-short .fops-cargo-head em {
  color: #e5bb6b;
}

.fops-cargo-box.is-danger .fops-cargo-head em {
  color: #ea8e80;
}

.fops-cargo-box.is-ok .fops-cargo-head em,
.fops-cargo-box.is-full .fops-cargo-head em {
  color: #7fd4ab;
}

.fops-cargo-hint {
  font-size: 11px;
  color: #deb469;
}

/* 一键编组按钮 */
.fops-quick-bar {
  display: flex;
  gap: 6px;
}

.fops-quick-bar button {
  flex: 1;
  height: 30px;
  border-radius: 5px;
  border: 1px solid #274354;
  background: #0d1c28;
  color: #c2dce9;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* 舰船编组列表 */
.fops-ship-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 290px;
  overflow-y: auto;
}

.fops-ship-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #1c313f;
  background: #0b1620;
}

.fops-ship-row.is-picked {
  border-color: #3a6e87;
  background: #0f202e;
}

.fops-ship-thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
  background: #060d14;
  border: 1px solid #1a2d3a;
  flex-shrink: 0;
}

.fops-ship-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fops-ship-info strong {
  font-size: 13px;
  color: #e7f3f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fops-ship-info span {
  font-size: 11px;
  color: #84a4b6;
}

.fops-ship-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.fops-ship-ctrl button {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid #2b485a;
  background: #10212e;
  color: #d6ebf5;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.fops-ship-ctrl button.is-max {
  width: auto;
  padding: 0 7px;
  font-size: 11px;
}

.fops-ship-ctrl input {
  width: 54px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid #2b485a;
  background: #071018;
  color: #eef7fb;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.fops-empty-ships {
  padding: 14px;
  text-align: center;
  border-radius: 6px;
  border: 1px dashed #263f50;
  color: #83a3b5;
  font-size: 12px;
}

/* 主出征按钮 */
.fops-launch-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid #4c90b0;
  background: linear-gradient(180deg, #1b4d68, #113448);
  color: #f0f9fd;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.fops-launch-btn.is-free {
  border-color: #3f8f6b;
  background: linear-gradient(180deg, #1b523d, #113528);
}

.fops-launch-btn.is-pirate {
  border-color: #a65242;
  background: linear-gradient(180deg, #682921, #421814);
}

.fops-launch-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.fops-empty,
.fops-error-bar {
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #284252;
  background: #0a151f;
  color: #bdd6e3;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fops-error-bar {
  border-color: #7c3a35;
  background: #1a0f10;
  color: #efb8b0;
}

.fops-empty button {
  padding: 5px 12px;
  border-radius: 5px;
  border: 1px solid #3c6980;
  background: #122836;
  color: #e4f3fa;
  cursor: pointer;
}

/* ==========================================================================
   2026-12-02 · 远征与海盗板块分界线强化：通透轻量化 + 清晰模块分层
   ========================================================================== */
.fleet-ops-mount {
  gap: 12px;
}

.fops-weekly-panel {
  position: relative;
  padding: 0 !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 1px solid rgba(114, 188, 212, 0.28) !important;
  border-left: 3px solid #e2b458 !important;
  border-radius: 7px !important;
  background: linear-gradient(90deg, rgba(32, 28, 16, 0.56) 0%, rgba(10, 22, 32, 0.52) 48%, rgba(8, 18, 28, 0.46) 100%) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.fops-weekly-panel.has-claimable {
  border-color: rgba(244, 196, 92, 0.58) !important;
  border-left-color: #ffd36b !important;
}
.fops-weekly-toggle {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border: 0 !important;
  border-radius: 7px;
  background: transparent !important;
  color: #e8f5fa;
  text-align: left;
  cursor: pointer;
}
.fops-weekly-toggle-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fops-weekly-toggle-copy strong {
  font-size: 12px;
  font-weight: 800;
  color: #eef7fc;
}
.fops-weekly-toggle-copy span {
  font-size: 10px;
  color: #8fb4c6;
}
.fops-weekly-toggle-action {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #88d8f0;
}
.fops-weekly-panel.has-claimable .fops-weekly-toggle-action {
  color: #ffd678;
}
.fops-weekly-red-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3844;
  border: 1.5px solid #1a0608;
  box-shadow: 0 0 8px rgba(255, 56, 68, 0.92);
  pointer-events: none;
}
.fops-weekly-body {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(226, 180, 88, 0.24);
}

/* 战报 / 远征发现结果卡片：顶部金色光条与清晰边界 */
.fops-report-box {
  position: relative;
  border-radius: 8px !important;
  border: 1px solid rgba(110, 188, 214, 0.32) !important;
  border-top: 2px solid #59d8f0 !important;
  background: linear-gradient(180deg, rgba(11, 25, 38, 0.62), rgba(7, 16, 26, 0.50)) !important;
  padding: 9px 10px !important;
  gap: 7px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}
.fops-report-box.is-victory {
  border-color: rgba(218, 174, 88, 0.44) !important;
  border-top: 2px solid #f0c25e !important;
  background: linear-gradient(180deg, rgba(30, 24, 14, 0.56), rgba(9, 17, 26, 0.50)) !important;
}
.fops-casualty-bar,
.fops-warn-strip,
.fops-ok-strip {
  padding: 5px 8px !important;
  border-radius: 5px;
  background: rgba(24, 16, 16, 0.38) !important;
  border-color: rgba(186, 118, 96, 0.3) !important;
  font-size: 11px !important;
}
.fops-loot-grid {
  gap: 6px !important;
}
.fops-loot-slot {
  padding: 6px 4px !important;
  gap: 2px !important;
  border-radius: 6px;
  border: 1px solid rgba(110, 178, 202, 0.24) !important;
  background: rgba(10, 22, 34, 0.36) !important;
}
.fops-loot-slot.is-legendary {
  border-color: rgba(218, 172, 74, 0.58) !important;
  background: rgba(34, 26, 10, 0.36) !important;
}
.fops-loot-slot img {
  width: 30px !important;
  height: 30px !important;
}
.fops-loot-slot strong {
  font-size: 11px !important;
}
.fops-loot-slot em,
.fops-loot-tag {
  font-size: 10px !important;
}

/* 出征配置主面板：清晰顶部战术分界线 + 半透玻璃承载层 + 子板块分割线 */
.fops-panel {
  position: relative;
  border: 1px solid rgba(104, 182, 210, 0.28) !important;
  border-top: 2px solid rgba(86, 212, 240, 0.65) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(10, 23, 35, 0.62) 0%, rgba(6, 14, 22, 0.48) 100%) !important;
  padding: 10px 10px 12px !important;
  gap: 10px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}
.fops-panel.is-pirate-panel,
.fops-sector-hero.is-pirate ~ .fops-panel {
  border-color: rgba(192, 114, 96, 0.3) !important;
  border-top-color: rgba(236, 126, 94, 0.72) !important;
}

/* 板块内子区块清晰分隔：目标情报 / 货舱战力 / 快捷编组 / 舰船清单 */
.fops-target-spec {
  padding: 8px 9px !important;
  border-radius: 6px;
  border: 1px solid rgba(104, 176, 202, 0.24) !important;
  border-left: 3px solid #52cde8 !important;
  background: rgba(8, 22, 34, 0.44) !important;
}
.fops-sector-hero.is-pirate ~ .fops-panel .fops-target-spec {
  border-color: rgba(196, 114, 94, 0.28) !important;
  border-left-color: #e47858 !important;
  background: rgba(24, 15, 18, 0.42) !important;
}
.fops-cargo-box,
.fops-pity-strip {
  padding: 7px 9px !important;
  border-radius: 6px;
  border: 1px solid rgba(104, 176, 202, 0.24) !important;
  background: rgba(8, 20, 30, 0.42) !important;
}
.fops-quick-row {
  padding-top: 8px;
  border-top: 1px dashed rgba(114, 188, 214, 0.22);
}
.fops-preset-bar {
  margin-top: 2px;
  padding: 8px 9px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(212, 174, 92, 0.26) !important;
  border-left: 3px solid #dfb456 !important;
  background: rgba(18, 20, 24, 0.46) !important;
}
.fops-ship-list {
  padding-top: 8px;
  border-top: 1px solid rgba(110, 184, 212, 0.24);
  gap: 6px;
}
.fops-ship-row {
  border: 1px solid rgba(100, 172, 198, 0.2) !important;
  background: rgba(8, 19, 29, 0.48) !important;
}
.fops-ship-row.is-picked {
  border-color: rgba(94, 216, 240, 0.56) !important;
  background: rgba(14, 38, 52, 0.56) !important;
}
.fops-res-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 5px !important;
}
.fops-res-cell,
.fops-res-row.is-compact .fops-res-cell {
  padding: 5px 3px !important;
  border-radius: 5px;
  border: 1px solid rgba(102, 176, 202, 0.2) !important;
  background: rgba(10, 24, 34, 0.34) !important;
}
.fops-res-cell b {
  font-size: 12px !important;
}
.fops-planet-picker select {
  height: 30px !important;
  background: rgba(10, 24, 34, 0.54) !important;
  border-color: rgba(104, 176, 202, 0.32) !important;
}
