/* ===================================================================
   甯冨眬涓庡煙瀹氬埗灞?(UI 缁勪欢鐢?Element Plus 鎻愪緵, 鏆楄壊: html.dark + EP dark vars)
   =================================================================== */
:root {
  --bg: #0d1117; --panel: #161b22; --panel2: #1c2330; --border: #2d333b;
  --text: #e6edf3; --muted: #8b949e; --accent: #3fb950; --blue: #58a6ff;
  --warn: #d29922; --danger: #f85149; --purple: #bc8cff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
}
a { color: var(--blue); text-decoration: none; }

/* ===================================================================
   1103 娼睈鎺у埗瀹?路 鍏ㄧ珯璁捐绯荤粺(绗竴鎵?
   鍙敼瑙嗚灞? 棰滆壊/鍦嗚/闃村奖/Element Plus 鍙橀噺, 涓嶆敼涓氬姟閫昏緫
   =================================================================== */
:root {
  --bg: #050c16;
  --panel: rgba(10, 22, 36, .78);
  --panel2: rgba(14, 30, 47, .86);
  --border: rgba(148, 163, 184, .14);
  --text: #e6f1f8;
  --muted: #8da4b6;
  --accent: #2dd4bf;
  --blue: #38bdf8;
  --warn: #fbbf24;
  --danger: #fb7185;
  --purple: #a78bfa;
  --tide-radius: 14px;
  --tide-shadow: 0 18px 50px rgba(0, 0, 0, .32);
}
html.dark {
  --el-color-primary: #2dd4bf;
  --el-color-primary-light-3: #5eead4;
  --el-color-primary-light-5: #99f6e4;
  --el-color-primary-light-7: rgba(45, 212, 191, .45);
  --el-color-primary-light-8: rgba(45, 212, 191, .25);
  --el-color-primary-light-9: rgba(45, 212, 191, .10);
  --el-color-primary-dark-2: #14b8a6;
  --el-color-success: #34d399;
  --el-color-success-light-3: #6ee7b7;
  --el-color-success-light-5: #a7f3d0;
  --el-color-success-light-7: rgba(52, 211, 153, .40);
  --el-color-success-light-8: rgba(52, 211, 153, .22);
  --el-color-success-light-9: rgba(52, 211, 153, .09);
  --el-color-warning: #fbbf24;
  --el-color-warning-light-3: #fcd34d;
  --el-color-warning-light-5: #fde68a;
  --el-color-warning-light-7: rgba(251, 191, 36, .40);
  --el-color-warning-light-8: rgba(251, 191, 36, .22);
  --el-color-warning-light-9: rgba(251, 191, 36, .09);
  --el-color-danger: #fb7185;
  --el-color-danger-light-3: #fda4af;
  --el-color-danger-light-5: #fecdd3;
  --el-color-danger-light-7: rgba(251, 113, 133, .40);
  --el-color-danger-light-8: rgba(251, 113, 133, .22);
  --el-color-danger-light-9: rgba(251, 113, 133, .09);
  --el-color-info: #94a3b8;
  --el-bg-color-page: #050c16;
  --el-bg-color: #0a1622;
  --el-bg-color-overlay: #0d1b2a;
  --el-fill-color-blank: #0a1622;
  --el-fill-color-light: rgba(148, 163, 184, .06);
  --el-fill-color-lighter: rgba(148, 163, 184, .04);
  --el-fill-color-dark: rgba(0, 0, 0, .24);
  --el-border-color: rgba(148, 163, 184, .16);
  --el-border-color-light: rgba(148, 163, 184, .12);
  --el-border-color-lighter: rgba(148, 163, 184, .09);
  --el-border-color-extra-light: rgba(148, 163, 184, .06);
  --el-text-color-primary: #e6f1f8;
  --el-text-color-regular: #c3d4e0;
  --el-text-color-secondary: #8da4b6;
  --el-text-color-placeholder: #5f788c;
  --el-text-color-disabled: #4a5d6d;
  --el-border-radius-base: 10px;
  --el-border-radius-small: 8px;
  --el-box-shadow-light: 0 12px 34px rgba(0, 0, 0, .35);
  --el-mask-color: rgba(2, 8, 15, .72);
}
body {
  background:
    radial-gradient(1100px 700px at 8% -10%, rgba(45, 212, 191, .07), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(56, 189, 248, .05), transparent 55%),
    #050c16;
  background-attachment: fixed;
  color: var(--text);
}
.el-card {
  --el-card-bg-color: rgba(10, 22, 36, .72);
  --el-card-border-color: var(--border);
  border-radius: var(--tide-radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(13, 27, 44, .82), rgba(7, 16, 28, .78));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}
