/* ============================================================
   PC 端版面美化覆盖层 v1（只动样式，不动功能/结构/交互）
   生效范围：仅桌面端（min-width:900px）；手机端完全不受影响
   覆盖点：顶栏 / 左侧导航 / 底图卡 / 底部统计卡 / 右侧圆形钮 / 缩放控件 / 字体
   回滚：删除本文件与 index.html 中对应 <link> 即可
   ============================================================ */
@media (min-width: 900px) {
  /* ---------- 全局字体：统一现代字体栈，抗锯齿 ---------- */
  body, button, input, select, textarea {
    font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* ---------- 顶栏：渐变深海蓝 + 轻阴影，按钮统一 ---------- */
  #topbar {
    height: 52px;
    background: linear-gradient(180deg, #1667c7 0%, #1257b0 100%);
    box-shadow: 0 2px 10px rgba(2, 12, 27, .25);
    padding: 0 16px;
  }
  #topbar .title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(2, 12, 27, .35);
  }
  #topbar .top-icons { gap: 8px; }
  #topbar .topicon {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .12s, box-shadow .15s;
    box-shadow: none;
  }
  #topbar .topicon:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
  #topbar .topicon:active { transform: scale(.94); }
  #topbar .clock {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .92);
    letter-spacing: .5px;
    padding: 0 10px;
    font-variant-numeric: tabular-nums;
  }

  /* ---------- 顶部态势/台账按钮（动态生成，统一样式） ---------- */
  #sit-fab,
  button[id*="il-"][class*="sit"],
  .sit-btn {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: background .15s;
  }
  #sit-fab:hover { background: rgba(255, 255, 255, .28); }
  .sit-badge {
    background: #f87171;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 7px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(248, 113, 113, .55);
  }

  /* ---------- 左侧导航：清爽浅色指挥台（覆盖 v503 深蓝科技风） ---------- */
  #sidebar {
    background:
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-right: 1px solid #e2e8f0;
    box-shadow: 3px 0 14px rgba(15, 23, 42, .05);
  }
  #sidebar::before { display: none; }
  #sidebar .nav-group {
    color: #1565c0;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 16px 18px 6px;
    text-shadow: none;
  }
  #sidebar .nav-group::after {
    background: linear-gradient(90deg, #bfdbfe, transparent);
    opacity: .8;
  }
  #sidebar .navbtn {
    color: #334155;
    margin: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid transparent;
    transition: background .15s, color .15s, box-shadow .15s;
  }
  #sidebar .navbtn:hover {
    background: #eef4ff;
    color: #1565c0;
    box-shadow: inset 2px 0 0 #93c5fd;
  }
  #sidebar .navbtn.active {
    background: linear-gradient(135deg, #1565c0, #1d7fe0);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(21, 101, 192, .30);
    text-shadow: none;
  }
  #sidebar .navbtn.active::before { display: none; }
  #sidebar .navbtn.active:hover { background: linear-gradient(135deg, #1565c0, #1d7fe0); color: #fff; }
  #sidebar .navbtn .badge {
    background: #e8f1fe;
    color: #1565c0;
    border: 1px solid #bcd6fb;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11.5px;
  }
  #sidebar .navbtn.active .badge { background: rgba(255, 255, 255, .22); color: #fff; border-color: rgba(255, 255, 255, .35); }
  #sidebar .guard-badge {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
  }
  #sidebar .guard-badge.off { color: #dc2626; background: #fef2f2; border-color: #fecaca; }

  /* ---------- 底图卡（海图/自动离线在线 + 下载离线海图）：白卡 ---------- */
  .basemap-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
  }
  .bm-t { color: #0f172a; font-size: 13.5px; font-weight: 800; }
  .bm-seg { background: #eef2f7; border: 1px solid transparent; border-radius: 9px; }
  .bm-seg button { color: #64748b; font-size: 12px; font-weight: 600; }
  .bm-seg button.on {
    background: linear-gradient(135deg, #1565c0, #1d7fe0);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(21, 101, 192, .30);
  }
  .bm-bot { gap: 7px; margin-top: 11px; }
  .bm-dl {
    background: #e8f1fe;
    border: 1px solid #bcd6fb;
    color: #1565c0;
    font-weight: 700;
    border-radius: 10px;
  }
  .bm-dl:hover { background: #d6e6fd; border-color: #9cc4f7; }
  .bm-st { color: #94a3b8; font-size: 11.5px; }

  /* ---------- 底部渔船分类统计条（PC 专用，替换分区统计卡；同 905 分类口径） ---------- */
  #zonecards { display: none !important; }
  #pc-statdock {
    position: absolute;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 500;
    display: flex;
    gap: 8px;
  }
  #pc-statdock .pst {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 12px;
    padding: 9px 10px 7px;
    box-shadow: 0 4px 16px rgba(2, 12, 27, .14);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
    color: #0f172a;
  }
  #pc-statdock .pst:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(2, 12, 27, .20); }
  #pc-statdock .pst-n {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  #pc-statdock .pst-l {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-top: 4px;
    white-space: nowrap;
  }
  /* 分类色（与船标定稿配色一致：A绿 / C小蓝 / 外市橙 / 外镇紫 / 养殖黄 / 重点关注红 / 白名单绿） */
  #pc-statdock .pst-a .pst-n { color: #16a34a; }
  #pc-statdock .pst-c .pst-n { color: #0ea5e9; }
  #pc-statdock .pst-o .pst-n { color: #f59e0b; }
  #pc-statdock .pst-t .pst-n { color: #7c3aed; }
  #pc-statdock .pst-aq .pst-n { color: #d97706; }
  #pc-statdock .pst-f .pst-n { color: #dc2626; }
  #pc-statdock .pst-w .pst-n { color: #15803d; }
  /* 二级子卡（A社员/非社员、C大/中/小）：悬浮展开 */
  #pc-statdock .pst-sub {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    padding: 5px;
    gap: 6px;
    z-index: 40;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(2, 12, 27, .35);
    border: 1px solid rgba(255, 255, 255, .35);
  }
  #pc-statdock .pst.open .pst-sub { display: flex; }
  #pc-statdock .pst-sub.pst-a { background: linear-gradient(180deg, #86efac, #22c55e); }
  #pc-statdock .pst-sub.pst-c { background: linear-gradient(180deg, #7dd3fc, #38bdf8); }
  #pc-statdock .pst-cell {
    border-radius: 9px;
    padding: 6px 12px;
    text-align: center;
    min-width: 66px;
    background: rgba(255, 255, 255, .30);
    border: 1px solid transparent;
    cursor: pointer;
  }
  #pc-statdock .pst-cell:hover { background: rgba(255, 255, 255, .55); }
  #pc-statdock .pst-cell b { display: block; font-size: 17px; font-weight: 800; color: #0b1d3a; line-height: 1; font-variant-numeric: tabular-nums; }
  #pc-statdock .pst-cell span { display: block; margin-top: 3px; font-size: 10px; font-weight: 700; color: #15203a; white-space: nowrap; }

  /* ---------- 右侧圆形功能钮：统一尺寸/渐变/阴影 ---------- */
  #lg-fab, #dt-fab, #guard-fab, #ev-fab {
    border: 0;
    background: linear-gradient(145deg, #1d8ff0, #1565c0);
    box-shadow: 0 8px 20px rgba(21, 101, 192, .40), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .15s, box-shadow .15s, filter .15s;
    color: #fff;
  }
  #lg-fab:hover, #dt-fab:hover, #guard-fab:hover, #ev-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(21, 101, 192, .48), inset 0 1px 0 rgba(255, 255, 255, .25);
    filter: brightness(1.06);
  }
  #lg-fab:active, #dt-fab:active, #guard-fab:active, #ev-fab:active { transform: scale(.93); }
  #lg-fab.active {
    background: linear-gradient(145deg, #0ea5e9, #0369a1);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .30), 0 8px 20px rgba(14, 165, 233, .45);
  }
  #guard-fab.on { background: linear-gradient(145deg, #22c55e, #15803d); }
  #guard-fab.rec { background: linear-gradient(145deg, #ef4444, #991b1b); }

  /* ---------- 缩放控件：统一白底圆角 ---------- */
  .leaflet-control-zoom {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(2, 12, 27, .22) !important;
    overflow: hidden;
  }
  .leaflet-control-zoom a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 20px !important;
    color: #334155 !important;
    border: none !important;
    background: rgba(255, 255, 255, .94) !important;
  }
  .leaflet-control-zoom a:hover { background: #eef4ff !important; color: #1565c0 !important; }
  .leaflet-control-zoom a.leaflet-disabled { color: #cbd5e1 !important; }

  /* ---------- 左上角工具胶囊（若有）：统一 ---------- */
  .mt-fab {
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
    border: 1px solid #e2e8f0;
  }
}

/* ================= v705 PC 分区选择条 + 底部态势栏深色化/收窄 ================= */
#pc-zonebar {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 520;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(6, 16, 34, .82);
  border: 1px solid rgba(148, 163, 184, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(2, 12, 27, .35);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
#pc-zonebar.zb-locked { cursor: default; }
#pc-zonebar .pc-zb-handle { display: flex; align-items: center; gap: 4px; }
#pc-zonebar .pc-zb-title { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 1px; }
#pc-zonebar .pc-zb-lock {
  border: 0; background: transparent; color: #94a3b8; font-size: 14px; cursor: pointer; padding: 2px 4px; border-radius: 6px;
}
#pc-zonebar .pc-zb-lock:hover { background: rgba(255,255,255,.12); color: #e2e8f0; }
#pc-zonebar .pc-zb-lock.locked { color: #38bdf8; }
#pc-zonebar .pc-zb-cells { display: flex; gap: 6px; }
#pc-zonebar .pc-zb-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; padding: 4px 8px 3px; border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(148, 163, 184, .18);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
#pc-zonebar .pc-zb-cell:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
#pc-zonebar .pc-zb-cell b { font-size: 17px; font-weight: 800; line-height: 1.05; color: var(--zc, #e2e8f0); font-variant-numeric: tabular-nums; }
#pc-zonebar .pc-zb-cell span { font-size: 11px; font-weight: 600; color: #cbd5e1; margin-top: 2px; white-space: nowrap; }

/* 底部态势栏：收窄居中 + 深色底（不再全宽铺白） */
#pc-statdock {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  max-width: 1240px;
  width: max-content;
}
#pc-statdock .pst {
  background: rgba(10, 22, 44, .88);
  border: 1px solid rgba(148, 163, 184, .22);
  color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(2, 12, 27, .30);
}
#pc-statdock .pst:hover { box-shadow: 0 8px 22px rgba(2, 12, 27, .42); }
#pc-statdock .pst-l { color: #94a3b8; }
#pc-statdock .pst-inv .pst-n { color: #f97316; }
#pc-statdock .pst-net .pst-n { color: #22d3ee; }
#pc-statdock .pst-sub.pst-net { background: linear-gradient(180deg, #164e63, #0e7490); }
#pc-statdock .pst-cell b { color: #f1f5f9; }
#pc-statdock .pst-cell span { color: #cbd5e1; }

