/* 车贸互信 · 腾讯云风格 UI
   主色 #006EFF / 深色导航 / 浅灰蓝背景 / Arco Design 色板 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #006EFF;        /* 腾讯蓝 */
  --primary-dark: #0052D9;
  --primary-active: #0042B8;
  --primary-bg: #E8F3FF;     /* 浅蓝底 */
  --primary-bg-soft: #F0F7FF;
  --nav-bg: #0B1B2B;         /* 深色导航 */
  --nav-bg2: #10284B;
  --bg: #F0F3F8;             /* 页面浅灰蓝 */
  --card: #ffffff;
  --border: #E5E8EF;
  --text: #1F2329;
  --muted: #4E5969;
  --muted-2: #86909C;
  --star: #F7BA1E;
  --danger: #F53F3F;
  --danger-bg: #FFECE8;
  --green: #00B42A;
  --green-bg: #E8FFEA;
  --warning: #FF7D00;
  --radius: 8px;
}
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 登录页（腾讯云登录风格） ---------- */
.login-wrap {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px;
  background:
    radial-gradient(ellipse 55% 50% at 18% 18%, rgba(0,110,255,.30), transparent 62%),
    radial-gradient(ellipse 45% 55% at 85% 82%, rgba(0,169,255,.22), transparent 60%),
    linear-gradient(135deg, #0B1B2B 0%, #10284B 55%, #12366B 100%);
}
.login-card {
  background: #fff; border-radius: 8px; padding: 40px 36px; width: 100%; max-width: 400px;
  box-shadow: 0 12px 48px rgba(6, 26, 51, .35);
}
.login-logo {
  width: 52px; height: 52px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.login-logo img { display: block; }
.login-card h1 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.login-card h1.brand-main {
  font-size: 30px; font-weight: 800; letter-spacing: 3px; margin-bottom: 6px;
  background: linear-gradient(135deg, #0052D9, #006EFF 60%, #00A9FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.login-card .sub { text-align: center; color: var(--muted-2); font-size: 13px; margin-bottom: 26px; }
.login-tip {
  margin-top: 18px; padding: 10px 12px; background: var(--primary-bg-soft);
  border: 1px solid #D6E8FF; border-radius: 6px; font-size: 12.5px; color: var(--muted);
}
.login-tip b { color: var(--primary); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.field input[type=text], .field input[type=password], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px;
  font-family: inherit; background: #fff; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 6px; border: none; font-size: 14px; font-weight: 500;
  background: var(--primary); color: #fff; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { background: var(--primary-active); }
.btn.full { width: 100%; padding: 12px; font-size: 15px; }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg-soft); }
.btn.danger { background: #fff; color: var(--danger); border: 1px solid #FFCCC2; }
.btn.danger:hover { background: var(--danger-bg); }
.btn.sm { padding: 5px 12px; font-size: 13px; border-radius: 5px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.form-error { color: var(--danger); font-size: 13px; margin-bottom: 10px; min-height: 18px; }

/* ---------- 顶部导航（腾讯云深色导航） ---------- */
.topbar {
  background: #fff;                       /* V3：白底亮色导航 */
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid #E8EAED;
  box-shadow: 0 1px 3px rgba(6, 26, 51, .06);
}
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 4px; height: 56px; }
.brand {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px;
  margin-right: 16px; white-space: nowrap; cursor: pointer; user-select: none;
}
.brand .logo {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .logo img { display: block; border-radius: 5px; }
.brand .brand-name {
  font-size: 19px; font-weight: 800; letter-spacing: 2px; color: var(--primary);
  transition: opacity .15s;
}
.brand:hover .brand-name { opacity: .8; }
.nav-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 7px 12px; border-radius: 6px; color: #666; font-size: 14px; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-links a:hover { background: var(--primary-bg-soft); color: var(--primary); }
.nav-links a.active { background: var(--primary); color: #fff; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.user-chip { font-size: 13px; color: #666; }
/* ⋯ 下拉菜单（顶栏最右上角） */
.more-wrap { position: relative; }
/* 个人设置按钮（全端显示） */
.more-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  padding: 4px 9px 5px; min-width: 44px;
  background: #F2F3F5; color: #4E5969;
  border: 0; border-radius: 9px;
  cursor: pointer; line-height: 1; font-family: inherit;
  transition: background .15s, color .15s;
}
.more-btn:hover { background: #E5E6EB; color: var(--primary-dark); }
.more-btn:active { background: #E1E3E7; }
.more-btn .mb-ico { width: 18px; height: 18px; display: block; }
.more-btn .mb-lbl { font-size: 10.5px; font-weight: 500; letter-spacing: .5px; line-height: 1; }
.more-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; color: #1D2129; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); min-width: 160px; padding: 6px 0; z-index: 60; }
.more-menu .mm-item { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 9px 14px; font-size: 13.5px; color: #1D2129; cursor: pointer; }
.more-menu .mm-item:hover { background: #F7F8FA; }
.more-menu .mm-item.danger { color: #F53F3F; }
.more-menu .mm-item.danger:hover { background: #FFECE8; }
.mm-head { padding: 10px 14px 8px; border-bottom: 1px solid #F0F2F5; margin-bottom: 4px; }
.mm-head .mm-name { font-size: 14px; font-weight: 700; color: #1D2129; }
.mm-head .mm-comp { font-size: 11.5px; color: #86909C; margin-top: 2px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-head .mm-role { display: inline-block; font-size: 10.5px; font-weight: 600; background: #E8F3FF; color: #006EFF; border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.role-badge {
  font-size: 11px; background: linear-gradient(135deg, #006EFF, #00A9FF); color: #fff;
  border-radius: 4px; padding: 1px 6px; font-weight: 600;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 4px; }
.live-dot.off { background: #C9CDD4; }

/* ---------- 企查查查询条（顶部单开一行） ---------- */
.qcc-bar { background: #fff; border-bottom: 1px solid var(--border); }
.qcc-inner { max-width: 1200px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 10px; }
.qcc-label { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.qcc-inner input {
  flex: 1; max-width: 460px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 13.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.qcc-inner input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,.12); }
.qcc-src { font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.qcc-demo-tip { background: #FFF7E6; border: 1px solid #FFD666; border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; color: #7A5B00; }
.qcc-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; background: #fff; }
.qcc-item .cn { font-weight: 600; font-size: 14.5px; }
.qcc-item .cf { color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.qcc-item .cd { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.qcc-tip { border-radius: 6px; padding: 10px 12px; font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.qcc-tip.warn { background: #FFF7E6; border: 1px solid #FFD666; color: #7A5B00; }
.qcc-tip.err { background: #FFF1F0; border: 1px solid #FFA39E; color: #A8071A; }
.qcc-tip.info { background: #F0F5FF; border: 1px solid #ADC6FF; color: #10239E; }
.btn-link { background: none; border: none; padding: 0; color: var(--primary); cursor: pointer; font-size: 13px; text-decoration: underline; font-family: inherit; }

/* ---------- 弹窗内 AI 解析输入 ---------- */
.ai-inline {
  width: 100%; min-height: 108px; border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 12px; font-size: 13.5px; font-family: inherit; outline: none; resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.ai-inline:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,.12); }

/* ---------- 主体 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 20px 16px 60px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h2 { font-size: 18px; font-weight: 600; }
.page-head .desc { font-size: 13px; color: var(--muted-2); }

/* ---------- 搜索 ---------- */
.search-bar { display: flex; gap: 10px; margin-bottom: 16px; }
.search-bar input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px;
  outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,.12); }
.result-meta { font-size: 13px; color: var(--muted-2); margin-bottom: 12px; }

/* ---------- 同行库：分组标签 + 热度榜 + 点赞 ---------- */
.grp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.grp-chip {
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  border-radius: 16px; padding: 5px 14px; font-size: 13px; cursor: pointer;
  transition: all .15s;
}
.grp-chip:hover { border-color: var(--primary); color: var(--primary); }
.grp-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---- 同行库丙版：维度胶囊 + 红黑对开门 ---- */
.lib-caps { display: flex; gap: 10px; margin-top: 14px; }
.lib-cap {
  flex: 1; max-width: 180px; padding: 9px 0; border-radius: 10px;
  background: #F2F3F5; border: 1.5px solid transparent; color: var(--muted);
  font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.lib-cap svg { flex-shrink: 0; }
.lib-tools { display: flex; gap: 8px; align-items: center; }
.lib-search-btn {
  width: 36px; height: 36px; border-radius: 50%; padding: 0; flex-shrink: 0;
  border: 1.5px solid var(--border); background: #fff; color: #4b5563;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
}
/* 规则收纳（C 方案：？链接 + 抽屉面板） */
.rule-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--primary); cursor: pointer; white-space: nowrap; line-height: 1; }
.rule-link .rule-q { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; }
.rule-link:hover { text-decoration: underline; }
.rule-link.on { font-weight: 600; }
.rule-drawer { margin: 0 0 14px; border: 1px solid #c5dcf4; border-radius: 12px; padding: 12px 15px; background: #eef5fc; font-size: 12.5px; line-height: 1.6; color: var(--text); }
.rule-drawer b { font-size: 13px; }
.rule-drawer ul { margin: 6px 0 0; padding-left: 18px; }
.rule-drawer li { margin: 3px 0; }
.rule-bar { display: flex; align-items: center; gap: 8px; border-top: 1px dashed rgba(14,90,167,.25); padding-top: 8px; margin-top: 8px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.rule-close { margin-left: auto; color: var(--primary); cursor: pointer; white-space: nowrap; }
.rule-close:hover { text-decoration: underline; }
.lib-search-btn:hover { border-color: var(--primary); color: var(--primary); }
.lib-search-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(0,110,255,.25); }
.lib-cap:hover { border-color: #C9CDD4; }
.lib-cap.on { background: #fff; border-color: var(--primary); color: var(--primary-dark, #1D4ED8); box-shadow: 0 2px 8px rgba(0,110,255,.10); }

.door-wrap { display: flex; gap: 10px; align-items: stretch; }
.door { flex: 1; min-width: 0; border-radius: 14px; padding: 12px; }
.door-red { background: #A32D2D; }
.door-black { background: #2C2C2A; }
.door-head { margin-bottom: 10px; }
.door-red .dh-t { color: #fff; font-size: 14px; font-weight: 600; }
.door-black .dh-t { color: #fff; font-size: 14px; font-weight: 600; }
.door-red .dh-s { color: #F7C1C1; font-size: 11.5px; margin-top: 2px; }
.door-black .dh-s { color: #B4B2A9; font-size: 11.5px; margin-top: 2px; }
.door-item {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; column-gap: 8px;
  background: rgba(255,255,255,.13); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px;
  cursor: pointer; transition: background .15s;
}
.door-item:hover { background: rgba(255,255,255,.22); }
.door-item .di-no { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.door-item .di-main { color: #fff; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.door-item .di-sub { grid-column: 2 / 4; color: rgba(255,255,255,.62); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.door-empty { color: rgba(255,255,255,.5); font-size: 12.5px; text-align: center; padding: 22px 0; }

/* ---- 公司详情弹窗 ---- */
.cd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.cd-stat { background: var(--bg-2, #F7F8FA); border-radius: 10px; padding: 10px 6px; text-align: center; }
.cd-stat b { display: block; font-size: 18px; color: var(--primary-dark, #1D4ED8); font-variant-numeric: tabular-nums; }
.cd-stat span { font-size: 11px; color: var(--muted); }
.cd-line { font-size: 13px; color: var(--text-2, #4E5969); margin-bottom: 6px; }
.cd-sec { font-size: 13px; font-weight: 600; margin: 12px 0 8px; }
.cd-members { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; }
.cd-member {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff; border: 1px solid var(--border, #E5E6EB); border-radius: 9px;
  padding: 8px 12px; cursor: pointer; transition: border-color .15s;
}
.cd-member:hover { border-color: var(--primary); }
.cd-member b { font-size: 13.5px; }
.cd-member span { font-size: 12px; color: var(--muted); flex: 1; }
.cd-member i { font-style: normal; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cd-member i.s-red { color: #C5351F; }
.cd-member i.s-black { color: #86909C; }

@media (max-width: 480px) {
  .lib-caps { gap: 8px; }
  .lib-cap { font-size: 12.5px; padding: 8px 0; }
  .door-wrap { flex-direction: column; }
  .door { border-radius: 12px; }
  .cd-stats { grid-template-columns: repeat(2, 1fr); }
}

.hot-rank {
  background: linear-gradient(135deg, #FFF7F0, #FFFBF5); border: 1px solid #FFD3A8;
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px;
}
.hot-title { font-size: 15px; font-weight: 600; color: #C2410C; margin-bottom: 10px; }

.hot-tip {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: #FFF4E5; color: #C2410C;
  font-size: 13px; cursor: help; user-select: none; margin-left: 8px; border: 1px solid #FFD9B0;
}
.hot-tip:hover .hot-tip-box,
.hot-tip:focus-within .hot-tip-box { display: block; }
.hot-tip-box {
  display: none; position: absolute; top: 28px; left: 0; z-index: 100;
  width: 260px; background: #fff; border: 1px solid #FFE3C4; border-radius: 10px;
  padding: 12px 14px; box-shadow: 0 6px 24px rgba(0,0,0,.08); font-size: 13px; line-height: 1.7;
  color: #4B2E1A; text-align: left;
}
.hot-tip-box::before {
  content: ''; position: absolute; top: -6px; left: 8px; width: 10px; height: 10px;
  background: #fff; border-left: 1px solid #FFE3C4; border-top: 1px solid #FFE3C4;
  transform: rotate(45deg);
}
.rb-rule-title { font-weight: 600; color: #C2410C; margin-bottom: 8px; font-size: 13.5px; }
.rb-rule-row { display: flex; align-items: center; gap: 8px; padding: 1px 0; }
.rb-rule-add { display: inline-block; min-width: 44px; padding: 1px 8px; border-radius: 10px;
  background: #DCFCE7; color: #15803D; font-weight: 600; text-align: center; font-size: 12px; }
.rb-rule-sub { display: inline-block; min-width: 44px; padding: 1px 8px; border-radius: 10px;
  background: #FEE2E2; color: #B91C1C; font-weight: 600; text-align: center; font-size: 12px; }
.rb-rule-zero { display: inline-block; min-width: 44px; padding: 1px 8px; border-radius: 10px;
  background: #F1F5F9; color: #64748B; font-weight: 600; text-align: center; font-size: 12px; }
.rb-rule-foot { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #FFE3C4;
  color: var(--muted); font-size: 12px; }
.hot-sub { font-size: 12px; font-weight: 400; color: var(--muted-2); margin-left: 8px; }
.hot-list { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 4px; }
.hot-item {
  flex: 0 1 calc((100% - 40px) / 5); min-width: 150px; background: #fff; border: 1px solid #FFE3C4; border-radius: 8px;
  padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
  transition: box-shadow .15s, transform .15s;
}
.hot-item:hover { box-shadow: 0 4px 14px rgba(194,65,12,.12); transform: translateY(-1px); }
.hot-no {
  width: 22px; height: 22px; border-radius: 50%; background: #F2F3F5; color: var(--muted);
  font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.hot-no.n1 { background: #FF9500; color: #fff; }
.hot-no.n2 { background: #FFB84D; color: #fff; }
.hot-no.n3 { background: #FFCE85; color: #fff; }
.hot-name { font-size: 14px; font-weight: 600; }
.hot-org { font-size: 12px; color: var(--muted-2); }
.hot-score { font-size: 12.5px; color: #C2410C; font-weight: 600; }

/* 红黑榜 */
.rb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.rb-col { margin-bottom: 0; min-width: 0; }
.rb-col .hot-list { flex-direction: column; flex-wrap: nowrap; gap: 5px; }
.rb-col .hot-item { flex: 1 1 auto; width: 100%; min-width: 0; flex-direction: row; align-items: center; gap: 8px; padding: 4px 8px; }
.rb-col .hot-no { width: 18px; height: 18px; font-size: 11px; flex: 0 0 18px; }
.rb-col .hot-name { font-size: 13px; }
.rb-col .hot-score { font-size: 11.5px; margin-left: auto; }
.rb-col .hot-item:hover { transform: none; }
.rb-col.rb-red .hot-item { border-color: #FECACA; }
.rb-col.rb-red .hot-item:hover { box-shadow: 0 4px 14px rgba(220,38,38,.12); }
.rb-col.rb-black .hot-item { border-color: #D4D4D8; background: #FAFAFA; }
.rb-col.rb-black .hot-item:hover { box-shadow: 0 4px 14px rgba(63,63,70,.15); }
.rb-head { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.rb-red .rb-head { color: #DC2626; }
.rb-black .rb-head { color: #3F3F46; }
.hot-no.b1 { background: #27272A; color: #fff; }
.hot-no.b2 { background: #52525B; color: #fff; }
.hot-no.b3 { background: #71717A; color: #fff; }
.rb-black .hot-score { color: #3F3F46; }
.rb-black .hot-name { color: #3F3F46; }
.score-chip.good { background: #F0FDF4; border-color: #BBF7D0; color: #15803D; }
.score-chip.bad { background: #FEF2F2; border-color: #FECACA; color: #DC2626; }
.btn.warn { background: #FEFCE8; border: 1px solid #FDE68A; color: #A16207; }
.btn.warn:hover { background: #FEF9C3; }
.btn.sm { font-size: 13px; padding: 6px 12px; }

.like-btn {
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  border-radius: 16px; padding: 4px 12px; font-size: 13px; cursor: pointer;
  flex-shrink: 0; transition: all .15s; line-height: 1.5;
}
.like-btn:hover { border-color: #FF4D67; color: #FF4D67; }
.like-btn.on { background: #FFF0F3; border-color: #FF4D67; color: #FF4D67; }
.like-btn.on .lc { font-weight: 600; }
.like-btn.big { font-size: 14px; padding: 8px 18px; border-radius: 20px; }
.detail-heat { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.heat-chip {
  background: #FFF7F0; border: 1px solid #FFD3A8; color: #C2410C;
  border-radius: 16px; padding: 8px 14px; font-size: 13.5px; font-weight: 600;
}

/* ---------- 人物卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pcard {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; cursor: pointer; transition: box-shadow .15s, transform .15s, border-color .15s; position: relative;
}
.pcard:hover { box-shadow: 0 6px 24px rgba(0,110,255,.10); transform: translateY(-1px); border-color: #B3D3FF; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pcard-name { font-size: 16px; font-weight: 600; }
.pcard-name .g { font-size: 13px; font-weight: 400; margin-left: 4px; }
.pcard-rate { text-align: right; flex-shrink: 0; }
.pcard-rate .s { color: var(--star); font-size: 14px; letter-spacing: 1px; }
.pcard-rate .n { font-size: 12px; color: var(--muted-2); }
.pcard-org { color: var(--primary); font-size: 14px; margin: 2px 0 6px; }
.pcard-region { font-size: 13px; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12px; background: #F2F3F5; color: var(--muted); border-radius: 4px; padding: 2px 10px; }
.chip.brand { background: var(--primary-bg); color: var(--primary-dark); }
.pcard-foot {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--muted-2); display: flex; justify-content: space-between;
}
.empty {
  text-align: center; color: var(--muted-2); padding: 60px 20px; background: #fff;
  border-radius: var(--radius); border: 1px dashed var(--border);
}
.empty .big { font-size: 42px; margin-bottom: 10px; }

/* ---------- 详情 ---------- */
.detail-head {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 10px;
}
.detail-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-title h2 { font-size: 19px; font-weight: 600; }
.gtag { font-size: 12px; background: #F2F3F5; padding: 2px 8px; border-radius: 4px; color: var(--muted); }
.detail-meta { color: var(--muted-2); font-size: 13px; margin-top: 8px; }
.detail-meta b { color: var(--text); font-weight: 600; }
.detail-rate { margin-top: 6px; font-size: 14px; }
.detail-rate .s { color: var(--star); letter-spacing: 2px; }
.detail-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 18px; margin-top: 8px; font-size: 14px; }
.info-grid .k { color: var(--muted-2); font-size: 12.5px; }
.notes-box {
  margin-top: 8px; background: #FFF7E6; border: 1px solid #FFD666;
  border-radius: 6px; padding: 7px 11px; font-size: 14px; white-space: pre-wrap;
}

.tabs {
  display: flex; gap: 2px; background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 4px; margin-bottom: 10px; overflow-x: auto;
}
.tabs button {
  flex: 1; padding: 8px 10px; border: none; background: transparent; border-radius: 4px;
  font-size: 14px; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s;
}
.tabs button:hover { color: var(--primary); }
.tabs button.active { background: var(--primary); color: #fff; font-weight: 600; }

.item-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.item-card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.item-card .title { font-weight: 600; font-size: 15px; }
.item-card .sub { color: var(--muted-2); font-size: 13px; margin-top: 2px; }
.item-card .content { margin-top: 8px; font-size: 14px; white-space: pre-wrap; }
.item-card .foot { margin-top: 8px; font-size: 12px; color: var(--muted-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: var(--star); letter-spacing: 2px; }
.anon-tag { font-size: 11px; background: #F2F3F5; color: var(--muted-2); padding: 1px 6px; border-radius: 4px; }
.name-tag { font-size: 11px; background: var(--primary-bg); color: var(--primary-dark); padding: 1px 6px; border-radius: 4px; }
.rel-arrow { color: var(--primary); font-weight: 700; }
.rel-type { font-size: 12px; background: var(--green-bg); color: var(--green); border-radius: 4px; padding: 1px 8px; }
.log-line { padding: 8px 0; border-bottom: 1px solid #F2F3F5; font-size: 13px; }
.log-line:last-child { border-bottom: none; }
.log-line .t { color: var(--muted-2); font-size: 12px; margin-right: 8px; }
.log-change { color: var(--muted-2); font-size: 12.5px; }
.log-change b { color: var(--text); font-weight: 500; }
.log-change .arrow { color: var(--primary); margin: 0 4px; }

.add-box {
  background: var(--primary-bg-soft); border: 1px solid #D6E8FF;
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
}
.add-box h4 { font-size: 14px; margin-bottom: 12px; color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 10px 0; }
.check-row input { width: 16px; height: 16px; accent-color: var(--primary); }

/* ---------- 分组 ---------- */
.seg { display: inline-flex; background: #F2F3F5; border-radius: 6px; padding: 3px; }
.seg button { border: none; background: transparent; padding: 6px 16px; border-radius: 4px; font-size: 14px; color: var(--muted); transition: background .15s, color .15s; }
.seg button:hover { color: var(--primary); }
.seg button.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(6,26,51,.12); }
.group-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.group-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; user-select: none; }
.group-head:hover { background: var(--primary-bg-soft); }
.group-head .gname { font-weight: 600; flex: 1; }
.group-head .gcount { font-size: 12px; background: var(--primary-bg); color: var(--primary-dark); border-radius: 10px; padding: 2px 10px; }
.group-body { padding: 0 16px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.member { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #F7F8FA; border-radius: 6px; cursor: pointer; font-size: 13px; }
.member:hover { background: var(--primary-bg-soft); }
.member .mname { font-weight: 600; }
.member .morg { color: var(--muted-2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { transition: transform .15s; color: var(--muted-2); }
.caret.open { transform: rotate(90deg); }

/* ---------- AI 入库 ---------- */
.ai-hero {
  background: linear-gradient(135deg, #0052D9 0%, #006EFF 55%, #00A9FF 100%);
  border-radius: var(--radius); color: #fff; padding: 22px; margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0,110,255,.22);
}
.ai-hero h2 { font-size: 18px; margin-bottom: 4px; font-weight: 600; }
.ai-hero p { font-size: 13px; opacity: .92; }
.ai-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.ai-box textarea {
  width: 100%; min-height: 140px; border: 1px solid var(--border); border-radius: 6px;
  padding: 12px; font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
.ai-box textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,.12); }
.engine-tag { font-size: 12px; color: var(--green); background: var(--green-bg); border-radius: 4px; padding: 2px 8px; }
.hist-preview { border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; background: #fff; }

/* ---------- 管理后台 ---------- */
.audit-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.audit-table th { background: #F7F8FA; text-align: left; padding: 10px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); }
.audit-table td { padding: 10px 12px; border-bottom: 1px solid #F2F3F5; vertical-align: top; }
.audit-table tr:last-child td { border-bottom: none; }
.real-name { color: var(--danger); font-weight: 600; }

/* ---------- 弹窗 / 提示 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(11,27,43,.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 8px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; padding: 22px; animation: pop .18s ease; }
.modal h3 { margin-bottom: 16px; font-size: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

#toasts { position: fixed; top: 68px; right: 16px; z-index: 300; display: flex; flex-direction: column; gap: 8px; max-width: 320px; }
.toast {
  background: #1F2329; color: #fff; border-radius: 6px; padding: 10px 14px; font-size: 13px;
  box-shadow: 0 8px 24px rgba(6,26,51,.25); animation: slidein .2s ease;
}
.toast.ok { background: var(--green); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 寻车广场 / 车源发布 ---------- */
.filter-bar { display: flex; align-items: center; gap: 10px; margin: 2px 0 14px; flex-wrap: wrap; }
.filter-bar .seg { display: inline-flex; background: #F2F3F5; border: none; cursor: pointer; border-radius: 6px; padding: 6px 16px; font-size: 14px; color: var(--muted); transition: background .15s, color .15s; }
.filter-bar .seg:hover { color: var(--primary); }
.filter-bar .seg.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(6,26,51,.12); border: 1px solid #B3D3FF; }
.deal-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; transition: box-shadow .15s, transform .15s; }
/* ---- 本家车源（甲版：口岸条 + 双Tab） ---- */
.src-tabs { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; flex-wrap: wrap; }
.src-tab { flex: 0 1 auto; display: inline-flex; align-items: center; gap: 6px; background: #F2F3F5; border: 1px solid transparent; cursor: pointer; border-radius: 10px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: all .15s; }
.src-tab:hover { color: var(--primary); }
.src-tab.active { background: #E8F3FF; color: var(--primary); border-color: #B3D3FF; box-shadow: 0 2px 8px rgba(0,110,255,.10); }
.src-tab .seg-n { font-weight: 500; font-size: 12px; background: #fff; border-radius: 20px; padding: 1px 8px; }
.mer-card { background: #fff; border: 1px solid #D4E0F5; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .15s; }
.mer-card:hover { box-shadow: 0 4px 16px rgba(0,110,255,.08); }
.mer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; cursor: pointer; }
.mer-info { min-width: 0; }
.mer-name { font-size: 15.5px; font-weight: 700; color: #1D2129; word-break: break-word; }
.mer-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.mer-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mer-qty { font-size: 13.5px; font-weight: 700; color: var(--primary); background: #E8F3FF; border-radius: 20px; padding: 3px 12px; white-space: nowrap; }
.mer-arrow { font-size: 12px; color: var(--muted); }
.mer-list { border-top: 1px solid #EEF1F6; padding: 10px 12px; background: #FAFBFD; }
.stu-row { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 12px 10px; margin-bottom: 10px; }
.stu-row:last-child { margin-bottom: 0; }
.stu-bar { flex: 0 0 4px; align-self: stretch; border-radius: 4px; background: #FF9A2E; }
.stu-main { flex: 1; min-width: 0; }
.stu-line1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stu-title { font-size: 15px; font-weight: 700; color: #1D2129; word-break: break-word; }
.stu-price { margin-left: auto; font-size: 14.5px; font-weight: 700; color: #C25E0A; white-space: nowrap; }
.stu-line2 { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stu-note { font-size: 13px; color: #4E5969; margin-top: 6px; line-height: 1.55; }
.stu-row .deal-contact { margin: 6px 0 0; }
.mer-list .stu-row { border: none; background: #fff; box-shadow: 0 1px 4px rgba(6,26,51,.06); }

/* ---------- 车源时效（2026-09-04）---------- */
.fresh { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.f-new { background: #E8FFEA; color: #00871D; border: 1px solid #AFF0B5; }
.f-mid { background: #FFF7E6; color: #B85C00; border: 1px solid #FFE4A3; }
.f-old { background: #F2F3F5; color: #86909C; border: 1px solid #E5E6EB; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; }
.d-new { background: #00B42A; }
.d-mid { background: #FF7D00; }
.d-old { background: #C9CDD4; }
.fresh-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #E5E8EF; font-size: 12px; color: #86909C; flex-wrap: wrap; }
.fresh-row .right { margin-left: auto; white-space: nowrap; }
.fresh-row .warn { color: #FF7D00; font-weight: 600; }
.stu-row.stale { opacity: .6; }
.stu-row.stale .stu-bar { background: #C9CDD4; }
/* 微信同号：电话后面的小徽标，不再单独占一个 chip */
.c-wechat-same { display: inline-block; font-size: 10.5px; font-weight: 600; line-height: 1; padding: 3px 6px; border-radius: 4px; background: #E8FFEA; color: #07C160; box-shadow: 0 0 0 1px #B6EBC1 inset; cursor: help; flex: none; }
/* 查看详情后真号码高亮 */
.c-phone.real { background: #E8FFEA; color: #00A42B; }
/* 我的发布：卡片下方的操作按钮 */
.btn-listing-act { width: 100%; margin-top: 9px; border: 1px solid #006EFF; background: #fff; color: #006EFF; border-radius: 8px; padding: 9px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-listing-act.urgent { background: #FF7D00; border-color: #FF7D00; color: #fff; }
.la-row { display: flex; gap: 10px; margin-top: 8px; }
.la-mini { flex: 1; border: 1px solid #E5E8EF; background: #fff; color: #4E5969; border-radius: 8px; padding: 8px; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; }
.la-mini.del { color: #F53F3F; border-color: #FFD0D0; background: #FFF8F8; }
.hit-row { display: flex; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #E5E8EF; font-size: 12px; align-items: center; flex-wrap: wrap; }
.hit { color: #4E5969; }
.hit b { color: #1F2329; font-weight: 700; }
.hit-total { margin-left: auto; color: #86909C; }
/* 我的发布：顶部统计格 */
.ls-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.ls-stat { background: #fff; border: 1px solid #E5E8EF; border-radius: 10px; padding: 12px 14px; }
.ls-stat .k { font-size: 12.5px; color: #4E5969; }
.ls-stat .v { font-size: 23px; font-weight: 700; color: #1F2329; line-height: 1.3; }
/* 到期提醒条 */
.ls-alert { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 11px 13px; margin-bottom: 10px; }
.ls-alert.amber { background: #FFF7E6; border: 1px solid #FFD899; }
.ls-alert.amber .t { color: #8A5300; font-weight: 600; font-size: 13.5px; }
.ls-alert.amber .s { color: #A87000; font-size: 12px; margin-top: 1px; }
.ls-alert .grow { flex: 1; min-width: 0; }
.ls-alert button { flex: none; border: none; border-radius: 6px; padding: 7px 13px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; font-family: inherit; }
.ls-alert .b-amber { background: #FF7D00; color: #fff; }
.ls-sect { font-size: 12.5px; color: #86909C; margin: 16px 0 8px; font-weight: 600; }
@media (max-width: 480px) {
  .src-tab { padding: 7px 14px; font-size: 13.5px; }
  .mer-name { font-size: 14.5px; }
  .stu-title { font-size: 14px; }
  .stu-price { font-size: 13.5px; }
}
.deal-card:hover { box-shadow: 0 6px 24px rgba(0,110,255,.10); transform: translateY(-1px); border-color: #B3D3FF; }
.deal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.deal-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; min-width: 0; }
.dt-main { font-size: 18px; font-weight: 700; color: #1D2129; line-height: 1.45; word-break: break-word; }
.dt-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kind-want .dt-main { font-size: 17.5px; }
.kind-listing .dt-main { font-size: 16px; }
.status-badge { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.st-pending { background: #FFF7E6; color: #B45309; }
.st-approved { background: #E8FFEA; color: #00A42B; }
.st-rejected { background: #FFECE8; color: #F53F3F; }
.st-want { background: #E8F3FF; color: #006EFF; }
.port-chip { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; background: #FFF7E6; color: #B45309; }
.vt-chip { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.vt-new { background: #F0F9FF; color: #1D4ED8; border: 1px solid #BAE0FF; }
.vt-used { background: #FFF3E8; color: #C25E0A; border: 1px solid #FFD9B3; }
.vt-qcc { background: #E8F8F2; color: #00785A; border: 1px solid #A8E6D0; }

/* ---------- 工商核验信息块（企查查） ---------- */
.qcc-badge { display: inline-block; font-size: 11px; font-weight: 500; background: #E8F8F2; color: #00785A; border: 1px solid #A8E6D0; border-radius: 20px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }
.qcc-card { background: #FAFBFC; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 4px; }
.qcc-row { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; padding: 4px 0; border-bottom: 1px dashed #F0F1F3; }
.qcc-row:last-of-type { border-bottom: none; }
.qcc-row span { flex: none; width: 108px; color: var(--muted); }
.qcc-row b { font-weight: 500; color: #1D2129; word-break: break-all; }
.qcc-age { display: inline-block; font-style: normal; font-size: 11.5px; background: #E8F8F2; color: #00785A; border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.qs-ok { color: #00785A; }
.qs-bad { color: #D54941; }
.qs-warn { color: #D97706; }
.qcc-foot { font-size: 11px; color: var(--muted-2, #86909C); line-height: 1.65; margin-top: 8px; padding-top: 8px; border-top: 1px solid #F0F1F3; }
.deal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 8px; }
.deal-tags span { background: #F2F3F5; color: #4E5969; font-size: 12.5px; padding: 3px 10px; border-radius: 4px; }
.deal-note { font-size: 13.5px; color: #4E5969; line-height: 1.6; margin-bottom: 10px; }
.deal-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px solid #F2F3F5; padding-top: 10px; }
.deal-meta b { color: #1D2129; }
.meta-company { color: #4E5969; font-weight: 500; }
.deal-contact { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.c-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.c-chip a { text-decoration: none; }
.c-phone { background: #E8F3FF; color: #006EFF; }
.c-phone a { color: #006EFF; }
.c-wechat { background: #E8FFEA; color: #00A42B; }
.c-wechat-same { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1; padding: 3px 7px; border-radius: 4px; background: #E8FFEA; color: #07C160; box-shadow: 0 0 0 1px #B6EBC1 inset; cursor: help; flex: none; }
.inline-toggle { margin: -4px 0 2px; }
.switch-row { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; user-select: none; }
.switch-row input { width: 16px; height: 16px; accent-color: #07C160; cursor: pointer; }
.c-btn { border: none; background: #fff; color: var(--muted); font-size: 12px; padding: 2px 8px; border-radius: 4px; cursor: pointer; font-weight: 500; box-shadow: 0 0 0 1px rgba(6,26,51,.10); }
.c-btn:hover { color: var(--primary); box-shadow: 0 0 0 1px #B3D3FF; }
.c-btn.go { background: #00A42B; color: #fff; box-shadow: none; }
.c-btn.go:hover { background: #009A29; color: #fff; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 6px; padding: 8px 14px; font-size: 13.5px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.radio-pill:hover { border-color: #B3D3FF; }
.radio-pill input { accent-color: var(--primary); }
.radio-pill:has(input:checked) { border-color: var(--primary); background: #E8F3FF; color: var(--primary); font-weight: 600; }
.banner-tip { background: #FFF7E6; border: 1px solid #FFE4A3; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 10px; }

/* ---------- 首页（参考企查查风格）---------- */
.home-hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 18% 30%, rgba(0,169,255,.30), transparent 65%),
    linear-gradient(135deg, #0052D9 0%, #006EFF 45%, #2B7FFF 100%);
  color: #fff;
  border-radius: 16px;
  padding: 36px 24px 30px;
  margin: 12px 0 20px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,110,255,.15);
}
.home-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 60%, rgba(255,255,255,.10) 1px, transparent 1.4px),
                    radial-gradient(circle at 75% 25%, rgba(255,255,255,.08) 1px, transparent 1.4px);
  background-size: 28px 28px, 36px 36px;
  pointer-events: none;
  opacity: .7;
}
.home-hero-inner { position: relative; z-index: 1; }
.home-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 4px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.home-sub {
  font-size: 15px;
  font-weight: 400;
  opacity: .92;
  letter-spacing: 2px;
  margin-top: 6px;
}
/* ---------- 首页全局搜索结果（C 版：统一流 + 来源 chip） ---------- */
.hs-wrap {
  max-width: 900px;
  margin: 14px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hs-meta { font-size: 13px; color: var(--muted-2); }
.hs-meta b { color: var(--text); }
.hs-close {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 12.5px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.hs-close:hover { background: #F2F4F8; color: var(--text); }
.hs-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.hs-chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  color: var(--muted-2);
  cursor: pointer;
  transition: all .15s;
}
.hs-chip:hover { border-color: #F56C2C; color: #E55A1A; }
.hs-chip.on { background: #F56C2C; border-color: #F56C2C; color: #fff; }
.hs-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.hs-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.hs-card:hover { border-color: #F56C2C; background: #FFF9F5; }
.hs-tag { flex-shrink: 0; font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.hs-tag.t-person { background: #EEEDFE; color: #534AB7; }
.hs-tag.t-company { background: #E1F5EE; color: #0F6E56; }
.hs-tag.t-brand { background: #EAF3DE; color: #3B6D11; }
.hs-tag.t-rel { background: #FAECE7; color: #993C1D; }
.hs-tag.t-want { background: #E7F0FA; color: #1D5FA8; }
.hs-tag.t-listing { background: #FDEFE2; color: #B4520A; }
/* 白名单用实心绿底，区别于其他浅色 muted 标签，强调「官方已授权」 */
.hs-tag.t-whitelist { background: #0F9960; color: #fff; font-weight: 600; }

/* ---------- 授权白名单详情弹窗 ---------- */
.wl-ok {
  background: #E6F6EF; color: #0B7A4B; border: 1px solid #A8E6D0;
  border-radius: 8px; padding: 9px 13px; font-size: 13px; font-weight: 600;
  margin: 10px 0 14px;
}
.wl-grid { display: flex; flex-direction: column; gap: 1px; background: #F0F3F7; border-radius: 8px; overflow: hidden; }
.wl-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  background: #fff; padding: 9px 13px; font-size: 13px;
}
.wl-row span { color: var(--muted); flex-shrink: 0; }
/* 注：早期版本误用了未定义的 --ink / --line，导致颜色与分隔线失效，已全部改回项目变量 */
.wl-row b { text-align: right; font-weight: 600; word-break: break-all; }
.wl-row b.mono { font-family: Consolas, Monaco, monospace; font-size: 12.5px; letter-spacing: .3px; }
.wl-n {
  display: inline-block; background: #E6F6EF; color: #0B7A4B; border-radius: 9px;
  padding: 0 7px; font-size: 11.5px; font-weight: 700; margin-left: 5px; line-height: 17px;
}
.wl-rel { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-chip {
  background: #F4F7FB; border: 1px solid #E0E7F0; color: var(--text);
  border-radius: 7px; padding: 4px 10px; font-size: 12.5px;
}
.wl-chip.more { color: var(--primary); border-style: dashed; border-color: #B5D4F4; }
.wl-foot {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--muted); line-height: 1.7;
}
.wl-foot b { color: #0B7A4B; }

/* ---------- 首页板块：2026 新车直出授权名单（紧凑骨架 + 关系可展开） ---------- */
.wl-block {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 15px 16px; margin: 0 auto 16px; max-width: 860px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.wl-head { margin-bottom: 12px; }
.wl-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wl-title { font-size: 15px; font-weight: 600; color: var(--text); }
.wl-badge {
  background: #0F9960; color: #fff; border-radius: 4px;
  padding: 1px 6px; font-size: 11px; font-weight: 500; line-height: 17px;
}
.wl-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.wl-search { display: flex; gap: 8px; margin-bottom: 10px; }
.wl-search input {
  flex: 1; min-width: 0; height: 34px; padding: 0 11px;
  border: 1px solid var(--border); border-radius: 6px; background: #FAFBFD;
  font-size: 13px; color: var(--text); font-family: inherit;
}
.wl-search input:focus { outline: none; border-color: var(--primary); background: #fff; }
.wl-go {
  flex-shrink: 0; height: 34px; padding: 0 16px; border: 0; border-radius: 6px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 500;
}
.wl-go:hover { background: var(--primary-dark); }

/* 地区横滑条：29 个省横排，超出横向滚动 */
.wl-provs {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.wl-provs::-webkit-scrollbar { display: none; }
.wl-prov {
  flex-shrink: 0; border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 11px; font-size: 12px; background: #FAFBFD; color: var(--muted);
  white-space: nowrap; font-family: inherit;
}
.wl-prov:hover { border-color: var(--primary); color: var(--primary); }
.wl-prov.on { background: #0F9960; border-color: #0F9960; color: #fff; font-weight: 500; }

.wl-list { display: flex; flex-direction: column; gap: 8px; }
.wl-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.wl-card-main { display: flex; align-items: center; gap: 8px; padding: 10px 11px; cursor: pointer; }
.wl-card-main:hover { background: #FAFBFD; }
.wl-type {
  flex-shrink: 0; font-size: 11px; padding: 2px 7px; border-radius: 4px;
  line-height: 17px; white-space: nowrap;
}
.wl-type.t-prod { background: #E8F8F2; color: #0F6E56; }
.wl-type.t-agent { background: #E8F3FF; color: #185FA5; }
.wl-type.t-dual { background: linear-gradient(90deg, #E8F8F2 50%, #E8F3FF 50%); color: #5A3B00; font-weight: 600; }
.wl-card-info { flex: 1; min-width: 0; }
.wl-name { font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-meta { font-size: 11.5px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-rel-n { flex-shrink: 0; font-size: 12px; color: #0F9960; }
.wl-arrow {
  flex-shrink: 0; width: 16px; text-align: center; color: var(--muted-2);
  font-size: 15px; line-height: 1; transition: transform .15s;
}
.wl-arrow.on { transform: rotate(90deg); color: var(--primary); }

.wl-rels { padding: 0 11px 10px; border-top: 1px dashed var(--border); }
.wl-rel-block + .wl-rel-block { margin-top: 4px; }
.wl-rel-label { font-size: 11.5px; color: var(--muted); margin: 8px 0 6px; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.wl-chips .wl-chip { font-size: 11.5px; padding: 3px 8px; cursor: pointer; }
.wl-chips .wl-chip:hover { border-color: var(--primary); color: var(--primary); }

.wl-empty { padding: 22px 12px; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.8; }
.wl-empty span { font-size: 12px; color: var(--muted-2); }

.wl-more {
  margin-top: 10px; text-align: center; font-size: 13px; color: var(--primary);
  cursor: pointer; padding: 6px;
}
.wl-more:hover { text-decoration: underline; }

/* 独立分页页 */
.wl-page { margin-top: 4px; }
.wl-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.wl-tab {
  flex: 1; padding: 7px; border: 1px solid var(--border); border-radius: 6px;
  background: #FAFBFD; color: var(--muted); font-size: 13px; font-family: inherit;
}
.wl-tab.on { background: var(--primary-bg); border-color: var(--primary); color: var(--primary); font-weight: 500; }
.wl-pager {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
}
.wl-pg {
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px;
  background: #fff; color: var(--text); font-size: 13px; font-family: inherit;
}
.wl-pg:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.wl-pg:disabled { color: var(--muted-2); cursor: not-allowed; background: #FAFBFD; }
.wl-pg-info { font-size: 12.5px; color: var(--muted); }

@media (max-width: 480px) {
  .wl-block { padding: 13px 12px; border-radius: 10px; }
  .wl-title { font-size: 14.5px; }
  .wl-name { font-size: 13px; }
}

/* ---------- 同行库搜索附带：寻车 / 车源 命中 ---------- */
.lib-xtra { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.lx-tip { font-size: 12.5px; color: var(--muted-2); text-align: center; }
.lx-block { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.lx-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #FAFBFD; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text); }
.lx-n { font-size: 12px; color: var(--muted-2); font-weight: 400; }
.lx-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.lx-row:last-child { border-bottom: 0; }
.lx-row:hover { background: #F7F9FC; }
.lx-main { min-width: 0; flex: 1; }
.lx-title { font-size: 14px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-sub { font-size: 12px; color: var(--muted-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-go { font-size: 12px; color: #1D5FA8; flex-shrink: 0; }
.hs-main { flex: 1; min-width: 0; }
.hs-title { font-size: 14px; font-weight: 500; color: var(--text); }
.hs-sub {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hs-right { flex-shrink: 0; font-size: 13px; font-weight: 500; }
.hs-empty { text-align: center; color: var(--muted-2); font-size: 13px; padding: 26px 10px; }

.home-search {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  align-items: stretch;
}
.home-search input {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: #1F2329;
  min-width: 0;
}
.home-search input::placeholder { color: #97A3B6; }
.home-go {
  background: #F56C2C;
  color: #fff;
  border: 0;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.home-go:hover { background: #E55A1A; }
.home-tip {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.78);
  letter-spacing: .3px;
}

/* ---------- 首页公益声明卡（乙版，叠甲重点展示） ---------- */
.gongyi-card {
  background: #fff;
  border: 1px solid #E8ECF3;
  border-radius: 12px;
  padding: 14px 16px;
  margin: -6px 0 18px;
  box-shadow: 0 2px 10px rgba(30,40,60,.05);
}
.gy-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.gy-ico {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #0052D9, #2B7FFF);
  color: #fff; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.gy-title { font-size: 14px; font-weight: 600; color: #1C2333; }
.gy-badge {
  margin-left: auto;
  font-size: 10px; color: #fff; background: #3EC06E;
  padding: 2px 7px; border-radius: 999px;
}
.gy-body { font-size: 12.5px; color: #5A6478; line-height: 1.85; }
.gy-body b { color: #0052D9; font-weight: 600; }
.gy-chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.gy-chip {
  font-size: 10.5px; color: #6B7686;
  background: #F2F5FA; border: 1px solid #E4E9F2;
  border-radius: 999px; padding: 2px 8px;
}

/* ---------- 登录页公益声明卡（乙版） ---------- */
.gy-login {
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 13px 15px;
  text-align: left;
}
.gy-login .gy-body { font-size: 12px; }

/* ---------- 发布弹窗内公益提示（丙版·弹窗） ---------- */
.modal-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: #F0F6FF;
  border: 1px solid #D6E3F5;
  border-radius: 8px;
  padding: 8px 11px;
  margin: 0 0 12px;
  font-size: 11.5px;
  color: #0C447C;
  line-height: 1.6;
}

/* ---------- 全站公益声明页脚（丙版） ---------- */
#site-footer {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
  background: #EEF1F6;
  border-radius: 10px;
  text-align: center;
}
#site-footer .sf-text {
  display: inline-block;
  font-size: 11px;
  color: #8A93A5;
  letter-spacing: .3px;
  line-height: 1.7;
  max-width: 720px;
}
@media (max-width: 480px) {
  .gongyi-card { margin: -4px 0 14px; padding: 12px 13px; }
  .gy-body { font-size: 12px; }
  #site-footer { margin: 14px 12px 0; }
  #site-footer .sf-text { font-size: 10.5px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .home-title { font-size: 26px; letter-spacing: 2px; }
  .home-sub { font-size: 13px; }
  .home-search { flex-direction: column; padding: 8px; }
  .home-go { padding: 10px; margin-top: 6px; }
  .hs-wrap { padding: 12px; margin: 10px 10px 0; }
  .hs-chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
  .hs-chips::-webkit-scrollbar { display: none; }
  .hs-chip { flex-shrink: 0; padding: 6px 11px; font-size: 12.5px; }
  .hs-sub { white-space: normal; }
  .hs-card { padding: 9px 10px; gap: 8px; }
}
@media (max-width: 720px) {
  .topbar { padding-top: env(safe-area-inset-top, 0); }
  .topbar-inner { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  /* mobile 下隐藏 user-chip，「我的」紧凑化（位于 topbar-right 内） */
  .topbar-right { margin-left: auto; }
  .topbar-right .user-chip { display: none; }
  .topbar-right .more-btn { padding: 3px 8px 4px; min-width: 40px; }
  .topbar-right .more-btn .mb-ico { width: 16px; height: 16px; }
  .topbar-right .more-btn .mb-lbl { font-size: 10px; }
  .qcc-inner { flex-wrap: wrap; padding: 8px 12px; }
  .qcc-inner input { max-width: none; min-width: 60%; }
  .brand { font-size: 15px; margin-right: 0; }
  .nav-links { order: 3; width: 100%; flex-basis: 100%; gap: 4px; padding: 6px 0 4px; overflow-x: hidden; }
  .nav-links a { padding: 6px 2px; font-size: 12.5px; flex: 1 1 0; text-align: center; }
  .container { padding: 14px 12px 80px; }
  .grid { grid-template-columns: 1fr; }
  .search-bar { flex-wrap: wrap; }
  .search-bar input { min-width: 0; flex-basis: 100%; }
  .search-bar .btn { flex: 1; }
  .hot-list { flex-wrap: nowrap; overflow-x: auto; }
  .hot-item { min-width: 132px; }
  .detail-heat { gap: 8px; }
  .form-row, .form-row3, .row2 { grid-template-columns: 1fr; }
  .detail-title h2 { font-size: 19px; }
  .tabs button { font-size: 13px; padding: 8px 6px; }
  .group-body { grid-template-columns: 1fr; }
  .audit-table { display: block; overflow-x: auto; min-width: 720px; white-space: nowrap; }
  #toasts { left: 12px; right: 12px; max-width: none; }
}

/* 同行评价独立入口 + 紧凑详情 */
.review-entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 7px 12px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; text-decoration: none; color: var(--text); }
.review-entry:hover { border-color: #F59E0B; }
.review-entry .s { color: var(--star); letter-spacing: 2px; }
.review-entry .re-none { color: var(--muted); font-size: 13px; }
.review-entry .re-go { font-size: 13px; font-weight: 600; color: #B45309; white-space: nowrap; }
.rv-page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rv-page-head h2 { font-size: 19px; font-weight: 600; }

/* ---- 紧凑表单（寻车等简单弹窗：手机端免下滑） ---- */
.compact-form { padding: 16px; }
.compact-form h3 { margin-bottom: 10px; }
.compact-form .row2 { grid-template-columns: 1fr 1fr; gap: 0 10px; }
.compact-form .field { margin-bottom: 10px; }
.compact-form .field label { margin-bottom: 3px; font-size: 12.5px; }
.compact-form .field input, .compact-form .field textarea { min-height: 38px; }
.compact-form textarea { min-height: 56px; }
.compact-form .modal-actions { margin-top: 4px; }
.radio-group.tight { gap: 8px; }
.radio-group.tight .radio-pill { padding: 7px 12px; font-size: 13px; }
.radio-group.tight { gap: 6px; flex-wrap: nowrap; }
.radio-group.tight .radio-pill { padding: 6px 8px; font-size: 12.5px; flex: 1; justify-content: center; }
.radio-group.tight .radio-pill { white-space: nowrap; }
.radio-group.tight .radio-pill { display: inline-flex; align-items: center; }
/* 口岸紧凑小胶囊（发布寻车弹窗首行） */
.port-mini { display: flex; gap: 5px; flex-wrap: wrap; }
.port-mini .pm-pill { display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; font-size: 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; color: var(--muted, #5b6b7d); transition: all .12s; user-select: none; }
.port-mini .pm-pill input { display: none; }
.port-mini .pm-pill:hover { border-color: #B3D3FF; color: var(--primary); }
.port-mini .pm-pill:has(input:checked) { border-color: var(--primary); background: #E8F3FF; color: var(--primary); font-weight: 700; }
.lbl-tip { font-size: 11px; color: var(--muted, #5b6b7d); font-weight: 400; margin-left: 6px; }
.exp-chip { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.exp-ok   { background: #ecfdf5; color: #047857; }
.exp-mid  { background: #fffbeb; color: #b45309; }
.exp-soon { background: #fef2f2; color: #b91c1c; }

/* ---- 美元汇率通栏 + 实时换算器（B+D 方案） ---- */
.fx-bar { max-width: 1200px; margin: 0 auto; padding: 10px 16px 0; }
.fx-strip {
  background: linear-gradient(120deg, #0B1B2B 0%, #123A6B 55%, #0E5AA7 100%);
  border-radius: 14px; padding: 9px 16px; color: #fff;
  display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden; cursor: pointer; user-select: none;
  transition: box-shadow .15s;
}
.fx-strip:hover { box-shadow: 0 4px 16px rgba(11,27,43,.28); }
.fx-strip::after {
  content: '$'; position: absolute; right: -4px; bottom: -30px;
  font-size: 96px; color: rgba(255,255,255,.06); font-weight: 800; pointer-events: none;
}
.fx-strip .fx-main { min-width: 0; }
.fx-strip .fx-lbl { font-size: 10.5px; color: #9FC3E8; letter-spacing: 1px; white-space: nowrap; }
.fx-strip .fx-val {
  font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap;
}
.fx-strip .fx-chg { margin-left: auto; text-align: right; font-size: 10.5px; color: #9FC3E8; white-space: nowrap; }
.fx-strip .fx-calc-hint {
  font-size: 11px; color: #CFE6FF; background: rgba(255,255,255,.14); border-radius: 8px;
  padding: 4px 10px; white-space: nowrap; flex: none; transition: background .15s;
}
.fx-strip:hover .fx-calc-hint { background: rgba(255,255,255,.24); }
.fx-strip .fx-fold {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #CFE6FF;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1; cursor: pointer; transition: background .15s, transform .15s;
}
.fx-strip .fx-fold:hover { background: rgba(255,255,255,.3); color: #fff; transform: translateY(1px); }
/* 收起态小胶囊：只占一行极小空间，点击展开完整通栏 */
.fx-mini {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, #0B1B2B 0%, #123A6B 60%, #0E5AA7 100%);
  color: #fff; border: none; border-radius: 999px;
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  cursor: pointer; font-variant-numeric: tabular-nums; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(11,27,43,.22);
  transition: transform .15s, box-shadow .15s;
}
.fx-mini:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,27,43,.32); }
.fx-mini .m-val { font-size: 14.5px; font-weight: 800; }
.fx-mini .m-x {
  font-size: 10.5px; color: #CFE6FF; background: rgba(255,255,255,.14);
  border-radius: 6px; padding: 2px 7px;
}
.fx-mini:hover .m-x { background: rgba(255,255,255,.24); }
.fx-mini[hidden] { display: none; }
.fx-wrap[hidden] { display: none; }
.fx-calc {
  background: #fff; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 14px 14px; padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(11,27,43,.08);
}
.fx-calc .fx-calc-t {
  font-size: 11.5px; color: var(--muted); margin-bottom: 8px;
  display: flex; justify-content: space-between; gap: 8px;
}
.fx-calc .fx-calc-live { color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.fx-line { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fx-line .cur { font-size: 13px; font-weight: 700; color: var(--text); width: 38px; flex: none; }
.fx-line input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 8px 12px;
  font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums;
  min-width: 0; outline: none; transition: border-color .15s;
}
.fx-line input:focus { border-color: var(--primary); }
.fx-line .swp {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
  color: var(--muted); flex: none; cursor: pointer; background: #fff; transition: all .15s;
}
.fx-line .swp:hover { color: var(--primary); border-color: var(--primary); }
.fx-result {
  background: var(--primary-bg); border-radius: 10px; padding: 9px 12px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.fx-result .r { font-size: 19px; font-weight: 800; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.fx-result .n { font-size: 10.5px; color: #5B7FB8; font-variant-numeric: tabular-nums; }

/* 发布寻车弹窗：指导价内联换算气泡 */
.fx-inline {
  margin-top: 5px; font-size: 11px; color: var(--primary-dark); background: var(--primary-bg);
  border-radius: 7px; padding: 3px 8px; display: inline-flex; align-items: center; gap: 5px;
  font-variant-numeric: tabular-nums;
}
.fx-inline b { font-weight: 700; }

/* 管理后台浮动入口（仅管理员，右下角盾牌球 + 待审红点） */
.admin-fab {
  position: fixed; right: 18px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  border: none; background: linear-gradient(135deg, #0B1B2B, #123A6B); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(11,27,43,.35); cursor: pointer; z-index: 90;
  transition: transform .15s, box-shadow .15s;
}
.admin-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,27,43,.42); }
.admin-fab .fab-ic { font-size: 20px; line-height: 1; }
.admin-fab .fab-dot {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px;
  background: #F53F3F; color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
  border: 2px solid var(--bg); box-sizing: content-box;
}

@media (max-width: 720px) {
  .fx-bar { padding: 8px 12px 0; }
  .fx-strip { padding: 7px 14px; gap: 10px; }
  .fx-strip .fx-val { font-size: 18px; }
  .fx-strip .fx-lbl { font-size: 10px; }
  .fx-strip .fx-chg { font-size: 10px; }
  .fx-strip .fx-calc-hint { padding: 3px 8px; font-size: 10.5px; }
  .fx-strip .fx-fold { width: 22px; height: 22px; font-size: 12px; }
  .fx-mini { padding: 5px 12px; gap: 6px; }
  .fx-mini .m-val { font-size: 13.5px; }
  .admin-fab { right: 14px; bottom: 18px; width: 46px; height: 46px; }
}

/* ---- 外贸学院（A 方案：独立学院 Tab） ---- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* 学院页头部：右元素是单行胶囊，与 h2 居中对齐 */
.page-head:has(.academy-progress-inline) { align-items: center; }
.academy-progress-inline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(120deg, #f0f4ff 0%, #e6efff 100%);
  border: 1px solid #d4e0f5;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
  text-decoration: none; cursor: pointer; user-select: none;
  transition: all .15s;
  white-space: nowrap;
}
.academy-progress-inline:hover { border-color: #a8c0e8; background: linear-gradient(120deg, #e6efff 0%, #d8e8ff 100%); }
.academy-progress-inline .api-ico { font-size: 13px; }
.academy-progress-inline .api-text b { color: var(--primary-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .academy-progress-inline { font-size: 11.5px; padding: 4px 10px; }
}
.academy-progress-card {
  background: linear-gradient(120deg, #f0f4ff 0%, #e6efff 100%);
  border: 1px solid #d4e0f5; border-radius: 12px; padding: 10px 14px;
  min-width: 240px; max-width: 320px; flex: 1; box-shadow: 0 2px 6px rgba(11,27,43,.04);
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  transition: all .15s;
}
a.academy-progress-card:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(11,27,43,.08); border-color: #a8c0e8; }
.apc-row { display: flex; justify-content: space-between; align-items: baseline; }
.apc-lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.apc-num { font-size: 16px; font-weight: 800; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.apc-bar { background: rgba(14,90,167,.12); height: 8px; border-radius: 4px; margin: 7px 0 5px; overflow: hidden; }
.apc-bar-in { background: linear-gradient(90deg, #0E5AA7, #2B7BD6); height: 100%; transition: width .35s; }
.apc-tip { font-size: 11.5px; color: var(--muted); }

/* ---- 国内新车上市快讯卡片（page-head 右侧，替代原术语学习进度卡） ---- */
.dl-card {
  background: linear-gradient(120deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fed7aa;
}
.dl-card .apc-num { color: #c2410c; }
.dl-card .apc-bar { background: rgba(194,65,12,.12); }
.dl-card .dl-bar-in { background: linear-gradient(90deg, #ea580c, #fb923c); }
.dl-card .apc-tip b { color: #c2410c; font-weight: 700; }

/* ---- 术语学习进度条（移到术语 Tab 顶部内联展示，已废弃，保留兼容） ---- */
.apc-inline {
  background: linear-gradient(120deg, #f0f4ff 0%, #e6efff 100%);
  border: 1px solid #d4e0f5; border-radius: 12px; padding: 10px 14px;
  margin-bottom: 12px;
  max-width: 100%;
}

/* ---- 国内新车上市快讯卡片流 ---- */
.domestic-list { display: flex; flex-direction: column; gap: 10px; }
.domestic-card { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: all .15s; }
.domestic-card:hover { border-color: #fdba74; box-shadow: 0 3px 10px rgba(234,88,12,.08); }
.domestic-hd { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 5px; }
.dom-brand { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: .2px; }
.dom-power { font-size: 10.5px; padding: 2px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.dom-p-ev   { background: #E8FFEA; color: #009A29; }
.dom-p-phev { background: #E8F3FF; color: #0052D9; }
.dom-p-erev { background: #F3E8FF; color: #6D28D9; }
.dom-p-ice  { background: #F2F3F5; color: #4E5969; }
.dom-p-all { background: #FFF7E6; color: #b45309; border: 1px dashed #F59E0B; }
.dom-date { font-size: 11px; color: var(--muted-2); margin-left: auto; }
.domestic-hot { font-size: 10.5px; background: linear-gradient(120deg, #fb923c, #f97316); color: #fff; padding: 2px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.domestic-cat-chip { font-size: 10.5px; padding: 2px 8px; border-radius: 6px; background: #f0f4ff; color: var(--primary-dark); font-weight: 600; }
.domestic-summary { font-size: 13px; color: #4a5b78; line-height: 1.6; }
.domestic-model { font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 6px; }
.dom-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.dom-tag { font-size: 11px; padding: 2px 7px; border-radius: 5px; background: #F7F9FC; color: #4a5b78; border: 1px solid #EEF0F4; white-space: nowrap; }
.dom-price { font-size: 15px; font-weight: 700; color: #c2410c; }
.dom-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 2px; -webkit-overflow-scrolling: touch; }
.dom-filter::-webkit-scrollbar { display: none; }
.df-chip { flex: none; font-size: 12px; padding: 4px 11px; border-radius: 20px; background: #fff; border: 1px solid var(--border); color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .15s; }
.df-chip b { font-weight: 600; font-size: 11px; color: var(--muted-2); }
.df-chip:hover { border-color: var(--primary); }
.df-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.df-chip.on b { color: rgba(255,255,255,.8); }

.seg-bar-3 { display: flex; gap: 10px; margin: 14px 0 14px; }
.seg-bar-3 .seg { flex: 1; text-align: center; padding: 10px 6px; font-size: 13px; font-weight: 600; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap; overflow: hidden; }
.seg-bar-3 .seg:hover { border-color: var(--primary); color: var(--primary); }
.seg-bar-3 .seg.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 12px rgba(14,90,167,.3); }
.seg-bar-3 .seg .seg-n { font-size: 11px; padding: 1px 6px; border-radius: 8px; margin-left: 4px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--primary-bg); color: var(--primary-dark); }
.seg-bar-3 .seg.active .seg-n { background: rgba(255,255,255,.25); color: #fff; }

/* 寻车口岸板块（5 板块 + 全部） */
.seg-bar-ports { display: flex; gap: 6px; margin: 12px 0 10px; flex-wrap: wrap; }
.seg-bar-ports .seg { background: #fff; border: 1.5px solid var(--border); padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; transition: all .15s; }
.seg-bar-ports .seg:hover { border-color: var(--primary); color: var(--primary); }
.seg-bar-ports .seg.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 2px 8px rgba(14,90,167,.25); }
.seg-bar-ports .seg .seg-n { font-size: 11px; background: rgba(0,0,0,.06); padding: 0 6px; border-radius: 8px; margin-left: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.seg-bar-ports .seg.active .seg-n { background: rgba(255,255,255,.25); color: #fff; }
.seg-bar-ports .seg.seg-all { background: #f4f7ff; border-color: #d6e4ff; color: #4a6cb3; }
.seg-bar-ports .seg.seg-all.active { background: linear-gradient(180deg,#3a6fcf,#1f5fc0); color: #fff; border-color: #1f5fc0; }

.ac-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.ac-tools input { flex: 1; min-width: 200px; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 13px; font-size: 14px; outline: none; transition: border-color .15s; }
.ac-tools input:focus { border-color: var(--primary); }
.ac-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--text); cursor: pointer; transition: all .15s; text-decoration: none; font-weight: 600; }
.ac-chip:hover { border-color: var(--primary); color: var(--primary); }
.ac-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ac-chip .chip-n { font-size: 10.5px; background: rgba(0,0,0,.06); padding: 0 5px; border-radius: 7px; font-weight: 700; }
.ac-chip.active .chip-n { background: rgba(255,255,255,.25); }

.ac-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
/* 长列表分页：加载更多 / 到底了 */
.load-more {
  margin: 14px 0 4px; padding: 11px 0; text-align: center;
  font-size: 13px; color: var(--primary); background: var(--primary-bg);
  border-radius: 10px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
}
.load-more:active { opacity: .65; }
.load-end { margin: 14px 0 4px; text-align: center; font-size: 12px; color: var(--muted); }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ac-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
  cursor: pointer; transition: all .15s; position: relative; display: flex; flex-direction: column;
}
.ac-card:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,27,43,.08); }
.ac-card.learned { background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%); border-color: #86efac; }
.ac-card.learned::after { content: '✓'; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.ac-card-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ac-abbr { font-size: 18px; font-weight: 800; color: var(--primary-dark); font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.ac-cat-chip { font-size: 10.5px; background: var(--primary-bg); color: var(--primary-dark); padding: 2px 7px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.ac-zh { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ac-full { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; font-style: italic; }
.ac-desc { font-size: 12.5px; color: #4a5b78; line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border); }
.ac-btn-detail { font-size: 12px; color: var(--primary); font-weight: 700; cursor: pointer; text-decoration: none; }
.ac-btn-detail:hover { text-decoration: underline; }
.ac-btn-learn { font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: none; padding: 3px 10px; border-radius: 6px; transition: all .15s; }
.ac-btn-learn:hover { background: var(--primary-bg); color: var(--primary); }
.ac-btn-learn.on { background: var(--green); color: #fff; font-weight: 700; }
.ac-btn-learn.on:hover { background: #16a34a; }

/* 知识库文章列表 */
.art-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.art-card { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: all .15s; }
.art-card:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,27,43,.08); }
.art-cat { display: inline-block; font-size: 10.5px; background: linear-gradient(120deg, #0B1B2B, #123A6B); color: #fff; padding: 2px 9px; border-radius: 6px; font-weight: 700; margin-bottom: 8px; }
.art-title { font-size: 15.5px; font-weight: 800; color: var(--text); line-height: 1.4; margin-bottom: 6px; }
.art-summary { font-size: 12.5px; color: #4a5b78; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-foot { font-size: 11px; color: var(--muted); margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border); }

/* 我的学习统计 */
.me-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.me-stat-card { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.msc-num { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.msc-lbl { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.me-bar { background: rgba(14,90,167,.12); height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.me-bar-in { background: linear-gradient(90deg, #0E5AA7, #2B7BD6, #10b981); height: 100%; transition: width .35s; }
.me-tip { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.me-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.me-cat { font-size: 11.5px; background: var(--primary-bg); color: var(--primary-dark); padding: 3px 9px; border-radius: 6px; font-weight: 600; }
.me-cat b { font-weight: 800; margin-left: 2px; }

/* 术语详情弹窗 */
.term-zh { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.term-desc { font-size: 13.5px; line-height: 1.75; color: #3a4a66; margin-bottom: 10px; }
.term-ex { background: var(--primary-bg); border-left: 3px solid var(--primary); border-radius: 6px; padding: 8px 12px; font-size: 12.5px; color: #3a4a66; line-height: 1.7; }

@media (max-width: 720px) {
  .academy-progress-card { min-width: 100%; }
  .seg-bar-3 .seg { font-size: 13px; padding: 9px 10px; }
  .me-stat { grid-template-columns: repeat(2, 1fr); }
  .ac-tools { flex-direction: column; align-items: stretch; }
  .ac-tools input { min-width: 0; }
}

/* ---- 行业快讯（新闻流） ---- */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-card { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 16px; cursor: pointer; transition: all .15s; }
.news-card:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,27,43,.08); }
.news-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.news-date { font-size: 11px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; background: var(--bg); border-radius: 6px; padding: 2px 8px; }
.news-cat { font-size: 10.5px; padding: 2px 9px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.news-cat-market    { background: #fee2e2; color: #b91c1c; }
.news-cat-policy    { background: #fef3c7; color: #b45309; }
.news-cat-logistics { background: #dbeafe; color: #1d4ed8; }
.news-cat-region    { background: #dcfce7; color: #15803d; }
.news-title { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.5; margin-bottom: 5px; }
.news-summary { font-size: 13px; color: #4a5b78; line-height: 1.6; }
.news-foot { font-size: 11px; color: var(--muted); margin-top: 8px; padding-top: 7px; border-top: 1px dashed var(--border); }
.news-src { font-size: 11.5px; color: var(--muted); margin-top: 12px; padding-top: 9px; border-top: 1px dashed var(--border); }
.news-src a { color: var(--primary); font-weight: 600; }
.domestic-card { position: relative; }
.news-card { position: relative; }
.card-del-x { margin-left: auto; flex: none; font-size: 11.5px; color: var(--muted); cursor: pointer; padding: 2px 9px; border: 1px solid transparent; border-radius: 6px; user-select: none; transition: all .12s; }
.card-del-x:hover { color: var(--danger); border-color: #FFCCC2; background: #fff5f4; }

@media (max-width: 720px) {
  .news-card { padding: 11px 13px; }
  .news-title { font-size: 14px; }
}

/* ---------- 红黑榜 ---------- */
.rb-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 14px 0 16px; padding: 5px; background: #eceff5; border-radius: 16px; }
.rb-tab { padding: 9px 2px; border: none; background: #fff; border-radius: 12px; font-size: 13px; color: #6b7280; cursor: pointer; transition: all .18s ease; box-shadow: 0 1px 2px rgba(15,23,42,.07); white-space: nowrap; }
.rb-tab:hover { color: #1f2937; }
.rb-tab.active { color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(28,36,49,.35); transform: translateY(-1px); }
.rb-tab.active[data-rb$="-red"] { background: linear-gradient(180deg, #d92d20 0%, #8c0d08 100%); box-shadow: 0 4px 12px rgba(217,45,32,.4); }
.rb-tab.active[data-rb$="-black"] { background: linear-gradient(180deg, #333d4d 0%, #1c2431 100%); }

.rb-section { margin-bottom: 22px; padding: 16px; border-radius: 14px; background: #4a0c0c; }
.rb-section.rb-black { background: #1a1a1a; }
.rb-section-head { display:flex; align-items:baseline; gap:10px; margin: 0 0 14px; padding: 0 4px; }
.rb-h-title { font-size: 17px; font-weight: 700; color: #fff; }
.rb-h-meta { font-size: 12px; color: rgba(255,255,255,0.55); }
.rb-h-marker { width: 14px; height: 14px; border-radius: 3px; background: #d92d20; display:inline-block; }
.rb-section.rb-black .rb-h-marker { background: #555; }

.rb-list { display: flex; flex-direction: column; gap: 10px; }
.rb-row { display: flex; gap: 14px; padding: 14px 16px; background: #5a1818; border-radius: 10px; align-items: center; border-left: none; border: none; }
.rb-section.rb-black .rb-row { background: #2a2a2a; }
.rb-rank { font-size: 20px; font-weight: 700; min-width: 26px; text-align: center; color: rgba(255,255,255,0.4); font-family: 'DIN Alternate', system-ui, sans-serif; line-height: 1.2; }
.rb-row.kind-black .rb-rank { color: #ff7a72; }
.rb-row.kind-red .rb-rank { color: #ffb673; }

.rb-main { flex: 1; min-width: 0; }
.rb-line1 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.rb-name { font-size: 16px; font-weight: 700; color: #fff; }
.rb-score { margin-left: auto; font-size: 14px; font-weight: 700; padding: 3px 9px; border-radius: 10px; }
.rb-score.neg { background: rgba(217,45,32,0.18); color: #ff7a72; }
.rb-score.pos { background: rgba(245,106,0,0.22); color: #ffb673; }
.rb-score.mid { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.rb-line2 { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

.rb-pend { font-size: 11px; background: rgba(255,200,0,0.18); color: #ffc857; padding: 2px 8px; border-radius: 10px; align-self: flex-start; flex-shrink: 0; }

@media (max-width: 720px) {
  .rb-tab { padding: 8px 2px; font-size: 12px; border-radius: 11px; }
  .rb-row { padding: 11px 12px; gap: 10px; }
  .rb-name { font-size: 14px; }
  .rb-score { font-size: 13px; padding: 2px 7px; }
}

/* ---------- 同行库 B+A：分享解锁条 + 点评流 + 点评卡片 ---------- */
.lib-hero { margin: 14px 0 4px; }
.lh-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; flex-wrap: wrap; }
.lh-row.lock { background: #fff7e8; border: 1px solid #f5dcc0; color: #9a5b13; }
.lh-row.ok { background: #f0f9f1; border: 1px solid #d4eed8; color: #256b34; }
.lh-ic { font-size: 17px; }
.lh-t { font-weight: 600; }
.lh-n { margin-left: auto; font-size: 12.5px; }
.lh-row.lock .lh-n b { color: #d92d20; }
.lh-stats { flex-basis: 100%; font-size: 11.5px; opacity: .75; }

.feed-sec { margin: 16px 0 6px; }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 10px; font-size: 15px; font-weight: 700; }
.feed-more { font-size: 12px; font-weight: 400; color: var(--muted); }
.feed-list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 2px 6px; scrollbar-width: none; }
.feed-list::-webkit-scrollbar { display: none; }
.feed-list .empty { flex: 1; }
.feed-card { flex: 0 0 200px; scroll-snap-align: start; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; transition: border-color .15s; }
.feed-card:hover { border-color: var(--primary); }
.fc-top { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.fc-ic { font-size: 15px; flex-shrink: 0; }
.fc-name { font-size: 13.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-sub { display: none; }
.fc-stars { margin-left: auto; font-size: 12px; color: #f56a00; white-space: nowrap; }
.fc-tags { display: flex; gap: 4px; flex-wrap: wrap; margin: 6px 0 0; }
.fc-tags .tag-chip { font-size: 10.5px; padding: 1px 7px; }
.fc-content { font-size: 12px; color: var(--text); margin: 6px 0 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-lock { font-size: 11.5px; color: #b4520a; white-space: nowrap; }
.fc-meta { font-size: 10.5px; color: var(--muted-2); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tag-chip { font-size: 11.5px; padding: 2px 9px; border-radius: 10px; white-space: nowrap; }
.tag-chip.pos { background: #fff7e8; color: #b4520a; }
.tag-chip.neg { background: #fef3f2; color: #d92d20; }
.tag-chip.tog { cursor: pointer; opacity: .55; border: 1px solid transparent; }
.tag-chip.tog.on { opacity: 1; border-color: currentColor; font-weight: 600; }

.rv-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rv-tags-g { flex-basis: 100%; font-size: 12px; color: var(--muted-2); margin-top: 4px; }

.lib-card { display: flex; align-items: center; gap: 10px; padding: 12px 13px; background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s; }
.lib-card:hover { border-color: var(--primary); }
.lc-main { flex: 1; min-width: 0; }
.lc-name { font-size: 14.5px; font-weight: 600; }
.lc-sub { font-size: 12px; color: var(--muted); margin-left: 7px; font-weight: 400; }
.lc-line { display: flex; align-items: center; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.lc-stars { font-size: 12.5px; color: #f56a00; }
.lc-stars b { color: var(--text); }
.lc-norev { font-size: 12px; color: var(--muted-2); }
.lc-rev { flex-shrink: 0; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 12.5px; padding: 7px 11px; border-radius: 8px; cursor: pointer; }
.lc-rev:hover { background: var(--primary); color: #fff; }
.rb-score.mid { background: #f2f4f7; color: var(--muted); }
.v-badge { color: #12924f; font-size: 13px; margin-left: 2px; }
.qcc-mini { display: inline-block; font-size: 10.5px; color: #00785A; background: #E8F8F2; border: 1px solid #A8E6D0; padding: 0 6px; border-radius: 8px; margin-left: 5px; vertical-align: 2px; font-weight: 500; line-height: 18px; }

@media (max-width: 720px) {
  .lh-row { font-size: 12.5px; padding: 10px 12px; }
  .lh-n { margin-left: 0; flex-basis: 100%; }
  .lh-stats { flex-basis: 100%; }
  .fc-name { font-size: 14px; }
  .fc-stars { font-size: 12px; }
  .lib-card { padding: 11px 11px; }
  .lc-sub { display: block; margin: 2px 0 0; }
  .lc-rev { padding: 6px 9px; font-size: 12px; }
}




/* ---------- 短信验证码行（手机号 + 获取验证码按钮同行） ---------- */
.sms-row { display: flex; gap: 8px; align-items: stretch; }
.sms-row input { flex: 1; min-width: 0; }
.sms-row .btn { flex-shrink: 0; white-space: nowrap; }
.sms-row .btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- 图形验证码行（输入框 + SVG 图片） ---------- */
.captcha-row { display: flex; gap: 8px; align-items: stretch; }
.captcha-row input { flex: 1; min-width: 0; }
.captcha-img { flex-shrink: 0; cursor: pointer; line-height: 0; user-select: none; }
.captcha-img svg { display: block; border-radius: 6px; border: 1px solid var(--border); }

/* ---------- 管理员：白名单查询统计（扩类决策看板） ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-box {
  background: var(--bg-2, #F7F8FA); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 8px; text-align: center;
}
.stat-box .n { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--text); }
.stat-box .l { font-size: 12px; color: var(--muted-2); margin-top: 4px; }
@media (max-width: 560px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box .n { font-size: 19px; }
}

/* ---------- 看板：日均查询量（一行统计） ---------- */
/* 左主数 = 区间摊算日均（标准口径），右侧四个辅助口径防误读：
   只有 3 天有人查时，摊算日均 0.4 看着像没人用，活跃日日均 4.0 才是真实强度。 */
.wlq-daily {
  display: flex; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin-bottom: 8px;
}
.wd-main {
  flex: 0 0 auto; padding: 13px 20px; border-right: 1px solid var(--border);
  background: linear-gradient(135deg, #EEF4FF, #F8FAFF);
  display: flex; flex-direction: column; justify-content: center;
}
.wd-num { font-size: 29px; font-weight: 700; color: #2B6CB0; line-height: 1.1; }
.wd-num .wd-unit { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-left: 4px; }
.wd-label { font-size: 12px; color: var(--muted-2); margin-top: 5px; }
.wd-scope {
  margin-left: 6px; padding: 1px 7px; background: #fff; border: 1px solid var(--border);
  border-radius: 9px; font-size: 11px;
}
.wd-side { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 26px; padding: 12px 18px; }
.wd-item { font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.wd-item b { font-size: 15px; color: var(--text); margin: 0 2px; font-weight: 700; }
.wd-item b.up { color: #16A34A; }
.wd-item b.down { color: #DC2626; }
.wd-mute { color: var(--muted-2); font-size: 11px; margin-left: 3px; }
.wd-hint {
  font-size: 12px; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 10px; padding: 9px 14px; margin-bottom: 14px; line-height: 1.75;
}
.wd-hint b { color: #78350F; }
@media (max-width: 560px) {
  .wlq-daily { flex-direction: column; }
  .wd-main { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .wd-num { font-size: 26px; }
  .wd-side { gap: 8px 18px; padding: 11px 16px; }
}

/* ---------- 独立页：车型子类型筛选（载货车/大中型客车/低速汽车） ---------- */
.wl-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0 2px; align-items: center; }
.wl-cats::before {
  content: '车型'; font-size: 12px; color: var(--muted-2);
  margin-right: 2px; flex-shrink: 0; font-weight: 500;
}
.wl-cat {
  background: #fff; border: 1px solid var(--border); color: var(--text);
  padding: 5px 11px; border-radius: 16px; font-size: 12px;
  cursor: pointer; transition: all 0.15s; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.wl-cat:hover { border-color: #2B6CB0; color: #2B6CB0; }
.wl-cat.on { background: #2B6CB0; border-color: #2B6CB0; color: #fff; font-weight: 600; }
.wl-cat-n { font-size: 11px; opacity: 0.7; font-weight: 400; }
.wl-cat.on .wl-cat-n { opacity: 0.95; }
@media (max-width: 480px) {
  .wl-cats { gap: 4px; }
  .wl-cat { padding: 4px 9px; font-size: 11px; }
}

/* ---------- 批量导入同行（第 44 段） ---------- */
.bi-modal { max-width: 840px; display: flex; flex-direction: column; }
.bi-step1 { flex: none; }
.bi-step1 textarea { min-height: 130px; }
.bi-acts { display: flex; gap: 10px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.bi-count { font-size: 12px; color: var(--muted); }
.bi-count.over { color: var(--danger); font-weight: 600; }
.bi-hint { font-size: 12px; color: var(--muted-2); }
.bi-preview { flex: 1; overflow-y: auto; min-height: 0; margin-top: 4px; }
.bi-h4 { margin: 6px 0 10px; font-size: 14px; color: var(--primary); }
.bi-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #FCFDFF;
}
.bi-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bi-pick { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.bi-src {
  font-size: 11px; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 0;
}
.bi-del { cursor: pointer; font-size: 13px; opacity: .5; flex: none; }
.bi-del:hover { opacity: 1; }
.bi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bi-grid input {
  width: 100%; padding: 7px 9px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text);
}
.bi-grid input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(0,110,255,.12); }
.bi-hist { margin-top: 8px; font-size: 11px; color: var(--muted); background: #F5F8FC; border-radius: 5px; padding: 5px 8px; }
.bi-card .bi-warn {
  display: block; margin-top: 8px; font-size: 12px; color: #B45309;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 5px; padding: 5px 8px;
}
.bi-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  position: sticky; bottom: -1px; background: #fff;
  border-top: 1px solid var(--line); padding: 12px 0 2px; margin-top: 4px;
}
.bi-foot > span:first-child { font-size: 12px; color: var(--muted); }
.bi-foot .go { color: var(--primary); }
.bi-foot .bad { color: var(--danger); }
.bi-foot-btns { margin-left: auto; display: flex; gap: 8px; }
.bi-done { padding: 18px 4px; }
.bi-done-h { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.bi-done-n { font-size: 14px; color: var(--muted); }
.bi-done-n .go { color: var(--primary); font-size: 16px; }
.bi-done-n .bad { color: var(--danger); font-size: 16px; }
.bi-done-l { margin-top: 12px; font-size: 13px; color: var(--text); line-height: 1.7; }
.bi-done-l.bad { color: #B45309; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 6px; padding: 8px 10px; }
.bi-done-bar { margin-top: 18px; }
@media (max-width: 560px) {
  .bi-grid { grid-template-columns: 1fr; }
  .bi-modal { max-height: 92vh; }
}

/* ---------- 深度专题正文：图表 / 表格 / 引用 ---------- */
.md-chart { margin: 16px 0 18px; background: #FAFBFD; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 10px; }
.md-chart-t { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.md-chart-n { font-size: 11.5px; color: var(--muted-2); margin-top: 6px; line-height: 1.6; }
.md-chart-lg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.md-chart-lg span { display: inline-flex; align-items: center; gap: 5px; }
.md-chart-lg i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.md-table { overflow-x: auto; margin: 14px 0 16px; border: 1px solid var(--border); border-radius: 10px; }
.md-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.md-quote { margin: 14px 0 16px; padding: 10px 12px; background: var(--primary-bg); border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; font-size: 13.5px; line-height: 1.75; color: var(--primary-dark); }
/* ---------- 文章朗读条（浏览器原生语音，零依赖） ---------- */
.rd-bar { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 8px 11px; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; cursor: pointer; position: relative; overflow: hidden; transition: all .15s; user-select: none; }
.rd-bar:hover { border-color: #b5d4f4; }
.rd-bar::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--rd-pct, 0%); background: var(--primary); transition: width .3s; }
.rd-bar.on { background: var(--primary-bg); border-color: #b5d4f4; }
.rd-play { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); position: relative; }
.rd-play::before { content: ''; position: absolute; left: 8px; top: 6px; width: 0; height: 0; border-left: 7px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.rd-play.stop::before { left: 7px; top: 7px; width: 8px; height: 8px; border: 0; background: #fff; border-radius: 1px; }
.rd-txt { flex: 1; font-size: 12.5px; color: var(--muted); }
.rd-bar.on .rd-txt { color: var(--primary-dark); font-weight: 600; }
.rd-auto { flex: none; font-size: 11px; color: var(--muted-2); padding: 2px 8px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.rd-auto.on { color: var(--primary-dark); border-color: #b5d4f4; }

@media (max-width: 560px) {
  .md-chart { padding: 10px 10px 8px; }
  .md-table table { font-size: 12px; }
}

/* ---------- 车源时效 / 详情页 / 我的发布（2026-09-04 补） ---------- */
/* 公司卡片副标题里的「N 条待确认」 */
.mer-stale { color: #B85C00; font-weight: 600; }
/* 统计格：HTML 用的是 <b>数字</b><span>标签</span> */
.ls-stat b { display: block; font-size: 23px; font-weight: 700; color: #1F2329; line-height: 1.3; }
.ls-stat span { font-size: 12.5px; color: #4E5969; }
/* 到期提醒条：默认是橙色（到期），amber 也是橙色（只是文案不同），grow 撑开 */
.ls-alert { background: #FFF7E6; border: 1px solid #FFD899; color: #8A5300; font-size: 13.5px; line-height: 1.55; }
.ls-alert.amber { background: #FFF7E6; border-color: #FFD899; color: #8A5300; }
.ls-alert b { color: #A84800; }
.ls-sect span { color: #1F2329; font-weight: 700; }
.ls-tip { font-size: 12px; color: #86909C; margin: -2px 0 8px; line-height: 1.6; }
.ls-foot { font-size: 12px; color: #86909C; margin-top: 16px; padding-top: 12px; border-top: 1px dashed #E5E8EF; line-height: 1.7; }
/* 车源详情页 */
.ld-modal { max-width: 460px; }
.ld-modal h3 { margin-bottom: 12px; }
.ld-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid #F0F1F3; }
.ld-title { font-size: 17px; font-weight: 700; color: #1D2129; word-break: break-word; }
.ld-price { margin-left: auto; font-size: 16px; font-weight: 700; color: #C25E0A; white-space: nowrap; }
.ld-off { margin-top: 10px; background: #F2F3F5; color: #4E5969; font-size: 12.5px; border-radius: 8px; padding: 8px 11px; }
.ld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 12px; }
.ld-row { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed #F0F1F3; min-width: 0; }
.ld-k { flex: none; width: 62px; color: #86909C; font-size: 12.5px; }
.ld-v { color: #1D2129; font-weight: 500; word-break: break-all; }
.ld-note { margin-top: 12px; background: #FAFBFC; border: 1px solid #F0F1F3; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #4E5969; line-height: 1.7; }
.ld-note .ld-k { display: block; width: auto; margin-bottom: 3px; }
.ld-foot2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: #86909C; }
.ld-foot2 .right { margin-left: auto; }
.ld-foot2 .warn { color: #FF7D00; font-weight: 600; }
.ld-verified { color: #00A42B; font-weight: 600; background: #E8FFEA; border-radius: 20px; padding: 2px 8px; }
.ld-actions { display: flex; gap: 10px; margin-top: 14px; }
.ld-btn { flex: 1; min-width: 0; border: 1px solid var(--primary); background: #fff; color: var(--primary); border-radius: 8px; padding: 11px 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }
.ld-btn.primary { background: var(--primary); color: #fff; }
.ld-real { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; background: #E8FFEA; color: #00A42B; border-radius: 8px; padding: 11px 8px; font-size: 15px; font-weight: 700; letter-spacing: .3px; }
.ld-report { display: block; width: 100%; margin-top: 12px; border: none; background: none; color: #86909C; font-size: 12.5px; cursor: pointer; font-family: inherit; padding: 6px; }
.ld-report:hover { color: var(--danger); text-decoration: underline; }
@media (max-width: 480px) {
  .ld-grid { grid-template-columns: 1fr; }
  .ls-stat b { font-size: 20px; }
}
/* 自由工作室精简行：只留「品牌 + 车型 + 新鲜度」，其余全在详情页 */
.stu-row.slim { padding: 10px 14px 10px 10px; margin-bottom: 8px; align-items: center; }
.stu-row.slim .stu-main { display: flex; align-items: center; min-width: 0; }
.stu-row.slim .stu-line1 { width: 100%; min-width: 0; }
.stu-more { margin-left: auto; padding-left: 8px; font-size: 12px; color: var(--primary); white-space: nowrap; flex: none; }
.stu-row.slim.stale .stu-more { color: var(--muted-2); }
/* 车源行底部的举报小字：屯车商家没有详情页，举报入口挂这里 */
.stu-report { display: block; margin-top: 8px; border: none; background: none; color: var(--muted-2); font-size: 11.5px; cursor: pointer; font-family: inherit; padding: 2px 0; }
.stu-report:hover { color: var(--danger); text-decoration: underline; }
/* 价格面议（没填价格时） */
.stu-price.none { color: var(--muted-2); font-weight: 500; font-size: 12.5px; }
.ld-price.none { color: var(--muted-2); font-weight: 500; font-size: 14px; }
