html body /* ============================================================
   HBW 统一主题（海霸王统一主题）· 2026-11-24 v8
   单一文件、无叠加：变量 → 布局 → 侧栏 → 菜单 → 卡片 →
   按钮 → 表单 → 表格 → 弹层 → 分页 → 登录 → 滚动条
   ------------------------------------------------------------
   色板
     底 #0a0e17 / 侧栏 #080c14 / 卡片 #10161f
     边框 #1c2636（浅）#131c29（深）
     主色 蓝 #2563eb → 靛 #4f46e5（选中/主按钮）
     强调 青 #22d3ee / 绿 #34d399 / 粉 #f472b6 / 紫 #a78bfa / 橙 #fbbf24
     文字 #e6edf3 / #c3d0e2 / #93a4bb / #7d8ca3
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root, body, body[arco-theme='dark'] {
  --bg: #0a0e17;
  --bg-2: #080c14;
  --plate: #10161f;
  --text: #e6edf3;
  --text-2: #c3d0e2;
  --muted: #93a4bb;
  --faint: #7d8ca3;
  --border: #1c2636;
  --border-2: #131c29;
  --accent: #22d3ee;
  --accent-2: #34d399;
  --accent-3: #4f46e5;
  --brand-blue: #2563eb;
  --radius: 14px;

  /* Arco 变量 */
  --color-bg-1: #10161f;
  --color-bg-2: #0d131c;
  --color-bg-3: #080c14;
  --color-bg-4: #0a0e17;
  --color-bg-5: #0a0e17;
  --color-bg-white: #10161f;
  --color-menu-dark-bg: #080c14;
  --color-menu-light-bg: #080c14;
  --color-text-1: #e6edf3;
  --color-text-2: #c3d0e2;
  --color-text-3: #93a4bb;
  --color-text-4: #7d8ca3;
  --color-border-1: #131c29;
  --color-border-2: #1c2636;
  --color-border-3: #24334a;
  --color-border-4: #2e3f57;
  --color-fill-1: #10161f;
  --color-fill-2: #0d131c;
  --color-fill-3: #131c29;
  --color-fill-4: #1a2432;
  --primary-1: 8, 18, 40;
  --primary-2: 13, 30, 66;
  --primary-3: 20, 47, 100;
  --primary-4: 28, 70, 150;
  --primary-5: 34, 90, 200;
  --primary-6: 37, 99, 235;
  --primary-7: 79, 70, 229;
  --arcoblue-1: 8, 18, 40;
  --arcoblue-2: 13, 30, 66;
  --arcoblue-3: 20, 47, 100;
  --arcoblue-4: 28, 70, 150;
  --arcoblue-5: 34, 90, 200;
  --arcoblue-6: 37, 99, 235;
  --arcoblue-7: 79, 70, 229;
  --success-6: 52, 211, 153;
  --warning-6: 251, 191, 36;
  --danger-6: 248, 113, 113;
}