/* ================= v713 深色科技感（覆盖浅色记录仪风；仅 PC 端容器） ================= */
@media (min-width: 900px) {
  #topbar {
    background: linear-gradient(90deg, #08121f 0%, #0c2440 45%, #0a1e36 100%);
    border-bottom: 1px solid rgba(56,189,248,.38);
    box-shadow: 0 2px 18px rgba(2,132,199,.28), inset 0 -1px 0 rgba(255,255,255,.05);
  }
  #topbar .title {
    color: #e6f4ff; text-shadow: 0 0 14px rgba(56,189,248,.55); letter-spacing: .5px;
  }
  #topbar .topicon { color: #c3dcf6; background: rgba(56,189,248,.06); border: 1px solid rgba(56,189,248,.18); }
  #topbar .topicon:hover { background: rgba(56,189,248,.18); color: #fff; box-shadow: 0 0 12px rgba(56,189,248,.35); }
  #topbar .clock { color: #a8c8ea; }

  #sidebar {
    background: linear-gradient(180deg, #0a1524 0%, #0c1f38 55%, #0a1a30 100%);
    border-right: 1px solid rgba(56,189,248,.22);
    box-shadow: inset -1px 0 0 rgba(255,255,255,.04);
  }
  #sidebar .nav-group {
    color: #67d1fb; border-bottom-color: rgba(56,189,248,.22);
    text-shadow: 0 0 10px rgba(56,189,248,.45); font-weight: 700;
  }
  #sidebar .navbtn {
    color: #c9e2f8; background: rgba(255,255,255,.02);
    border: 1px solid transparent; border-radius: 8px;
  }
  #sidebar .navbtn:hover {
    background: rgba(56,189,248,.12); color: #fff;
    border-color: rgba(56,189,248,.3); box-shadow: 0 0 10px rgba(56,189,248,.18);
  }
  #sidebar .navbtn.active {
    background: linear-gradient(135deg, #0d4fa8, #1d7fe0);
    color: #fff; border-color: rgba(125,211,252,.55);
    box-shadow: 0 0 16px rgba(29,127,224,.5);
  }
  #sidebar .navbtn .badge { background: rgba(56,189,248,.16); color: #bfe7ff; border-color: rgba(56,189,248,.35); }
  #sidebar .navbtn.active .badge { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.4); }
  #sidebar .basemap-card { background: rgba(255,255,255,.03); border: 1px solid rgba(56,189,248,.2); }
  #sidebar .basemap-card .bm-t { color: #8fd6ff; }
  #sidebar .basemap-card .bm-seg button { color: #b8d6f3; background: rgba(56,189,248,.08); border-color: rgba(56,189,248,.25); }
  #sidebar .basemap-card .bm-seg button.on { background: linear-gradient(135deg,#0d4fa8,#1d7fe0); color:#fff; border-color:#7dd3fc; box-shadow:0 0 10px rgba(56,189,248,.4); }

  /* 底部浏览器标签式卡槽：一条轨道，卡片镶在槽里可横滑 */
  #pc-statdock {
    left: 96px; right: 96px;
    background: linear-gradient(180deg, rgba(8,18,34,.96), rgba(11,26,46,.96));
    border: 1px solid rgba(56,189,248,.35);
    border-radius: 14px;
    box-shadow: 0 -4px 24px rgba(2,132,199,.35), inset 0 1px 0 rgba(255,255,255,.06);
    padding: 7px 10px;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: thin; scrollbar-color: rgba(56,189,248,.4) transparent;
    backdrop-filter: blur(8px);
    display: flex; gap: 6px; align-items: stretch;
  }
  #pc-statdock .pst {
    flex: 0 0 auto; min-width: 92px;
    background: rgba(24,48,80,.55);
    border: 1px solid rgba(94,158,220,.32);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  }
  #pc-statdock .pst:hover {
    border-color: #38bdf8; box-shadow: 0 0 12px rgba(56,189,248,.4);
    transform: translateY(-2px);
  }
  #pc-statdock .pst.open {
    border-color: #7dd3fc; box-shadow: 0 0 14px rgba(56,189,248,.5), inset 0 0 0 1px rgba(125,211,252,.25);
  }
  #pc-statdock .pst-n { color: #fff !important; text-shadow: 0 0 10px rgba(56,189,248,.55); font-weight: 800; }
  #pc-statdock .pst-l { color: #a9c9ea !important; font-weight: 600; }
  #pc-statdock .pst-a .pst-n { color: #4ade80 !important; text-shadow: 0 0 10px rgba(74,222,128,.45); }
  #pc-statdock .pst-c .pst-n { color: #38bdf8 !important; text-shadow: 0 0 10px rgba(56,189,248,.5); }
  #pc-statdock .pst-o .pst-n { color: #fbbf24 !important; }
  #pc-statdock .pst-t .pst-n { color: #c084fc !important; }
  #pc-statdock .pst-aq .pst-n { color: #facc15 !important; }
  #pc-statdock .pst-inv .pst-n { color: #fb923c !important; }
  #pc-statdock .pst-net .pst-n { color: #22d3ee !important; }
  #pc-statdock .pst-f .pst-n { color: #f87171 !important; }
  #pc-statdock .pst-w .pst-n { color: #4ade80 !important; }
  #pc-statdock .pst-sub {
    background: #0b2138 !important; border: 1px solid rgba(56,189,248,.28); border-radius: 8px;
  }
  #pc-statdock .pst-sub.pst-a { background: linear-gradient(180deg,#0a2a1c,#0c3a28) !important; }
  #pc-statdock .pst-sub.pst-c { background: linear-gradient(180deg,#0a2440,#0d2f58) !important; }
  #pc-statdock .pst-sub.pst-net { background: linear-gradient(180deg,#082a36,#0a3a4a) !important; }
  #pc-statdock .pst-cell { border-radius: 6px; }
  #pc-statdock .pst-cell:hover { background: rgba(56,189,248,.14); }
  #pc-statdock .pst-cell b { color: #fff !important; text-shadow: 0 0 8px rgba(56,189,248,.4); }
  #pc-statdock .pst-cell span { color: #b9d7f5 !important; }

  /* 分类二级抽屉 */
  #fleet-drawer {
    position: fixed; left: 78px; top: 56px; bottom: 132px; width: 300px; z-index: 1300;
    background: linear-gradient(180deg, rgba(9,18,33,.97), rgba(11,26,46,.97));
    border: 1px solid rgba(56,189,248,.35); border-radius: 12px;
    box-shadow: 0 8px 30px rgba(2,132,199,.35);
    display: none; flex-direction: column; overflow: hidden;
    backdrop-filter: blur(8px);
  }
  #fleet-drawer.open { display: flex; }
  #fleet-drawer .fd-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-bottom: 1px solid rgba(56,189,248,.25);
  }
  #fleet-drawer .fd-title { color: #e6f4ff; font-weight: 800; font-size: 15px; text-shadow: 0 0 10px rgba(56,189,248,.4); }
  #fleet-drawer .fd-close {
    width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(56,189,248,.3);
    background: rgba(56,189,248,.08); color: #bfe0fb; font-size: 15px; line-height: 1; cursor: pointer;
  }
  #fleet-drawer .fd-close:hover { background: rgba(248,113,113,.25); color: #fff; border-color: #f87171; }
  #fleet-drawer .fd-search {
    margin: 8px 10px; padding: 7px 10px; border-radius: 8px;
    border: 1px solid rgba(56,189,248,.3); background: rgba(255,255,255,.05); color: #e6f4ff; font-size: 13px; outline: none;
  }
  #fleet-drawer .fd-search:focus { border-color: #38bdf8; box-shadow: 0 0 8px rgba(56,189,248,.3); }
  #fleet-drawer .fd-list { flex: 1; overflow-y: auto; padding: 2px 6px 8px; }
  #fleet-drawer .fd-item {
    padding: 8px 10px; margin: 3px 2px; border-radius: 8px; cursor: pointer;
    background: rgba(255,255,255,.03); border: 1px solid rgba(94,158,220,.18);
  }
  #fleet-drawer .fd-item:hover { background: rgba(56,189,248,.14); border-color: rgba(56,189,248,.45); box-shadow: 0 0 8px rgba(56,189,248,.2); }
  #fleet-drawer .fd-i-top { display: flex; justify-content: space-between; align-items: baseline; }
  #fleet-drawer .fd-i-top b { color: #fff; font-size: 14px; }
  #fleet-drawer .fd-st { font-size: 11px; font-weight: 700; }
  #fleet-drawer .fd-i-sub { margin-top: 3px; color: #93b5dc; font-size: 11px; }
  #fleet-drawer .fd-empty { color: #7fa8d0; text-align: center; padding: 24px 0; font-size: 13px; }
  #fleet-drawer .fd-foot {
    padding: 7px 12px; border-top: 1px solid rgba(56,189,248,.2);
    color: #79b8ee; font-size: 11px; text-align: center;
  }
}

