/* ============================================================
   知媒 ZhiMei · 全站设计系统（参考 workbuddy.cn/enterprise/product）
   极简白 + 薄荷灰交替底 / 薄荷绿品牌色 #00c29a / 中等字重左对齐标题 /
   点阵网格 / 同心圆枢纽 / 黑色 pill 主按钮(hover 深灰) / 纯黑页脚 /
   无实线描边：淡色底块 + 圆角 + 留白 / PingFang 字体
   ============================================================ */

:root {
  /* 品牌薄荷绿 */
  --brand: #00c29a;
  --brand-deep: #009273;
  --brand-bright: #32e6b9;
  --brand-soft: #f2fcfa;
  --brand-soft-2: #ddf0ec;
  --mint: #00c29a;

  /* 薄荷绿渐变（标题高亮 / 光晕 / 装饰） */
  --grad: linear-gradient(270deg, #009273 0%, #00c29a 55%, #32e6b9 100%);
  --grad-soft: linear-gradient(120deg, #f2fcfa 0%, #f3f9f6 60%, #e9fff4 100%);

  /* 黑色主按钮 / 纯黑页脚 */
  --black: #0a0a0a;
  --black-2: #16191f;
  --footer-bg: #0a0a0a;

  /* 中性色（暖灰，偏绿调） */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8f9;
  --surface-3: #ebebeb;
  --ink: #1a1a1a;
  --ink-2: #646464;
  --ink-3: #a3a3a3;
  --ink-4: #c4c4c4;

  /* 语义色 */
  --ok: #0da740;
  --ok-soft: #ecfaed;
  --warn: #ff7931;
  --warn-soft: #fff5eb;
  --danger: #f33939;
  --danger-soft: #fff2f0;
  --info: #277fe4;
  --info-soft: #edf4fd;
  --gold: #c07f16;
  --gold-soft: #fdf4e3;
  --gold-deep: #9a6410;

  /* 分类色（薄荷绿主导 + 青橙蓝辅助） */
  --cat-news: #00c29a;
  --cat-news-soft: #f2fcfa;
  --cat-wem: #14c8c7;
  --cat-wem-soft: #e6faf9;
  --cat-video: #ff7931;
  --cat-video-soft: #fff5eb;
  --cat-global: #4897fe;
  --cat-global-soft: #edf4fd;

  /* 圆角 / 阴影 / 动效（柔和绿调阴影） */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(26, 26, 26, 0.04), 0 6px 20px rgba(0, 97, 77, 0.05);
  --shadow-2: 0 6px 16px rgba(26, 26, 26, 0.06), 0 16px 40px rgba(0, 97, 77, 0.09);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms var(--ease);
  --t-norm: 340ms var(--ease);

  --font: "PingFang SC", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Microsoft YaHei", "HarmonyOS Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--brand-soft-2); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic-lg { width: 1.5em; height: 1.5em; }

/* ---------- 按钮（黑色 pill 为主） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 999px; font-weight: 500; font-size: 14px;
  padding: 11px 24px; transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  user-select: none; white-space: nowrap; line-height: 1.4;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #222824; color: #fff; box-shadow: 0 6px 18px rgba(10, 10, 10, 0.18); transform: translateY(-1px); }
.btn-ghost { background: var(--surface-3); color: var(--ink-2); }
.btn-ghost:hover { background: var(--brand-soft-2); color: var(--brand-deep); }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-soft:hover { background: var(--brand-soft-2); }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--surface-3); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--ink-3); background: #fff; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #d99a26, #b8770f); color: #fff; }
.btn-gold:hover { box-shadow: 0 6px 18px rgba(192, 127, 22, 0.32); }
.btn-danger-soft { background: var(--danger-soft); color: var(--danger); }
.btn-outline-light { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* ---------- 徽章 / 标签 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; line-height: 1.5;
}
.badge-news { background: var(--cat-news-soft); color: var(--cat-news); }
.badge-wem { background: var(--cat-wem-soft); color: var(--cat-wem); }
.badge-video { background: var(--cat-video-soft); color: var(--cat-video); }
.badge-global { background: var(--cat-global-soft); color: var(--cat-global); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--surface-3); color: var(--ink-3); }
.badge-gold { background: var(--gold-soft); color: var(--gold-deep); }

.tag {
  display: inline-flex; align-items: center; font-size: 12px; color: var(--ink-3);
  background: var(--surface-3); padding: 2px 9px; border-radius: 999px;
}

/* ---------- 顶部导航（白色 + 绿色 active 下划线） ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--surface-3);
}
/* 全站统一：首页企业版导航样式（白底 / 菜单居中 / 黑色开户按钮） */
.nav-inner { display: flex; align-items: center; gap: 0; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: 1px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--brand);
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 600;
  overflow: hidden; flex: none;
}
.logo-mark .zm-mark { width: 100%; height: 100%; display: block; }
/* 双行字标：知媒 + ZHIMEI.NEWS，总高严格等于 LOGO 方块高度 */
.logo-word { display: flex; flex-direction: column; justify-content: center; height: 32px; }
.logo-word > b { font-size: 15px; font-weight: 600; line-height: 17px; letter-spacing: 1px; color: inherit; }
.logo-sub {
  display: block; font-size: 9px; font-weight: 600; line-height: 11px;
  letter-spacing: 1.1px; margin-top: 2px; color: var(--brand);
}
/* 「媒体传播平台」竖线标签（全站导航统一带） */
.nav-tag {
  display: inline-flex; align-items: center; margin-left: 12px; padding-left: 12px;
  box-shadow: -1px 0 0 var(--surface-3); font-size: 12px; color: var(--ink-3);
  letter-spacing: 1px; font-weight: 400;
}
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 8px 16px; font-size: 14px; font-weight: 400; color: var(--ink-2);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand-deep); font-weight: 500; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--brand);
}
/* GEO New 小标（光闪扫过特效） */
.nav-new {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; margin-left: 5px; vertical-align: 2px;
  background: var(--grad); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 0.5px;
  padding: 1px 6px; border-radius: 999px; line-height: 1.5; text-transform: uppercase;
}
.nav-new::after {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent 0, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: nav-shine 2.6s ease-in-out infinite;
}
@keyframes nav-shine {
  0%, 55% { left: -70%; }
  85%, 100% { left: 130%; }
}
/* 活动 Hot 小标（暖橙渐变 + 同款光闪扫过） */
.nav-hot { background: linear-gradient(270deg, #f33939 0%, #ff7931 60%, #ffb03a 100%); }
@media (prefers-reduced-motion: reduce) {
  .nav-new::after { animation: none; opacity: 0; }
}
.nav-right { display: flex; align-items: center; gap: 14px; }
/* 统一首页风格：导航不展示电话（电话在页脚 / 联系页 / 控制台侧栏） */
.nav-phone { display: none; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.nav-phone .ic { color: var(--brand); }
.nav-right .btn-ghost { background: transparent; color: var(--ink-2); padding: 7px 4px; font-weight: 400; }
.nav-right .btn-ghost:hover { color: var(--brand-deep); background: transparent; }
.nav-right .btn-primary { background: var(--black); color: #fff; font-weight: 500; padding: 8px 20px; font-size: 13px; }
.nav-right .btn-primary:hover { background: #222824; color: #fff; box-shadow: none; transform: translateY(-1px); }
.nav-user { display: flex; align-items: center; gap: 9px; padding: 5px 14px 5px 6px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.nav-burger { display: none; background: var(--surface-3); border: none; border-radius: 10px; width: 38px; height: 38px; place-items: center; color: var(--ink-2); }

/* ---------- 页脚（纯黑企业版） ---------- */
.footer { background: var(--footer-bg); color: #9aa39e; margin-top: 0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 40px; }
.footer .logo { color: #fff; font-weight: 600; letter-spacing: 1px; }
.footer .logo-mark { background: var(--brand); border-radius: 8px; }
.footer-desc { font-size: 12.5px; margin-top: 14px; max-width: 300px; line-height: 1.9; color: #8a938e; }
.footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 16px; font-weight: 500; }
.footer-col a, .footer-col span { display: block; font-size: 12.5px; padding: 5px 0; color: #9aa39e; }
.footer-contact { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; padding: 5px 0; }
.footer-contact .ic { margin-top: 3px; color: var(--brand); }
.footer-hotline { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: 0.5px; margin: 4px 0 2px; }
.footer-bar {
  padding: 18px 0 28px; font-size: 12.5px; color: #6f7873;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.footer-bar a { color: #6f7873; }
.footer-bar a:hover { color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500;
  color: var(--brand-deep); letter-spacing: 2px; margin-bottom: 18px; text-transform: uppercase;
}
.eyebrow .en { color: var(--ink-4); font-weight: 500; letter-spacing: 2px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.section-title { font-size: 36px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.4; }
.section-desc { color: var(--ink-2); margin-top: 16px; font-size: 15px; line-height: 1.9; }

/* ---------- 卡片（无描边 · 浅灰底 · 大圆角） ---------- */
.card { background: var(--surface-2); border-radius: var(--r-lg); }
.card-pad { padding: 26px; }
.tile { background: var(--surface-2); border-radius: var(--r-lg); padding: 28px; transition: transform var(--t-norm), box-shadow var(--t-norm), background var(--t-norm); }
.tile:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-2); }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.field .err { font-size: 12.5px; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
.input, .select, .textarea {
  background: var(--surface-2); border: none; border-radius: 12px;
  padding: 12px 16px; font-size: 14.5px; color: var(--ink); width: 100%;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(0, 194, 154, 0.16); }
.field.invalid .input { box-shadow: 0 0 0 3px rgba(207, 63, 63, 0.14); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a948b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.input-group { display: flex; gap: 10px; }
.input-group .input { flex: 1; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface-2); }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 900px; }
table.data thead th {
  text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3);
  background: var(--surface-3); padding: 14px 14px; white-space: nowrap;
}
table.data thead th:first-child { padding-left: 24px; border-radius: var(--r-lg) 0 0 0; }
table.data thead th:last-child { padding-right: 24px; border-radius: 0 var(--r-lg) 0 0; }
table.data tbody td { padding: 15px 14px; vertical-align: middle; }
table.data tbody td:first-child { padding-left: 24px; }
table.data tbody td:last-child { padding-right: 24px; }
table.data tbody tr { transition: background var(--t-fast); }
table.data tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.6); }
table.data tbody tr:hover { background: var(--brand-soft); }
table.data .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.price-normal { color: var(--ink-2); font-weight: 600; }
.price-vip { color: var(--gold-deep); font-weight: 600; }
.price-vip .badge { margin-left: 4px; }

/* 16 列紧凑宽表（勾选 + 15 列，媒体发布 / 收藏夹），操作列右侧吸附 */
table.data.full { min-width: 1280px; font-size: 12px; }
table.data.full thead th { padding: 8px 8px; font-size: 11.5px; }
table.data.full tbody td { padding: 4px 8px; line-height: 1.4; }
table.data.full .media-cell { min-width: 168px; gap: 7px; }
/* 媒体发布清单：不显示媒体 LOGO，名称直接起排 */
table.data.full .media-cell.no-logo { gap: 0; min-width: 150px; }
table.data.full .media-cell.no-logo .media-logo { display: none; }
table.data.full .media-name { font-size: 12.5px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
table.data.full .media-sub { font-size: 10.5px; }
table.data.full .media-logo { border-radius: 6px; }
table.data.full .badge { font-size: 10.5px; padding: 1px 7px; }
table.data.full .t-sub { font-size: 11px; }
/* 未登录 / 未开通 VIP：会员价格列锁定（公开媒体页用） */
.price-lock { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-4); white-space: nowrap; }
.price-lock .ic { width: 12px; height: 12px; flex: none; }
.price-lock em { font-style: normal; font-size: 10.5px; letter-spacing: 0.2px; }
table.data.full thead th.th-vip { white-space: nowrap; }
.vip-lock-note { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gold-deep); background: var(--gold-soft); border-radius: 999px; padding: 4px 12px; }
.vip-lock-note .ic { width: 13px; height: 13px; }
.vip-lock-note a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
table.data.full .price-normal, table.data.full .price-vip { font-size: 12px; }
table.data.full .sel-cell { width: 32px; padding-left: 12px !important; padding-right: 4px !important; }
.row-check { width: 14px; height: 14px; accent-color: var(--brand); cursor: pointer; margin: 0; display: block; }
table.data.full tbody tr.row-selected { background: var(--brand-soft) !important; }
table.data.full tbody tr.row-selected td:last-child { background: var(--brand-soft) !important; }

/* 案例超链接 */
.case-link { color: var(--brand-deep); font-weight: 600; font-size: 12px; white-space: nowrap; }
.case-link:hover { color: var(--brand); text-decoration: underline; }

/* 全选 / 反选 小按钮 */
.sel-tools { display: flex; gap: 6px; margin-left: auto; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 5px; border: none; cursor: pointer;
  background: var(--surface-3); color: var(--ink-2); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; font-family: inherit;
  transition: background var(--t-fast), color var(--t-fast);
}
.mini-btn .ic { width: 12px; height: 12px; }
.mini-btn:hover { background: var(--brand-soft-2); color: var(--brand-deep); }
.mini-btn.danger:hover { background: var(--danger-soft); color: var(--danger); }
.compact-bar { margin-top: 10px; }
.compact-bar .search-box { max-width: 300px; }
.compact-bar .input { padding: 8px 14px 8px 36px; font-size: 13px; }

/* 底部浮动选择条（批量发布）：通栏，清新浅色（白 + 薄荷微光），所有已选媒体全部可见 */
.sel-bar {
  position: fixed; bottom: 0; left: 0; right: 0; transform: translateY(110%);
  background: linear-gradient(90deg, #f4fcfa 0%, #ffffff 42%, #f6fbfa 100%);
  color: var(--ink); padding: 12px 26px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 -10px 32px rgba(0, 97, 77, 0.10), 0 -2px 8px rgba(0, 97, 77, 0.05);
  z-index: 210; transition: transform var(--t-norm);
}
.sel-bar.show { transform: translateY(0); }
.sel-bar-info { flex: none; display: flex; flex-direction: column; gap: 5px; }
.sel-bar-names { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.sel-bar-names .ic { color: var(--brand); width: 15px; height: 15px; }
.sel-bar-names b { color: var(--ink); font-size: 14px; }
/* 费用合计 + 余额 + 充值：同一行，余额与充值紧跟在费用合计右边 */
.sel-bar-money { display: flex; align-items: center; gap: 16px; }
.sel-bar-price { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.sel-bar-price b { color: var(--brand-deep); font-size: 16px; font-weight: 600; margin-left: 2px; }
.sel-bar-bal { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.sel-bar-bal > span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.sel-bar-bal > span .ic { width: 14px; height: 14px; color: var(--ink-4); }
.sel-bar-bal b { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sel-bar-bal em { font-style: normal; font-size: 11px; color: var(--danger); background: var(--danger-soft); border-radius: 5px; padding: 2px 5px; }
.sel-bar-bal.lack b { color: var(--danger); }
.sel-bar-bal .btn-soft { background: var(--brand-soft-2); color: var(--brand-deep); padding: 5px 12px; font-size: 12px; }
.sel-bar-bal .btn-soft:hover { background: var(--brand); color: #fff; }
.cart-bar-bal { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.cart-bar-bal .ic { width: 14px; height: 14px; color: var(--brand); }
.cart-bar-bal b { color: var(--ink); font-size: 14px; }
/* 已选媒体 chips：全部列出，超两行内部滚动 */
.sel-bar-chips {
  flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px;
  max-height: 62px; overflow-y: auto; padding: 2px;
  scrollbar-width: thin; scrollbar-color: rgba(0, 97, 77, 0.18) transparent;
}
.sel-bar-chips::-webkit-scrollbar { width: 5px; }
.sel-bar-chips::-webkit-scrollbar-thumb { background: rgba(0, 97, 77, 0.18); border-radius: 999px; }
.sel-chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  background: var(--surface-2); border-radius: 999px; padding: 4px 6px 4px 11px;
  font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.sel-chip i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.sel-chip em { font-style: normal; color: var(--brand-deep); font-weight: 600; font-size: 11.5px; }
/* 控制台内：浮动条不超出侧边导航，左缘从侧栏右缘开始 */
.console-body .sel-bar { left: 200px; }
.sel-chip-x {
  border: none; cursor: pointer; width: 17px; height: 17px; border-radius: 50%; flex: none;
  background: var(--surface-3); color: var(--ink-3);
  display: grid; place-items: center; padding: 0; transition: background var(--t-fast), color var(--t-fast);
}
.sel-chip-x .ic { width: 10px; height: 10px; }
.sel-chip-x:hover { background: var(--danger); color: #fff; }
.sel-bar-acts { flex: none; display: flex; gap: 10px; align-items: center; }
.sel-bar .btn-ghost { background: var(--surface-2); color: var(--ink-2); }
.sel-bar .btn-ghost:hover { background: var(--brand-soft-2); color: var(--brand-deep); }

/* 收藏夹文件夹布局 */
.fav-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 16px; align-items: start; }
.fav-folders { background: #fff; border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 76px; }
.fav-folder {
  display: flex; align-items: center; gap: 8px; border: none; cursor: pointer; text-align: left;
  background: transparent; padding: 10px 12px; border-radius: 12px; font-family: inherit;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.fav-folder .ic { color: var(--ink-4); width: 14px; height: 14px; }
.fav-folder:hover { background: var(--surface-2); }
.fav-folder.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.fav-folder.active .ic { color: var(--brand); }
.fav-folder-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-folder-count { font-size: 11px; font-weight: 600; background: var(--surface-3); color: var(--ink-3); border-radius: 999px; padding: 1px 8px; }
.fav-folder.active .fav-folder-count { background: var(--brand-soft-2); color: var(--brand-deep); }
.fav-content { min-width: 0; }
.fav-content-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fav-current { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.fav-current .ic { color: var(--gold); }
.fav-current b { font-weight: 600; }
.fav-current span { font-size: 12px; color: var(--ink-3); }
.fav-tools { display: flex; gap: 6px; flex-wrap: wrap; }

/* 收藏夹选择器弹窗 */
.fav-picker-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; margin-bottom: 14px; }
.fav-picker-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--surface-2); border-radius: 12px; padding: 11px 14px; font-size: 13.5px;
  transition: background var(--t-fast);
}
.fav-picker-item:hover { background: var(--brand-soft); }
.fav-picker-item input { width: 15px; height: 15px; accent-color: var(--brand); flex: none; }
.fav-picker-name { flex: 1; display: flex; align-items: center; gap: 7px; font-weight: 600; min-width: 0; }
.fav-picker-name .ic { color: var(--gold); width: 14px; height: 14px; }
.fav-picker-count { font-size: 11.5px; color: var(--ink-3); flex: none; }
.fav-picker-new { display: flex; gap: 8px; }
.fav-picker-new .input { flex: 1; padding: 9px 14px; font-size: 13px; }
table.data.full thead th:last-child {
  position: sticky; right: 0; z-index: 2; background: var(--surface-3);
  box-shadow: -10px 0 14px -10px rgba(12, 14, 12, 0.18);
}
table.data.full tbody td:last-child {
  position: sticky; right: 0; z-index: 1; background: var(--surface-2);
  box-shadow: -10px 0 14px -10px rgba(12, 14, 12, 0.14);
}
table.data.full tbody tr:nth-child(even) td:last-child { background: #fbfcfb; }
table.data.full tbody tr:hover td:last-child { background: var(--brand-soft); }

/* 操作列：详情 / 收藏 / 发布 */
.row-actions { display: flex; gap: 5px; white-space: nowrap; }
.act-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--surface-3); color: var(--ink-2);
  font-size: 11.5px; font-weight: 600; font-family: inherit;
  transition: background var(--t-fast), color var(--t-fast);
}
.act-btn .ic { width: 12px; height: 12px; }
.act-btn:hover { background: var(--brand-soft-2); color: var(--brand-deep); }
.act-btn.faved { background: var(--gold-soft); color: var(--gold-deep); }
.act-btn.faved:hover { background: var(--gold-soft); filter: brightness(0.96); }
.act-btn.primary { background: var(--black); color: #fff; }
.act-btn.primary:hover { background: var(--black-2); }
.act-btn.primary.incart { background: var(--brand-soft-2); color: var(--brand-deep); }

/* 案例缩略图（纯 CSS 生成） */
.case-thumb {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  width: 62px; height: 46px; padding: 7px 8px; border: none; cursor: pointer;
  border-radius: 9px; background: #fff;
  box-shadow: 0 1px 4px rgba(12, 14, 12, 0.08);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.case-thumb:hover { box-shadow: 0 3px 10px rgba(12, 14, 12, 0.14); transform: translateY(-1px); }
.case-bar { width: 70%; height: 6px; border-radius: 3px; background: var(--cc, var(--brand)); }
.case-line { height: 4px; border-radius: 2px; background: var(--surface-3); }
.case-line.w80 { width: 92%; }
.case-line.w60 { width: 66%; }
.case-line.w70 { width: 80%; }

/* 媒体详情弹窗 */
.detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.detail-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: var(--surface-2); border-radius: 12px; padding: 10px 14px;
  font-size: 13px;
}
.detail-item span { color: var(--ink-3); flex: none; }
.detail-item b { color: var(--ink); font-weight: 600; text-align: right; }
.detail-case {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface-2); border-radius: 14px; padding: 14px 16px; margin-top: 14px;
}
.detail-case-thumb {
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start; flex: none;
  width: 84px; height: 62px; padding: 10px 11px; border-radius: 10px; background: #fff;
  box-shadow: 0 1px 4px rgba(12, 14, 12, 0.08);
}
.detail-case-thumb .case-bar { height: 8px; }
.detail-case-thumb .case-line { height: 5px; }

/* 侧边栏收藏计数徽章 */
.side-badge.fav-badge { background: var(--gold-soft); color: var(--gold-deep); }

.media-cell { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.media-logo {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-weight: 600; font-size: 15px; color: #fff;
  overflow: hidden;
}
.media-logo.has-img { box-shadow: inset 0 0 0 1px rgba(17, 19, 23, 0.07); }
.media-logo img { width: 78%; height: 78%; object-fit: contain; display: block; }
.media-name { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.4; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.media-sub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.media-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
/* 媒体名称标签：荐 / GEO / NEW（淡色底块，无描边） */
.m-tag {
  display: inline-flex; align-items: center; flex: none;
  font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: 0.3px;
  padding: 3px 5px; border-radius: 5px;
}
.m-tag.rec { background: #ffefe4; color: #e2620f; }
.m-tag.geo { background: var(--brand-soft-2); color: var(--brand-deep); }
.m-tag.new { background: #e6f0ff; color: #2264c9; }
table.data.full .m-tag { font-size: 9.5px; padding: 2px 4px; border-radius: 4px; }

/* ---------- TAB（下划线式，与首页场景 Tab / 导航 active 同一设计语言） ---------- */
.tabs { display: flex; gap: 2px; width: fit-content; box-shadow: 0 1px 0 var(--surface-3); }
.tab-btn {
  display: flex; align-items: center; gap: 8px; border: none; background: transparent;
  padding: 12px 22px; font-size: 14.5px; font-weight: 400; color: var(--ink-2);
  position: relative; cursor: pointer; font-family: inherit;
  transition: color var(--t-fast);
}
.tab-btn .ic { width: 16px; height: 16px; color: var(--ink-3); transition: color var(--t-fast); }
.tab-btn:hover { color: var(--ink); }
.tab-btn:hover .ic { color: var(--ink-2); }
.tab-btn.active { color: var(--brand-deep); font-weight: 500; }
.tab-btn.active .ic { color: var(--brand); }
.tab-btn.active::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--brand);
}
.tab-btn .count { font-size: 12px; font-weight: 500; color: var(--ink-3); background: var(--surface-2); border-radius: 999px; padding: 1px 9px; }
.tab-btn.active .count { background: var(--brand-soft); color: var(--brand-deep); }

/* ---------- 筛选 chips ---------- */
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; }
.filter-label { font-size: 13px; font-weight: 600; color: var(--ink-3); width: 72px; flex: none; padding-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  border: none; background: transparent; color: var(--ink-2); font-size: 13px;
  padding: 6px 14px; border-radius: 999px; transition: background var(--t-fast), color var(--t-fast);
}
.chip:hover { background: var(--surface-3); }
.chip.active { background: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 快速排序：上下双三角小按钮 ---------- */
.sort-caret { display: inline-flex; flex-direction: column; justify-content: center; gap: 1px; width: 9px; flex: none; }
.sort-caret i { display: block; height: 5px; line-height: 0; }
.sort-caret svg { display: block; width: 9px; height: 5px; }
.sort-caret svg path { fill: currentColor; opacity: 0.3; transition: opacity var(--t-fast); }
.sort-caret[data-dir="asc"] .sc-up svg path,
.sort-caret[data-dir="desc"] .sc-dn svg path { opacity: 1; }
.chip.sort-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px 6px 14px; }
.chip.sort-chip .sc-tx { white-space: nowrap; }
.chip.sort-chip:hover .sort-caret svg path { opacity: 0.55; }
.chip.sort-chip.active .sort-caret svg path { opacity: 0.45; }
.chip.sort-chip.active .sort-caret[data-dir="asc"] .sc-up svg path,
.chip.sort-chip.active .sort-caret[data-dir="desc"] .sc-dn svg path { opacity: 1; }
.chip.sort-chip.active { padding-right: 10px; }

/* ---------- 分页 ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager button {
  min-width: 36px; height: 36px; padding: 0 10px; border: none; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.pager button:hover { background: var(--brand-soft); color: var(--brand-deep); }
.pager button.active, .console-body .pager button.active { background: var(--black); color: #fff; }
.pager button.active:hover, .console-body .pager button.active:hover { background: var(--brand); color: #fff; }
.pager button[disabled] { opacity: 0.4; pointer-events: none; }
.pager .pager-info { font-size: 13px; color: var(--ink-3); margin: 0 8px; }

/* ---------- 空状态 / 骨架 ---------- */
.empty { text-align: center; padding: 64px 20px; color: var(--ink-3); }
.empty .ic { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--ink-4); }
.empty p { font-size: 14px; }
.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Toast ---------- */
.toast-root { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 9px; background: var(--black); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-2); animation: toast-in 320ms var(--ease);
}
.toast.ok .ic { color: var(--mint); }
.toast.err .ic { color: #f87171; }
.toast.out { animation: toast-out 260ms var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px) scale(0.96); } }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(12, 14, 12, 0.45); backdrop-filter: blur(4px);
  z-index: 500; display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity var(--t-norm);
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 560px;
  max-height: 86vh; overflow-y: auto; padding: 32px;
  transform: translateY(16px) scale(0.97); transition: transform var(--t-norm);
  box-shadow: var(--shadow-2);
}
.modal-mask.show .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.modal-title { font-size: 18px; font-weight: 600; }
.modal-close { border: none; background: var(--surface-3); width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-3); }
.modal-close:hover { background: var(--danger-soft); color: var(--danger); }

/* ---------- 统计块 ---------- */
.stat-num { font-size: 36px; font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 独立工作台（全屏宽布局，不与官网导航/页脚共用） ---------- */
.console-body { background: var(--surface-2); }
.console-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 100dvh; }
.console-side {
  position: sticky; top: 0; height: 100dvh; overflow-y: auto;
  background: #fff; padding: 22px 16px 18px;
  display: flex; flex-direction: column;
  box-shadow: 1px 0 0 var(--surface-3);
}
.console-brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 20px; }
.console-brand-text b { display: block; font-size: 17px; font-weight: 600; letter-spacing: 0.5px; line-height: 1.3; }
.console-brand-text span { display: block; font-size: 11.5px; color: var(--ink-3); }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
/* 菜单分组分隔线：概览 | 媒体发布·收藏中心·媒体订单 | 财务中心·发票管理 | 个人中心 */
.side-nav .nav-sep { height: 1px; background: #f2f3f4; margin: 7px 12px; flex: none; }
.side-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast);
}
.side-nav a:hover { background: var(--surface-3); }
.side-nav a.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.side-nav a .ic { color: var(--ink-3); }
.side-nav a.active .ic { color: var(--brand); }
.side-nav .side-badge { margin-left: auto; font-size: 11px; background: var(--danger-soft); color: var(--danger); border-radius: 999px; padding: 1px 7px; font-weight: 600; }
.side-foot { margin-top: auto; padding: 16px 4px 0; }
/* 侧栏底部联系方式（淡色底块 + 圆角，无描边） */
.side-contact { background: var(--brand-soft); border-radius: var(--r-md); padding: 12px 12px 10px; margin-bottom: 8px; }
.side-contact-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--brand-deep); margin-bottom: 8px; }
.side-contact-head .ic { width: 14px; height: 14px; }
.side-contact-tel { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 10px; background: #fff; transition: background var(--t-fast); }
.side-contact-tel:hover { background: var(--brand-soft-2); }
.side-contact-tel .ic { width: 14px; height: 14px; color: var(--brand); flex: none; }
.side-contact-tel b { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0.2px; }
.side-contact-line { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; color: var(--ink-2); margin-top: 7px; line-height: 1.45; }
.side-contact-line .ic { width: 12px; height: 12px; color: var(--ink-3); flex: none; margin-top: 2px; }
.side-contact-corp { font-size: 10.5px; color: var(--ink-3); line-height: 1.5; margin-top: 8px; }
.side-contact-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.side-contact-more { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--brand-deep); }
.side-contact-more .ic { width: 12px; height: 12px; }
.side-contact-more:hover { color: var(--brand); }
/* 微信客服：hover / focus / 点击 弹出二维码（向右侧展开，不遮挡侧栏菜单） */
.side-wx { position: relative; display: inline-flex; flex: none; cursor: pointer; outline: none; }
.side-wx-ic {
  width: 28px; height: 28px; border-radius: 9px; background: #fff; color: #07c160;
  display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.side-wx-ic .ic { width: 19px; height: 19px; overflow: visible; }
/* 微信双气泡的眼睛：与容器底色一致，hover 反相时同步切换 */
.side-wx-ic .wx-eye { fill: #fff; stroke: none; transition: fill var(--t-fast); }
.side-wx:hover .side-wx-ic .wx-eye,
.side-wx:focus-visible .side-wx-ic .wx-eye,
.side-wx.on .side-wx-ic .wx-eye { fill: #07c160; }
.side-wx:hover .side-wx-ic, .side-wx:focus-visible .side-wx-ic, .side-wx.on .side-wx-ic {
  background: #07c160; color: #fff; transform: translateY(-1px);
}
/* 侧栏 overflow-y:auto 会裁切横向溢出，故二维码向上浮出（仍在侧栏宽度内） */
.side-wx-pop {
  position: absolute; right: -4px; bottom: calc(100% + 11px); z-index: 320;
  width: 168px; padding: 12px 12px 11px; border-radius: 14px; background: #fff;
  box-shadow: 0 14px 40px rgba(17, 19, 23, 0.16); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(0.96); transform-origin: right bottom;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  pointer-events: none;
}
.side-wx-pop::before {
  content: ""; position: absolute; right: 12px; bottom: -5px; width: 10px; height: 10px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.side-wx-pop img { width: 132px; height: 132px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--surface-3); }
.side-wx-pop b { font-size: 12px; font-weight: 600; color: var(--ink); }
.side-wx-pop > span { font-size: 10.5px; color: var(--ink-3); line-height: 1.5; }
.side-wx:hover .side-wx-pop, .side-wx:focus-visible .side-wx-pop, .side-wx.on .side-wx-pop {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.side-back {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-radius: 12px; font-size: 13px; color: var(--ink-3); transition: background var(--t-fast), color var(--t-fast);
}
.side-back:hover { background: var(--surface-2); color: var(--brand-deep); }
.console-main { min-width: 0; padding: 0 32px 90px; }

/* 工作台顶栏 */
.console-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 -32px 26px; padding: 14px 32px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--surface-3);
}
.topbar-crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.topbar-crumb .ic { width: 14px; height: 14px; color: var(--ink-4); }
.topbar-crumb b { color: var(--ink); font-size: 15px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-phone { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.topbar-phone .ic { color: var(--brand); }
.topbar-link { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); transition: color var(--t-fast); }
.topbar-link:hover { color: var(--brand-deep); }
.topbar-user { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.topbar-avatar { width: 30px; height: 30px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.topbar-logout { border: none; background: var(--surface-2); color: var(--ink-3); width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
.topbar-logout:hover { background: var(--danger-soft); color: var(--danger); }

/* 工作台内白色内容块（灰底之上，无描边） */
.console-body .table-wrap { background: #fff; }
.console-body table.data thead th { background: var(--surface-2); }
.console-body table.data tbody tr:nth-child(even) { background: var(--surface-2); }
.console-body table.data tbody tr:nth-child(even) td:last-child { background: var(--surface-2); }
.console-body table.data.full tbody td:last-child { background: #fff; }
.console-body table.data.full tbody tr:nth-child(even) td:last-child { background: var(--surface-2); }
.console-body table.data tbody tr:hover, .console-body table.data.full tbody tr:hover td:last-child { background: var(--brand-soft); }
.console-body .filter-card, .console-body .card, .console-body .overview-item,
.console-body .empty.card, .console-body .doc-section { background: #fff; }
.console-body .search-box .input { background: #fff; box-shadow: 0 0 0 1px var(--surface-3); }
.console-body .search-box .input:focus { box-shadow: 0 0 0 2px var(--brand); }
.console-body .input { background: #fff; }
.console-body .pager button { background: #fff; }
.console-body .mini-btn { background: #fff; box-shadow: 0 0 0 1px var(--surface-3); }
.console-body .mini-btn:hover { background: var(--brand-soft); box-shadow: none; }
.console-body .mini-btn.danger:hover { background: var(--danger-soft); }
.console-body .fav-folder:hover { background: var(--surface-2); }
.console-body .fav-folder.active { background: var(--brand-soft); }
/* 工作台紧凑化 */
.console-body .console-head { margin-bottom: 14px; }
.console-body .console-title { font-size: 20px; }
.console-body .console-sub { font-size: 12px; }
.console-body .tabs { gap: 2px; }
.console-body .tab-btn { padding: 9px 18px; font-size: 13px; }
.console-body .tab-btn.active::after { left: 18px; right: 18px; }
.console-body .tab-btn .count { font-size: 11px; }
.console-body .filter-card { padding: 10px 18px; }
.console-body .filter-row { padding: 5px 0; }
.console-body .chip { padding: 4px 12px; font-size: 12.5px; }
.console-body .pager { margin-top: 16px; }
.console-body .pager button { min-width: 30px; height: 30px; font-size: 12.5px; }
/* 媒体列表所有文字不加粗 */
table.data.full, table.data.full * { font-weight: 400 !important; }
table.data.full thead th { font-weight: 500 !important; }

/* 多维筛选面板（默认展开常用项，adv 隐藏可展开） */
.pub-filter { padding: 8px 18px 6px; }
.pub-filter .filter-row { padding: 4px 0; align-items: flex-start; }
.pub-filter .filter-label { width: 76px; flex: none; font-size: 12px; color: var(--ink-3); padding-top: 5px; }
.pub-filter .chips { gap: 4px; }
.pub-filter .chip { padding: 3px 10px; font-size: 12px; }
.pub-filter .filter-row.adv { display: none; }
.pub-filter.expanded .filter-row.adv { display: flex; }
.filter-toggle {
  display: flex; align-items: center; gap: 5px; margin: 6px auto 2px; border: none; cursor: pointer;
  background: transparent; color: var(--brand-deep); font-size: 12px; font-weight: 600; font-family: inherit;
}
.filter-toggle .ic { width: 13px; height: 13px; }
.filter-toggle:hover { color: var(--brand); }
.price-range { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.price-range i { color: var(--ink-4); font-style: normal; }
.pr-input { width: 76px; padding: 4px 8px !important; font-size: 12px !important; border-radius: 8px !important; }
.pr-ok { background: var(--brand) !important; color: #fff !important; }
.pr-ok:hover { background: var(--brand-deep) !important; }
/* 侧栏收窄适配 */
.console-side { padding: 18px 12px 14px; }
.side-nav a { padding: 10px 10px; font-size: 13px; gap: 8px; }
.console-brand { padding: 2px 4px 16px; gap: 9px; }
.console-brand-text b { font-size: 16px; }
.console-body .act-btn { background: var(--surface-2); }
.console-body .act-btn.primary { background: var(--black); color: #fff; }
.console-body .act-btn.primary.incart { background: var(--brand-soft-2); color: var(--brand-deep); }
.console-body .act-btn.faved { background: var(--gold-soft); color: var(--gold-deep); }
.console-body .cart-item, .console-body .order-detail-item, .console-body .detail-item, .console-body .detail-case { background: var(--surface-2); }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.console-title { font-size: 22px; font-weight: 500; letter-spacing: -0.4px; }
.console-sub { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.console-panel { display: none; }
.console-panel.active { display: block; animation: panel-in 360ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

.overview-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.overview-item { background: var(--surface-2); border-radius: var(--r-lg); padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.overview-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.overview-item .stat-num { font-size: 22px; }
.overview-item .stat-label { margin-top: 1px; }

/* ---------- 概览面板 ---------- */
.ov-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; margin-bottom: 14px; }
.ov-card { background: #fff; border-radius: var(--r-lg); padding: 20px 22px; min-width: 0; }
.ov-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ov-card-head b { font-size: 14.5px; font-weight: 600; }
.ov-card-head > span { font-size: 12px; color: var(--ink-3); }
.ov-card-head .badge .ic { width: 12px; height: 12px; }
.ov-more { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--brand-deep); font-weight: 500; }
.ov-more .ic { width: 13px; height: 13px; }
.ov-more:hover { color: var(--brand); }
.ov-chart { height: 210px; }
.ov-chart svg { display: block; }
/* 账户状态 */
.ov-acct-balance { background: var(--grad-soft); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 12px; }
.ov-acct-balance span { font-size: 12px; color: var(--ink-2); display: block; }
.ov-acct-balance b { font-size: 28px; font-weight: 600; letter-spacing: -0.8px; color: var(--brand-deep); font-variant-numeric: tabular-nums; display: block; margin: 2px 0; }
.ov-acct-balance em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.ov-acct-rows { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.ov-acct-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 4px; border-radius: 8px; }
.ov-acct-rows > div:hover { background: var(--surface-2); }
.ov-acct-rows span { font-size: 12.5px; color: var(--ink-3); }
.ov-acct-rows b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ov-rn-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); }
.ov-rn-ok .ic { width: 13px; height: 13px; }
.ov-rn-go { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 500; color: var(--brand-deep); }
.ov-rn-go .ic { width: 12px; height: 12px; }
.ov-rn-go:hover { color: var(--brand); }
.ov-acct-vip { display: flex; align-items: center; gap: 11px; background: var(--gold-soft); border-radius: var(--r-md); padding: 13px 15px; }
.ov-acct-vip > .ic { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.ov-acct-vip > div { flex: 1; min-width: 0; }
.ov-acct-vip b { display: block; font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.ov-acct-vip span { font-size: 11.5px; color: var(--ink-2); }
.ov-acct-vip.on { background: var(--brand-soft); }
.ov-acct-vip.on > .ic, .ov-acct-vip.on b { color: var(--brand-deep); }
/* 最新订单 */
.ov-orders { display: flex; flex-direction: column; gap: 6px; }
.ov-order { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: 12px; transition: background var(--t-fast); }
.ov-order:hover { background: var(--brand-soft); }
.ov-order-main { flex: 1; min-width: 0; }
.ov-order-main b { display: block; font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-order-main span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.ov-order-side b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ov-empty { text-align: center; padding: 34px 16px; color: var(--ink-3); }
.ov-empty .ic { width: 36px; height: 36px; color: var(--ink-4); margin-bottom: 10px; }
.ov-empty p { font-size: 13px; margin-bottom: 14px; }
/* 快捷入口 */
.ov-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ov-link { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--surface-2); transition: background var(--t-fast), transform var(--t-fast); min-width: 0; }
.ov-link:hover { background: var(--brand-soft); transform: translateY(-1px); }
.ov-link-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ov-link-ic .ic { width: 16px; height: 16px; }
.ov-link-tx { flex: 1; min-width: 0; }
.ov-link-tx b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ov-link-tx span { display: block; font-size: 11px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-link-arrow { width: 13px; height: 13px; color: var(--ink-4); flex: none; }
.ov-link:hover .ov-link-arrow { color: var(--brand); }

/* ---------- 首页 Hero（居中 + 蓝紫弥散光晕） ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 40px; background: #fff; text-align: center; }
.hero-glow {
  position: absolute; left: 50%; top: 300px; transform: translateX(-50%);
  width: 1200px; height: 680px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 55% at 32% 45%, rgba(0, 194, 154, 0.18), transparent 70%),
    radial-gradient(40% 52% at 68% 40%, rgba(50, 230, 185, 0.16), transparent 70%),
    radial-gradient(34% 46% at 52% 62%, rgba(0, 146, 115, 0.14), transparent 72%);
  filter: blur(28px);
  animation: glow-drift 14s var(--ease) infinite alternate;
}
@keyframes glow-drift {
  0% { transform: translateX(-52%) translateY(0) scale(1); }
  100% { transform: translateX(-48%) translateY(-24px) scale(1.06); }
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: 56px; font-weight: 500; letter-spacing: -1px; line-height: 1.25; }
.hero h1 .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc { color: var(--ink-2); font-size: 16.5px; margin: 22px auto 32px; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--brand-deep); font-size: 14px; font-weight: 600; }
.hero-link:hover { color: var(--brand); }
.hero-trust { display: flex; gap: 24px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.hero-trust span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.hero-trust .ic { color: var(--ok); }
.hero-board { position: relative; z-index: 1; max-width: 860px; margin: 56px auto 0; }

/* 实时看板（产品截图式白卡） */
.board { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 26px; position: relative; text-align: left; }
.board-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.board-title { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 194, 154, 0.35); } 55% { box-shadow: 0 0 0 7px rgba(0, 194, 154, 0); } }
.board-feed { display: flex; flex-direction: column; gap: 9px; }
.feed-item { display: flex; align-items: center; gap: 11px; background: var(--surface-2); border-radius: 14px; padding: 11px 14px; animation: panel-in 420ms var(--ease); }
.feed-item .media-logo { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
.feed-name { font-size: 13.5px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-time { font-size: 12px; color: var(--ink-3); flex: none; }
.board-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.board-stat { background: var(--brand-soft); border-radius: 14px; padding: 12px 14px; text-align: center; }
.board-stat b { font-size: 19px; font-weight: 600; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.board-stat span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

/* 平台 logo 墙 */
.logo-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-chip { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.platform-chip .media-logo { width: 26px; height: 26px; font-size: 11px; border-radius: 7px; }

/* 资源矩阵 */
.matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.matrix-card { border-radius: var(--r-xl); padding: 30px 26px; position: relative; overflow: hidden; transition: transform var(--t-norm), box-shadow var(--t-norm); }
.matrix-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.matrix-card .cat-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; }
.matrix-card h3 { font-size: 18px; font-weight: 600; }
.matrix-card .cat-count { font-size: 27px; font-weight: 600; margin: 8px 0 2px; letter-spacing: -0.5px; }
.matrix-card .cat-count small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 3px; }
.matrix-card p { font-size: 13px; color: var(--ink-2); margin: 10px 0 16px; min-height: 62px; }
.matrix-card .cat-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--surface-2); border-radius: var(--r-lg); padding: 28px 26px; position: relative; }
.step-no { font-size: 13px; font-weight: 600; color: var(--brand-deep); background: var(--brand-soft); width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-2); }

/* 优势 bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-item { background: var(--surface-2); border-radius: var(--r-xl); padding: 30px; }
.bento-item.wide { grid-column: span 2; }
.bento-item .adv-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.bento-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.bento-item p { font-size: 13.5px; color: var(--ink-2); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface-2); border-radius: var(--r-lg); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: none; background: none; text-align: left; padding: 20px 26px; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-q .ic { color: var(--ink-3); transition: transform var(--t-norm); flex: none; }
.faq-item.open .faq-q .ic { transform: rotate(180deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-norm); }
.faq-a-inner { padding: 0 26px 22px; font-size: 14px; color: var(--ink-2); }

/* CTA 带（黑色） */
.cta-band { background: var(--black); border-radius: var(--r-xl); padding: 56px 60px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 194, 154, 0.30), rgba(50, 230, 185, 0.12) 60%, transparent 75%); }
.cta-band h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; position: relative; }
.cta-band p { opacity: 0.75; margin-top: 8px; font-size: 14.5px; position: relative; }
.cta-band .btn { background: #fff; color: var(--black); position: relative; }
.cta-band .btn:hover { background: var(--brand-bright); color: #06281a; box-shadow: 0 8px 24px rgba(0, 194, 154, 0.35); }

/* ---------- 媒体资源页 ---------- */
.page-head { padding: 48px 0 28px; }
.page-head h1 { font-size: 34px; font-weight: 500; letter-spacing: -0.5px; }
.page-head p { color: var(--ink-2); margin-top: 10px; font-size: 14.5px; }
.media-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.media-searchbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search-box .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search-box .input { padding-left: 40px; background: var(--surface-2); }
.filter-card { background: var(--surface-2); border-radius: var(--r-lg); padding: 16px 24px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 12px; flex-wrap: wrap; }
.result-count { font-size: 13.5px; color: var(--ink-3); }
.result-count b { color: var(--brand-deep); font-weight: 600; }
.sort-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sort-group .label { font-size: 13px; color: var(--ink-3); margin-right: 2px; }
/* 排序独立行：位于搜索框上方，浅底块区隔，不用描边 */
.sort-bar {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  background: var(--surface-2); border-radius: var(--r-lg);
  padding: 9px 18px; margin-bottom: 12px;
}
.sort-bar .filter-label { width: auto; flex: none; padding-top: 0; margin-right: 4px; }
.pub-filter + .sort-bar { margin-top: 12px; }
.sort-bar .chips { gap: 6px; }
.sort-group.sort-bar { gap: 6px; margin-bottom: 0; }
.sort-group.sort-bar .label { font-weight: 600; color: var(--ink-3); font-size: 13px; }
.sort-btn { border: none; background: var(--surface-2); color: var(--ink-2); font-size: 13px; padding: 7px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.sort-btn.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
/* 媒体资源页四项快速排序（价格 / 发布率 / 收录率 / 平均出稿时间） */
.sort-group > #quick-sort { display: inline-flex; gap: 6px; align-items: center; }
.sort-btn[data-qsort] { padding: 7px 10px 7px 14px; gap: 5px; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.sort-btn[data-qsort] .sc-tx { white-space: nowrap; }
.sort-btn[data-qsort]:hover { background: var(--surface-3); }
.sort-btn[data-qsort]:hover .sort-caret svg path { opacity: 0.55; }
.sort-btn[data-qsort].active .sort-caret svg path { opacity: 0.4; }
.sort-btn[data-qsort].active .sort-caret[data-dir="asc"] .sc-up svg path,
.sort-btn[data-qsort].active .sort-caret[data-dir="desc"] .sc-dn svg path { opacity: 1; }
/* 发布车浮条：与底部通条统一的清新浅色 */
.cart-bar {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(90px);
  background: #fff; color: var(--ink-2); border-radius: 999px; padding: 10px 12px 10px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 36px rgba(0, 97, 77, 0.14), 0 2px 8px rgba(0, 97, 77, 0.06);
  z-index: 200; transition: transform var(--t-norm); font-size: 14px;
}
.cart-bar.show { transform: translateX(-50%) translateY(0); }
/* 与通栏选择条共存时由 JS 按实际高度设置 cart-bar.bottom */
.cart-bar > .ic { color: var(--brand); }
.cart-bar b { color: var(--brand-deep); }
.cart-bar .btn { border-radius: 999px; }
.cart-bar .btn-ghost { background: var(--surface-2); color: var(--ink-2); }
.cart-bar .btn-ghost:hover { background: var(--brand-soft-2); color: var(--brand-deep); }

/* ---------- 登录页 ---------- */
/* 登录页无导航：整屏两栏 */
.auth-layout { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand { background: var(--black); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-brand::before { content: ""; position: absolute; left: -140px; bottom: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 194, 154, 0.28), rgba(50, 230, 185, 0.10) 60%, transparent 75%); }
.auth-brand h2 { font-size: 36px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.4; position: relative; }
.auth-brand p { opacity: 0.75; margin-top: 16px; max-width: 400px; font-size: 15px; position: relative; }
.auth-points { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.auth-point { display: flex; gap: 13px; align-items: flex-start; }
.auth-point .ic-wrap { width: 38px; height: 38px; border-radius: 12px; background: rgba(0, 194, 154, 0.16); color: var(--brand-bright); display: grid; place-items: center; flex: none; }
.auth-point b { font-size: 14.5px; display: block; }
.auth-point span { font-size: 13px; opacity: 0.7; }
.auth-form-side { position: relative; display: grid; place-items: center; padding: 48px 24px; }
/* 无导航时的品牌回首页入口（表单侧左上角） */
.auth-home { position: absolute; left: 32px; top: 26px; display: flex; align-items: center; gap: 9px; }
.auth-home:hover .logo-word > b { color: var(--brand-deep); }
@media (max-width: 860px) {
  .auth-home { left: 20px; top: 18px; }
}
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; }
.auth-card .auth-sub { color: var(--ink-3); font-size: 14px; margin: 8px 0 30px; }
.auth-card form { display: flex; flex-direction: column; gap: 18px; }
.code-btn { flex: none; width: 128px; }
.auth-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.auth-agree input { margin-top: 3px; accent-color: var(--brand); width: 15px; height: 15px; flex: none; }
.auth-agree a { color: var(--brand-deep); }
.auth-alt { margin-top: 22px; text-align: center; font-size: 13px; color: var(--ink-3); }
.auth-demo-tip { margin-top: 18px; background: var(--brand-soft); border-radius: 14px; padding: 12px 16px; font-size: 12.5px; color: var(--brand-deep); }

/* ---------- 文档页 ---------- */
.docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 36px 0 70px; align-items: start; }
.docs-toc { position: sticky; top: 92px; background: var(--surface-2); border-radius: var(--r-lg); padding: 18px 14px; max-height: calc(100dvh - 120px); overflow-y: auto; }
.docs-toc h4 { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 1px; padding: 0 12px 10px; }
.docs-toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast); }
.docs-toc a:hover { background: var(--surface-3); }
.docs-toc a.active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.docs-body { min-width: 0; }
.doc-section { background: var(--surface-2); border-radius: var(--r-lg); padding: 36px 40px; margin-bottom: 22px; scroll-margin-top: 92px; }
.doc-section h2 { font-size: 21px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.doc-section h2 .ic { color: var(--brand); }
.doc-section h3 { font-size: 16px; font-weight: 600; margin: 22px 0 10px; }
.doc-section p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.doc-section ul, .doc-section ol { padding-left: 22px; margin-bottom: 12px; }
.doc-section li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 7px; }
.doc-section li b, .doc-section p b { color: var(--ink); }
.doc-note { background: var(--brand-soft); border-radius: 14px; padding: 14px 18px; font-size: 13.5px; color: var(--brand-deep); margin: 14px 0; }
.doc-warn { background: var(--warn-soft); border-radius: 14px; padding: 14px 18px; font-size: 13.5px; color: var(--warn); margin: 14px 0; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 14px 0; }
.doc-table th { background: var(--surface-3); text-align: left; padding: 10px 14px; font-size: 12.5px; color: var(--ink-3); }
.doc-table td { padding: 10px 14px; background: #fff; color: var(--ink-2); }
.doc-table tr:nth-child(even) td { background: var(--surface-2); }
.doc-table th:first-child, .doc-table td:first-child { border-radius: 10px 0 0 10px; }
.doc-table th:last-child, .doc-table td:last-child { border-radius: 0 10px 10px 0; }

/* ---------- 发布下单弹窗（媒体发布表单版式，参照发布项规范） ---------- */
.modal-checkout { padding: 26px 30px; scrollbar-width: none; }
.modal-checkout::-webkit-scrollbar { width: 0; height: 0; display: none; }
.modal-checkout .modal-head { margin-bottom: 14px; }
.modal-checkout .modal-title { font-size: 16px; }
.modal-checkout .modal-close { width: 28px; height: 28px; }
.co-form { display: flex; flex-direction: column; gap: 15px; }
.co-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.co-label .req { color: var(--danger); }
.co-hint { font-size: 11px; color: var(--ink-3); margin-top: 6px; line-height: 1.7; }
.co-media-box { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 6px; max-height: 96px; overflow-y: auto; }
.co-media-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 12px; color: var(--ink); white-space: nowrap; }
.co-media-chip .media-logo { width: 18px; height: 18px; font-size: 8px; border-radius: 5px; }
.co-media-chip em { font-style: normal; color: var(--brand-deep); font-weight: 600; font-size: 11.5px; }
.co-media-chip button { border: none; cursor: pointer; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-3); color: var(--ink-3); display: grid; place-items: center; padding: 0; }
.co-media-chip button .ic { width: 9px; height: 9px; }
.co-media-chip button:hover { background: var(--danger); color: #fff; }
.co-upload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.co-file-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand-deep); border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 11.5px; }
.co-file-chip button { border: none; cursor: pointer; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft-2); color: var(--brand-deep); display: grid; place-items: center; padding: 0; }
.co-file-chip button .ic { width: 9px; height: 9px; }
/* 富文本编辑器 */
.co-editor { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--surface-3); }
.co-editor-head { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 10px 0; background: #fff; }
.co-tool-btn { border: none; cursor: pointer; font-family: inherit; font-size: 11.5px; padding: 5px 12px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.co-tool-btn .ic { width: 12px; height: 12px; }
.co-tool-btn:hover { background: var(--surface-3); }
.co-tool-btn.primary { background: var(--brand); color: #fff; }
.co-tool-btn.primary:hover { background: var(--brand-deep); }
.co-toolbar { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; padding: 7px 10px; background: #fff; box-shadow: 0 1px 0 var(--surface-3); }
.co-toolbar select { border: none; background: var(--surface-2); border-radius: 7px; font-size: 11.5px; padding: 4px 6px; color: var(--ink-2); font-family: inherit; margin-right: 6px; }
.co-tb { border: none; cursor: pointer; width: 26px; height: 26px; border-radius: 7px; background: transparent; color: var(--ink-2); display: grid; place-items: center; font-size: 12px; font-family: inherit; padding: 0; }
.co-tb:hover { background: var(--surface-2); color: var(--ink); }
.co-tb .ic { width: 14px; height: 14px; }
.co-tb.b { font-weight: 700; } .co-tb.i { font-style: italic; } .co-tb.u { text-decoration: underline; } .co-tb.s { text-decoration: line-through; }
.co-tb-sep { width: 1px; height: 16px; background: var(--surface-3); margin: 0 5px; }
.co-editor-body { min-height: 200px; max-height: 320px; overflow-y: auto; padding: 12px 16px; font-size: 13px; line-height: 1.8; color: var(--ink); background: #fff; outline: none; }
.co-editor-body:empty::before { content: attr(data-placeholder); color: var(--ink-4); pointer-events: none; }
.co-editor-body img, .co-editor-body video { max-width: 100%; border-radius: 8px; margin: 6px 0; }
.co-editor-body p { margin: 0 0 8px; }
/* 发布方式 / 规则 / 备注 */
.co-mode { display: flex; gap: 6px; }
.co-mode-btn { border: none; cursor: pointer; font-family: inherit; font-size: 12.5px; padding: 7px 18px; border-radius: 9px; background: var(--surface-2); color: var(--ink-2); }
.co-mode-btn.on { background: var(--brand); color: #fff; font-weight: 600; }
.co-select { width: 100%; font-size: 13px; padding: 10px 14px; border-radius: 11px; border: none; box-shadow: 0 0 0 1px var(--surface-3); background: #fff; color: var(--ink); font-family: inherit; }
.co-note-wrap { position: relative; }
.co-note-wrap .textarea { min-height: 64px; font-size: 13px; padding: 10px 14px; border-radius: 11px; }
.co-note-count { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: var(--ink-4); }
/* 价格 / 卡券 / 实付 */
.co-price-box { background: var(--brand-soft); border-radius: 12px; padding: 13px 16px; display: flex; flex-direction: column; gap: 9px; }
.co-price-line { display: flex; gap: 22px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.co-price-line b { color: var(--brand-deep); font-size: 13.5px; }
.co-price-line b.vip { color: var(--gold); }
.co-coupon-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.co-coupon-row .ic { width: 15px; height: 15px; color: var(--brand); flex: none; }
.co-coupon-row span { font-size: 12px; color: var(--ink-2); flex: none; }
.co-coupon-row select { flex: 1; border: none; background: var(--surface-2); border-radius: 8px; font-size: 12px; padding: 6px 8px; color: var(--ink); font-family: inherit; }
.co-pay-line { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.co-pay-line b { color: var(--brand-deep); font-size: 16px; font-weight: 700; }
.co-pay-line b i { font-style: normal; font-size: 12px; font-weight: 600; margin-right: 2px; }
/* 底部操作 */
.checkout-foot { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.checkout-foot .spacer { flex: 1; }
.checkout-foot .btn-outline, .checkout-foot .btn-ghost { font-size: 13px; padding: 10px 18px; }
.checkout-foot .btn-lg { font-size: 13.5px; padding: 10px 24px; }
.checkout-tip { font-size: 11.5px; color: var(--ink-3); margin-top: 10px; text-align: center; line-height: 1.6; }
.word-status { display: none; align-items: flex-start; gap: 7px; font-size: 11.5px; border-radius: 11px; padding: 9px 12px; margin-top: 8px; line-height: 1.6; }
.word-status .ic { margin-top: 2px; }
.word-status.ok { display: flex; background: var(--ok-soft); color: var(--ok); }
.word-status.err { display: flex; background: var(--danger-soft); color: var(--danger); }
.word-status.busy { display: flex; background: var(--surface-2); color: var(--ink-3); }
.word-status.idle { display: none; }
@media (max-width: 860px) { .modal-checkout { padding: 20px 16px; } .co-price-line { gap: 12px; } }

/* ---------- 稿件发布页（控制台内完整页面 · 第二步） ---------- */
.cp-steps { display: flex; align-items: center; gap: 8px; }
.cp-steps i { display: grid; place-items: center; color: var(--ink-4); }
.cp-steps i .ic { width: 14px; height: 14px; }
.cp-step {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px;
  padding: 6px 14px; border-radius: 999px; background: var(--surface-3); color: var(--ink-3);
}
.cp-step .ic { width: 13px; height: 13px; }
.cp-step.done { background: var(--brand-soft); color: var(--brand-deep); }
.cp-step.on { background: var(--black); color: #fff; font-weight: 600; }
.cp-card { background: #fff; border-radius: var(--r-lg); padding: 20px 24px; margin-bottom: 14px; }
.cp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.cp-card-head b { font-size: 14.5px; font-weight: 600; }
.cp-card-head > span { font-size: 12px; color: var(--ink-3); }
.cp-media-box { max-height: 132px; background: var(--surface-2); }
.cp-empty { font-size: 12.5px; color: var(--ink-3); }
.cp-sec { margin-bottom: 20px; }
.cp-sec:last-child { margin-bottom: 0; }
.cp-file-list { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cp-title-tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 3px; margin-bottom: 7px; }
.cp-tt { border: none; cursor: pointer; font-family: inherit; font-size: 12.5px; padding: 5px 16px; border-radius: 999px; background: transparent; color: var(--ink-2); }
.cp-tt.on { background: #fff; color: var(--brand-deep); font-weight: 600; box-shadow: var(--shadow-1); }
.cp-input-wrap { position: relative; }
/* 标题框：白底 + 清晰内描边，避免与白色卡片糊在一起看不清 */
.cp-input-wrap .input {
  padding-right: 76px; background: #fff;
  box-shadow: inset 0 0 0 1.5px #cfd8d4;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.cp-input-wrap .input::placeholder { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.cp-input-wrap .input:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cp-input-wrap .input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 3px rgba(0, 194, 154, 0.16); }
.cp-count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 11.5px; color: var(--ink-3); }
/* 多标题模式的每一行输入框同样加深边界 */
.cp-multi-row .input { background: #fff; box-shadow: inset 0 0 0 1.5px #cfd8d4; }
.cp-multi-row .input:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cp-multi-row .input:focus { box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 3px rgba(0, 194, 154, 0.16); }
.cp-warn { font-size: 11.5px; color: var(--danger); line-height: 1.7; margin-top: 7px; }
.cp-multi-list { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.cp-multi-row { display: flex; align-items: center; gap: 10px; }
.cp-multi-name { display: flex; align-items: center; gap: 7px; flex: none; width: 168px; font-size: 12.5px; color: var(--ink-2); }
.cp-multi-row .input { flex: 1; min-width: 0; font-size: 13px; }
.cp-schedule { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cp-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); cursor: pointer; background: var(--surface-2); padding: 8px 14px; border-radius: 10px; }
.cp-check input { width: 14px; height: 14px; accent-color: var(--brand); margin: 0; }
.cp-dt { width: 220px; font-size: 13px; padding: 8px 12px; }
.cp-limit { width: 150px; font-size: 13px; padding: 8px 12px; }
.cp-dt:disabled, .cp-limit:disabled { opacity: 0.5; }
.cp-editor-body { min-height: 280px; max-height: 460px; }
.cp-editor-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; background: var(--surface-2); font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap; }
.cp-tb-insert { width: 100%; border-collapse: collapse; margin: 8px 0; }
.cp-tb-insert td { padding: 6px 10px; box-shadow: inset 0 0 0 1px var(--surface-3); font-size: 12.5px; }
.cp-note-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.cp-note-row .cp-warn { margin-top: 0; flex: 1; }
.cp-inline-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cp-draft-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cp-draft-tip { font-size: 11.5px; color: var(--ink-3); }
.cp-notes-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.cp-notes-list li { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.cp-hist-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; }
.cp-hist-item { border: none; cursor: pointer; text-align: left; font-family: inherit; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); background: var(--surface-2); border-radius: 11px; padding: 10px 14px; }
.cp-hist-item:hover { background: var(--brand-soft); color: var(--brand-deep); }
/* 第二步通条按钮更多，压缩 chips 区域 */
.sel-bar.compose .sel-bar-chips { max-height: 44px; }
.sel-bar.compose .sel-bar-acts { gap: 8px; }
@media (max-width: 1100px) {
  .cp-inline-sec { grid-template-columns: 1fr; }
  .sel-bar-money { flex-wrap: wrap; gap: 8px 14px; }
}

/* ---------- 发布车 / 订单 ---------- */
.cart-list { display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow-y: auto; margin-bottom: 18px; }
.cart-item { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.cart-item .media-logo { width: 34px; height: 34px; font-size: 13px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 600; }
.cart-item-price { font-size: 12.5px; color: var(--ink-3); }
.cart-remove { border: none; background: var(--danger-soft); color: var(--danger); width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.cart-total { display: flex; align-items: center; justify-content: space-between; background: var(--brand-soft); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }
.cart-total b { font-size: 20px; color: var(--brand-deep); font-weight: 600; }
.vip-save { font-size: 12.5px; color: var(--gold-deep); background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.order-detail-item { background: var(--surface-2); border-radius: 12px; padding: 11px 14px; }
.order-detail-item span { font-size: 12px; color: var(--ink-3); display: block; }
.order-detail-item b { font-size: 13.5px; font-weight: 600; word-break: break-all; }

/* ---------- 订单列表（与媒体发布同规格紧凑表 + 操作列） ---------- */
table.data.full.orders { min-width: 1780px; }
.order-acts { display: flex; gap: 5px; white-space: nowrap; }
.order-acts .act-btn { padding: 4px 8px; font-size: 11px; flex: none; }
.order-acts .act-btn span { white-space: nowrap; }
.order-acts .act-btn .ic { width: 11px; height: 11px; }
.order-acts .act-btn.danger { background: var(--danger-soft); color: var(--danger); }
.order-acts .act-btn.danger:hover { background: #ffe4e0; }
.order-acts .act-btn[disabled], .order-acts .act-btn.disabled { opacity: .4; pointer-events: none; }
table.data.full.orders .order-id { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
table.data.full.orders .order-title { color: var(--ink); cursor: pointer; max-width: 200px; display: inline-block; vertical-align: bottom; }
table.data.full.orders .order-title:hover { color: var(--brand); }
table.data.full.orders .price { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.data.full.orders .muted { color: var(--ink-4); }
table.data.full.orders .ell { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
table.data.full.orders .reason { color: var(--danger); max-width: 180px; }
table.data.full.orders .num { white-space: nowrap; color: var(--ink-2); font-weight: 400; }
table.data.full.orders .badge { margin-right: 3px; }
/* 复制小按钮 */
.copy-btn {
  border: none; background: transparent; color: var(--ink-4); cursor: pointer;
  width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center;
  vertical-align: middle; margin-left: 4px; transition: background var(--t-fast), color var(--t-fast);
}
.copy-btn .ic { width: 12px; height: 12px; }
.copy-btn:hover { background: var(--brand-soft); color: var(--brand); }

/* ---------- 每页条数选择 ---------- */
.page-size { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin-left: 10px; white-space: nowrap; }
.page-size-select {
  border: none; background: var(--surface-3); color: var(--ink-2); border-radius: 8px;
  font-size: 12.5px; font-weight: 600; padding: 5px 8px; cursor: pointer; font-family: inherit;
  transition: background var(--t-fast);
}
.page-size-select:hover { background: var(--brand-soft-2); }
.page-size-select:focus { outline: none; box-shadow: 0 0 0 3px rgba(0, 194, 154, 0.16); }

/* ---------- 渐变高亮文字 / 弥散面板 ---------- */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.glow-panel { position: relative; background: var(--grad-soft); border-radius: var(--r-xl); overflow: hidden; }
.glow-panel::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 300px;
  background: radial-gradient(closest-side, rgba(0, 194, 154, 0.22), rgba(50, 230, 185, 0.12) 55%, transparent 75%);
  filter: blur(18px); pointer-events: none;
}

/* 财务 */
.finance-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.finance-card { border-radius: var(--r-lg); padding: 26px; }
.finance-card .stat-label { margin-bottom: 6px; }
.recharge-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.amount-opt { border: none; background: var(--surface-2); border-radius: 14px; padding: 15px 10px; text-align: center; transition: background var(--t-fast), box-shadow var(--t-fast); }
.amount-opt b { font-size: 18px; font-weight: 600; display: block; }
.amount-opt span { font-size: 11.5px; color: var(--ink-3); }
.amount-opt.active { background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(0, 194, 154, 0.18); }
.amount-opt.active b { color: var(--brand-deep); }

/* 个人信息 */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-grid .full { grid-column: 1 / -1; }

/* ---------- 实名认证 ---------- */
.realname-card { margin-bottom: 18px; }
.realname-head { display: flex; align-items: center; gap: 13px; }
.realname-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--warn-soft); color: var(--warn); display: grid; place-items: center; flex: none; }
.realname-ic .ic { width: 20px; height: 20px; }
.realname-ic.done { background: var(--ok-soft); color: var(--ok); }
.realname-tt { flex: 1; min-width: 0; }
.realname-tt b { display: block; font-size: 15px; font-weight: 600; }
.realname-tt span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.realname-head .badge { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.realname-head .badge .ic { width: 12px; height: 12px; }
.realname-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--r-md); }
.realname-cta p { font-size: 12.5px; color: var(--ink-2); flex: 1; min-width: 220px; line-height: 1.7; }
.realname-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.realname-info > div { background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; }
.realname-info span { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 4px; }
.realname-info b { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-all; }
.realname-tip { display: flex; gap: 9px; align-items: flex-start; background: var(--brand-soft); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 16px; }
.realname-tip .ic { width: 16px; height: 16px; color: var(--brand-deep); flex: none; margin-top: 1px; }
.realname-tip span { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 860px) { .realname-info { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .realname-info { grid-template-columns: 1fr; } .realname-head { flex-wrap: wrap; } }
.vip-banner { background: linear-gradient(120deg, #fdf4e3, #fbe8c8); border-radius: var(--r-lg); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.vip-banner b { font-size: 16px; color: var(--gold-deep); }
.vip-banner p { font-size: 13px; color: var(--gold); margin-top: 3px; }

/* ---------- 右下角客服浮窗 ---------- */
/* 容器本身不接收点击（否则收起的面板仍占据 280×423 命中区，遮挡右侧表格操作列） */
#cs-wrap { position: fixed; right: 26px; bottom: 26px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
#cs-wrap .cs-fab { pointer-events: auto; }
#cs-wrap.open .cs-panel { pointer-events: auto; }
.cs-fab {
  display: flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  background: var(--black); color: #fff; border-radius: 999px; padding: 13px 22px;
  font-size: 14px; font-weight: 600; box-shadow: 0 12px 32px rgba(11, 12, 15, 0.28);
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.cs-fab:hover { transform: translateY(-2px); background: var(--brand); box-shadow: 0 14px 36px rgba(0, 194, 154, 0.3); }
body.home .cs-fab:hover { background: #009e7c; box-shadow: 0 14px 36px rgba(0, 158, 124, 0.32); }
.cs-fab .ic { width: 17px; height: 17px; }
.cs-fab-ic { display: inline-flex; }
#cs-wrap.open .cs-fab { background: var(--brand); }
body.home #cs-wrap.open .cs-fab { background: #009e7c; }
.cs-panel {
  width: 280px; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(11, 12, 15, 0.18), 0 0 0 1px rgba(17, 19, 23, 0.05);
  opacity: 0; transform: translateY(14px) scale(0.96); transform-origin: bottom right;
  pointer-events: none; transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
#cs-wrap.open .cs-panel { opacity: 1; transform: none; pointer-events: auto; }
.cs-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; }
.cs-head-ic { width: 36px; height: 36px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.cs-head-ic .ic { width: 17px; height: 17px; }
.cs-head b { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.cs-head span { display: block; font-size: 11px; color: var(--ink-3); }
.cs-x { margin-left: auto; border: none; background: transparent; color: var(--ink-3); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.cs-x:hover { background: var(--surface-2); color: var(--ink); }
.cs-x .ic { width: 14px; height: 14px; }
.cs-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 16px 14px; }
.cs-qr img { width: 150px; height: 150px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--surface-3), 0 4px 14px rgba(17, 19, 23, 0.06); }
.cs-qr span { font-size: 11.5px; color: var(--ink-3); }
.cs-tel {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 0 16px; padding: 12px; border-radius: 13px; background: var(--black); color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.cs-tel:hover { background: var(--brand); transform: translateY(-1px); }
body.home .cs-tel:hover { background: #009e7c; }
.cs-tel .ic { width: 16px; height: 16px; }
.cs-tel b { font-size: 17px; font-weight: 600; letter-spacing: 0.5px; font-variant-numeric: tabular-nums; }
.cs-time { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 16px 16px; font-size: 11.5px; color: var(--ink-3); }
.cs-time .ic { width: 12px; height: 12px; }
@media (max-width: 640px) {
  #cs-wrap { right: 14px; bottom: 14px; }
  .cs-panel { width: 256px; }
  .cs-fab { padding: 12px 18px; }
}

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-tag { display: none; }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.wide { grid-column: span 2; }
  .hero h1 { font-size: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .overview-strip { grid-template-columns: repeat(2, 1fr); }
  .finance-cards { grid-template-columns: 1fr; }
  .ov-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: grid; }
  /* 手机版：隐藏「免费开户」，只留登录/注册；三条杠 + 登录整体靠右 */
  .nav-signup { display: none; }
  .nav-inner .nav-right { margin-left: auto; gap: 8px; }
  .nav-inner .logo { margin-right: auto; }
  .nav-burger { order: 2; }
  .nav-right .nav-auth { order: 1; white-space: nowrap; }
  .nav-right .nav-user { order: 1; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 14px 20px 20px; box-shadow: var(--shadow-2); margin: 0;
  }
  .nav.menu-open .nav-links a.active::after { display: none; }
  .console-shell { grid-template-columns: 1fr; }
  .console-side { position: static; height: auto; flex-direction: column; padding: 14px 16px; box-shadow: 0 1px 0 var(--surface-3); }
  .console-brand { padding-bottom: 12px; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-nav a { padding: 9px 13px; }
  .side-nav .nav-sep { display: none; }
  /* 窄屏：侧栏联系方式仍保留（客服浮窗已取消），横向紧凑排布 */
  .side-foot { padding: 10px 0 0; }
  .side-contact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; }
  .side-contact-head, .side-contact-corp, .side-contact-more { display: none; }
  .side-contact-foot { margin-top: 0; margin-left: auto; }
  .side-wx-pop { right: 0; }
  .side-contact-line { margin-top: 0; }
  .side-back { padding: 8px 10px; }
  .console-main { padding: 0 20px 80px; }
  .console-topbar { margin: 0 -20px 20px; padding: 12px 20px; }
  .topbar-phone { display: none; }
  .fav-layout { grid-template-columns: 1fr; }
  .fav-folders { position: static; flex-direction: row; flex-wrap: wrap; }
  .sel-bar { flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; }
  .sel-bar-chips { order: 3; flex-basis: 100%; max-height: 88px; }
  .sel-bar-acts { margin-left: auto; }
  .console-body .sel-bar { left: 0; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px; }
  .docs-toc h4 { width: 100%; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container-wide { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 27px; }
  .hero { padding: 60px 0 20px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .matrix, .steps, .bento { grid-template-columns: 1fr; }
  .bento-item.wide { grid-column: span 1; }
  .cta-band { padding: 36px 28px; }
  .cta-band h2 { font-size: 22px; }
  .tabs { width: 100%; overflow-x: auto; }
  .tab-btn { padding: 9px 14px; font-size: 13.5px; flex: none; }
  .tab-btn.active::after { left: 14px; right: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .overview-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ov-links { grid-template-columns: 1fr; }
  .ov-chart { height: 180px; }
  .doc-section { padding: 24px 20px; }
  .board-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .filter-row { flex-direction: column; gap: 6px; }
  .filter-label { width: auto; padding-top: 0; }
}