html body /* ---------- 2. 背景与布局 ---------- */
html, body, html body #app, html body .arco-layout, html body .arco-layout-content, html body .layout-container, html body .main-content, html body .arco-layout-main {
  background-color: #0a0e17 !important;
  color: #e6edf3 !important;
}
html body {
  background-image:
    radial-gradient(900px 500px at 8% -8%, rgba(37, 99, 235, .10), transparent 62%),
    radial-gradient(700px 420px at 100% 0%, rgba(79, 70, 229, .07), transparent 60%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html body /* ---------- 3. 侧栏 / 顶栏 ---------- */
.arco-layout-sider, html body .arco-layout-sider-light, html body .arco-layout-sider-children, html body .asider__menu, html body .sidebar, html body .side-bar {
  background: #080c14 !important;
  border-right: 1px solid #131c29 !important;
}
html body .arco-layout-header, html body .navbar, html body .header, html body .top-bar {
  background: #080c14 !important;
  border-bottom: 1px solid #131c29 !important;
}

html body /* 品牌块：狐狸头 + hbw 渐变字（真实类名 .system-logo） */
.system-logo, html body .system-logo[data-v-99fa59ba] {
  background-image: url("/admin/hbw-32.png") !important;
  background-repeat: no-repeat !important;
  background-position: 16px center !important;
  background-size: 26px 26px !important;
  padding-left: 52px !important;
  min-height: 56px !important;
}
html body .system-logo.collapsed, html body .system-logo.collapsed[data-v-99fa59ba] {
  background-position: center center !important;
  background-size: 24px 24px !important;
  padding-left: 0 !important;
}
html body .system-logo .system-name {
  font-weight: 800 !important;
  font-size: 15.5px !important;
  letter-spacing: .02em !important;
  color: #22d3ee !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, .35);
}
html body .system-logo.collapsed .system-name--short {
  color: #22d3ee !important;
  font-weight: 800 !important;
}

html body /* ---------- 4. 菜单（选中 = 蓝紫渐变胶囊） ---------- */
.arco-menu, html body .arco-menu-inner, html body .arco-menu-dark, html body .arco-menu-light {
  background: transparent !important;
}
html body .arco-menu-item, html body .arco-menu-inline-header, html body .arco-menu-pop-header {
  color: #93a4bb !important;
  background: transparent !important;
  border-radius: 12px !important;
  margin: 3px 10px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
html body .arco-menu-item .arco-icon, html body .arco-menu-item svg, html body .arco-menu-pop-header .arco-icon {
  color: #7f93ad !important;
}
html body .arco-menu-item:hover, html body .arco-menu-inline-header:hover, html body .arco-menu-pop-header:hover {
  background: rgba(37, 99, 235, .12) !important;
  color: #dbe7ff !important;
}
html body .arco-menu-item.arco-menu-selected, html body .arco-menu-inline-header.arco-menu-selected, html body .arco-menu-pop-header.arco-menu-selected, html body .arco-menu-selected {
  background: linear-gradient(90deg, #2563eb 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px -10px rgba(37, 99, 235, .85),
              inset 0 1px 0 rgba(255, 255, 255, .18) !important;
}
html body .arco-menu-item.arco-menu-selected .arco-menu-title, html body .arco-menu-item.arco-menu-selected .arco-icon, html body .arco-menu-item.arco-menu-selected svg, html body .arco-menu-selected .arco-menu-title {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
html body .arco-menu-group-title, html body .arco-menu-group > .arco-menu-title {
  color: #55647a !important;
  font-size: 11.5px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  padding: 12px 18px 6px !important;
  font-weight: 600 !important;
}

html body /* ---------- 5. 卡片 / 统计卡 ---------- */
.arco-card, html body .arco-card-body, html body .card, html body .panel, html body .stat-card {
  background: #10161f !important;
  border: 1px solid #1c2636 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05),
              0 10px 28px rgba(0, 0, 0, .38) !important;
  color: #e6edf3 !important;
}
html body .arco-card-header, html body .arco-card-footer {
  background: transparent !important;
  border-color: #1c2636 !important;
  color: #e6edf3 !important;
}
html body .arco-card:hover {
  border-color: #24334a !important;
}
html body /* 列表卡顶部青色发光边（hbw 设备列表那条） */
.arco-card.arco-card-bordered {
  border-top: 1px solid rgba(34, 211, 238, .55) !important;
  box-shadow: inset 0 1px 0 rgba(34, 211, 238, .45),
              0 10px 28px rgba(0, 0, 0, .38) !important;
}

html body /* 统计数字彩色（按顺序循环） */
.arco-statistic-value, html body .arco-statistic-value-int, html body .stat-value {
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
}
html body .arco-statistic:nth-child(8n+1) .arco-statistic-value { color: #f472b6 !important; }
html body .arco-statistic:nth-child(8n+2) .arco-statistic-value { color: #22d3ee !important; }
html body .arco-statistic:nth-child(8n+3) .arco-statistic-value { color: #94a3b8 !important; }
html body .arco-statistic:nth-child(8n+4) .arco-statistic-value { color: #a78bfa !important; }
html body .arco-statistic:nth-child(8n+5) .arco-statistic-value { color: #fbbf24 !important; }
html body .arco-statistic:nth-child(8n+6) .arco-statistic-value { color: #34d399 !important; }
html body .arco-statistic:nth-child(8n+7) .arco-statistic-value { color: #818cf8 !important; }
html body .arco-statistic:nth-child(8n+8) .arco-statistic-value { color: #f472b6 !important; }
html body .arco-statistic-title {
  color: #7d8ca3 !important;
  font-size: 12.5px !important;
}

html body /* ---------- 6. 按钮 ---------- */
.arco-btn {
  border-radius: 10px !important;
  transition: all .18s ease !important;
}
html body .arco-btn-primary, html body .arco-btn-primary:not(.arco-btn-disabled) {
  background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .9) !important;
}
html body .arco-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 26px -10px rgba(37, 99, 235, 1) !important;
}
html body .arco-btn-default, html body .arco-btn-secondary, html body .arco-btn-outline {
  background: #0d131c !important;
  border: 1px solid #1c2636 !important;
  color: #c3d0e2 !important;
}
html body .arco-btn-default:hover {
  border-color: #2563eb !important;
  color: #dbe7ff !important;
}

html body /* ---------- 7. 表单 ---------- */
.arco-input-wrapper, html body .arco-input, html body .arco-textarea, html body .arco-select-view, html body .arco-picker, html body .arco-input-number {
  background: #0d131c !important;
  border: 1px solid #1c2636 !important;
  border-radius: 10px !important;
  color: #dbe7ff !important;
}
html body .arco-input-wrapper:hover, html body .arco-select-view:hover, html body .arco-picker:hover {
  border-color: #24334a !important;
}
html body .arco-input-wrapper:focus-within, html body .arco-input-wrapper.arco-input-focus, html body .arco-select-view-focus, html body .arco-picker-focused {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18) !important;
}
html body .arco-form-label-item > label {
  color: #93a4bb !important;
}

html body /* ---------- 8. 表格 ---------- */
.arco-table, html body .arco-table-container, html body .arco-table-content {
  background: transparent !important;
  color: #c3d0e2 !important;
}
html body .arco-table-th, html body .arco-table .arco-table-th {
  background: #0d131c !important;
  color: #7d8ca3 !important;
  border-color: #1c2636 !important;
  font-weight: 600 !important;
}
html body .arco-table-td, html body .arco-table .arco-table-td {
  background: transparent !important;
  color: #c3d0e2 !important;
  border-color: #131c29 !important;
}
html body .arco-table-tr:hover .arco-table-td {
  background: rgba(37, 99, 235, .08) !important;
}
html body .arco-table::before, html body .arco-table-container::before {
  background-color: #1c2636 !important;
}

html body /* ---------- 9. 弹层 / 标签 / 徽标 ---------- */
.arco-modal, html body .arco-drawer, html body .arco-modal-content, html body .arco-drawer-content {
  background: #10161f !important;
  border: 1px solid #1c2636 !important;
  border-radius: 16px !important;
  color: #e6edf3 !important;
}
html body .arco-modal-header, html body .arco-drawer-header {
  background: transparent !important;
  border-bottom: 1px solid #1c2636 !important;
  color: #e6edf3 !important;
}
html body .arco-modal-mask, html body .arco-drawer-mask {
  background-color: rgba(4, 7, 12, .78) !important;
}
html body .arco-tag {
  background: rgba(37, 99, 235, .14) !important;
  border: 1px solid rgba(37, 99, 235, .35) !important;
  color: #93c5fd !important;
  border-radius: 8px !important;
}
html body .arco-badge-status-dot {
  box-shadow: 0 0 8px currentColor;
}

html body /* ---------- 10. 分页 / 标签页 / 分隔 ---------- */
.arco-pagination-item {
  background: #0d131c !important;
  border: 1px solid #1c2636 !important;
  color: #93a4bb !important;
  border-radius: 8px !important;
}
html body .arco-pagination-item-active {
  background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
html body .arco-tabs-tab {
  color: #7d8ca3 !important;
}
html body .arco-tabs-tab-active, html body .arco-tabs-tab:hover {
  color: #93c5fd !important;
}
html body .arco-tabs-nav-ink-bar {
  background-color: #2563eb !important;
}
html body .arco-divider {
  border-color: #1c2636 !important;
}
html body .arco-radio-button, html body .arco-radio-group-button .arco-radio-button {
  background: #0d131c !important;
  border: 1px solid #1c2636 !important;
  color: #93a4bb !important;
}
html body .arco-radio-button.arco-radio-checked, html body .arco-radio-group-button .arco-radio-button.arco-radio-checked {
  background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html body /* ---------- 11. 下拉 / 日期面板 ---------- */
.arco-select-dropdown, html body .arco-dropdown, html body .arco-picker-container {
  background: #10161f !important;
  border: 1px solid #1c2636 !important;
  color: #c3d0e2 !important;
  border-radius: 12px !important;
}
html body .arco-select-option:hover, html body .arco-select-option-hover {
  background: rgba(37, 99, 235, .12) !important;
}
html body .arco-select-option-selected {
  color: #93c5fd !important;
  font-weight: 600 !important;
}

html body /* ---------- 12. 登录页 ---------- */
.login-container, html body .login-box, html body .login-form {
  border-radius: 16px !important;
}
html body .login-container .arco-card, html body .login-box {
  background: linear-gradient(135deg, rgba(16, 22, 31, .96), rgba(9, 14, 22, .94)) !important;
  border: 1px solid #1c2636 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05),
              0 20px 60px -24px rgba(37, 99, 235, .55) !important;
}

html body /* ---------- 13. 文字 / 链接 / 滚动条 ---------- */
h1, html body h2, html body h3, html body h4, html body h5, html body h6, html body .arco-typography-title {
  color: #e6edf3 !important;
}
html body .arco-typography, html body .arco-descriptions-item-label, html body .arco-empty-description {
  color: #7d8ca3 !important;
}
html body a {
  color: #93c5fd !important;
}
html body a:hover {
  color: #bfdbfe !important;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: #080c14;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(37, 99, 235, .55), rgba(79, 70, 229, .55));
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(37, 99, 235, .85), rgba(79, 70, 229, .85));
  background-clip: padding-box;
}


/* ---------- 14. 顶部 Tab（旧主题是白底胶囊，这里改深色） ---------- */
html body .arco-tabs-tab {
  background: #0d131c !important;
  border: 1px solid #1c2636 !important;
  border-radius: 999px !important;
  color: #93a4bb !important;
  box-shadow: none !important;
}
html body .arco-tabs-tab:hover {
  background: rgba(37, 99, 235, .12) !important;
  border-color: rgba(37, 99, 235, .40) !important;
}
html body .arco-tabs-tab.arco-tabs-tab-active {
  background: rgba(37, 99, 235, .22) !important;
  border-color: rgba(37, 99, 235, .60) !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .18) inset !important;
}
html body .arco-tabs-tab .arco-tabs-tab-title,
html body .arco-tabs-tab.arco-tabs-tab-active .arco-tabs-tab-title {
  color: #cfe0ff !important;
  font-weight: 600 !important;
}
html body .arco-tabs-nav-ink-bar { display: none !important; }

/* ---------- 15. 表格表头提亮 + 分区 ---------- */
html body .arco-table-th {
  background: #0d131c !important;
  color: #8fa0b8 !important;
  border-bottom: 1px solid #24334a !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
}
html body .arco-table-td { border-bottom: 1px solid #131c29 !important; }

/* ---------- 16. 状态标签：去发光、改淡底 ---------- */
html body .arco-tag {
  box-shadow: none !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}
html body .arco-tag-green {
  background: rgba(52, 211, 153, .12) !important;
  border: 1px solid rgba(52, 211, 153, .28) !important;
  color: #6ee7b7 !important;
}
html body .arco-tag-blue,
html body .arco-tag-arcoblue {
  background: rgba(37, 99, 235, .16) !important;
  border: 1px solid rgba(37, 99, 235, .34) !important;
  color: #93c5fd !important;
}

/* ---------- 17. 卡片顶部高光 + 空状态柔和 ---------- */
html body .arco-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06),
              0 10px 28px rgba(0, 0, 0, .42) !important;
}
html body .arco-empty .arco-empty-image svg,
html body .arco-empty-image { opacity: .55 !important; }
html body .arco-empty-description { color: #6b7a8f !important; font-size: 13px !important; }


/* ============================================================
   品牌块还原：不使用狐狸头（师傅确认那不是他的 logo）
   侧栏只保留文字 + hbw 渐变；favicon 用系统原有 N 徽标
   ============================================================ */
html body .system-logo,
html body .system-logo[data-v-99fa59ba] {
  background-image: none !important;
  padding-left: 12px !important;
  min-height: 56px !important;
}
html body .system-logo.collapsed,
html body .system-logo.collapsed[data-v-99fa59ba] {
  background-image: none !important;
  padding-left: 0 !important;
}
