:root {
  --hs-blue: #2f6bff;
  --hs-blue-deep: #1d4ed8;
  --hs-bg: #f5f7fb;
  --hs-ink: #0f1219;
  --hs-text: #394150;
  --hs-muted: #687181;
  --hs-faint: #9aa3b2;
  --hs-line: rgba(15, 18, 25, .08);
  --hs-line-soft: #edf0f5;
  --hs-green: #16a34a;
  --hs-red: #e5484d;
  --hs-amber: #d97706;
  --hs-shadow: 0 18px 50px rgba(28, 39, 68, .08);
  --hs-shadow-sm: 0 4px 16px rgba(28, 39, 68, .05);
  --hs-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --hs-font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;

  --el-color-primary: #2f6bff;
  --el-color-primary-light-3: #6d97ff;
  --el-color-primary-light-5: #97b5ff;
  --el-color-primary-light-7: #c1d3ff;
  --el-color-primary-light-8: #d5e1ff;
  --el-color-primary-light-9: #eef3ff;
  --el-color-primary-dark-2: #1d4ed8;
  --el-color-success: #16a34a;
  --el-color-success-light-9: #ecfdf3;
  --el-color-success-light-8: #d1fadf;
  --el-color-danger: #e5484d;
  --el-color-danger-light-9: #fef1f1;
  --el-color-danger-light-8: #fddcdc;
  --el-color-warning: #d97706;
  --el-color-warning-light-9: #fff7e8;
  --el-color-warning-light-8: #fdebc8;
  --el-color-info: #687181;
  --el-border-radius-base: 10px;
  --el-border-radius-small: 8px;
  --el-border-color: #e3e7ee;
  --el-border-color-light: #edf0f5;
  --el-border-color-lighter: #f0f2f6;
  --el-text-color-primary: #0f1219;
  --el-text-color-regular: #394150;
  --el-text-color-secondary: #687181;
  --el-text-color-placeholder: #9aa3b2;
  --el-fill-color-light: #f6f8fb;
  --el-fill-color-blank: #fff;
  --el-font-family: var(--hs-font);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  color: var(--hs-text);
  font: 14px/1.55 var(--hs-font);
  -webkit-font-smoothing: antialiased;
  background-color: var(--hs-bg);
  background-image: linear-gradient(rgba(28, 45, 84, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 45, 84, .04) 1px, transparent 1px);
  background-size: 32px 32px;
}
#app { height: 100%; }
.boot { display: grid; place-items: center; height: 100%; color: var(--hs-muted); }
b, strong { font-weight: 650; color: var(--hs-ink); }