/* ===== v714 货·合作分成 + 社员审核 面板（深色科技风） ===== */
#cargo-panel, #idr-panel {
  position: fixed; left: 78px; top: 56px; bottom: 132px; width: 560px; max-width: calc(100vw - 120px);
  z-index: 1290; display: none; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(9,18,33,.98), rgba(11,26,46,.98));
  border: 1px solid rgba(56,189,248,.35); border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2,132,199,.35); backdrop-filter: blur(8px);
}
#cargo-panel.open, #idr-panel.open { display: flex; }
#cargo-panel .cp-head, #idr-panel .cp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px solid rgba(56,189,248,.25);
}
#cargo-panel .cp-head b, #idr-panel .cp-head b { color: #e6f4ff; font-size: 15px; text-shadow: 0 0 10px rgba(56,189,248,.4); }
#cargo-panel .cp-x, #idr-panel .cp-x {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(56,189,248,.3);
  background: rgba(56,189,248,.08); color: #bfe0fb; font-size: 15px; line-height: 1; cursor: pointer;
}
#cargo-panel .cp-x:hover, #idr-panel .cp-x:hover { background: rgba(248,113,113,.25); color: #fff; border-color: #f87171; }
#cargo-panel .cp-tabs { display: flex; gap: 6px; padding: 8px 10px 0; }
#cargo-panel .cp-tab {
  padding: 6px 14px; border-radius: 8px 8px 0 0; cursor: pointer;
  background: rgba(255,255,255,.03); color: #9fc4e8; border: 1px solid rgba(94,158,220,.2); font-size: 13px;
}
#cargo-panel .cp-tab.on { background: rgba(56,189,248,.16); color: #fff; border-color: rgba(56,189,248,.45); box-shadow: 0 0 10px rgba(56,189,248,.25); }
#cargo-panel .cp-tool { padding: 8px 10px; display: flex; justify-content: flex-end; }
#cargo-panel #cp-addbtn, .cp-ok {
  padding: 6px 14px; border-radius: 8px; cursor: pointer;
  background: linear-gradient(135deg,#0d4fa8,#1d7fe0); color: #fff;
  border: 1px solid rgba(125,211,252,.5); box-shadow: 0 0 10px rgba(56,189,248,.3); font-size: 13px;
}
#cargo-panel .cp-body, #idr-panel .cp-body { flex: 1; overflow: auto; padding: 4px 10px 10px; }
#cargo-panel .cp-tb { width: 100%; border-collapse: collapse; font-size: 12px; }
#cargo-panel .cp-tb th {
  background: rgba(56,189,248,.1); color: #bfe7ff; padding: 7px 8px; text-align: left;
  border-bottom: 1px solid rgba(56,189,248,.25); position: sticky; top: 0; white-space: nowrap;
}
#cargo-panel .cp-tb td { padding: 6px 8px; color: #cfe3f7; border-bottom: 1px solid rgba(255,255,255,.04); }
#cargo-panel .cp-tb tr:hover td { background: rgba(56,189,248,.07); }
#cargo-panel .cp-empty, #idr-panel .cp-empty { color: #7fa8d0; text-align: center; padding: 26px 0; font-size: 13px; }
#cargo-panel .cp-form { padding: 0 10px 10px; border-top: 1px dashed rgba(56,189,248,.25); }
#cargo-panel .cp-fwrap { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; }
#cargo-panel .cp-frow { display: flex; flex-direction: column; width: 150px; }
#cargo-panel .cp-frow label { color: #9fc4e8; font-size: 11px; margin-bottom: 3px; }
#cargo-panel .cp-frow input {
  padding: 6px 8px; border-radius: 7px; font-size: 12px; color: #e6f4ff;
  border: 1px solid rgba(56,189,248,.3); background: rgba(255,255,255,.05); outline: none;
}
#cargo-panel .cp-frow input:focus { border-color: #38bdf8; box-shadow: 0 0 8px rgba(56,189,248,.3); }
#cargo-panel .cp-fbtns { display: flex; gap: 8px; width: 100%; padding: 6px 0; }
#cargo-panel .cp-cancel, .idr-btns .cp-cancel {
  padding: 6px 14px; border-radius: 8px; cursor: pointer; font-size: 13px;
  background: rgba(255,255,255,.06); color: #cfe3f7; border: 1px solid rgba(94,158,220,.35);
}
#idr-panel .cp-tip { color: #79b8ee; font-size: 12px; padding: 8px 4px; }
#idr-panel .idr-item {
  padding: 9px 10px; margin: 4px 0; border-radius: 8px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(94,158,220,.2);
}
#idr-panel .idr-top { display: flex; justify-content: space-between; align-items: baseline; }
#idr-panel .idr-top b { color: #fff; font-size: 14px; }
#idr-panel .idr-line { color: #a9c9ea; font-size: 12px; margin-top: 3px; }
#idr-panel .idr-btns { display: flex; gap: 8px; margin-top: 8px; }