.el-card__header { border-bottom: 1px solid var(--border); }
.el-button { border-radius: 9px; font-weight: 500; }
.el-button--primary:not(.is-plain):not(.is-text) {
  border: 0; color: #03151a;
  background: linear-gradient(135deg, #5eead4, #38bdf8);
  box-shadow: 0 8px 20px rgba(56, 189, 248, .18);
}
.el-button--primary:not(.is-plain):not(.is-text):hover { filter: brightness(1.05); }
.el-button.is-plain { background: rgba(148, 163, 184, .04); }
.el-input__wrapper, .el-textarea__inner, .el-select__wrapper {
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, .16) inset;
  border-radius: 9px;
}
.el-input__wrapper.is-focus, .el-select__wrapper.is-focused {
  box-shadow: 0 0 0 1px rgba(94, 234, 212, .70) inset, 0 0 0 3px rgba(45, 212, 191, .10);
}
.el-table {
  --el-table-bg-color: transparent;
  --el-table-tr-bg-color: transparent;
  --el-table-header-bg-color: rgba(148, 163, 184, .05);
  --el-table-row-hover-bg-color: rgba(45, 212, 191, .06);
  --el-table-border-color: rgba(148, 163, 184, .10);
  border-radius: 12px;
}
.el-table th.el-table__cell { color: #8da4b6; font-weight: 600; }
.el-empty { padding: 24px 0; }
.el-empty__image { width: 86px !important; max-width: 86px; opacity: .38; }
.el-empty__description { color: #6f8ba0; font-size: 12.5px; }
.el-dialog {
  border-radius: 18px;
  border: 1px solid rgba(94, 234, 212, .14);
  background: linear-gradient(165deg, rgba(13, 27, 44, .98), rgba(6, 15, 27, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.el-dialog__header { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.el-tag { border-radius: 999px; }
.el-tabs__item.is-active { color: #5eead4; }
.el-tabs__active-bar { background: linear-gradient(90deg, #2dd4bf, #38bdf8); }
.el-pagination { --el-pagination-bg-color: transparent; --el-pagination-button-bg-color: rgba(148, 163, 184, .06); }
.el-message, .el-message-box { border-radius: 12px; border: 1px solid var(--border); background: #0d1b2a; }
.el-dropdown-menu { background: #0d1b2a; border: 1px solid var(--border); }

/* ---- 椤舵爮 ---- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  height: 64px; padding: 0 24px;
  border-bottom: 1px solid rgba(148, 163, 184, .10);
  position: sticky; top: 0; z-index: 30;
  background: rgba(5, 12, 22, .72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, .35), transparent);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, .16), 0 8px 20px rgba(0, 0, 0, .30);
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .10em; line-height: 1.2; }
.brand-text i { display: block; font-style: normal; font-size: 8px; letter-spacing: .22em; color: #5f8a9b; margin-top: 2px; }
.topbar .crumb { color: #7f97a9; font-size: 12px; border-left: 1px solid rgba(148, 163, 184, .14); padding-left: 14px; }
.topbar .spacer { flex: 1; }
.topnav-btn { color: #9fb3c4 !important; border-radius: 9px !important; padding: 7px 10px !important; }
.topnav-btn:hover { color: #5eead4 !important; background: rgba(45, 212, 191, .08) !important; }
.user-chip {
  display: flex; align-items: center; gap: 7px; padding: 4px 10px 4px 5px;
  border: 1px solid rgba(148, 163, 184, .12); border-radius: 999px;
  background: rgba(148, 163, 184, .04);
}
.avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #03151a;
  background: linear-gradient(135deg, #5eead4, #38bdf8);
}
.user-name { font-size: 12.5px; color: #c3d4e0; }
.ws-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); display: inline-block; }
.ws-dot.on { background: var(--accent); box-shadow: 0 0 0 4px rgba(45, 212, 191, .10), 0 0 12px rgba(45, 212, 191, .70); }

/* 鍔ㄦ€侀〉: 浠跨鐞嗙宸︿晶鑿滃崟(1103) */
.live-view { display: flex; gap: 18px; align-items: flex-start; }
.live-side { width: 190px; flex: none; position: sticky; top: 84px; }
.live-side .admin-menu { max-height: calc(100vh - 120px); overflow-y: auto; }
.live-main { flex: 1; min-width: 0; }

/* 閰嶇疆椤垫爣绛惧惛椤?1030m): 鍐呭鍦╬ane鍐卻ticky鏈夋晥; card鏀惧紑鍓; 鏉″璐村悎card(婊氬姩鍐呭鍚屽垪) */
.cfg-main-card { overflow: visible; }
.cfg-main-card > .el-card__body { overflow: visible; }   /* EP榛樿auto浼氭妸婊氬姩閿佸湪鍗″唴, sticky澶辨晥 */
.cfg-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cfg-tabs > .el-tabs__header {
  position: sticky; top: 64px; z-index: 9;
  background: var(--el-card-bg-color, var(--panel2));
  width: calc(100% + 40px); margin: 0 -20px 10px; padding: 4px 20px;
}

/* ===== 閰嶇疆涓績(1103 batch 2) ===== */
.cfg-page { max-width: 980px; }
.cfg-page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  margin: 2px 0 18px;
}
.cfg-kicker { margin-bottom: 8px; color: #5eead4; font-size: 10px; font-weight: 600; letter-spacing: .30em; }
.cfg-page-head h2 { color: #f0f9ff; font-size: 26px; font-weight: 600; letter-spacing: .04em; }
.cfg-page-head p { margin-top: 6px; color: #8da4b6; font-size: 13px; }
.cfg-head-chip {
  flex: none; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(148, 163, 184, .04);
  color: #8da4b6; font-size: 11.5px;
}
.cfg-toolbar { margin-bottom: 14px; }
.cfg-toolbar .el-button { height: 38px; padding: 0 16px; }
.cfg-main-card { border-radius: 16px; }
.cfg-main-card > .el-card__body { padding: 16px 20px 20px; }
.cfg-tabs > .el-tabs__header {
  background: rgba(10, 22, 36, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.cfg-tabs .el-tabs__nav-wrap::after { display: none; }
.cfg-tabs .el-tabs__nav { gap: 2px; }
.cfg-tabs .el-tabs__item {
  height: 36px; line-height: 36px; margin: 2px 3px; padding: 0 14px;
  border-radius: 8px; color: #8da4b6;
}
.cfg-tabs .el-tabs__item.is-active { color: #5eead4; background: rgba(45, 212, 191, .10); }
.cfg-tabs .el-tabs__item:hover { color: #c3d4e0; }
.cfg-tabs .el-tabs__active-bar { display: none; }
.cfg-page .fold-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px; align-items: start;
}
.cfg-page .fold-grid .fold-box { margin-bottom: 0; }
.cfg-page .fold-box {
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(148, 163, 184, .025); overflow: hidden;
  transition: border-color .18s, background .18s;
}
.cfg-page .fold-box.open {
  grid-column: 1 / -1;
  border-color: rgba(94, 234, 212, .20);
  background: rgba(45, 212, 191, .03);
}
.cfg-page .fold-head {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 14px; font-size: 13.5px; font-weight: 500;
  color: #c3d4e0; background: transparent; border-bottom: 1px solid transparent;
  cursor: pointer;
}
.cfg-page .fold-head:hover { background: rgba(45, 212, 191, .06); color: #e6f1f8; }
.cfg-page .fold-box.open .fold-head {
  color: #5eead4; background: rgba(45, 212, 191, .05);
  border-bottom-color: var(--border);
}
.cfg-page .fold-arrow { color: #5eead4; width: 14px; flex: none; }
.cfg-page .fold-box > div:last-child { padding: 12px 14px 14px; }
.cfg-page .fold-box .mod-card { border: 0; box-shadow: none; background: transparent; }
.cfg-page .fold-box .mod-card > .el-card__header {
  padding: 0 0 10px; background: transparent; border-bottom: 1px solid var(--border);
}
.cfg-page .fold-box .mod-card > .el-card__body { padding: 0; }
.cfg-page .fold-box .mod-card .cfg-row:last-child { border-bottom: 0; }

.container { max-width: 1320px; margin: 0 auto; padding: 26px 24px 40px; }

/* ---- 棣栭〉搴曢儴鎿嶄綔鏍?1030m): 鏂板璐﹀彿+褰掑睘绛涢€夊浐瀹氳创搴?---- */
.home-view { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }   /* 缁欏簳鏍忕暀浣? 鏈熬璐﹀彿鍗′笉琚伄 */
.home-dock {
  position: fixed; left: 50%; right: auto; bottom: 18px; transform: translateX(-50%);
  z-index: 20;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 16px;
  background: rgba(8, 18, 30, .82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.home-dock .el-button { margin-left: 0; }

/* ---- 棣栭〉鎬昏 ---- */
.home-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 2px 0 18px; }
.home-kicker { margin-bottom: 8px; color: #5eead4; font-size: 10px; font-weight: 600; letter-spacing: .30em; }
.home-hero h2 { font-size: 27px; font-weight: 600; letter-spacing: .04em; color: #f0f9ff; }
.home-hero p { margin-top: 6px; color: #8da4b6; font-size: 13px; }
.home-stats { display: flex; gap: 8px; flex: none; }
/* 公告条在标题行内(1128挪位→同高对齐): 与统计卡同固定60px高、同底对齐(继承hero的flex-end), 上下缘齐平 */
.home-hero .ann-bar { flex: 1 1 auto; min-width: 0; margin-bottom: 0; height: 60px; padding-top: 0; padding-bottom: 0; }
.home-hero .home-stats { height: 60px; }
/* 卡密+计费模式(1128) */
.billing-radios { display: flex; flex-direction: column; align-items: flex-start; font-size: var(--el-font-size-base); }
.wallet-top { flex-wrap: wrap; }
.wallet-ops { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.card-code { font-family: Consolas, "Courier New", monospace; letter-spacing: .04em; }
.home-stat {
  min-width: 82px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .12);
  background: rgba(148, 163, 184, .035);
}
.home-stat b { display: block; color: #f0f9ff; font-size: 20px; font-weight: 600; line-height: 1.15; }
.home-stat b.ok { color: #5eead4; }
.home-stat b.run { color: #38bdf8; }
.home-stat span { display: block; margin-top: 2px; color: #7f97a9; font-size: 10.5px; letter-spacing: .08em; }

/* ---- 璐﹀彿鍗＄墖澧?---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.acc-card { position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.acc-card::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, .55), transparent);
  opacity: .55; pointer-events: none;
}
.acc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, .28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32), 0 0 40px rgba(45, 212, 191, .05);
}
.acc-card .el-card__body { padding: 18px 18px 16px; }
.acc-card .head { display: flex; align-items: flex-start; gap: 12px; }
.acc-avatar {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  color: #03151a; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #5eead4, #38bdf8);
  box-shadow: 0 8px 18px rgba(45, 212, 191, .18);
}
.acc-id { flex: 1; min-width: 0; }
.acc-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.acc-card .name { font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.acc-sub {
  margin-top: 3px; color: #6f8ba0; font-size: 11px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acc-state {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 4px 9px; border-radius: 999px;
  color: #8da4b6; font-size: 11px;
  background: rgba(148, 163, 184, .07);
  border: 1px solid rgba(148, 163, 184, .12);
}
.acc-state i { width: 6px; height: 6px; border-radius: 50%; background: #8da4b6; }
.acc-state.on { color: #5eead4; background: rgba(45, 212, 191, .10); border-color: rgba(45, 212, 191, .22); }
.acc-state.on i { background: #2dd4bf; box-shadow: 0 0 8px rgba(45, 212, 191, .8); }
.acc-state.wait { color: #fbbf24; background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .20); }
.acc-state.wait i { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, .7); }
.acc-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, .10);
}
.acc-quota { color: #7f97a9; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-quota .meta-label { margin-right: 5px; color: #5f788c; }
.acc-quota.q-success { color: #7fcfc3; }
.acc-quota.q-warning { color: #fbbf24; }
.acc-quota.q-danger { color: #fb7185; }
.acc-card .btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.acc-card .btns .el-button { width: 100%; height: 36px; margin-left: 0; padding: 0 8px; font-size: 12.5px; }
.acc-card .btns .act-main { grid-column: 1 / -1; height: 40px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.on { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.dot.wait { background: var(--warn); }

/* ---- 閫氱敤灏忎欢 ---- */
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; margin: 24px 0 12px; color: #d8e8f2;
}
.section-title::before {
  content: ""; width: 3px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, #5eead4, #38bdf8);
  box-shadow: 0 0 10px rgba(45, 212, 191, .45);
}
.section-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, .18), transparent);
}
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.grid4 .el-card { background: linear-gradient(160deg, rgba(13, 27, 44, .82), rgba(8, 18, 30, .72)); }

/* ---- 鍐滅敯灏忓崱鐗?1021) ---- */
.farmgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
.farm { background: linear-gradient(160deg, rgba(14, 30, 47, .90), rgba(8, 18, 30, .72));
  border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 6px; text-align: center; transition: border-color .15s, box-shadow .15s; }
.farm:hover { border-color: rgba(94, 234, 212, .22); }
.farm .fn { font-size: 11px; color: #7f97a9; }
.farm .fc { font-weight: 600; font-size: 14px; margin: 3px 0 2px; color: #e6f1f8; }
.farm .ft { font-size: 12px; min-height: 18px; color: #a9c4d6; }
.farm.ripe { border-color: rgba(52, 211, 153, .45);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, .18) inset, 0 0 18px rgba(52, 211, 153, .08); }
.farm.ripe .fc { color: #5eead4; }
.farm.empty { opacity: .5; }

/* ---- 瑁呭鍘傜増鍧?1021) ---- */
.eqfac { font-size: 13px; padding: 3px 10px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--panel2); }
.eqfac.making { border-color: var(--el-color-primary); }
.eqfac.ready { border-color: var(--el-color-success); color: var(--el-color-success); }
.eqfac.idle { opacity: .6; }
.eqgold { margin-left: auto; font-size: 13px; color: var(--el-color-warning);
  font-variant-numeric: tabular-nums; }
.eqgen { font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel2); font-variant-numeric: tabular-nums; }
.eqgroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.eqgroup { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.eqgroup .gt { font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.eqrow { display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  padding: 6px 8px; border-radius: 8px; border-bottom: 1px dashed rgba(148, 163, 184, .12);
  transition: background .15s; }
.eqrow:hover { background: rgba(45, 212, 191, .04); }
.eqrow:last-child { border-bottom: none; }
.eqrow .qd { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.eqrow .qname { width: 34px; color: #7f97a9; flex: none; }
.eqrow .qmat { min-width: 64px; font-variant-numeric: tabular-nums; }
.eqrow .qgen { color: #fbbf24; font-size: 11.5px; min-width: 36px; }
.eqrow .qtime { color: #6f8ba0; font-size: 11px; min-width: 30px; }
.eqrow .qstate { margin-left: auto; font-weight: 600; }
.eqrow.ok .qstate { color: #5eead4; }
.eqrow.lock { opacity: .5; }

/* ---- 娴峰吔鐗堝潡(1026, 澶嶇敤eqfac/eqgen/eqgroups) ---- */
/* 鍩硅偛闃熷垪/鎴樺瀹ゅ崱鐗? 鍥哄畾瀹借建閬?auto-fill), 鍔犲崱涓嶆尋鍘嬪凡鏈夊崱鐗?*/
.petbreed .eqgroups, .petsrv .eqgroups {
  grid-template-columns: repeat(auto-fill, 300px); align-items: start; }
.petbreed .eqgroups .eqgroup, .petsrv .eqgroups .eqgroup { width: 300px; }
.petserv-card.idle { opacity: .6; }
.petserv-card.done .gt { color: var(--el-color-success); }
.petserv-pet { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.petserv-pet .qd { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.petserv-foods { display: flex; flex-wrap: wrap; gap: 4px; }
.petserv-food.fok { border-color: var(--el-color-success); color: var(--el-color-success); }
.petserv-food.flack { border-color: var(--el-color-danger); color: var(--el-color-danger);
  font-weight: 600; }
.petserv-adv { display: flex; align-items: center; gap: 8px; font-size: 11.5px;
  margin-bottom: 6px; }
.petserv-adv .pa-g { color: var(--el-color-primary); font-weight: 600; flex: none; }
.petserv-adv .pa-bar { flex: 1; height: 5px; border-radius: 3px; background: var(--border);
  overflow: hidden; min-width: 40px; }
.petserv-adv .pa-fill { display: block; height: 100%;
  background: var(--el-color-primary); border-radius: 3px; }
.petserv-adv.ready .pa-fill { background: var(--el-color-success); }
.petserv-adv.ready .pa-txt { color: var(--el-color-success); font-weight: 600; }
.petserv-adv.full .pa-txt { color: var(--el-color-success); }
.petserv-adv .pa-txt { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }

/* ---- 鍛ㄦ椿鍔风鏅惰揪鏍囩増鍧?1027, 澶嶇敤petbreed/eqgroups/eqrow) ---- */
.wc-main { margin: 10px 0 8px; }
.wc-verdict { display: flex; align-items: baseline; gap: 10px; font-size: 14px;
  font-weight: 600; margin-bottom: 6px; }
.wc-main.ok .wc-verdict { color: var(--el-color-success); }
.wc-main.no .wc-verdict { color: var(--el-color-danger); }
.wc-chip-factory { display: flex; align-items: center; margin-top: 10px; }
.eqrow.got .qstate, .eqrow.got .qnum { color: var(--muted); }
.eqrow .qnum { margin-left: auto; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums; }
.eqrow.ok .qnum { color: var(--el-color-success); font-weight: 600; }

/* ---- 鍗氱墿棣嗙増鍧?1027, 澶嶇敤petbreed/eqgroups/petserv-adv) ---- */
/* 杩滃緛鍏冲崱鍗＄墖: 鍥哄畾鍥涜缁撴瀯(鏍囬/鎺㈢储鍊?杩涘害鏉?搴曡), 鏄熺骇杩涘害鏉＄豢鑹?*/
.mus-stage { min-height: 104px; }
.mus-val { font-size: 11px; margin-bottom: 6px; }
.mus-foot { font-size: 11px; margin-top: 6px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.mus-idle { opacity: .75; }
.mus-star-fill { background: var(--el-color-success); }
.mus-lv { font-size: 11px; }
.mus-wait .qmat { color: var(--el-color-warning); font-weight: 600; }
.mus-busy .qmat { color: #58a6ff; }

/* ---- 鑱旂洘鍟嗚埞鐗堝潡(1021) ---- */
.gship-groups { display: flex; flex-direction: column; gap: 12px; }
.gship-group .gship-gt { display: flex; align-items: center; gap: 7px;
  font-size: 13px; padding-bottom: 6px; }
.gship-group .gs-dot { width: 12px; height: 12px; border-radius: 3px; }
.gship-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gship-row .gship { flex: 1 1 330px; max-width: 480px; }
.gship { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.gship.sail { border-color: var(--el-color-primary); }
.gship .gs-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  font-size: 13px; padding-bottom: 6px; }
.gship .gs-type { font-weight: 600; font-size: 12.5px; }
.gship.mine { border-color: var(--el-color-success); }
.gs-role { font-size: 11.5px; font-weight: 600; color: var(--el-color-success);
  padding: 1px 7px; border: 1px solid var(--el-color-success); border-radius: 9px; }
.gship .gs-state { color: var(--el-color-primary); font-size: 12.5px;
  font-variant-numeric: tabular-nums; }
.gship .gs-cabins { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; }
.gs-cabin { font-size: 12px; padding: 2px 8px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--panel2); }
.gs-cabin i { font-style: normal; color: var(--muted); margin-left: 4px; font-size: 11px; }
.gs-good { font-weight: 500; margin-right: 3px; }
.gs-good.ok { color: var(--el-color-success); }
.gs-good.lack { color: var(--el-color-danger); }
.gs-cabin.ok { border-color: var(--el-color-success); }
.gs-cabin.ok i { color: var(--el-color-success); }
.gs-cabin.mine { border-color: var(--el-color-warning); color: var(--el-color-warning); }
.gs-cabin.wait { border-style: dashed; opacity: .85; }
.gship .gs-reward { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-rw { font-size: 11.5px; padding: 1px 7px; border-radius: 9px;
  background: var(--el-color-warning-light-9, rgba(230,162,60,.12));
  color: var(--el-color-warning); }

/* ---- 鑱旂洘鍟嗚埞閰嶇疆鍗?1021) ---- */
.ship-cfg { display: flex; flex-direction: column; gap: 4px; }
.ship-cfg-row { display: flex; align-items: center; gap: 8px; }
/* 濂栧姳绛涢€? 鏍囩鑷姩鎹㈣, 涓嶅啀妯悜鎺掗槦鎶婃寜閽《鍑哄睆骞?PC/鎵嬫満閫氱敤) */
.ship-cfg-rewards { align-items: flex-start; }
.ship-cfg-rewards > .ship-cfg-key { flex: none; line-height: 24px; }
.ship-cfg-rewards > .reward-edit { flex: none; }
.ship-cfg-rewards > .reward-hint { flex: none; line-height: 24px; }
.reward-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  flex: 1 1 240px; min-width: 0; }
.reward-picks .el-tag { max-width: 100%; }
.reward-picks .el-tag .el-tag__content { overflow-wrap: anywhere; }
.stat .k { color: #7f97a9; font-size: 11px; letter-spacing: .06em; }
.stat .v { color: #e6f7ff; font-size: 22px; font-weight: 600; margin-top: 4px; line-height: 1.2; }
.stat .v.warn { color: #fbbf24; }
.stat .v.ok { color: #5eead4; }
.toolbar {
  display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(148, 163, 184, .03);
}
.muted { color: var(--muted); }

/* ---- 鏃ュ織 ---- */
.log { font-family: "Cascadia Code", Consolas, "Microsoft YaHei", monospace; font-size: 12.5px; line-height: 1.9; }
.log > div { padding: 2px 6px; border-radius: 6px; transition: background .15s; }
.log > div:hover { background: rgba(45, 212, 191, .04); }
.log .t { color: #5f788c; margin-right: 8px; }
.log .k-sys { color: #5eead4; } .log .k-error { color: #fb7185; }
.log .k-server { color: #fbbf24; }

/* 閰嶇疆琛? 鏍囩=澶х櫧璇?+ 鈸?璇︾粏璇存槑寮瑰嚭) 1030m */
.cfg-lab { display: inline-flex; align-items: center; gap: 5px; }
.cfg-info { color: var(--muted); cursor: pointer; font-size: 12px; line-height: 1;
  width: 16px; height: 16px; border: 1px solid var(--border); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  user-select: none; touch-action: manipulation; }
.cfg-info:hover { color: var(--blue); border-color: var(--blue); }

/* ---- 閰嶇疆鍚庡彴 ---- */
.cfg-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cfg-label { font-size: 14px; font-weight: 600; }
.cfg-desc { font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 340px; }
/* 閰嶇疆鍗″唴鐜╂硶鍒嗙粍灏忔爣棰?1020閲囬泦缁嗗垎): 姣攕ection-title灏忎竴鍙? muted鑹?*/
.cfg-group-title { font-size: 12px; font-weight: 600; color: var(--muted); margin: 14px 0 2px; letter-spacing: .5px; }
.cfg-group-title:first-child { margin-top: 2px; }
.cfg-input { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mod-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; }
.mod-title { font-size: 15px; font-weight: 600; }
.mod-body.off { opacity: .55; pointer-events: none; }
/* 妯″潡鍗?鏍囩椤靛唴宓屽): 澶撮儴娣″簳涓庡鍗″尯鍒?*/
.mod-card > .el-card__header { background: var(--panel2); font-weight: 600; }
.mod-card > .el-card__body { padding-top: 4px; }

/* 閰嶇疆椤垫爣绛惧唴瀹规粴鍔ㄥ鍣?1018): 瓒呭嚭瑙嗗彛鍦ㄥ崱鍐呮粴鍔?鈥?淇濆瓨鎸夐挳/鏍囩澶翠笉闅忔粴鍔ㄧЩ鍔?*/
.tab-scroll { max-height: calc(100vh - 220px); overflow-y: auto; padding-right: 6px; }

/* ---- 鏂板璐﹀彿(寮圭獥鍐呴儴鍩熸牱寮? ---- */
.form-row { display: flex; gap: 10px; align-items: stretch; }
.ch-card { flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 12px; cursor: pointer; text-align: center; }
.ch-card.sel { border-color: var(--blue); background: #58a6ff1a; }
.ch-card.disabled { opacity: .45; cursor: not-allowed; }
.ch-name { font-weight: 600; margin-bottom: 4px; }
.role-card { background: var(--panel2); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.role-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; font-size: 13px; }
/* 鎵爜鍓嶅崰浣? 涓庝簩缁寸爜鍚屽昂瀵? 閬垮厤鍑虹爜/鍒囨鏃跺脊绐楄烦鍔?1115浜? */
.qr-ph { width: 200px; height: 200px; border: 1px dashed var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 18px; font-size: 12.5px; line-height: 1.7; box-sizing: border-box; }

/* 鎶栭煶鎵爜闃舵鐘舵€佽(1115浜?: 灏忚浆鍦? muted 鏂囨, 鍚庣骞蹭粈涔堜竴鐪煎彲瑙?*/
.dy-stage { display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--muted); min-height: 16px; }
.dy-spin { width: 12px; height: 12px; border: 2px solid var(--border);
  border-top-color: var(--blue); border-radius: 50%; flex: none;
  animation: dy-rotate .8s linear infinite; }
@keyframes dy-rotate { to { transform: rotate(360deg); } }

/* ---- 璧勬簮鐗堝潡 ---- */
.res-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px;
  padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.res-line { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px;
  color: #a9c4d6; align-items: center; }
.res-line.big { font-size: 14.5px; }
.res-line b { color: #e6f1f8; }
.res-line .gold { color: #fbbf24; }
.res-line .ruby { color: #fb7185; }
.res-line .warn { color: #fbbf24; }
.mats { display: flex; flex-direction: column; gap: 10px; }
.mat-row { display: grid; grid-template-columns: 56px 1fr 130px 30px; gap: 10px; align-items: center;
  padding: 6px 8px; border-radius: 8px; border-bottom: 1px dashed rgba(148, 163, 184, .10); }
.mat-row:last-child { border-bottom: 0; }
.mat-row:hover { background: rgba(45, 212, 191, .04); }
.mat-row .mname { color: #c3d4e0; }
.mat-row .num { text-align: right; color: #d8e8f2; font-variant-numeric: tabular-nums; }
.mat-row .num .muted { color: #6f8ba0; font-size: 12px; }
.mat-row .fulltag { color: #5eead4; font-size: 12px; }

/* ---- 宸ュ巶鍗?el-card 涓婄殑鍩熼檮鍔? ---- */
.fcard { margin-bottom: 14px; }
.fcard .fhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.fcard .bn { font-weight: 600; font-size: 15px; }
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; }
.slot { background: var(--panel2); border: 1px solid var(--border); border-radius: 6px;
  min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 3px 4px; }
.slot .s-prod { font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .s-cd { font-size: 11px; color: var(--accent); white-space: nowrap; }
.slot .s-empty { color: var(--muted); }
.plist { display: flex; flex-direction: column; gap: 6px; }
.prow { display: grid; grid-template-columns: 110px 1fr 70px 260px; gap: 10px; align-items: center;
  font-size: 13px; padding: 6px 8px; border-radius: 8px;
  border-bottom: 1px dashed rgba(148, 163, 184, .10); transition: background .15s; }
.prow:hover { background: rgba(45, 212, 191, .04); }
.prow:last-child { border-bottom: 0; }
.prow.locked { opacity: 0.45; }
.prow .p-bar { display: flex; align-items: center; }
.prow .p-num { text-align: right; font-variant-numeric: tabular-nums; color: #7f97a9; }
.prow .p-cost { color: #6f8ba0; font-size: 12px; text-align: right; }
.prow .p-cost .cost { margin-left: 8px; }
.prow .p-cost .cost.lack { color: #fb7185; font-weight: 600; }

/* ---- 灞呮皯璁㈠崟鍗?---- */
.ocard { margin-bottom: 12px; }
.ocard.ready { border-color: var(--accent); }
.ocard.refreshing { border-color: #e6a23c; border-style: dashed; }
.otd-progress { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; }
.dcard .dhead { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.dcard .drow { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; border-bottom: 1px dashed var(--border, #eee); }
.dcard .drow:last-child { border-bottom: none; }
.dcard .ditem { font-weight: 600; }
.dcard .dsrc { color: var(--muted, #999); font-size: 12px; }
.dcard .dnum { margin-left: auto; color: #6f8ba0; white-space: nowrap; }
.dcard .lack { color: #f56c6c; }
.ocard .ohead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ocard .oid { font-weight: 600; font-size: 14px; color: var(--muted); }
.oneeds { display: flex; flex-wrap: wrap; gap: 8px; }
.oneeds .need b { margin-left: 4px; }
.oreward { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.oreward .rw { color: var(--blue); }
.oreward .rw.gold { color: #e3b341; }

/* ---- 寤虹瓚鏍囩椤靛崱鐗囧 ---- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; }
.bldc { background: linear-gradient(160deg, rgba(14, 30, 47, .90), rgba(8, 18, 30, .72));
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; min-height: 56px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .15s, box-shadow .15s; }
.bldc:hover { border-color: rgba(94, 234, 212, .20); }
.bldc .bc-top { display: flex; align-items: baseline; gap: 6px; }
.bldc .bc-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; flex: 1; min-width: 0; color: #d8e8f2; }
.bldc .bc-lv { color: #7f97a9; font-size: 12px; white-space: nowrap; }
.bldc .bc-cd { font-size: 12px; color: #5eead4; }
.bldc .bc-island { font-size: 11px; color: #7f97a9; border: 1px solid var(--border);
  border-radius: 999px; padding: 0 6px; width: fit-content; }
.bldc.wip { background: rgba(45, 212, 191, .08); border-color: rgba(45, 212, 191, .40);
  box-shadow: 0 0 18px rgba(45, 212, 191, .06); }
.bldc.wip .bc-lv { color: #5eead4; }
.tag-wip { font-size: 11px; color: #d29922; border: 1px solid #d29922; border-radius: 4px; padding: 0 4px; width: fit-content; }

/* ---- 绂佹寤虹瓚閫夋嫨鍣?---- */
.fb-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.fb-group { padding: 10px 0; border-bottom: 1px solid var(--border); }
.fb-group:last-child { border-bottom: none; }
.fb-type { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fb-pills { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 4px; }
.fb-p { cursor: pointer; }

/* ---- 鎼佹祬鐨勮揣杞増鍧?1022) ---- */
.tl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px;
  vertical-align: -1px; margin-right: 3px; }
.tl-dot.q-blue { background: #409EFF; }
.tl-dot.q-purple { background: #9b59b6; }
.tl-dot.q-orange { background: #e6a23c; }
.tl-cnt { font-size: 12.5px; padding: 1px 8px; border: 1px solid var(--border);
  border-radius: 10px; font-variant-numeric: tabular-nums; }
.tship-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tship-row .tship { flex: 1 1 330px; max-width: 480px; }
/* 閭闈㈡澘(1116): 绯荤粺閭欢|鎴樻姤閭欢 鍙屽垪, 涓栫晫椤佃埌闃熶笅鏂?*/
.mail-cols { display: flex; flex-wrap: wrap; gap: 18px; }
.mail-col { flex: 1 1 330px; min-width: 300px; }
.mail-col-h { font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.mail-item { padding: 6px 4px; }
.mail-item + .mail-item { border-top: 1px dashed var(--border); }
.mail-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.mail-subject { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-side { display: flex; gap: 6px; align-items: center; flex: none; }
.mail-rewards { font-size: 12px; color: var(--muted);
  margin-top: 2px; word-break: break-all; }
.tship { background: linear-gradient(160deg, rgba(14, 30, 47, .90), rgba(8, 18, 30, .72));
  border: 1px solid var(--border); border-radius: 12px; padding: 12px;
  transition: border-color .15s, box-shadow .15s; }
.tship:hover { border-color: rgba(94, 234, 212, .20); }
.tship .ts-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  font-size: 13px; padding-bottom: 8px; }
.tship .ts-q { font-weight: 600; font-size: 12.5px; }
.tship .ts-owner { color: var(--el-color-primary); font-size: 12.5px; }
.tship .ts-fleet { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tship .ts-battle { font-size: 12px; font-variant-numeric: tabular-nums; }
.tship .ts-reward { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.ts-rw { font-size: 11.5px; padding: 1px 7px; border-radius: 9px;
  background: var(--el-color-warning-light-9, rgba(230,162,60,.12));
  color: var(--el-color-warning); }
.ts-players { margin-top: 8px; border-top: 1px dashed var(--border); padding-top: 6px;
  display: flex; flex-direction: column; gap: 3px; }
.ts-player { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px;
  font-variant-numeric: tabular-nums; }
.ts-player .ts-rank { color: var(--el-color-warning); font-weight: 600; min-width: 26px; }
.ts-player .ts-power { color: var(--muted); font-size: 11.5px; }
.ts-player .ts-prog { color: var(--el-color-primary); }
.ts-player .ts-times { color: var(--muted); font-size: 11.5px; }
/* 纭呯熆鍗犱綅鏁屾垜鏍囪(1024): 鎴戞柟缁?鍙嬪啗钃?鍙墦绾?*/
.ts-player .ts-name.me { color: var(--el-color-success); font-weight: 600; }
.ts-player .ts-name.ally { color: var(--el-color-primary); }
.ts-player .ts-name.enemy { color: var(--el-color-danger); }

/* 涓栫晫鍦板浘鎴樺尯甯?1025): 鐩熻壊鍩庢牸 + 鎴樺尯鍒?*/
.wm-belt { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; }
.wm-col { display: flex; flex-direction: column; gap: 3px; min-width: 34px; }
.wm-zone { font-size: 10.5px; text-align: center; letter-spacing: .5px; }
.wm-cells { display: flex; flex-direction: column; gap: 3px; }
.wm-cell { width: 32px; height: 22px; border-radius: 4px; color: #fff;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  cursor: default; opacity: .92; border: 1px solid rgba(255,255,255,.12); }
.wm-cell:hover { opacity: 1; transform: scale(1.08); }

/* 涓栫晫鍦板浘SVG(1025v3): 妯悜640x240(缃戞牸鏃嬭浆90掳) */
.wm-svg { width: 100%; display: block; background: transparent; }

/* 涓栫晫鍦板浘v5: 澶ф鏂瑰舰瀹瑰櫒(鍐呭鏀惧ぇ闃叉尋) + 1030m鍏ㄧ缂╂斁(鎸夐挳+婊戝姩) */
.wm2-wrap { position: relative; }
.wm2-ctrl { position: absolute; top: 8px; right: 8px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  background: rgba(22, 27, 34, .85); border: 1px solid var(--border);
  border-radius: 10px; padding: 4px 8px; }
.wm2-zoom { font-size: 11px; color: var(--muted); min-width: 34px; text-align: center;
  font-variant-numeric: tabular-nums; }
.wm2-scroll { overflow: auto; -webkit-overflow-scrolling: touch;
  max-height: 80vh; border-radius: 10px;
  scrollbar-width: none; cursor: grab;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent; }
.wm2-scroll:active { cursor: grabbing; }
.wm2-scroll::-webkit-scrollbar { display: none; }
.wm2-box { position: relative; max-width: none;
  margin: 0 auto;   /* 灞呬腑: 绌虹櫧宸﹀彸瀵圭О(1031); 鏀惧ぇ瓒呭鏃惰嚜鍔ㄥ彉0鈫掓粴鍔?*/
  width: calc(min(100%, 80vh) * var(--wm-zoom, 1));   /* 鍩哄噯=min(瀹瑰櫒瀹?80vh): 100%鍏ㄥ浘涓€灞忓彲瑙?*/
  aspect-ratio: 1 / 1; }
.wm2-canvas { position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 10px; background: linear-gradient(170deg, #dceefb 0%, #c8e2f5 100%);
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.wm2-svg { position: absolute; inset: 0; width: 100%; height: 100%;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.wm2-label { fill: #0f172a; paint-order: stroke; stroke: #fff;
  stroke-width: 2.5px; stroke-linejoin: round; pointer-events: none; }
.wm2-label { fill: #0f172a; paint-order: stroke; stroke: #fff;
  stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.wm2-legend { display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: #475569; }
.wm2-legend i { display: inline-block; width: 10px; height: 10px;
  border-radius: 2px; }

/* 鎴戞柟鑸伴槦鏍囨敞(绔炲搧wm-label mine): 娣辫摑鍔犵矖 */
.wm2-label-mine { fill: #1d4ed8 !important; font-weight: 700; }

/* 锟斤拷锟斤拷锟斤拷息锟斤拷(1026): 锟斤拷锟斤拷锟酵硷拷路锟? 锟揭碉拷+锟斤拷锟界舰锟接猴拷锟斤拷锟叫憋拷 */
.wf-cols { display: flex; flex-wrap: wrap; gap: 12px; }
.wf-col {
  flex: 1 1 250px; min-width: 235px; max-width: 340px;
  border-left: 3px solid; padding-left: 9px;
}
.wf-col-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; margin-bottom: 3px;
}
.wf-item {
  font-size: 12px; padding: 3px 0 4px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.18);
}
.wf-item:last-child { border-bottom: none; }
.wf-me {
  background: rgba(29, 78, 216, 0.10);
  border-radius: 4px; padding-left: 5px; padding-right: 5px;
}
.wf-empty {
  color: var(--el-text-color-placeholder); font-size: 11.5px;
  padding: 6px 0; text-align: center;
}
.wf-l1, .wf-l3 { display: flex; justify-content: space-between; gap: 8px; }
.wf-l1 b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-l2 { color: var(--el-text-color-regular); line-height: 1.45; }
.wf-l3 { color: var(--el-text-color-secondary); font-size: 11.5px; line-height: 1.4; }
.wf-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }

/* 閰嶇疆妯″潡鎶樺彔(1026): 妯″潡閰嶇疆澶暱涓嶅ソ缈?鈥?鐐规爣棰樻爮灞曞紑/鏀惰捣, 榛樿鏀惰捣 */
.fold-box { margin-bottom: 5px; }
.fold-head {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; cursor: pointer; user-select: none;
  background: rgba(88, 166, 255, 0.06); border-radius: 8px;
  font-weight: 600; font-size: 13.5px;
}
.fold-head:hover { background: rgba(88, 166, 255, 0.13); }
.fold-arrow { color: var(--el-text-color-secondary); font-size: 12px; width: 12px; flex: none; }
.fold-box .el-card { margin-top: 6px; }

/* 娴峰晢鐜嬭鎯?鍟嗘儏琛?1026): 绔炲搧娓彛琛ㄥ鍒?CSS grid 5鍒?4鍒? */
.tr-goods {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 0.8fr 1.3fr 1.6fr 1.1fr 1.7fr;
  gap: 2px 10px; font-size: 12.5px; align-items: center;
}
.tr-radar {
  display: grid; grid-template-columns: 1.6fr 1.6fr 2fr 1.4fr;
  gap: 2px 10px; font-size: 12.5px; align-items: center;
}
.tr-gh { color: #7f97a9; font-size: 11.5px; font-weight: 600; padding: 2px 0; }
.tr-gc { padding: 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-gc .el-tag { margin-right: 4px; }

/* ===== 娴峰晢鐜?1026) ===== */
/* 璐ц埍鎵规琛?1030m): 鍐呰仈缃戞牸class鍖? 妗岄潰鍥涘垪, 绉诲姩绔?鈮?40)涓夎鍫嗗彔 */
.cargo-line { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 0.9fr; gap: 2px 8px;
  font-size: 12.5px; padding: 5px 8px; border-bottom: 1px dashed rgba(148, 163, 184, .15);
  border-radius: 8px; align-items: center; transition: background .15s; }
.cargo-line:hover { background: rgba(45, 212, 191, .04); }
.cargo-line-head { font-size: 11px; color: #7f97a9; padding: 0 8px; }

/* ===== 鐧诲綍椤? 娼睈鎺у埗瀹?1103) ===== */
.auth-page {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 24px; overflow-x: hidden;
  background:
    radial-gradient(1100px 700px at 12% 4%, rgba(45,212,191,.12), transparent 62%),
    radial-gradient(900px 620px at 88% 16%, rgba(56,189,248,.11), transparent 60%),
    linear-gradient(155deg, #030812 0%, #061524 48%, #030c17 100%);
}
.auth-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.auth-orb-a {
  width: 620px; height: 620px; left: -220px; top: -200px;
  background: radial-gradient(circle, rgba(45,212,191,.32), transparent 66%);
  animation: authFloat 18s ease-in-out infinite alternate;
}
.auth-orb-b {
  width: 660px; height: 660px; right: -260px; top: 4%;
  background: radial-gradient(circle, rgba(56,189,248,.26), transparent 66%);
  animation: authFloat 24s ease-in-out infinite alternate-reverse;
}
.auth-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 38%, #000 28%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 38%, #000 28%, transparent 78%);
}
.auth-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(200px, 34vh, 340px); }
.auth-waves .w1, .auth-waves .w2, .auth-waves .w3 { transform-origin: 50% 100%; }
.auth-waves .w1 { animation: authWave 16s ease-in-out infinite alternate; }
.auth-waves .w2 { animation: authWave 22s ease-in-out infinite alternate-reverse; }
.auth-waves .w3 { animation: authWave 30s ease-in-out infinite alternate; }
.auth-bubble {
  position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s);
  border-radius: 50%; background: rgba(94,234,212,.5);
  box-shadow: 0 0 12px rgba(94,234,212,.45); opacity: 0;
  animation: authRise var(--d) linear infinite; animation-delay: var(--delay);
}
.auth-shell {
  position: relative; z-index: 1; width: min(1080px, 100%);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: clamp(36px, 6vw, 92px); align-items: center;
}
.auth-brand { max-width: 500px; }
.auth-mark {
  position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 30px;
  border-radius: 24px; border: 1px solid rgba(94,234,212,.22);
  background: linear-gradient(145deg, rgba(45,212,191,.14), rgba(56,189,248,.05));
  box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 40px rgba(45,212,191,.10) inset;
}
.auth-mark::before {
  content: ""; position: absolute; inset: -12px; border-radius: 34px;
  border: 1px solid rgba(94,234,212,.08); pointer-events: none;
}
.auth-mark svg { width: 54px; height: 54px; display: block; }
.auth-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: #5eead4; font-size: 11px; font-weight: 600; letter-spacing: .34em;
}
.auth-eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, #2dd4bf);
}
.auth-brand h1 {
  font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: .06em;
  background: linear-gradient(118deg, #f0fffd 8%, #a5f3fc 52%, #5eead4 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-tagline { margin-top: 18px; color: #9db4c7; font-size: 15px; letter-spacing: .08em; }
.auth-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.auth-points span {
  padding: 6px 13px; border-radius: 999px; color: #a9c4d6; font-size: 12px;
  background: rgba(148,163,184,.07); border: 1px solid rgba(148,163,184,.14);
}
.auth-status {
  display: flex; align-items: center; gap: 10px; margin-top: 34px;
  color: #7392a6; font-size: 11px; letter-spacing: .16em;
}
.auth-status i {
  width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45,212,191,.12), 0 0 14px rgba(45,212,191,.8);
  animation: authPulse 2.6s ease-in-out infinite;
}
.auth-card {
  position: relative; padding: 34px 32px 24px; border-radius: 22px;
  background:
    radial-gradient(360px 220px at 112% -8%, rgba(56,189,248,.18), transparent 70%),
    linear-gradient(165deg, rgba(13,27,44,.90), rgba(6,15,27,.86));
  border: 1px solid rgba(94,234,212,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.025) inset,
              0 0 70px rgba(45,212,191,.055);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.auth-card::after {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94,234,212,.85), transparent);
}
.auth-card-head { margin-bottom: 22px; }
.auth-kicker { margin-bottom: 8px; color: #5eead4; font-size: 10px; font-weight: 600; letter-spacing: .30em; }
.auth-card-head h2 { color: #f0f9ff; font-size: 24px; font-weight: 600; letter-spacing: .04em; }
.auth-card-head p { margin-top: 6px; color: #8aa4b8; font-size: 13px; }
.auth-tabs .el-tabs__header { margin: 0 0 20px; }
.auth-tabs .el-tabs__nav-wrap::after { height: 1px; background: rgba(148,163,184,.14); }
.auth-tabs .el-tabs__item { height: 38px; color: #8aa4b8; font-size: 14px; }
.auth-tabs .el-tabs__item.is-active { color: #5eead4; }
.auth-tabs .el-tabs__item:hover { color: #b8f3f0; }
.auth-tabs .el-tabs__active-bar {
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
  box-shadow: 0 0 10px rgba(45,212,191,.6);
}
.auth-tab-label { display: inline-flex; align-items: baseline; gap: 6px; }
.auth-tab-label i { color: #5f788c; font-size: 9px; font-style: normal; letter-spacing: .16em; }
.auth-tabs .is-active .auth-tab-label i { color: #5eead4; }
.auth-card .el-form-item { margin-bottom: 16px; }
.auth-card .el-input { width: 100%; }
.auth-card .el-input__wrapper {
  padding: 2px 13px; border-radius: 10px; background: rgba(255,255,255,.035);
  box-shadow: 0 0 0 1px rgba(148,163,184,.18) inset;
  transition: background .2s, box-shadow .2s;
}
.auth-card .el-input__wrapper:hover { box-shadow: 0 0 0 1px rgba(148,163,184,.32) inset; }
.auth-card .el-input__wrapper.is-focus {
  background: rgba(45,212,191,.045);
  box-shadow: 0 0 0 1px rgba(94,234,212,.7) inset, 0 0 0 3px rgba(45,212,191,.10);
}
.auth-card .el-input__inner { height: 42px; color: #e6f7ff; font-size: 14px; }
.auth-card .el-input__inner::placeholder { color: #5f788c; }
.auth-card .el-input__password { color: #6f8ba0; }
.auth-card .auth-btn {
  width: 100%; height: 44px; margin-top: 4px; border: 0; border-radius: 10px;
  color: #03151a; font-size: 14px; font-weight: 600; letter-spacing: .20em;
  background: linear-gradient(135deg, #5eead4, #38bdf8);
  box-shadow: 0 10px 28px rgba(56,189,248,.22), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.auth-card .auth-btn:hover {
  transform: translateY(-1px); filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(56,189,248,.30), 0 0 0 1px rgba(255,255,255,.16) inset;
}
.auth-card .auth-btn:active { transform: translateY(0); }
.auth-card .auth-hint { margin-top: 12px; color: #71889b; font-size: 12px; line-height: 1.65; }
.auth-foot {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(148,163,184,.10);
  text-align: center; color: #5f788c; font-size: 11px; letter-spacing: .08em;
}
.auth-req { display: flex; align-items: center; width: 100%; }
.auth-req .el-input { flex: 1; }
.req-star { margin-right: 6px; color: #fb7185; font-weight: 700; }
@keyframes authFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(26px,20px,0) scale(1.06); }
}
@keyframes authPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.78); }
}
@keyframes authWave {
  from { transform: translateX(-1.4%); }
  to { transform: translateX(1.4%); }
}
@keyframes authRise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .55; }
  100% { transform: translateY(-72vh); opacity: 0; }
}
@media (max-width: 900px) {
  .auth-page { align-items: flex-start; padding: 40px 18px; }
  .auth-shell { width: min(440px, 100%); margin: 0 auto; grid-template-columns: 1fr; gap: 30px; }
  .auth-brand { max-width: none; text-align: center; }
  .auth-mark { width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 18px; }
  .auth-mark svg { width: 44px; height: 44px; }
  .auth-eyebrow { justify-content: center; margin-bottom: 10px; }
  .auth-brand h1 { font-size: 36px; }
  .auth-tagline { margin-top: 10px; font-size: 13px; }
  .auth-points { justify-content: center; margin-top: 18px; }
  .auth-status { justify-content: center; margin-top: 20px; }
  .auth-card { padding: 28px 22px 22px; border-radius: 18px; }
  .auth-waves { height: 28vh; opacity: .7; }
}
@media (max-width: 600px) {
  .auth-page { padding: 24px 14px 32px; }
  .auth-shell { gap: 22px; }
  .auth-mark { width: 54px; height: 54px; margin-bottom: 14px; border-radius: 16px; }
  .auth-mark svg { width: 38px; height: 38px; }
  .auth-eyebrow { margin-bottom: 8px; font-size: 10px; }
  .auth-brand h1 { font-size: 30px; }
  .auth-tagline { margin-top: 8px; font-size: 12px; }
  .auth-points, .auth-status { display: none; }
  .auth-card { padding: 24px 20px 20px; }
}
@media (max-width: 480px) {
  .auth-brand h1 { font-size: 28px; }
  .auth-card-head h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-orb, .auth-bubble, .auth-status i,
  .auth-waves .w1, .auth-waves .w2, .auth-waves .w3 { animation: none; }
  .auth-bubble { display: none; }
}
.boot-auth { text-align: center; color: var(--el-text-color-secondary); padding: 80px 0; }
.user-chip { font-size: 13px; color: var(--el-text-color-secondary); margin: 0 4px; }

/* ===== 绠＄悊椤?1103 batch 3) ===== */
.admin-layout { display: flex; gap: 18px; align-items: flex-start; }
.admin-side { width: 190px; flex: none; }
.admin-menu-head { padding: 2px 10px 14px; }
.admin-menu-kicker { margin-bottom: 6px; color: #5eead4; font-size: 9px; font-weight: 600; letter-spacing: .28em; }
.admin-menu-title { color: #f0f9ff; font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.admin-menu {
  width: 100%; padding: 6px;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(10, 22, 36, .62);
  --el-menu-bg-color: transparent;
  --el-menu-text-color: #9fb3c4;
  --el-menu-active-color: #5eead4;
  --el-menu-hover-bg-color: rgba(45, 212, 191, .06);
}
.admin-menu .el-menu-item { height: 40px; line-height: 40px; margin: 2px 0; padding: 0 12px; border-radius: 9px; }
.admin-menu .el-menu-item.is-active { background: rgba(45, 212, 191, .10); color: #5eead4; }
/* 閰嶇疆椤佃彍鍗?1109): 澶嶇敤鍔ㄦ€侀〉鑿滃崟鍗＄墖, 妗岄潰绔í鍚戞帓鍒?闈炲乏渚ф爮) */
.cfg-menu { display: flex; flex-direction: row; align-items: center; gap: 2px; }
.cfg-menu .el-menu-item { flex: none; margin: 0; }
.admin-body { flex: 1; min-width: 0; }
.admin-body > .el-card { border-radius: 16px; }
.admin-body > .el-card > .el-card__header {
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(45, 212, 191, .04), transparent);
}
.admin-card { margin-bottom: 14px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-head > span:first-child { color: #f0f9ff; font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.admin-reg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #8da4b6; font-size: 12.5px; }
.admin-reg .el-switch { margin-left: 2px; }
.admin-new {
  display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap;
  padding: 12px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(148, 163, 184, .03);
}
.admin-ip { margin-left: 6px; color: #6f8ba0; font-size: 11px; }
.admin-hint { margin-top: 10px; color: #6f8ba0; font-size: 12px; line-height: 1.6; }
.admin-body .el-table { border-radius: 12px; }
.admin-body .el-table .el-button.is-text { padding: 4px 6px; }
.user-cell { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.user-cell-name { color: #e6f1f8; font-weight: 600; }
.admin-sub { margin-top: 2px; color: #6f8ba0; font-size: 11px; line-height: 1.5; }
.admin-actions { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }

/* admin棣栭〉褰掑睘鏍囨敞+绛涢€夊紑鍏?1028鏂规A, 浠卆dmin娓叉煋) */
.owner-tag { margin-left: 4px; }
.mine-switch { margin-left: 16px; font-size: 13px; color: var(--el-text-color-secondary); }
/* 鐢ㄦ埛绠＄悊: 閭€璇风爜鍒?绛夊瀛椾綋) + 閭€璇蜂汉 */
.admin-inv { font-family: Consolas, monospace; font-size: 12px; letter-spacing: .5px; }

/* 娓告垙鏇存柊闈㈡澘(1115浜?: 鍏冧俊鎭/灏忚妭鏍囬/鏂版椿鍔?鍙樺寲鏁板瓧楂樹寒/鑿滃崟绾㈢偣 */
.gu-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gu-sec { margin: 14px 0 8px; color: #f0f9ff; font-size: 13.5px; font-weight: 600; }
.gu-act { color: #8da4b6; font-size: 12.5px; line-height: 1.8; }
.gu-num { color: #f59e0b; font-weight: 700; }
.admin-gu-badge { margin-left: 4px; }
.admin-inv-by { font-size: 12.5px; color: var(--el-color-warning); }

/* 绠＄悊鍒楄〃鍒嗛〉(1031: 瀹¤/鐢ㄦ埛/璐﹀彿褰掑睘/鍏憡/娲诲姩缁熶竴) */
.audit-pager, .admin-pager { margin-top: 10px; display: flex; justify-content: flex-end; flex-wrap: wrap; }

/* ===== 棰濆害璁¤垂(1030): 鍏憡鏉?閽卞寘/寰界珷 ===== */
/* 棣栭〉鍏憡鏉? 缃《鎴栨渶鏂颁竴鏉? 鐐瑰嚮灞曞紑鍏ㄩ儴 */
.ann-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 16px;
  border: 1px solid rgba(94, 234, 212, .14); border-radius: 12px; cursor: pointer;
  background: linear-gradient(90deg, rgba(45, 212, 191, .08), rgba(56, 189, 248, .03));
  transition: border-color .18s, background .18s; }
.ann-bar:hover { border-color: rgba(94, 234, 212, .34);
  background: linear-gradient(90deg, rgba(45, 212, 191, .12), rgba(56, 189, 248, .05)); }
.ann-ico { flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 9px; background: rgba(45, 212, 191, .12); font-size: 14px; }
.ann-title { flex: 1; min-width: 0; font-size: 13px; color: #cfe6ef; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.ann-more { flex: none; font-size: 12px; color: #5eead4; }
/* 鍏憡寮圭獥鏉＄洰 */
.ann-item { padding: 10px 2px; border-bottom: 1px dashed var(--border); }
.ann-item:last-child { border-bottom: none; }
.ann-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ann-item-title { font-weight: 600; font-size: 13.5px; }
.ann-item-ts { font-size: 11.5px; flex: none; }
.ann-item-body { margin-top: 6px; font-size: 13px; line-height: 1.7; white-space: pre-wrap;
  color: var(--el-text-color-regular); }
/* 鍏憡鏍囬鍒楄〃(1031): 鍙偣鍑诲睍寮€ + 搴曢儴鍒嗛〉 */
.ann-click { cursor: pointer; }
.ann-click:hover .ann-item-title { color: var(--el-color-primary); }
.ann-pager { margin-top: 10px; display: flex; justify-content: flex-end; flex-wrap: wrap; }
/* 璐﹀彿鍗￠搴﹀窘绔?1030): 璁¤垂鍚敤鏃舵樉绀?*/
.quota-badge { margin-left: 2px; }
/* 棣栭〉閽卞寘鎸夐挳浣欓灏忕墖 */
.wallet-chip { margin-left: 4px; font-weight: 600; }
/* 閽卞寘寮圭獥 */
.wallet-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.wallet-bal .num { font-size: 24px; font-weight: 700; color: var(--blue); }
.wallet-bal .muted { font-size: 12px; margin-left: 4px; }
.wallet-sec { font-size: 13px; font-weight: 600; margin: 14px 0 6px; color: var(--el-text-color-regular); }
.wallet-row { display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-bottom: 1px dashed var(--border); }
.wallet-row .wname { flex: 0 0 150px; min-width: 0; font-size: 13px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.wallet-row .wexp { flex: none; width: 76px; }
.wallet-row .walloc { flex: 1; display: flex; align-items: center; gap: 6px; justify-content: flex-end;
  flex-wrap: wrap; }
.wallet-empty { padding: 8px 0; font-size: 13px; }
.wallet-log .amt-pos { color: var(--el-color-success); font-weight: 600; }
.wallet-log .amt-neg { color: var(--el-color-danger); font-weight: 600; }
/* 閭€璇风爜(1030搴曞骇) */
.inv-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px dashed var(--border); border-radius: 8px; cursor: pointer; }
.inv-code-row:hover { border-color: var(--el-color-primary); }
.inv-code { font-size: 20px; font-weight: 700; letter-spacing: 2px;
  font-family: Consolas, monospace; color: var(--blue); }
.inv-copy { font-size: 12px; color: var(--el-text-color-secondary); flex: none; }
.inv-hint { font-size: 12px; margin-top: 8px; line-height: 1.6; }



/* ---- 绉诲姩绔€傞厤(鈮?40px, 1030m楠ㄦ灦寮哄寲) ---- */
@media (max-width: 640px) {
  /* 椤舵爮鏀剁揣; 瀹氶珮 + 鍒樻捣瀹夊叏鍖? 渚涗笅鏂瑰惛椤舵爣绛惧浣?*/
  .topbar { height: calc(56px + env(safe-area-inset-top, 0px)); padding: 0 12px;
    flex-wrap: nowrap; row-gap: 0; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-text b { font-size: 13px; letter-spacing: .06em; }
  .brand-text i { display: none; }
  .topbar .crumb { display: none; }
  .live-view { display: block; }
  .live-side { width: 100%; position: static; margin-bottom: 12px; }
  .live-side .admin-menu-head { display: none; }
  .live-side .admin-menu { max-height: none; }
  .live-main { width: 100%; }
  /* 閰嶇疆椤? 鎸夐挳鏉?鏍囩鏉″弻灞傚惛椤?鎸夐挳鏉¤创椤舵爮, 鏍囩鏉¤创鎸夐挳鏉? */
  .cfg-page-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
  .cfg-page-head h2 { font-size: 22px; }
  .cfg-page-head p { font-size: 12px; }
  .cfg-head-chip { font-size: 11px; }
  .cfg-page .fold-grid { grid-template-columns: 1fr; }
  .cfg-toolbar .el-button { height: 36px; padding: 0 12px; }
  .cfg-main-card { border: none; background: transparent; }   /* 鍘诲３: 涓嶅啀闇瞔ard搴曡壊绔栨潯 */
  .cfg-main-card > .el-card__body { padding: 0 0 12px; }
  .cfg-toolbar { position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 9;
    background: var(--bg); margin: 0 0 8px; padding: 8px 0; }
  .cfg-toolbar .el-button { padding: 8px 10px; }   /* 涓夐敭涓€鎺掓斁寰椾笅 */
  .cfg-tabs > .el-tabs__header { top: calc(104px + env(safe-area-inset-top, 0px));
    width: 100%; margin: 0 0 10px; padding: 4px 0;
    background: var(--bg); }
  /* tabs妯悜婊氬姩鏉￠殣钘?瑙﹀睆鎵嬪娍婊戝姩, 妗岄潰婊氬姩鏉″湪鎵嬫満涓婂緢涓? */
  .el-tabs__nav-scroll { scrollbar-width: none; }
  .el-tabs__nav-scroll::-webkit-scrollbar { display: none; }
  .topbar .logo { font-size: 15px; }
  .topbar .logo-txt { display: none; }   /* 鎸や笉涓? 鎵嬫満鍙暀馃寠, 闃叉眽鍫¤鎸ゅ埌绗簩琛?*/
  .topbar .crumb { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .container { padding: 12px; }

  /* 姹夊牎鎸夐挳: 鍔犲ぇ瑙︽帶鍖?*/
  .hamb-btn { font-size: 17px !important; padding: 6px 12px !important; }

  /* 閰嶇疆椤? 椤甸潰鑷劧婊氬姩, 涓嶅啀鍐呴儴鍙屾粴鍔ㄨ酱 */
  .tab-scroll { max-height: none; overflow: visible; padding-right: 0; }

  /* 寮圭獥: 灞呬笂绱у噾 + 鍐呬綋婊氬姩(闀胯〃鍗?閫夋嫨鍣ㄤ笉琚《鍑哄睆) */
  .el-dialog { margin-top: 4vh !important; max-height: 90vh;
    display: flex; flex-direction: column; }
  .el-dialog__body { overflow-y: auto; flex: 1 1 auto; }

  /* 绠＄悊椤? 宸﹁彍鍗曟敼涓洪《閮ㄦí鍚憈abs(涓庡姩鎬侀〉鏍囩鍚岄鏍? */
  .admin-layout { flex-direction: column; gap: 10px; }
  .admin-side { width: 100%; }
  .admin-menu-head { display: none; }
  .admin-menu { width: 100%; display: flex; flex-direction: row; padding: 4px;
    border: 1px solid var(--border); border-radius: 12px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-menu .el-menu-item { height: 36px; line-height: 36px; padding: 0 13px; flex: none; }
  .admin-body { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }   /* column甯冨眬涓嬮渶鏄惧紡閽冲, el-table绐勫睆妯悜婊?*/
  .admin-body .el-table { min-width: 560px; }

  /* 閰嶇疆琛?鑸拌埞/鐜╂硶): 鎵嬫満绔厑璁告崲琛? 鍒妸鎺т欢鎸ゅ嚭灞?*/
  .ship-cfg-row { flex-wrap: wrap; row-gap: 6px; }

  /* 鍙屽嚮缂╂斁绂佺敤(瑙︽帶浣撻獙) */
  body { touch-action: manipulation; }

  /* 棣栭〉: 鎬昏鍫嗗彔 + 搴曢儴鎿嶄綔鏍忔敹绐勯槻婧㈠嚭 */
  .home-hero { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .home-hero h2 { font-size: 23px; }
  .home-stats { width: 100%; }
  .home-stat { flex: 1; min-width: 0; padding: 8px 10px; }
  .home-stat b { font-size: 18px; }
  .home-view { padding-bottom: calc(122px + env(safe-area-inset-bottom, 0px)); }
  .home-dock { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: none; flex-wrap: wrap; padding: 8px 10px; gap: 6px; border-radius: 14px; }
  .home-dock .mine-switch .el-select { width: 110px !important; }

  /* 璐﹀彿鍗? 澶撮儴鍙崲琛? 鎿嶄綔鎸夐挳涓夊垪 */
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .acc-card .head { flex-wrap: wrap; }
  .acc-card .name { font-size: 15px; }
  .acc-card .btns .el-button { height: 40px; padding: 0 6px; font-size: 12.5px; }   /* 闃舵2: 瑙︽帶楂樷墺40px */

  /* 闃舵2瑙︽帶鐩爣: 宸ュ叿鏍忕瓫閫塼ag + 姹夊牎鑿滃崟椤?*/
  .toolbar .el-tag { padding: 5px 10px; height: auto; }
  .el-dropdown-menu__item { min-height: 38px; line-height: 38px; }

  /* 鍔ㄦ€?閰嶇疆椤? 鏍囩妯悜婊戝姩 */
  .el-tabs__header { margin-bottom: 12px; }
  .el-tabs__nav-wrap::after { display: none; }
  /* 瑙﹀睆妯悜鏍囩: 绂佹婊氬姩閾?杩囧害鍥炲脊, 寮哄埗鍚搁檮鍒版爣绛?闃叉粦鍔ㄨ繃澶? */
  .el-tabs__nav-scroll, .admin-menu {
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
  }
  .el-tabs__item, .admin-menu .el-menu-item { scroll-snap-align: start; }
  /* EP妫€娴嬭秴瀹戒細缁欎袱绔悇鐣?0px绠ご鍗犱綅(鍩烘湰涓嶅彲瑙?绌虹櫧娈?, 鎵嬪娍婊氬姩涓嬬澶存棤鎰忎箟 */
  .el-tabs__nav-wrap.is-scrollable { padding: 0; }
  .el-tabs__nav-prev, .el-tabs__nav-next { display: none; }
  .el-tabs__nav-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .el-tabs__nav { white-space: nowrap; }
  .el-tabs__item { padding: 0 12px; }

  /* 寮圭獥/娑堟伅妗嗗搴﹂挸鍒?*/
  .el-dialog { max-width: 94vw; }
  .el-message-box { max-width: 92vw; }

  /* 閰嶇疆琛屽爢鍙? 鎻忚堪鍦ㄤ笂, 鎺т欢鍦ㄤ笅 */
  .cfg-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .cfg-input { justify-content: flex-end; }
  .cfg-desc { max-width: none; }

  /* 宸ュ叿鏍? 鎼滅储妗嗗崰婊?*/
  .toolbar { gap: 6px; }
  .toolbar .el-input { width: 100% !important; }

  /* 缁熻鏍?2脳2 */
  .grid4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat .v { font-size: 17px; }

  /* 璧勬簮/鏉愭枡琛屽帇缂?*/
  .res-line { gap: 6px 16px; font-size: 13px; }
  .mat-row { grid-template-columns: 50px 1fr 100px 26px; }

  /* 涓栫晫鍦板浘(1030m): 鍏ㄧ缂╂斁鏂规(mobile 鍘熷浐瀹?80婊戝姩瑙勫垯宸茬敱inline zoom鎺ョ) */

  /* 宸ュ巶浜у搧琛? 绔炲搧寮忎笁娈靛竷灞€(鍚嶇О | 搴撳瓨鏁板瓧 | 閰嶆柟鍙冲榻愬悓琛?, 鍘昏繘搴︽潯 */
  .prow { grid-template-columns: 84px 48px 1fr; align-items: center; row-gap: 2px; }
  .prow .p-bar { display: none; }
  .prow .p-num { text-align: left; font-size: 12.5px; color: var(--text); }
  .prow .p-cost { grid-column: 3; text-align: right; }
  .prow .p-cost .cost { margin: 0 0 0 6px; }
  /* 妲戒綅绔炲搧鍖? 楂樼珫鎺掑崱鐗?浜у搧鍚嶈摑瀛楀己璋?鏃堕棿涓よ灏忓瓧), 绌烘牸 鈥?灞呬腑 */
  .slots { gap: 5px; }
  .slot { flex-direction: column; justify-content: center; gap: 3px; min-height: 78px; padding: 6px 3px; }
  .slot .s-prod { max-width: 100%; font-size: 12.5px; font-weight: 600; color: var(--blue);
    text-align: center; white-space: normal; line-height: 1.3; }
  .slot .s-cd { text-align: center; font-size: 10.5px; white-space: normal; line-height: 1.5; }
  .slot .s-empty { font-size: 14px; }

  /* 璁㈠崟濂栧姳鎹㈣ */
  .oreward { flex-wrap: wrap; gap: 8px; }

  /* 寤虹瓚閫夋嫨鍣? 缂╄繘鍙栨秷 */
  .fb-pills { padding-left: 0; }

  /* ---- 闃舵3: 娴峰晢鐜嬮潰鏉?---- */
  /* 璐ц埍鎵规: 涓夎鍫嗗彔(璐х墿鍚?鍗栦环路鍒╂鼎/鍗犺埍路璐嚜), 鍒楀ご鏃犳剰涔夐殣钘?*/
  .cargo-line { grid-template-columns: 1fr 1fr; padding: 6px 0; }
  .cargo-line-head { display: none; }
  .cargo-line > span:first-child, .cargo-line > span:last-child { grid-column: 1 / -1; }

  /* 娓彛琛屾儏9鍒?鐩熷晢鎯?鍙拌处鍒楃粍: 绐勫睆妯悜婊戝姩(鎵嬪娍鑷劧, 涓嶆尋鍘嬪垪) */
  .el-card__body:has(> .tr-goods), .el-card__body:has(> .tr-radar) {
    overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tr-goods { min-width: 560px; }
  .tr-radar { min-width: 480px; }

  /* ---- 棰濆害璁¤垂(1030) ---- */
  /* 鍏憡鏉℃敹绱?*/
  .ann-bar { padding: 7px 10px; margin-bottom: 10px; }
  .ann-title { font-size: 12.5px; }
  /* 閽卞寘琛屽爢鍙? 璐﹀彿鍚?鍒版湡鏍囩鍚岃, 鍒嗛厤鎸夐挳缁勭嫭鍗犱竴琛屼粠宸︽帓 */
  .wallet-row { flex-wrap: wrap; }
  .wallet-row .wname { flex: 1 1 100px; }
  .wallet-row .walloc { flex: 1 1 100%; justify-content: flex-start; }
  .wallet-row .walloc .el-button { min-height: 36px; }
  /* 閽卞寘琛ㄦí鍚戞粦鍔?娴佹按6鍒? */
  .wallet-log.el-table, .el-table { min-width: 0; }
  .wallet-dlg .el-dialog__body .el-table { min-width: 480px; }

  /* 鑱旂洘绉戞妧(1106): 浼樺厛绾ц鎵嬫満绔嚜閫傚簲 鈥?鍚嶇О鍗犳弧鎹㈣, 鍏冧俊鎭?鎿嶄綔钀界浜岃 */
  .gt-head { flex-wrap: wrap; }
  .gt-row { flex-wrap: wrap; row-gap: 3px; }
  .gt-idx { width: 16px; }
  .gt-name { width: auto; flex: 1 1 calc(100% - 20px); min-width: 0; }
  .gt-meta { width: auto; flex: none; font-size: 11px; }
  .gt-btns { min-width: 0; }
  /* 閫夋嫨鍣ㄨ涓嶆崲琛? 鍚嶇О鑷€傚簲, 閫変腑鏍囪鍙冲榻?*/
  .gt-pick { flex-wrap: nowrap; }
  .gt-pick .gt-name { flex: 1 1 auto; }
}
/* ---- 锟斤拷锟剿科硷拷(1105): 锟斤拷锟斤拷锟斤拷锟饺硷拷锟斤拷锟斤拷 ---- */
.gt-block { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-top: 10px; }
.gt-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; font-size: 12px; }
.gt-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px dashed rgba(148,163,184,.12); font-size: 12.5px; }
.gt-row:last-child { border-bottom: none; }
.gt-row.lock { opacity: .55; }
.gt-row.sel { background: rgba(45,212,191,.06); border-radius: 6px; }
.gt-pick { cursor: pointer; }
.gt-idx { width: 20px; color: var(--muted); flex: none; }
.gt-name { width: 250px; flex: none; font-weight: 600; }
.gt-meta { color: var(--muted); width: 130px; flex: none; }
.gt-cost { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.gt-lock { color: var(--el-color-warning); margin-left: 4px; }
.gt-btns { display: flex; gap: 2px; align-items: center; min-width: 90px; justify-content: flex-end; margin-left: auto; }

/* 鑱旂洘绉戞妧 live 鍗＄墖(1107): 娓告垙鍐呬笁椤电澶嶅埢 鈥?鍒嗙粍琛?绉戞妧鏍?绛夌骇/涓婇檺) */
.gtech-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.gtech-group { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gtech-gt { width: 88px; flex: none; font-weight: 600; font-size: 13px; }
.gtech-row { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.gtech-cell { min-width: 96px; flex: 0 1 120px; text-align: center; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: 8px; }
.gtech-cell.up { border-color: var(--el-color-success); }
.gtech-cell.up .gtech-lv { color: var(--el-color-success); }
.gtech-cell.max { opacity: .6; }
.gtech-cell.lock { opacity: .4; }
.gtech-name { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtech-lv { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- live page viewport lazyload placeholder (1128) ---- */
.sec { position: relative; }
.sec-skel { padding: 4px 0 8px; }
.sec-skel.err { cursor: pointer; padding: 22px 12px; text-align: center; font-size: 13px;
  color: #fb7185; border: 1px dashed #fb7185; border-radius: 10px;
  background: rgba(239, 68, 68, .06); }