/* 外框 */
.shell { height: 100%; }
.aside { background: rgba(255, 255, 255, .92); border-right: 1px solid var(--hs-line); transition: width .2s; overflow-x: hidden; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; cursor: pointer; white-space: nowrap; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 16px; color: var(--hs-ink); letter-spacing: .2px; }
.brand-text span { font-size: 12px; color: var(--hs-muted); }
.logo { width: 34px; height: 34px; border-radius: 50%; flex: none; display: block; }
.fb-chip { margin: 0 14px 10px; padding: 6px 12px; border-radius: 999px; background: #fef1f1; color: #c2393d; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border: 1px solid #fddcdc; }
.fb-chip.ok { background: #ecfdf3; color: #15803d; border-color: #c9f2d7; }
.fb-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.fb-chip:not(.ok) .dot { box-shadow: 0 0 0 3px rgba(229, 72, 77, .15); }
.fb-chip.wait { background: #f3f5f8; color: var(--hs-muted); border-color: var(--hs-line-soft); }
.fb-chip.wait .dot { box-shadow: none; }

.menu { border-right: none; flex: 1; background: transparent; padding: 0 10px 16px; --el-menu-item-height: 40px; --el-menu-bg-color: transparent; --el-menu-hover-bg-color: #f3f6fb; --el-menu-text-color: var(--hs-text); --el-menu-active-color: var(--hs-blue); }
.menu .el-menu-item-group__title { padding: 16px 12px 6px !important; font-size: 12px; color: var(--hs-faint); font-weight: 500; letter-spacing: .5px; }
.menu .el-menu-item { border-radius: 10px; margin: 2px 0; padding-left: 12px !important; font-weight: 500; }
.menu .el-menu-item .el-icon { color: var(--hs-faint); }
.menu .el-menu-item:hover .el-icon { color: var(--hs-text); }
.menu .el-menu-item.is-active { background: #eef3ff; color: var(--hs-blue); font-weight: 650; }
.menu .el-menu-item.is-active .el-icon { color: var(--hs-blue); }
.menu.el-menu--collapse { padding: 0 8px; }
.menu.el-menu--collapse .el-menu-item { justify-content: center; padding: 0 !important; }
.menu-badge { margin-left: 8px; display: inline-flex; }

.header { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--hs-line); height: 60px; padding: 0 24px; position: sticky; top: 0; z-index: 10; }
.header h3 { margin: 0; font-size: 19px; font-weight: 650; color: var(--hs-ink); letter-spacing: .2px; }
.header .el-button.is-circle { border-color: var(--hs-line-soft); }
.team-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #f3f5f8; color: var(--hs-muted); font-size: 13px; font-weight: 600; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-chip.viewing { background: #fff4e5; color: #b45309; }
.fx-switch .el-radio-button__inner { padding: 5px 10px; }
.fx-conv { text-decoration: underline dotted #b8c0cc; text-underline-offset: 3px; cursor: help; }
.fx-missing { color: #b45309; cursor: help; }
.fx-stack { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.25; cursor: help; }
.fx-usd { color: #2f6bff; font-size: 12px; }
.view-banner { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px 16px; border-radius: 12px; background: #fff4e5; border: 1px solid #fcd9a8; color: #92400e; }
.view-banner span { flex: 1; }
.invite-box { padding: 12px; border-radius: 12px; background: #f6f8fc; border: 1px solid var(--hs-line-soft); }
.invite-box .row { flex-wrap: nowrap; }
.invite-box .el-input { flex: 1; }
.signup-mode { width: 100%; display: flex; }
.signup-mode .el-radio-button { flex: 1; }
.signup-mode .el-radio-button__inner { width: 100%; }
.user-chip { cursor: pointer; display: inline-flex; align-items: center; outline: none; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1px solid var(--hs-line-soft); background: #fff; font-weight: 600; color: var(--hs-ink); }
.main { padding: 20px 24px 28px; }
.page { min-width: 0; }

/* 工具类 */
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; }
.row.gap { gap: 8px; }
.row.wrap { flex-wrap: wrap; gap: 8px; }
.mb { margin-bottom: 14px; }
.mt { margin-top: 14px; }
.ml { margin-left: 6px; }
.muted { color: var(--hs-muted); }
.small { font-size: 12px; }
.pre { white-space: pre-wrap; }
.mono { font-family: var(--hs-mono); }
.error-text { color: var(--hs-red); }
.link { color: var(--hs-blue); cursor: pointer; text-decoration: none; font-weight: 500; }
.link:hover { color: var(--hs-blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.tag-pick { margin: 2px 4px 2px 0; cursor: pointer; }
.full { width: 100%; }

/* 数字卡片 */
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { background: #fff; border: 1px solid var(--hs-line-soft); border-radius: 16px; padding: 12px 18px; min-width: 120px; box-shadow: var(--hs-shadow-sm); }
.stat > span { display: block; color: var(--hs-muted); font-size: 12px; margin-bottom: 2px; }
.stat b { font-size: 24px; font-weight: 700; color: var(--hs-ink); font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.stat.ok b { color: var(--hs-green); }
.stat.bad b { color: var(--hs-red); }
.stat.warn b { color: var(--hs-amber); }
.stat.wide { flex: 1; min-width: 260px; }
.stat.wide b, .stat.wide div { font-size: 13px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* 批量操作条 */
.bulk-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: #eef3ff; border: 1px solid #d5e1ff; border-radius: 12px; padding: 8px 14px; color: var(--hs-ink); font-weight: 500; }
.delay-input { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hs-muted); }
.delay-input .el-input-number { width: 90px; }
.column-pick { display: grid; grid-template-columns: 1fr 1fr; }
.metric-picker { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.metric-picker .el-checkbox { margin-right: 0; }
.share-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.action-list { display: flex; flex-direction: column; align-items: flex-start; }
.action-list .el-radio { margin: 4px 0; height: auto; white-space: normal; }

/* Element Plus 组件 */
.el-button { font-weight: 600; border-radius: 10px; }
.el-button--small { border-radius: 8px; }
.el-button--primary { box-shadow: 0 6px 16px rgba(47, 107, 255, .22); }
.el-button--primary:hover { box-shadow: 0 8px 20px rgba(47, 107, 255, .3); }
.el-button.is-link, .el-button.is-text, .el-button--primary.is-plain, .el-button--primary.is-disabled { box-shadow: none; }
.el-input__wrapper, .el-select__wrapper, .el-textarea__inner, .el-date-editor.el-input__wrapper { border-radius: 10px; box-shadow: 0 0 0 1px #e3e7ee inset; }
.el-radio-button__inner { font-weight: 500; }
.el-radio-button:first-child .el-radio-button__inner { border-radius: 10px 0 0 10px; }
.el-radio-button:last-child .el-radio-button__inner { border-radius: 0 10px 10px 0; }
.el-radio-button--small:first-child .el-radio-button__inner { border-radius: 8px 0 0 8px; }
.el-radio-button--small:last-child .el-radio-button__inner { border-radius: 0 8px 8px 0; }

.el-card { border-radius: 20px; border: 1px solid var(--hs-line-soft); box-shadow: var(--hs-shadow-sm); }
.el-card.is-never-shadow { box-shadow: var(--hs-shadow-sm); }
.el-card__header { padding: 14px 20px; border-bottom-color: var(--hs-line-soft); }
.el-card__header b { font-size: 15px; }
.el-card__body { padding: 18px 20px; }

.el-table { border-radius: 16px; overflow: hidden; --el-table-border-color: #eef1f5; --el-table-header-bg-color: #f7f9fc; --el-table-header-text-color: var(--hs-muted); --el-table-row-hover-bg-color: #f5f8ff; --el-table-text-color: var(--hs-text); box-shadow: var(--hs-shadow-sm); }
.el-table--border { border: 1px solid var(--hs-line-soft); }
.el-card .el-table, .el-drawer .el-table, .el-dialog .el-table { box-shadow: none; border-radius: 12px; }
.el-table--border::before, .el-table--border::after, .el-table__inner-wrapper::before, .el-table__border-left-patch { background-color: transparent; }
.el-table th.el-table__cell { font-weight: 600; font-size: 12px; letter-spacing: .3px; }
.el-table .el-table__cell { padding: 10px 0; }
.el-table--small .el-table__cell { padding: 7px 0; }
.el-table--border .el-table__cell { border-right-color: transparent; }
.el-table--border th.el-table__cell { border-right-color: transparent; }
.el-table td.el-table__cell { font-variant-numeric: tabular-nums; }
.el-table .muted.small { font-family: var(--hs-mono); font-size: 11.5px; color: var(--hs-faint); }
.el-table__empty-text { color: var(--hs-faint); }
.el-table .el-table-fixed-column--left.is-last-column::before, .el-table .el-table-fixed-column--right.is-first-column::before { box-shadow: none; }
.el-table--border .el-table-fixed-column--left.is-last-column, .el-table--border .el-table-fixed-column--right.is-first-column { border-right-color: var(--hs-line-soft) !important; }

.el-tag { border-radius: 999px; font-weight: 600; padding: 0 9px; border-color: transparent; }
.el-tag--small { padding: 0 7px; }
.el-tag--info { background: #f1f3f7; color: var(--hs-muted); }

.el-tabs__item { font-weight: 500; color: var(--hs-muted); }
.el-tabs__item.is-active { font-weight: 650; color: var(--hs-ink); }
.el-tabs__active-bar { height: 3px; border-radius: 3px; }
.el-tabs__nav-wrap::after { height: 1px; background-color: var(--hs-line-soft); }

.el-alert { border-radius: 12px; }
.el-drawer { border-radius: 20px 0 0 20px; }
.el-drawer__header { margin-bottom: 8px; padding: 20px 24px 0; color: var(--hs-ink); font-weight: 650; font-size: 16px; }
.el-drawer__body { padding: 16px 24px 24px; }
.el-dialog { border-radius: 20px; padding: 22px 24px; box-shadow: var(--hs-shadow); }
.el-dialog__title { font-weight: 650; color: var(--hs-ink); }
.el-message-box { border-radius: 18px; padding: 20px 22px; box-shadow: var(--hs-shadow); }
.el-message-box__title { font-weight: 650; color: var(--hs-ink); }
.el-message { border-radius: 12px; box-shadow: var(--hs-shadow-sm); }
.el-dropdown-menu { padding: 6px; }
.el-dropdown-menu__item { border-radius: 8px; }
.el-popper.is-light { border-radius: 12px; box-shadow: var(--hs-shadow); border-color: var(--hs-line-soft); }
.el-select-dropdown__item { border-radius: 8px; margin: 0 6px; }
.el-progress-bar__outer { background: #eef1f5; }

/* 插件引导 */
.guard { max-width: 660px; margin: 40px auto; background: #fff; border-radius: 24px; padding: 32px 36px; border: 1px solid var(--hs-line-soft); box-shadow: var(--hs-shadow); }
.guard h2 { margin-top: 0; color: var(--hs-ink); font-weight: 650; }
.guard code { background: #f1f4f9; padding: 1px 7px; border-radius: 6px; font-family: var(--hs-mono); font-size: 12.5px; }
.ext-install a.el-button { text-decoration: none; }
.ext-install h4 { margin: 16px 0 6px; color: var(--hs-ink); font-weight: 650; }
.ext-install .steps { margin: 0; padding-left: 20px; line-height: 1.9; }
.ext-install code { background: #f1f4f9; padding: 1px 7px; border-radius: 6px; font-family: var(--hs-mono); font-size: 12.5px; }

/* BM 列表 */
.bm-scroll { max-height: calc(100vh - 300px); overflow: auto; }
.bm-item { padding: 9px 12px; border-radius: 12px; cursor: pointer; margin-bottom: 2px; transition: background .15s; }
.bm-item:hover { background: #f3f6fb; }
.bm-item.on { background: #eef3ff; box-shadow: inset 0 0 0 1px #d5e1ff; }
.bm-item.on > div:first-child { color: var(--hs-blue); font-weight: 650; }
.bm-item .muted.small { font-family: var(--hs-mono); font-size: 11.5px; }
.expand-box { padding: 10px 28px; background: #fafbfd; }
.notice-item { border-top: 1px solid var(--hs-line-soft); padding: 12px 0; }

/* 登录 */
.login { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.login-box { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--hs-line-soft); border-radius: 24px; padding: 40px 36px 30px; box-shadow: var(--hs-shadow); }
.login-head { text-align: center; margin-bottom: 24px; }
.login-head img { width: 64px; height: 64px; border-radius: 50%; }
.login-head h1 { font-size: 22px; font-weight: 650; margin: 14px 0 4px; color: var(--hs-ink); }
.login-head p { margin: 0; color: var(--hs-muted); }
.login-tip { text-align: center; margin: 16px 0 0; }
.login-tabs { margin-bottom: 8px; }
.login-box .el-button--primary { height: 42px; font-size: 15px; }
.code-row { display: flex; gap: 8px; width: 100%; }
.code-row .el-button { flex: none; width: 120px; }
.challenge { display: flex; justify-content: center; margin-bottom: 12px; min-height: 0; }
.challenge:empty { margin-bottom: 0; }
.login-foot { margin-top: 24px; color: var(--hs-faint); font-size: 12px; text-align: center; }

/* 总览 */
.clickable { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.clickable:hover { transform: translateY(-1px); box-shadow: var(--hs-shadow); }
.issue-list { display: flex; flex-direction: column; gap: 8px; }
.issue-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--hs-line-soft); cursor: pointer; transition: background .15s, border-color .15s; }
.issue-row:hover { background: #f5f8ff; border-color: #d5e1ff; }
.issue-row.quiet { opacity: .6; }
.issue-main { flex: 1; min-width: 0; }
.issue-title { font-weight: 650; color: var(--hs-ink); }
.mini-row { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--hs-line-soft); cursor: pointer; }
.mini-row:first-child { border-top: none; padding-top: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.danger-text { color: var(--el-color-danger); }
.el-table .row-bad > td.el-table__cell { background: #fff5f5; }
.el-table .row-bad:hover > td.el-table__cell { background: #ffecec; }

/* Meta 服务状态 */
.status-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hs-line-soft); }
.status-row:first-child { border-top: none; padding-top: 0; }
.status-main { flex: 1; min-width: 0; }
.status-service { display: inline-flex; align-items: center; gap: 5px; margin: 4px 14px 0 0; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--el-color-info); }
.status-dot.operational { background: var(--el-color-success); }
.status-dot.recovering { background: var(--el-color-primary); }
.status-dot.degraded { background: var(--el-color-warning); }
.status-dot.major { background: var(--el-color-danger); }
.status-post { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fff8eb; }

/* 笔记本与小屏幕 */
.page .row.gap { flex-wrap: wrap; }
@media (max-width: 1440px) {
  .main { padding: 16px 18px 24px; }
  .header { padding: 0 18px; }
  .stat { padding: 10px 14px; min-width: 104px; }
  .stat b { font-size: 21px; }
}
@media (max-width: 1200px) {
  .page .el-row > .el-col { max-width: 100%; flex: 0 0 100%; margin-bottom: 16px; }
  .bm-scroll { max-height: 280px; }
  .stat.wide { min-width: 100%; }
  .el-drawer { width: 92% !important; }
  .el-dialog { width: 92% !important; max-width: 640px; }
}
@media (max-width: 768px) {
  .main { padding: 12px; }
  .header h3 { font-size: 16px; }
  .el-table { border-radius: 12px; }
}
.assign-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.tag-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.tag-chip { display: inline-block; padding: 0 7px; line-height: 18px; font-size: 12px; border: 1px solid; border-radius: 9px; white-space: nowrap; }
.tag-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--hs-line-soft); }
.tag-row > .row { margin-left: auto; }
.color-dot { width: 18px; height: 18px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; }
.color-dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; }
.alerts-card { border-color: #f5c2c2; }
.alerts-card.quiet { border-color: var(--hs-line-soft); }
.link-row { padding: 4px 0; flex-wrap: nowrap !important; }
.link-row .ellipsis { flex: 1; min-width: 0; }
.copy-box { width: 100%; min-height: 160px; font-family: var(--hs-mono); font-size: 12px; }
.fb-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hs-line-soft); }
.fb-row:last-child { border-bottom: 0; }
.ok-text { color: var(--el-color-success); }
.warn-text { color: var(--el-color-warning); }

.spend-chart { position: relative; }
.spend-chart svg { width: 100%; height: auto; max-height: 300px; display: block; }
.spend-chart .grid { stroke: #edf0f5; stroke-width: 1; }
.spend-chart .cursor { stroke: #c0c6d2; stroke-dasharray: 3 3; }
.spend-chart .axis { fill: var(--hs-muted); font-size: 11px; }
.chart-tip { position: absolute; top: 8px; transform: translateX(-50%); background: #fff; border: 1px solid #e3e7ef; border-radius: 8px; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); padding: 6px 10px; font-size: 12px; pointer-events: none; white-space: nowrap; z-index: 2; }
.chart-tip i, .chart-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--hs-ink); margin-top: 6px; }
.trend-stats { font-size: 13px; }
.trend-stats b { font-size: 15px; }
.bill-total { background: #f5f8ff; border: 1px solid #dde6fb; border-radius: 8px; padding: 4px 10px; font-size: 13px; }
.bill-sub { margin: 4px 0 4px 40px; width: calc(100% - 40px); }
.mr { margin-right: 4px; }
.pre-tip { white-space: pre-line; max-width: 420px; }

/* ===== 动效 ===== */
:root {
  --hs-ease: cubic-bezier(.2, .8, .2, 1);
  --hs-spring: cubic-bezier(.34, 1.4, .64, 1);
}
@keyframes hs-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hs-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hs-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes hs-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hs-shimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
@keyframes hs-breathe { 0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); } 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, .04); } }
@keyframes hs-ping { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .45); } 100% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } }
@keyframes hs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hs-blob { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(6vw, -4vh) scale(1.12); } 66% { transform: translate(-4vw, 5vh) scale(.94); } 100% { transform: translate(0, 0) scale(1); } }

/* 启动 */
.boot { flex-direction: column; gap: 14px; }
.boot img { width: 56px; height: 56px; border-radius: 50%; animation: hs-float 1.6s ease-in-out infinite; box-shadow: 0 10px 30px rgba(47, 107, 255, .25); }

/* 切换页面 */
.main > * { animation: hs-rise .32s var(--hs-ease) backwards; }
.header h3 { animation: hs-rise .28s var(--hs-ease) backwards; }
.fade-enter-active, .fade-leave-active { transition: opacity .15s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* 卡片依次浮现 */
.main .el-card, .main .stat, .main .guard { animation: hs-rise .45s var(--hs-ease) backwards; }
.main .stats .stat:nth-child(2) { animation-delay: .04s; }
.main .stats .stat:nth-child(3) { animation-delay: .08s; }
.main .stats .stat:nth-child(4) { animation-delay: .12s; }
.main .stats .stat:nth-child(5) { animation-delay: .16s; }
.main .el-col:nth-child(2) > .el-card { animation-delay: .08s; }
.main .el-col .el-card + .el-card { animation-delay: .12s; }
.main .el-card { transition: box-shadow .25s var(--hs-ease), border-color .25s; }
.main .el-card:hover { box-shadow: 0 10px 30px rgba(28, 39, 68, .08); }
.stat { transition: transform .25s var(--hs-spring), box-shadow .25s var(--hs-ease); }
.stat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 39, 68, .1); }
.clickable { transition: transform .25s var(--hs-spring), box-shadow .25s var(--hs-ease); }
.clickable:hover { transform: translateY(-3px); }
.count-up { font-variant-numeric: tabular-nums; }

/* 侧边栏 */
.aside { transition: width .28s var(--hs-ease); background: linear-gradient(180deg, rgba(238, 243, 255, .9) 0, rgba(255, 255, 255, .94) 150px); }
.logo { transition: transform .5s var(--hs-spring); }
.brand:hover .logo { transform: rotate(-12deg) scale(1.06); }
.fb-chip { transition: background .3s, color .3s, border-color .3s; }
.fb-chip.ok .dot { animation: hs-breathe 2.4s ease-in-out infinite; }
.menu-wrap { position: relative; flex: 1; overflow-y: auto; overflow-x: hidden; }
.menu-glider { position: absolute; top: 0; left: 0; border-radius: 10px; background: #eef3ff; box-shadow: inset 0 0 0 1px #dfe8ff; pointer-events: none; transition: transform .32s var(--hs-ease), width .28s var(--hs-ease), height .28s var(--hs-ease), opacity .2s; z-index: 0; }
.menu-glider::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--hs-blue); }
.menu-wrap.collapsed .menu-glider::before { display: none; }
.menu { position: relative; z-index: 1; }
.menu .el-menu-item { transition: background .2s, color .2s; }
.menu .el-menu-item .el-icon { transition: transform .25s var(--hs-spring), color .2s; }
.menu .el-menu-item:hover .el-icon { transform: scale(1.12); }
.menu .el-menu-item.is-active { background: transparent; }
.menu .el-menu-item.is-active:hover { background: transparent; }
.menu-badge .el-badge__content { animation: hs-ping 1.8s ease-out infinite; }

/* 按钮、输入、标签 */
.el-button { transition: transform .15s var(--hs-ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s; }
.el-button:not(.is-disabled):active { transform: scale(.96); }
.el-button--primary { background-image: linear-gradient(135deg, #3b77ff 0%, #2f6bff 50%, #2558e8 100%); border-color: #2f6bff; }
.el-button--primary:not(.is-disabled):hover { transform: translateY(-1px); }
.el-button--primary.is-plain, .el-button--primary.is-link, .el-button--primary.is-text, .el-button--primary.is-disabled { background-image: none; }
.el-input__wrapper, .el-select__wrapper { transition: box-shadow .2s var(--hs-ease); }
.el-tag, .tag-chip { transition: transform .2s var(--hs-spring); }
.el-tag:hover, .tag-chip:hover { transform: translateY(-1px); }
.link { transition: color .15s; }
.el-switch__core { transition: background-color .25s var(--hs-ease), border-color .25s; }

/* 表格、列表 */
.el-table__body tr { transition: background-color .15s; }
.el-table__row { animation: hs-fade .3s ease both; }
.issue-row { transition: background .2s, border-color .2s, transform .25s var(--hs-spring); }
.issue-row:hover { transform: translateX(3px); }
.bm-item { transition: background .2s, transform .25s var(--hs-spring), box-shadow .2s; }
.bm-item:hover { transform: translateX(3px); }
.fb-row, .mini-row, .tag-row { transition: background .2s; }
.bulk-bar { animation: hs-drop .28s var(--hs-ease) backwards; box-shadow: 0 8px 20px rgba(47, 107, 255, .1); }
.el-alert { animation: hs-rise .35s var(--hs-ease) backwards; }
.el-loading-mask { background: rgba(255, 255, 255, .6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.el-progress-bar__inner { transition: width .45s var(--hs-ease); background-image: linear-gradient(90deg, #5b8cff, #2f6bff); }

/* 弹窗、抽屉、消息 */
.dialog-fade-enter-active .el-overlay-dialog { animation: none; }
.dialog-fade-enter-active .el-dialog { animation: hs-pop .32s var(--hs-ease) both; }
.el-message-box { animation: hs-pop .28s var(--hs-ease) both; }
.el-overlay { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.el-drawer.rtl { transition-timing-function: var(--hs-ease) !important; }
.el-message { animation: hs-drop .3s var(--hs-ease) backwards; }
.el-popper.is-light { animation: hs-fade .18s ease both; }

/* 骨架屏 */
.skeleton { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; width: 100%; }
.sk-block { border-radius: 8px; background: linear-gradient(90deg, #f0f3f8 0, #e6ebf3 40px, #f0f3f8 80px); background-size: 800px 100%; animation: hs-shimmer 1.2s linear infinite; }
.sk-line { height: 12px; }
.sk-chart { height: 180px; border-radius: 12px; }

/* 花费趋势图 */
.chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hs-draw 1s var(--hs-ease) forwards; }
.chart-area { animation: hs-fade .9s ease .3s both; }
.chart-dot { stroke: #fff; stroke-width: 2; animation: hs-fade .15s ease both; filter: drop-shadow(0 2px 4px rgba(15, 23, 42, .2)); }
.chart-tip { transform: translateX(14px); transition: left .12s var(--hs-ease); }
.chart-tip.flip { transform: translateX(calc(-100% - 14px)); }
.trend-stats b { transition: color .2s; }

/* 登录页 */
.login { position: relative; overflow: hidden; }
.login::before, .login::after { content: ""; position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; animation: hs-blob 18s ease-in-out infinite; pointer-events: none; }
.login::before { background: radial-gradient(circle, #9db8ff 0, rgba(157, 184, 255, 0) 70%); top: -18vmax; left: -12vmax; }
.login::after { background: radial-gradient(circle, #b9a6ff 0, rgba(185, 166, 255, 0) 70%); bottom: -20vmax; right: -14vmax; animation-delay: -9s; animation-duration: 22s; }
.login-box, .login-foot { position: relative; z-index: 1; }
.login-box { animation: hs-pop .55s var(--hs-ease) both; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.login-head img { animation: hs-float 3.2s ease-in-out infinite; box-shadow: 0 12px 30px rgba(47, 107, 255, .25); }
.login-foot { animation: hs-fade .8s ease .3s both; }

/* 系统设置了「减少动态效果」时关掉动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .chart-line { stroke-dashoffset: 0; }
}

.mb-tabs { margin-bottom: 4px; }
.rule-types { display: flex; flex-direction: column; align-items: flex-start; }
.rule-types .el-radio { margin-right: 0; height: 28px; }
.el-table .row-danger { --el-table-tr-bg-color: var(--el-color-danger-light-9); }

.share { max-width: 980px; margin: 0 auto; padding: 28px 16px 40px; }
.share-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.share-head h1 { margin: 0; font-size: 22px; font-weight: 650; color: var(--hs-ink); }
.share-head p { margin: 2px 0 0; color: var(--hs-muted); font-size: 13px; }
.share-logo { width: 44px; height: 44px; border-radius: 50%; }
.share-totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.share-total { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--hs-line-soft); border-radius: 12px; background: #fafcff; }
.share-total b { font-size: 22px; }
.share-foot { text-align: center; margin-top: 18px; }
.share-loading { text-align: center; padding: 60px 0; }
.share-link { display: flex; gap: 8px; align-items: center; }

/* ===== 图标 ===== */
@keyframes hs-spin { to { transform: rotate(360deg); } }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }
.ico-spin { animation: hs-spin 1s linear infinite; }
.el-button .ico { font-size: 15px; margin-right: 6px; }
.el-button--small .ico { font-size: 14px; margin-right: 4px; }
.el-button.is-circle .ico { margin-right: 0; font-size: 16px; }
.el-input__prefix .ico { font-size: 15px; color: var(--hs-faint); }

.menu .el-menu-item .menu-ico { width: 28px; height: 28px; margin-right: 10px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 15px; transition: transform .25s var(--hs-spring), background .2s, color .2s, box-shadow .2s; }
.menu.el-menu--collapse .el-menu-item .menu-ico { margin-right: 0; }
.menu.el-menu--collapse .el-menu-item .el-tooltip__trigger { padding: 0 !important; width: 100%; display: flex; align-items: center; justify-content: center; }
.menu-ico.blue, .menu .el-menu-item .menu-ico.blue { background: #eef3ff; color: #2f6bff; }
.menu-ico.purple, .menu .el-menu-item .menu-ico.purple { background: #f3efff; color: #7c4dff; }
.menu-ico.gray, .menu .el-menu-item .menu-ico.gray { background: #f1f3f7; color: #687181; }
.menu .el-menu-item.is-active .menu-ico.blue { background: #2f6bff; color: #fff; box-shadow: 0 4px 10px rgba(47, 107, 255, .3); }
.menu .el-menu-item.is-active .menu-ico.purple { background: #7c4dff; color: #fff; box-shadow: 0 4px 10px rgba(124, 77, 255, .3); }
.menu .el-menu-item.is-active .menu-ico.gray { background: #5b6472; color: #fff; box-shadow: 0 4px 10px rgba(91, 100, 114, .3); }
.header-title { display: flex; align-items: center; gap: 10px; }
.header-title .menu-ico { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 17px; }

/* ===== 自动更新 ===== */
.refresh-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--hs-line-soft); background: #fff; font: 500 12.5px/1 var(--hs-font); color: var(--hs-text); cursor: pointer; transition: border-color .2s, background .2s, color .2s; white-space: nowrap; }
.refresh-chip:hover { border-color: #d5e1ff; background: #f7f9ff; }
.refresh-chip .dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hs-green); animation: hs-breathe 2.4s ease-in-out infinite; display: inline-block; flex: none; }
.refresh-chip .ico { font-size: 14px; }
.refresh-chip.busy { color: var(--hs-blue); border-color: #d5e1ff; background: #f5f8ff; }
.refresh-chip.off { color: var(--hs-muted); }
.refresh-chip.warn { color: var(--hs-amber); border-color: #fdebc8; background: #fffaf0; }
.refresh-pop { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.refresh-pop p { margin: 0; line-height: 1.6; }
.refresh-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; color: var(--hs-muted); }
.refresh-meta b { font-weight: 600; color: var(--hs-ink); }

/* ===== 页面标题区、卡片标题 ===== */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.page-intro { display: flex; flex-direction: column; gap: 4px; min-width: 260px; flex: 1; }
.page-intro p { margin: 0; color: var(--hs-text); font-size: 13.5px; }
.sum-line { display: flex; flex-wrap: wrap; gap: 2px 16px; font-variant-numeric: tabular-nums; }
.sum-item b { color: var(--hs-text); font-weight: 650; margin-right: 4px; }
.card-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; color: var(--hs-ink); }
.card-title > .ico { color: var(--hs-blue); font-size: 16px; }
.money { font-family: var(--hs-mono); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.ok-line { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--hs-green); font-weight: 600; }
.ok-line .muted { font-weight: 400; margin-left: 4px; }

/* ===== 空状态 ===== */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 16px; color: var(--hs-muted); line-height: 1.5; }
.empty-state b { color: var(--hs-ink); font-size: 14px; }
.empty-state p { margin: 0; font-size: 12.5px; max-width: 380px; }
.empty-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: var(--hs-blue); background: linear-gradient(135deg, #eef3ff, #f8faff); box-shadow: inset 0 0 0 1px #dfe8ff; margin-bottom: 4px; }
.big-empty { background: #fff; border: 1px dashed #d5dcea; border-radius: 20px; padding: 48px 16px; }
.small-empty { padding: 40px 12px; }

/* ===== 总览：指标卡 ===== */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.kpi { --k-main: #687181; --k-soft: #f1f3f7; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 134px; padding: 16px 18px 14px; background: #fff; border: 1px solid var(--hs-line-soft); border-radius: 18px; box-shadow: var(--hs-shadow-sm); color: inherit; text-decoration: none; cursor: pointer; transition: transform .25s var(--hs-spring), box-shadow .25s var(--hs-ease); animation: hs-rise .45s var(--hs-ease) backwards; }
.kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 39, 68, .1); }
.kpi:nth-child(2) { animation-delay: .05s; }
.kpi:nth-child(3) { animation-delay: .1s; }
.kpi:nth-child(4) { animation-delay: .15s; }
.kpi-blue { --k-main: #2f6bff; --k-soft: #eef3ff; }
.kpi-green { --k-main: #16a34a; --k-soft: #ecfdf3; }
.kpi-red { --k-main: #e5484d; --k-soft: #fef1f1; }
.kpi-amber { --k-main: #d97706; --k-soft: #fff7e8; }
.kpi-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hs-muted); font-weight: 500; }
.kpi-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; background: var(--k-soft); color: var(--k-main); }
.kpi-value { font-size: 28px; font-weight: 700; color: var(--hs-ink); letter-spacing: -.5px; line-height: 1.2; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.kpi-red .kpi-value { color: #d63c41; }
.kpi-amber .kpi-value { color: #c26a05; }
.kpi-unit { font-size: 18px; color: var(--hs-faint); margin-right: 3px; font-weight: 600; }
.kpi-of { font-size: 15px; color: var(--hs-faint); font-weight: 600; margin-left: 5px; letter-spacing: 0; }
.kpi-foot { display: flex; align-items: center; gap: 6px; font-size: 12.5px; min-height: 22px; position: relative; z-index: 1; min-width: 0; }
.kpi-chips { flex-wrap: wrap; gap: 4px; }
.mini-chip { padding: 1px 8px; border-radius: 999px; background: var(--k-soft); color: var(--k-main); font-weight: 600; font-size: 12px; white-space: nowrap; }
.trend { display: inline-flex; align-items: center; gap: 3px; font-weight: 650; padding: 1px 7px; border-radius: 999px; }
.trend.up { color: #15803d; background: #ecfdf3; }
.trend.down { color: #c2393d; background: #fef1f1; }
.trend.flat { color: var(--hs-blue); background: #eef3ff; }
.spark { position: absolute; right: 0; bottom: 0; width: 52%; height: 48px; pointer-events: none; }
.spark-line { fill: none; stroke: var(--k-main); stroke-width: 1.8; stroke-linejoin: round; }
.spark-area { fill: var(--k-soft); opacity: .8; }
.kpi-meter { height: 6px; border-radius: 6px; background: #eef1f5; overflow: hidden; margin-top: auto; }
.kpi-meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4ade80, #16a34a); transition: width .6s var(--hs-ease); }

/* ===== 总览：今日实时 ===== */
.live-card .card-title .live-dot { margin-left: 2px; }
.live-sub { font-size: 12.5px; color: var(--hs-muted); font-weight: 600; margin-bottom: 8px; }
.live-chart svg { max-height: 250px; }
.live-today { fill: none; stroke: #2f6bff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.live-yesterday { fill: none; stroke: #b8c0cc; stroke-width: 1.6; stroke-dasharray: 4 4; }
.live-now { fill: #2f6bff; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 2px 4px rgba(47, 107, 255, .4)); }
.rank-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.rank-row { display: flex; gap: 10px; align-items: flex-start; }
.rank-no { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #f1f3f7; color: var(--hs-muted); flex: none; margin-top: 1px; }
.rank-no.n0 { background: #2f6bff; color: #fff; }
.rank-no.n1 { background: #6d97ff; color: #fff; }
.rank-no.n2 { background: #c1d3ff; color: #1d4ed8; }
.rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rank-main > .row { flex-wrap: nowrap !important; gap: 8px; }
.rank-name { font-weight: 600; color: var(--hs-ink); min-width: 0; }
.rank-bar { height: 5px; border-radius: 5px; background: #f0f3f8; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #8fb0ff, #2f6bff); transition: width .6s var(--hs-ease); }
.issue-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex: none; }
.issue-ico.danger { background: #fef1f1; color: #e5484d; }
.issue-ico.warning { background: #fff7e8; color: #d97706; }
.issue-ico.ok { background: #ecfdf3; color: #16a34a; }
.issue-go { color: var(--hs-faint); font-size: 16px; transition: transform .2s var(--hs-ease); }
.issue-row:hover .issue-go { transform: translateX(2px); color: var(--hs-blue); }

/* ===== 广告账户 ===== */
.accounts-page { padding-bottom: 64px; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--hs-line-soft); border-radius: 16px; box-shadow: var(--hs-shadow-sm); }
.toolbar-search { width: 250px; }
.seg-tabs { display: inline-flex; padding: 3px; background: #f1f4f9; border-radius: 11px; gap: 2px; }
.seg-tab { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--hs-muted); font: 600 13px/1 var(--hs-font); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg-tab:hover { color: var(--hs-ink); }
.seg-tab.on { background: #fff; color: var(--hs-ink); box-shadow: 0 1px 3px rgba(15, 18, 25, .12); }
.seg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hs-faint); }
.seg-tab.ok .seg-dot { background: var(--hs-green); }
.seg-tab.bad .seg-dot { background: var(--hs-red); }
.seg-tab.warn .seg-dot { background: var(--hs-amber); }
.seg-count { font-family: var(--hs-mono); font-size: 11.5px; color: var(--hs-faint); font-weight: 600; }
.seg-tab.on .seg-count { color: var(--hs-blue); }
.seg-count.bad { color: var(--hs-red); }
.chip-toggle { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid #e3e7ee; background: #fff; color: var(--hs-text); font: 500 13px/1 var(--hs-font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip-toggle:hover { border-color: #c1d3ff; }
.chip-toggle.on { background: #eef3ff; border-color: #c1d3ff; color: var(--hs-blue); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12.5px; color: #c26a05; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(217, 119, 6, .15); }
.status-pill.active { color: #15803d; }
.status-pill.active i { box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.status-pill.disabled { color: #d63c41; }
.status-pill.disabled i { box-shadow: 0 0 0 3px rgba(229, 72, 77, .15); }
.el-table td.num .cell, .el-table td.mono-cell .cell { font-family: var(--hs-mono); font-size: 12.5px; }
.accounts-table .el-table__empty-block { min-height: 260px; }

.float-bar { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; max-width: calc(100vw - 48px); padding: 6px 8px 6px 16px; background: rgba(17, 24, 39, .94); color: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.float-bar .el-button.is-text { color: #e5e9f2; margin-left: 0; }
.float-bar .el-button.is-text:not(.is-disabled):hover { background: rgba(255, 255, 255, .1); color: #fff; }
.float-count { font-size: 13px; color: #c9d1e0; margin-right: 4px; white-space: nowrap; }
.float-count b { color: #fff; font-size: 15px; margin-right: 2px; }
.float-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .16); margin: 0 6px; }
.float-bar .delay-input { color: #c9d1e0; }
.float-bar-enter-active, .float-bar-leave-active { transition: opacity .2s, transform .28s var(--hs-ease); }
.float-bar-enter-from, .float-bar-leave-to { opacity: 0; transform: translate(-50%, 16px); }

.status-pill.running { color: var(--hs-blue); }
.status-pill.running i { box-shadow: 0 0 0 3px rgba(47, 107, 255, .15); animation: hs-breathe 1.6s ease-in-out infinite; }
.click-rows .el-table__row { cursor: pointer; }
.status-pill.idle { color: var(--hs-muted); }
.status-pill.idle i { box-shadow: 0 0 0 3px rgba(104, 113, 129, .15); }
.toolbar-end { margin-left: auto; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.el-button .seg-count { margin-left: 5px; }

.rules-note { margin: 0 0 10px; line-height: 1.6; }
.el-button.is-link .ico { margin-right: 3px; }

.bill-totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.bill-total-card { display: flex; align-items: center; gap: 18px; padding: 12px 16px; background: #fff; border: 1px solid var(--hs-line-soft); border-radius: 16px; box-shadow: var(--hs-shadow-sm); animation: hs-rise .4s var(--hs-ease) backwards; }
.bill-total-card > span { display: flex; flex-direction: column; gap: 2px; }
.bill-total-card small { font-size: 12px; color: var(--hs-muted); }
.bill-total-card b { font-size: 16px; color: var(--hs-ink); }
.bill-total-card .due b { color: var(--hs-blue); font-size: 18px; }
.bill-total-cur { width: 44px; height: 44px; border-radius: 13px; display: grid !important; place-items: center; font: 700 12.5px/1 var(--hs-mono); color: #2f6bff; background: #eef3ff; flex: none; }
a.link .ico { vertical-align: -.16em; }
.step-no { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--hs-blue); }
.bm-tool { display: flex; align-items: flex-start; gap: 10px; }
.bm-tool .muted.small { font-family: var(--hs-font); font-size: 12px; }
.bm-tool.on b { color: var(--hs-blue); }
.bm-tool-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.bm-tool-ico.blue { background: #eef3ff; color: #2f6bff; }
.bm-tool-ico.green { background: #ecfdf3; color: #16a34a; }
.bm-tool-ico.purple { background: #f3efff; color: #7c4dff; }
.bm-tool-ico.orange { background: #fff4e5; color: #ea7a00; }
.card-name { display: inline-flex; align-items: center; gap: 8px; }
.card-name .ico { color: var(--hs-blue); font-size: 16px; }

/* ===== 多号汇总、广告投放 ===== */
.summary-page, .ads-page, .pages-page, .pixels-page { padding-bottom: 64px; }
.fb-avatar { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; font-weight: 700; color: #2f6bff; background: #eef3ff; }
.fb-avatar.stale { color: #d63c41; background: #fef1f1; }

/* ===== 消息推送 ===== */
.notify-card { display: flex; flex-direction: column; gap: 14px; min-height: 60px; }
.notify-bot { padding: 12px 14px; border-radius: 14px; background: #f8faff; border: 1px solid #e3eaff; }
.notify-bot-row, .notify-chat { display: flex; align-items: center; gap: 10px; }
.notify-bot-main, .notify-chat-main { flex: 1; min-width: 0; }
.notify-bot-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: #fff; background: linear-gradient(135deg, #37aee2, #1e96c8); box-shadow: 0 4px 10px rgba(30, 150, 200, .3); flex: none; }
.notify-steps { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--hs-text); }
.notify-steps > div { display: flex; align-items: baseline; gap: 8px; }
.notify-steps span { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; color: #fff; background: var(--hs-blue); }
.notify-steps code, .notify-code code { font-family: var(--hs-mono); font-size: 12px; padding: 1px 6px; border-radius: 6px; background: #eef1f6; color: var(--hs-ink); }
.notify-section { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hs-line-soft); }
.notify-chat { padding: 8px 10px; border-radius: 12px; background: #fafbfd; border: 1px solid var(--hs-line-soft); }
.notify-chat-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.notify-chat-ico.blue { background: #eef3ff; color: #2f6bff; }
.notify-chat-ico.purple { background: #f3efff; color: #7c4dff; }
.notify-pref { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; }
.notify-pref .ico { color: #7c4dff; }
.notify-quiet { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #f7f5ff; }
.notify-quiet .el-select { width: 110px; }
.notify-bind { display: flex; flex-direction: column; gap: 14px; }
.notify-bind-item { padding: 14px; border-radius: 14px; border: 1px solid var(--hs-line-soft); }
.notify-bind-item p { margin: 4px 0 10px; }
.notify-bind a.el-button { text-decoration: none; }
.notify-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notify-code code { font-size: 13px; padding: 4px 8px; user-select: all; }
.notify-wait { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1200px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header .refresh-chip span:last-child { display: none; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: 1fr; }
  .toolbar-search { width: 100%; }
}
.el-table .row-tone-red > td.el-table__cell { background: #fff1f0 !important; }
.el-table .row-tone-yellow > td.el-table__cell { background: #fffbe6 !important; }
.el-table .row-tone-green > td.el-table__cell { background: #f0fdf4 !important; }
.setup-card { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #fff8eb; border: 1px solid #ffe2b3; }
.setup-card.urgent { background: #fff1f0; border-color: #ffccc7; }
.setup-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; margin-top: 10px; }
.setup-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; }
.setup-item .setup-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.setup-mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #fff4e5; color: #ea7a00; flex: none; }
.setup-item.done .setup-mark { background: #ecfdf3; color: #16a34a; }

/* Windows：关掉毛玻璃，弹窗只淡入（Windows 版 Chrome 显卡加速下全屏 backdrop-filter + 缩放动画会闪屏）。标记由 main.js 加在 <html> 上 */
.is-windows .el-overlay,
.is-windows .header,
.is-windows .float-bar,
.is-windows .el-loading-mask,
.is-windows .login-box { backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-windows .header { background: #fff; }
.is-windows .login-box { background: rgba(255, 255, 255, .97); }
.is-windows .dialog-fade-enter-active .el-dialog,
.is-windows .el-message-box { animation: hs-fade .2s ease both; }
