/* =========================================================
   福利招标大全 · H5 样式表
   ========================================================= */
:root {
  --brand: #ff5000;
  --brand-2: #ff8a3d;
  --brand-dark: #e04a00;
  --accent: #ff2d55;
  --vip: #d4a24c;
  --text: #1a1d26;
  --text-2: #5b6274;
  --text-3: #9aa1b1;
  --line: #ebedf3;
  --bg: #f5f5f7;
  --card: #ffffff;
  --danger: #ff0036;
  --red: #ff0036;
  --link: #2b7fff;
  --nav-on: #ff0036;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(22, 34, 74, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: #ededed;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, select, textarea, button { font-family: inherit; font-size: 14px; color: inherit; }
input, textarea, select { outline: none; }

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: 72px;
  overflow-x: hidden;
}
.app.no-tabbar { padding-bottom: 24px; }

/* ---------------- 顶部 ---------------- */
.hd {
  background: linear-gradient(120deg, #ff8a00 0%, var(--brand) 48%, #ff2d55 100%);
  color: #fff;
  padding: 14px 16px 16px;
  position: relative;
}
.hd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.hd-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
}
.hd-logo .dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.hd-sub { font-size: 12px; opacity: .82; margin-top: 2px; font-weight: 400; }
.hd-links { display: flex; gap: 12px; font-size: 13px; opacity: .95; }

.search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 0 6px 0 14px;
  height: 40px;
  box-shadow: 0 4px 14px rgba(16, 38, 110, .12);
}
.search input {
  flex: 1; border: 0; height: 100%; background: transparent; font-size: 13.5px;
}
.search input::placeholder { color: var(--text-3); }
.search .sbtn {
  background: var(--brand); color: #fff; border: 0;
  height: 30px; padding: 0 16px; border-radius: 16px; font-size: 13px;
}

/* 内页返回导航 */
.nav {
  height: 48px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.nav .back { width: 30px; font-size: 20px; color: var(--text); }
.nav .title {
  flex: 1; text-align: center; font-size: 16px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0 4px;
}
.nav .nav-right { width: 30px; text-align: right; font-size: 13px; color: var(--text-2); }
.nav.fixed-nav { position: sticky; }

/* ---------------- 通用块 ---------------- */
.wrap { padding: 12px; }
.section { background: #fff; border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.section-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px 8px;
}
.section-hd h3 { font-size: 15px; font-weight: 600; }
.section-hd h3 .bar {
  display: inline-block; width: 3px; height: 14px; background: var(--brand);
  border-radius: 2px; margin-right: 7px; vertical-align: -2px;
}
.section-hd .more { font-size: 13px; color: var(--text-3); }
.section-bd { padding: 0 14px 14px; }

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 10px; overflow: hidden;
}

.muted { color: var(--text-2); }
.tiny { font-size: 12px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  display: inline-block; font-size: 12px; line-height: 16px;
  padding: 0 6px; border-radius: 4px;
  background: #fff1e9; color: var(--brand);
  border: 1px solid #ffd9c2;
  vertical-align: 1px;
}
.badge.warn { background: #fff4ec; color: var(--accent); border-color: #ffe2d1; }
.badge.vip { background: #fdf6e8; color: #b2803a; border-color: #f3e3c4; }
.badge.gray { background: #f2f3f7; color: var(--text-2); border-color: #e8eaf0; }
.badge.green { background: #eafaf1; color: #16a34a; border-color: #cbeedb; }
.badge.red { background: #fdecea; color: var(--danger); border-color: #f9d5d0; }

.price { color: var(--danger); font-weight: 600; }
.price .unit { font-size: 12px; margin-right: 1px; }

/* ---------------- 首页筛选 ---------------- */
.quick-nav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px; padding: 14px 10px 6px; background: #fff;
  border-radius: var(--radius); margin-bottom: 10px;
}
.quick-nav a { text-align: center; font-size: 13px; color: var(--text-2); }
.quick-nav .ico {
  width: 42px; height: 42px; margin: 0 auto 5px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: #fff;
}
.q1 { background: linear-gradient(135deg,#ff9a3d,#ff5000); }
.q2 { background: linear-gradient(135deg,#ffb44d,#ff8a2b); }
.q3 { background: linear-gradient(135deg,#54d0a8,#22b183); }
.q4 { background: linear-gradient(135deg,#a98bff,#7c5cf5); }
.q5 { background: linear-gradient(135deg,#ff8fa3,#ef5f7d); }
.q6 { background: linear-gradient(135deg,#68c8ff,#2f9fe8); }
.q7 { background: linear-gradient(135deg,#f5c451,#e0a114); }
.q8 { background: linear-gradient(135deg,#8ea3c4,#61748f); }

.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px;
  background: #fff; border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; font-size: 13px; padding: 5px 12px; border-radius: 15px;
  background: #f4f6fa; color: var(--text-2); border: 1px solid transparent;
}
.chip.on { background: #fff1e9; color: var(--brand); border-color: #ffcfb2; font-weight: 600; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; background: #fff; font-size: 13px; color: var(--text-2);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 15;
}
.toolbar .sorts { display: flex; gap: 14px; }
.toolbar .sorts a.on { color: var(--brand); font-weight: 600; }
.toolbar .cnt { color: var(--text-3); }

/* ---------------- 标讯列表 ---------------- */
.bid-list { padding: 10px 12px 0; }
.bid {
  background: #fff; border-radius: var(--radius); padding: 13px 13px 11px;
  margin-bottom: 10px; box-shadow: var(--shadow); position: relative;
}
.bid .t { font-size: 15px; font-weight: 600; line-height: 1.42; margin-bottom: 7px; }
.bid .t em { font-style: normal; color: var(--danger); }
.bid .meta { font-size: 13px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 8px; }
.bid .meta span { display: inline-flex; align-items: center; gap: 3px; }
.bid .foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px;
}
.bid .foot .org { font-size: 13px; color: var(--text-2); max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bid .foot .amt { font-size: 13px; }
.bid .tagline { display: flex; gap: 6px; margin-bottom: 7px; flex-wrap: wrap; }
.top-flag {
  position: absolute; top: 0; right: 0; background: linear-gradient(135deg,#ff8a5c,#e8452c);
  color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 0 12px 0 10px;
}

/* ---------------- 详情 ---------------- */
.detail-hd { background: #fff; padding: 16px 14px 12px; }
.detail-hd h1 { font-size: 18px; line-height: 1.45; font-weight: 700; margin-bottom: 10px; }
.detail-hd .info { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-3); }
.kv { background: #fff; margin-top: 10px; padding: 4px 14px 10px; }
.kv-row { display: flex; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv-row:last-child { border-bottom: 0; }
.kv-row .k { width: 88px; color: var(--text-3); flex: 0 0 88px; }
.kv-row .v { flex: 1; word-break: break-all; }
/* 来源锁定行：右边是带锁提示 + 解锁按钮，不挤占左侧标签宽度 */
.kv-row.src-lock .v { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.src-lock-tx { color: #9aa2b6; letter-spacing: 1px; font-size: 13px; }
.src-lock-hint { font-size: 12px; color: #b0b7c6; }
.src-lock-btn {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
  border-radius: 13px; background: #fff1e9; color: var(--brand);
  font-size: 12.5px; line-height: 1; white-space: nowrap;
}
.src-lock-btn.gold { background: #fdf4e6; color: #b5813a; }
.content-body {
  background: #fff; margin-top: 10px; padding: 16px 14px 20px;
  font-size: 14.5px; line-height: 1.85; color: #2b2f3a; word-break: break-word;
}
.content-body p { margin: 0 0 10px; }
.content-body img { margin: 8px 0; }

.lock-box {
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 26%);
  padding: 6px 14px 20px; margin-top: -60px; position: relative; text-align: center;
  background-color: #fff;
}
.lock-inner {
  border: 1px solid #ffe0cc; background: #fff9f5; border-radius: 14px;
  padding: 18px 16px; text-align: center;
}
.lock-inner .ico { font-size: 26px; margin-bottom: 6px; }
.lock-inner h4 { font-size: 15px; margin-bottom: 6px; }
.lock-inner p { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.lock-btns { display: flex; gap: 10px; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: 20px; border: 0;
  font-size: 14px; font-weight: 600; cursor: pointer;
  background: #f1f3f8; color: var(--text);
}
.btn-primary { background: linear-gradient(135deg,#ff8a1a,#ff5000); color: #fff; box-shadow: 0 4px 12px rgba(255,80,0,.3); }
.btn-accent { background: linear-gradient(135deg,#ffa043,#ff6b2c); color: #fff; box-shadow: 0 4px 12px rgba(255,107,44,.26); }
.btn-vip { background: linear-gradient(135deg,#e8c47a,#c8973f); color: #fff; box-shadow: 0 4px 12px rgba(200,151,63,.3); }
.btn-block { display: flex; width: 100%; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 16px; }
.btn:disabled { opacity: .55; }

.contact-card { background: #fff; margin-top: 10px; padding: 14px; border-radius: 0; }
.contact-card .row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.contact-card .name { font-weight: 600; }
.contact-mask { color: var(--text-3); letter-spacing: 1px; }

/* ---------------- 空状态 & 分页 ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty .ico { font-size: 40px; opacity: .35; margin-bottom: 10px; }
.empty p { font-size: 13.5px; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 16px 12px 26px; }
.pg {
  min-width: 34px; height: 32px; padding: 0 10px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 8px;
  background: #fff; color: var(--text-2); font-size: 13px; box-shadow: var(--shadow);
}
.pg.on { background: var(--brand); color: #fff; }
.pg-dot { color: var(--text-3); align-self: center; }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 58px;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  display: flex; z-index: 60;
  backdrop-filter: saturate(180%) blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; font-size: 14px; line-height: 1.2;
  color: #8d94a4;
}
.tabbar a { transition: color .14s ease, transform .14s ease; }
.tabbar a.on { color: var(--nav-on); font-weight: 600; }
.tabbar a:active { color: var(--nav-on); }
.tabbar a:active .ti { transform: scale(.9); }
.tabbar a.on .ti { stroke-width: 2; }
.tabbar .ti { width: 22px; height: 22px; flex: 0 0 auto; }
/* 自定义图标（后台「底部导航」上传的图片） */
.tabbar .ti-img { width: 22px; height: 22px; flex: 0 0 auto; object-fit: contain; border-radius: 4px; }
.tabbar a.on .ti-img { filter: none; }
.tabbar a:not(.on) .ti-img { opacity: .72; filter: grayscale(1); }

/* ---------------- 我的 ---------------- */
.mine-hd {
  background: linear-gradient(120deg, #ff8a00 0%, var(--brand) 48%, #ff2d55 100%);
  padding: 18px 16px 46px; color: #fff; position: relative;
}
.mine-user { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.24);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.mine-user .u-name { font-size: 17px; font-weight: 600; }
.mine-user .u-sub { font-size: 13px; opacity: .88; margin-top: 3px; }
.vip-tag {
  display: inline-flex; align-items: center; gap: 3px;
  background: linear-gradient(135deg,#f7e2b4,#dfb267); color: #7a5217;
  font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 9px;
  margin-left: 6px;
}
.mine-card {
  margin: -34px 12px 0; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 22px rgba(19,40,110,.1); padding: 16px 6px;
  display: flex; text-align: center; position: relative; z-index: 2;
}
.mine-card a { flex: 1; }
.mine-card .n { font-size: 18px; font-weight: 700; }
.mine-card .l { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.vip-banner {
  margin: 12px; border-radius: 14px; padding: 15px 16px;
  background: linear-gradient(120deg,#3d3a35,#2a2721 60%,#42392b);
  color: #f2e3c4; display: flex; align-items: center; justify-content: space-between;
}
.vip-banner .vt { font-size: 14.5px; font-weight: 700; color: #f0d7a4; }
.vip-banner .vd { font-size: 12px; opacity: .72; margin-top: 3px; }
.vip-banner .vbtn {
  background: linear-gradient(135deg,#f4dda6,#d9ae62); color: #5c3d10;
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 15px;
  white-space: nowrap;
}

.menu-list { background: #fff; border-radius: 12px; margin: 0 12px 10px; overflow: hidden; }
.menu-item {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item .mi { width: 22px; text-align: center; font-size: 16px; }
.menu-item .mr { margin-left: auto; color: var(--text-3); font-size: 13px; display: flex; align-items: center; gap: 4px; }

/* ---------------- 表单 ---------------- */
.form { background: #fff; border-radius: 12px; padding: 4px 14px; }
.field { padding: 13px 0; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; }
.field label { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.field input[type=text], .field input[type=password], .field input[type=tel],
.field input[type=date], .field input[type=number], .field input[type=email],
.field select, .field textarea {
  width: 100%; border: 0; background: transparent; font-size: 15px; padding: 0;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 78px; resize: vertical; line-height: 1.6; }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.form-tip { font-size: 13px; color: var(--text-3); padding: 12px 16px; }
.submit-area { padding: 18px 12px 30px; }

.checkbox-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); padding: 0 4px 14px; }

/* 登录页 */
.login-hd { text-align: center; padding: 44px 20px 24px; }
.login-hd .lg { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.login-hd .sub { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.tabs-line { display: flex; gap: 24px; padding: 0 16px 6px; background: #fff; }
.tabs-line a { font-size: 15px; color: var(--text-3); padding: 12px 0 10px; position: relative; }
.tabs-line a.on { color: var(--text); font-weight: 600; }
.tabs-line a.on:after {
  content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 22px; height: 3px; border-radius: 2px; background: var(--brand);
}

/* ---------------- 会员页 ---------------- */
.vip-hd {
  background: linear-gradient(135deg,#2f2a22 0%,#3d3529 50%,#54452f 100%);
  padding: 20px 16px 26px; color: #f4e5c8;
}
.vip-hd .t1 { font-size: 19px; font-weight: 700; }
.vip-hd .t2 { font-size: 13px; opacity: .72; margin-top: 6px; }
.pkg-list { padding: 14px 12px; }
.pkg {
  border: 1.5px solid #e8eaf0; border-radius: 14px; background: #fff;
  padding: 15px 16px; margin-bottom: 10px; display: flex; align-items: center;
  justify-content: space-between; position: relative;
}
.pkg.on { border-color: var(--vip); background: #fffdf7; box-shadow: 0 4px 16px rgba(200,151,63,.14); }
.pkg .pk-name { font-size: 15.5px; font-weight: 600; }
.pkg .pk-desc { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.pkg .pk-price { text-align: right; }
.pkg .pk-price .now { font-size: 20px; font-weight: 700; color: var(--danger); }
.pkg .pk-price .now small { font-size: 13px; font-weight: 400; }
.pkg .pk-price .old { font-size: 12px; color: var(--text-3); text-decoration: line-through; }
.pkg .pk-tag {
  position: absolute; top: -1px; left: 16px; background: var(--accent); color: #fff;
  font-size: 12px; padding: 1px 8px; border-radius: 0 0 8px 8px;
}
.vip-rights { background: #fff; border-radius: 12px; margin: 0 12px 12px; padding: 14px; }
.vip-rights h4 { font-size: 14px; margin-bottom: 10px; }
.right-item { display: flex; gap: 8px; font-size: 13px; color: var(--text-2); padding: 6px 0; }
.right-item .ck { color: #16a34a; font-weight: 700; }

/* ---------------- 商品 ---------------- */
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px 0; }
.goods {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.goods .thumb {
  height: 118px; background: #f2f4f9; display: flex; align-items: center;
  justify-content: center; color: #c9d0de; font-size: 26px;
}
.goods .thumb img { height: 100%; width: 100%; object-fit: cover; }
.goods .gb { padding: 9px 10px 11px; flex: 1; display: flex; flex-direction: column; }
.goods .gn { font-size: 13px; line-height: 1.4; height: 36px; overflow: hidden; }
.goods .gp { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 7px; }
.goods .gp .p { color: var(--danger); font-weight: 700; font-size: 15px; }
.goods .gp .o { color: var(--text-3); font-size: 12px; text-decoration: line-through; }
.goods .gs { font-size: 12px; color: var(--text-3); margin-top: 4px; }

.goods-detail-img { height: 220px; background: #f2f4f9; display: flex; align-items: center; justify-content: center; color: #c9d0de; font-size: 40px; }
.price-panel { background: linear-gradient(135deg,#fff5f0,#fff); padding: 14px; }
.price-panel .big { font-size: 25px; font-weight: 700; color: var(--danger); }
.price-panel .big small { font-size: 13px; }
.price-panel .row { display: flex; gap: 16px; font-size: 13px; color: var(--text-3); margin-top: 6px; }
.price-panel .row b { color: var(--text-2); font-weight: 500; }

/* ---------------- 企业 ---------------- */
.company {
  background: #fff; border-radius: 12px; padding: 13px 14px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.company .cn { font-size: 15px; font-weight: 600; margin-bottom: 7px; line-height: 1.4; }
.company .ci { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text-3); }
.company .cp { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }

/* ---------------- 商机 ---------------- */
.biz { background: #fff; border-radius: 12px; padding: 13px 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.biz .bh { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.biz .bt { font-size: 14.5px; font-weight: 600; flex: 1; line-height: 1.42; }
.biz .bi { font-size: 13px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.biz .bc { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.6; }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%,-50%);
  background: rgba(20,24,36,.86); color: #fff; font-size: 13.5px;
  padding: 11px 18px; border-radius: 10px; z-index: 999;
  max-width: 78%; text-align: center; line-height: 1.5;
}
.alert { margin: 12px; padding: 11px 14px; border-radius: 10px; font-size: 13px; }
.alert.ok { background: #eafaf1; color: #15803d; }
.alert.err { background: #fdecea; color: #b91c1c; }
.alert.info { background: #eef3ff; color: #1d4ed8; }
.alert .close { float: right; cursor: pointer; opacity: .6; }

.notice-bar {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
  color: #8a6d3b; background: #fff9ec; padding: 8px 12px;
  border-bottom: 1px solid #fff1d6; overflow: hidden;
}
.notice-bar .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(16,20,32,.5); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 320px;
  padding: 22px 20px 18px; text-align: center;
}
.modal h4 { font-size: 16px; margin-bottom: 8px; }
.modal p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.modal .mb { display: flex; gap: 10px; }
.modal .mb .btn { flex: 1; }

/* 悬浮发布 */
.fab {
  position: fixed; right: 16px; bottom: 78px; z-index: 50;
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg,#ff8a3d,#ff2d55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 6px 18px rgba(255,45,85,.32);
}

/* 文件/附件 */
.file-row {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: #fff; border-top: 1px solid var(--line);
}
.file-row .fi { font-size: 18px; }
.file-row .fn { flex: 1; font-size: 13px; }
.file-row .fb { font-size: 13px; color: var(--brand); }

/* 统计条 */
.stat-row { display: flex; background: #fff; padding: 14px 0; margin-bottom: 10px; border-radius: 12px; }
.stat-row .s { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.stat-row .s:last-child { border-right: 0; }
.stat-row .s .n { font-size: 17px; font-weight: 700; color: var(--brand); }
.stat-row .s .l { font-size: 12px; color: var(--text-3); }

/* =========================================================
   v1.2 新增：排行榜 / 市场报告 / 购物车 / 结算 / 地址
   ========================================================= */

/* 排行榜 */
.rank-list { padding: 0 12px 4px; }
.rank-item {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border-radius: 12px; padding: 12px 12px; margin-bottom: 8px;
}
.rank-no {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; background: #f2f4f8; color: var(--text-3);
}
.rank-no.r1 { background: linear-gradient(135deg,#ffcf5c,#f5a623); color: #fff; }
.rank-no.r2 { background: linear-gradient(135deg,#c9d3e4,#98a6bd); color: #fff; }
.rank-no.r3 { background: linear-gradient(135deg,#e5b189,#c98a5b); color: #fff; }
.rank-main { flex: 1; min-width: 0; }
.rank-name {
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rank-bar { height: 4px; background: #f2f4f8; border-radius: 2px; margin: 6px 0 5px; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg,#ffa04d,#ff5000); }
.rank-sub { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.rank-arrow { color: #c6ccda; font-size: 16px; }

/* 柱状图（近 N 月趋势） */
.chart-col { display: flex; align-items: flex-end; gap: 8px; height: 148px; padding: 6px 2px 0; }
.chart-col .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart-col .col-v { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.chart-col .col-bar {
  width: 68%; max-width: 34px; min-height: 4px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg,#ffa04d,#ff5000);
}
.chart-col .col-x { font-size: 12px; color: var(--text-3); margin-top: 7px; }

/* 横向条形 */
.hbar-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.hbar-k { width: 78px; flex: 0 0 78px; font-size: 13px; color: var(--text-2); text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { flex: 1; height: 8px; background: #f2f4f8; border-radius: 4px; overflow: hidden; }
.hbar-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg,#ffb06b,#ff5000); }
.hbar-track i.g { background: linear-gradient(90deg,#6fd39a,#16a34a); }
.hbar-track i.o { background: linear-gradient(90deg,#ffb066,#ff6b2c); }
.hbar-v { width: 42px; flex: 0 0 42px; font-size: 12px; color: var(--text-3); }

/* 购物车 */
.cart-list { padding: 10px 12px 0; }
.cart-item {
  display: flex; gap: 10px; background: #fff; border-radius: 12px;
  padding: 12px; margin-bottom: 10px;
}
.ci-thumb {
  width: 74px; height: 74px; flex: 0 0 74px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg,#fff3ec,#ffe2d2); display: flex;
  align-items: center; justify-content: center; font-size: 24px;
}
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-main { flex: 1; min-width: 0; }
.ci-name { display: block; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.ci-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ci-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stepper button {
  width: 26px; height: 26px; border: 0; background: #f7f8fc; color: var(--text-2);
  font-size: 15px; line-height: 1; cursor: pointer;
}
.stepper input {
  width: 38px; height: 26px; border: 0; text-align: center; font-size: 13px;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); outline: none;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border-radius: 12px; padding: 12px 14px; margin: 4px 12px 10px;
  box-shadow: 0 2px 12px rgba(22,34,74,.08);
}

/* 结算：地址选择 */
.addr-pick { background: #fff; border-radius: 12px; overflow: hidden; }
.addr-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.addr-item:last-child { border-bottom: 0; }
.addr-item input[type="radio"] { margin-top: 3px; accent-color: var(--brand); }
.ai-name { font-size: 13.5px; font-weight: 600; }

/* =========================================================
   v1.3 首页重构：对齐原站「搜索 + 四筛选 + 紧凑列表」
   ========================================================= */

/* ---- 顶部搜索条 ---- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center;
  background: #fff; padding: 10px 15px 8px;
}
.srch-box {
  flex: 1; min-width: 0; display: flex; align-items: center;
  height: 40px; background: #f4f5f7; border-radius: 20px; padding: 0 15px;
}
.srch-i {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-size: 15px; color: #1a1d26; height: 100%;
}
.srch-i::placeholder { color: #a8aebb; }
.srch-b, .srch-s {
  flex: 0 0 auto; border: 0; background: none; padding: 0 0 0 16px;
  font-size: 15px; line-height: 40px; white-space: nowrap; cursor: pointer;
}
.srch-b { color: var(--brand); font-weight: 500; }
.srch-s {
  position: relative; color: var(--brand);
  margin-left: 4px; padding-left: 19px;
}
.srch-s::before {
  content: ''; position: absolute; left: 8px; top: 50%;
  width: 1px; height: 17px; margin-top: -8.5px; background: #e2e5ec;
}

/* ---- 四联筛选栏 ---- */
.flt-bar {
  position: sticky; top: 58px; z-index: 29;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 8px 16px 10px;
}
.flt {
  display: inline-flex; align-items: center;
  font-size: 15px; color: #23262f; line-height: 1.4; white-space: nowrap;
}
.flt.on { color: var(--brand); font-weight: 600; }
.flt .arw {
  display: inline-block; width: 0; height: 0; margin-left: 5px;
  border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-top: 5.5px solid #7b8296; transform-origin: 50% 40%;
  transition: transform .18s ease;
}
.flt.on .arw { border-top-color: var(--brand); }
.flt.cur .arw { transform: rotate(180deg); border-top-color: var(--brand); }

/* ---- 下拉面板 ---- */
.flt-panels { background: #fff; }
.flt-panel {
  display: none; padding: 2px 16px 14px;
  border-top: 1px solid #f1f2f6;
}
.flt-panel.on { display: block; }
.flt-opts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.flt-opt {
  font-size: 13.5px; line-height: 1; padding: 9px 14px; border-radius: 8px;
  background: #f5f6f8; color: #4b5162; white-space: nowrap;
}
.flt-opt.on { background: #fff1e9; color: var(--brand); font-weight: 600; }
.flt-sec {
  font-size: 13px; color: #9aa1b1; padding: 14px 0 0;
}
.flt-more {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed #f1f2f6;
  font-size: 13.5px; color: #4b5162;
}
.flt-more span { color: #c2c8d4; font-size: 16px; }

/* ---- 列表 ---- */
.feed { background: #fff; }
.bit {
  position: relative; display: block;
  padding: 15px 30px 14px 16px;
  border-bottom: 1px solid #f1f2f6;
}
.bit:active { background: #fafbfd; }
.btag {
  display: inline-block; vertical-align: -3px; margin: 0 9px 0 0;
  height: 24px; line-height: 24px; padding: 0 12px; border-radius: 8px;
  font-size: 13px; color: #fff; font-weight: 500; white-space: nowrap;
}
.btag.k-zb { background: #2b6bff; }   /* 招标 · 蓝 */
.btag.k-jj { background: #00a0c6; }   /* 竞价 · 青 */
.btag.k-win { background: #ff7a2f; }  /* 中标 · 橙 */
.btag.k-inq { background: #00a0c6; }
.btag.k-other { background: #8ea3c4; }
.bt {
  font-size: 16.5px; font-weight: 700; line-height: 1.45; color: #1a1d26;
  word-break: break-word;
}
.bt em { font-style: normal; color: var(--danger); }
.bmeta {
  clear: both; display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; margin-top: 10px;
}
.bchip {
  font-size: 13px; line-height: 1; padding: 6px 10px; border-radius: 5px;
  background: #eaf1ff; color: #4a7de0; white-space: nowrap;
}
.bchip-top { background: #fff0e8; color: #ff7a2f; }
.bfoot {
  display: flex; align-items: center; justify-content: flex-end;
  margin-top: 9px;
}
.btime { font-size: 13px; color: #a5abba; }
.barw {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  font-size: 19px; line-height: 1; color: #c9ced9; font-style: normal;
}
.bextra { margin-top: 13px; }
.bx {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 14.5px; line-height: 1.5; padding: 6px 0;
}
.bx-k { flex: 0 0 70px; color: #8f95a3; white-space: nowrap; }
.bx-v {
  flex: 1; min-width: 0; color: #23262f;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bx-amt { color: var(--danger); }
.bx-bw { color: #23262f; }

.feed-foot { background: #fff; padding: 12px 16px 4px; font-size: 13px; color: #9aa1b1; }
.feed-foot + .pager { background: #fff; padding-top: 10px; }

/* ---- 右侧浮动数据入口 ---- */
.data-fab {
  position: fixed; right: 10px; top: 38%; z-index: 40;
  width: 46px; display: flex; flex-direction: column;
  align-items: center; gap: 7px;
}
.fab-box {
  width: 46px; height: 42px; border-radius: 12px;
  background: linear-gradient(150deg, #ffb066, #ff8a1a 52%, #ff5000);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px rgba(255, 80, 0, .28);
}
.fab-base {
  width: 37px; height: 5px; border-radius: 3px; background: #ff8a1a;
}
@media (min-width: 480px) {
  .data-fab { right: calc(50% - 240px + 10px); }
}

/* ---- 全局加载遮罩 ---- */
.loading-mask {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .05);
}
.loading-box {
  width: 146px; height: 146px; border-radius: 20px;
  background: rgba(26, 28, 34, .8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 15px; color: #fff; font-size: 14px;
}
.spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .2);
  border-top-color: #fff;
  animation: ldspin .75s linear infinite;
}
@keyframes ldspin { to { transform: rotate(360deg); } }

/* 首页整屏白底（对齐原站观感，避免列表下方出现灰块） */
.app.home-mode { background: #fff; }
.app.home-mode .empty { background: #fff; }

/* ---- 小号类型标签（单位档案等列表内使用） ---- */
.btag-mini {
  display: inline-block; flex: 0 0 auto;
  font-size: 12px; line-height: 1; padding: 4px 7px;
  border-radius: 5px; color: #fff; font-weight: 500;
}
.btag-mini.btag-k-zb { background: #2b6bff; }
.btag-mini.btag-k-jj { background: #00a0c6; }
.btag-mini.btag-k-win { background: #ff7a2f; }

/* =========================================================
   v1.6 商机广场 / 货源商城
   ========================================================= */

/* ---- 商机：数据统计条 ---- */
.biz-stats {
  display: flex; background: #fff;
  padding: 18px 0 16px;
  border-bottom: 1px solid #f2f3f6;
}
.biz-stat { flex: 1; text-align: center; }
.biz-stat b {
  display: block; font-size: 19px; font-weight: 700;
  color: var(--brand); line-height: 1.2;
}
.biz-stat span {
  display: block; font-size: 13px; color: #6f7686; margin-top: 6px;
}

/* ---- 商机：找需求 / 找供应商 ---- */
.seg {
  display: flex; background: #fff;
  border-bottom: 1px solid #f2f3f6;
}
.seg a {
  flex: 1; position: relative; text-align: center;
  padding: 15px 0 13px; font-size: 16px; color: #23262f;
}
.seg a.on { color: var(--brand); font-weight: 600; }
.seg a.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 58px; height: 3px; margin-left: -29px;
  background: var(--brand); border-radius: 2px;
}

/* ---- 商机：帖子 ---- */
.biz-feed { background: #fff; }
.bpost {
  padding: 16px 16px 15px;
  border-bottom: 1px solid #f2f3f6;
}
.bp-hd { display: flex; align-items: center; gap: 11px; }
.bp-av {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: #fff1e9; color: #e8590c;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; overflow: hidden;
}
.bp-av img { width: 100%; height: 100%; object-fit: cover; }
.bp-nm {
  flex: 1; min-width: 0; font-size: 16px; font-weight: 600; color: #1a1d26;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bp-time {
  font-size: 13px; color: #9aa1b1; font-weight: 400; margin-left: 9px;
}
.bp-tag {
  flex: 0 0 auto; font-size: 12px; line-height: 1;
  padding: 5px 9px; border-radius: 5px;
  background: #fff1e9; color: #e8590c;
}
.bp-tag.g { background: #e9f8f0; color: #0a9b5c; }
.bp-title {
  font-size: 16.5px; font-weight: 600; line-height: 1.5; color: #1a1d26;
  margin-top: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.bp-title em { font-style: normal; color: var(--danger); }
.bp-imgs { display: flex; gap: 8px; margin-top: 12px; }
.bp-imgs img {
  width: 118px; height: 118px; object-fit: cover;
  border-radius: 8px; background: #f2f4f9;
}
.bp-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 11px; font-size: 13px; color: #8d94a4;
}
.bp-ft {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
}
.bp-dl { font-size: 13.5px; color: #8d94a4; }
.bp-wx {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 17px; border-radius: 8px;
  background: #07c160; color: #fff; font-size: 15px; font-weight: 500;
}
.bp-wx.grey { background: #a8aebb; }
/* 未登录态：文案「登录查看微信」，用微信绿，和右侧「添加微信」同色系 */
.bp-wx.green { background: #07c160; }
.bp-wx.green:active { background: #06ad56; }
.bp-wx.orange { background: var(--brand); }

/* ---- 通用：悬浮发布按钮 ---- */
.fab-add {
  position: fixed; right: 16px;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 80, 0, .34);
  z-index: 50;
}
.fab-add:active { transform: scale(.96); }
@media (min-width: 480px) {
  .fab-add { right: calc(50% - 240px + 16px); }
}

/* ---- 货源：两列商品卡 ---- */
.flt-bar-2 {
  top: 58px; padding: 10px 16px 12px;
  border-bottom: 1px solid #f2f3f6;
}
.flt-bar-2 .flt { font-size: 15.5px; }
.glist {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 11px; padding: 11px 12px 0; background: #fff;
}
.gcard {
  background: #fff; border-radius: 9px; overflow: hidden;
  border: 1px solid #f0f1f5;
  display: flex; flex-direction: column;
}
.gc-img {
  position: relative; width: 100%; padding-top: 100%;
  background: #f2f4f9; overflow: hidden;
}
.gc-img img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gc-ph {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #b9c2d4; font-weight: 600; letter-spacing: 1px;
}
.gc-b { padding: 9px 10px 11px; display: flex; flex-direction: column; flex: 1; }
.gc-t {
  font-size: 14px; line-height: 1.42; color: #1a1d26;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 40px;
}
.gc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gc-tag {
  font-size: 12px; line-height: 1; padding: 5px 7px; border-radius: 4px;
  background: #fff0e8; color: #e8622a; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.gc-tag.lite { background: #eef3ff; color: #3d6fd8; }
.gc-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; margin-top: 9px; font-size: 12.5px; color: #8d94a4;
}
.gc-jd { font-style: normal; color: #5b6273; }
.gc-cmt { flex: 0 0 auto; color: #a8aebb; }
.gc-line-b { margin-top: 7px; }
.gc-min { font-size: 15.5px; font-weight: 700; color: #ff3b30; }
.gc-disc {
  flex: 0 0 auto; font-size: 12px; line-height: 1;
  padding: 4px 6px; border-radius: 4px;
  background: #ffeceb; color: #ff3b30;
}
.gc-sup { margin-top: 9px; font-size: 13px; color: #f2600c; }

/* ---- 图片上传控件 ---- */
.up-box { display: flex; flex-wrap: wrap; gap: 10px; }
.up-list { display: flex; flex-wrap: wrap; gap: 10px; }
.up-item {
  position: relative; width: 84px; height: 84px;
  border-radius: 8px; overflow: hidden; background: #f2f4f9;
}
.up-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-del {
  position: absolute; right: 0; top: 0;
  width: 22px; height: 22px; line-height: 21px; text-align: center;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 15px; border-bottom-left-radius: 8px;
}
.up-box .up-add, .form .field .up-add {
  width: 84px; height: 84px; border-radius: 8px;
  border: 1px dashed #d6dbe6; background: #fafbfd;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: #9aa1b1; margin-bottom: 0; cursor: pointer;
}
.up-plus { font-size: 20px; line-height: 1; }
.up-add em { font-style: normal; font-size: 12px; }

/* =========================================================
   客户 · 福利企查查（企业库列表）
   版式：搜索 + 四筛选 + 结果数 + 三栏信息卡
   ========================================================= */
.cq-tools {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cq-search {
  display: flex;
  gap: 9px;
  padding: 10px 14px 8px;
}
.cq-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: #f1f3f7;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text);
}
.cq-search input::placeholder { color: #a2a8b6; }
.cq-search button {
  flex: 0 0 auto;
  width: 66px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .5px;
}
.cq-search button:active { background: var(--brand-dark); }

.cq-filters {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 8px;
}
.cq-sel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.cq-cur {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.cq-cur i,
.cq-more::after {
  flex: 0 0 auto;
  width: 9px;
  height: 6px;
  margin-left: 4px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238f96a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
  background-size: 9px 6px;
}
.cq-sel.on { color: var(--brand); font-weight: 600; }
.cq-sel.on .cq-cur i,
.cq-more.on::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232a5cff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* 透明原生下拉：占满整个格子，点哪都能唤起系统选择器 */
.cq-hit {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;
}
.cq-more { padding-right: 0; }
.cq-more::after { content: ""; display: inline-block; position: static; }
.cq-more.open::after { transform: rotate(180deg); }

/* 更多筛选面板 */
.cq-panel {
  padding: 4px 14px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.cq-group { margin-top: 12px; }
.cq-group .gh { font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; }
.cq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-opt {
  padding: 6px 12px;
  border-radius: 14px;
  background: #f4f6fa;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.2;
}
.cq-opt.on { background: #fff1e9; color: var(--brand); font-weight: 600; }
.cq-reset { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); text-align: center; }
.cq-reset a { font-size: 13px; color: var(--text-3); }

/* 结果数 */
.cq-count {
  padding: 11px 16px 10px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg);
}
.cq-count b {
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  margin: 0 3px;
}

/* 企业卡 */
.cq-list { padding-bottom: 4px; }
.cq-card {
  display: block;
  position: relative;
  background: #fff;
  /* v1.27.2：去掉左侧橙色竖条，左右内边距改回对称 14px */
  padding: 14px 14px 15px;
  margin-bottom: 7px;
}
.cq-card:last-child { margin-bottom: 0; }
.cq-name {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  word-break: break-all;
}
.cq-name em { font-style: normal; color: #e8452c; }
.cq-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.cq-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: #fff1e9;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.cq-pill.gray { background: #f2f3f7; color: var(--text-2); }
.cq-pill.red { background: #fdecea; color: var(--danger); }
.cq-pill.warm { background: #fff6e6; color: #b45309; }
.cq-pill.green { background: #eafaf1; color: #16a34a; }
.cq-meta {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.95fr;
  gap: 10px;
  margin-top: 13px;
}
.cq-meta .k {
  display: block;
  font-size: 12px;
  color: #9aa1b1;
  margin-bottom: 4px;
}
.cq-meta .v {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cq-meta .c3 { text-align: right; }
.cq-foot { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }

/* =========================================================
   分享得次数（详情页）
   ========================================================= */
.share-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  margin-top: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-2);
}
.share-tip .st-ico { flex: 0 0 auto; font-size: 15px; line-height: 1; }
.share-tip .st-txt { flex: 1; min-width: 0; }
.share-tip .st-txt b { color: #e8452c; font-weight: 700; }
.share-tip .st-btn {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 600;
}
.lock-tip {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 9px;
}

.share-mask {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17, 20, 28, .45);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.share-mask.on { opacity: 1; visibility: visible; }
.share-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(102%);
  transition: transform .25s ease;
}
.share-mask.on .share-sheet { transform: translateY(0); }
.ss-hd { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.ss-msg { font-size: 13.5px; color: var(--brand); text-align: center; margin-bottom: 12px; line-height: 1.5; }
.ss-wx {
  background: #f0f9eb;
  color: #3f7d20;
  font-size: 12.5px;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 10px;
}
.ss-wx b { font-weight: 700; }
.ss-link { display: flex; gap: 8px; }
.ss-link input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--text-2);
  background: #f7f8fb;
}
.ss-link button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #fff1e9;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}
.ss-tip { font-size: 12px; color: var(--text-3); margin-top: 9px; text-align: center; }
.ss-close {
  display: block;
  margin-top: 14px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 22px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------------- v1.15 页脚版权信息 ---------------- */
.foot-copy {
  margin: 16px 12px 6px;
  padding: 18px 14px 16px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.foot-copy .fc-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .2px;
}
.foot-copy .fc-line {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}
.foot-copy .fc-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 12px;
}
.foot-copy .fc-links a {
  color: var(--text-3);
  border-bottom: 1px solid #dfe3ec;
  padding-bottom: 1px;
}
.foot-copy .fc-links a:active { color: var(--brand); border-bottom-color: var(--brand); }
.app.no-tabbar .foot-copy { margin-bottom: 14px; }

/* ---------------- v1.15 首页 IP 定位提示条 ---------------- */
.geo-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 12px 0; padding: 9px 12px;
  background: #fff4ec; border: 1px solid #ffe0cc; border-radius: 10px;
  font-size: 13px;
}
.geo-bar .geo-ico { font-size: 14px; line-height: 1; flex: 0 0 auto; }
.geo-bar .geo-txt { flex: 1; min-width: 0; color: #5b6274; line-height: 1.45; }
.geo-bar .geo-txt b { color: var(--brand); font-weight: 600; }
.geo-bar .geo-btn {
  flex: 0 0 auto; height: 26px; line-height: 26px; padding: 0 11px;
  border-radius: 13px; background: var(--brand); color: #fff;
  font-size: 12.5px; font-weight: 500;
}

/* ---------------- v1.15 列表·发布时间标记 ---------------- */
.bfoot { justify-content: space-between; }
.bfoot .btime { margin-left: auto; }
.bpub {
  font-size: 12.5px; line-height: 1; padding: 4px 8px; border-radius: 5px;
  background: #f4f6fa; color: #7b8399; white-space: nowrap;
}

/* ---------------- v1.17 表单必填标记 ---------------- */
.field label .req { color: #e5484d; margin-left: 1px; font-weight: 400; }

/* =========================================================
   v1.23 商机看板（搜索 / 四宫格 / 双看板 / 广告条 / 卡片关注）
   ========================================================= */
.bz-search { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; }
.bz-si-wrap {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 15px; background: #f6f8fb;
  border: 1.6px solid var(--brand); border-radius: 999px;
}
.bz-si-ico { flex: 0 0 auto; color: #9aa3b5; }
.bz-si {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent;
  font-size: 15px; color: #1f2937; outline: none; -webkit-appearance: none;
}
.bz-si::placeholder { color: #a8aebb; }
.bz-sbtn {
  flex: 0 0 auto; height: 42px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 600;
}
.bz-sbtn:active { opacity: .88; }

.bz-stats { display: flex; background: #fff; padding: 13px 0 15px; border-top: 1px solid #f2f3f6; }
.bz-stat { flex: 1; display: block; text-align: center; }
.bz-stat b { display: block; font-size: 21px; font-weight: 800; color: var(--brand); line-height: 1.15; }
.bz-stat span { display: block; font-size: 12.5px; color: #6f7686; margin-top: 5px; }

.bz-tabs {
  display: flex; justify-content: center; gap: 46px;
  background: #fff; border-bottom: 1px solid #f2f3f6;
}
.bz-tab { position: relative; padding: 12px 3px; font-size: 17px; color: #4b5563; }
.bz-tab.on { color: var(--nav-on); font-weight: 700; }
.bz-tab.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 34px; height: 3px; margin-left: -17px; background: var(--nav-on); border-radius: 2px;
}

.bz-ad { display: block; margin: 12px 14px 0; border-radius: 10px; overflow: hidden; background: #f2f4f9; }
.bz-ad img { display: block; width: 100%; height: auto; max-height: 150px; object-fit: cover; }

.bz-list { margin-top: 12px; background: #fff; }
.bz-card { padding: 15px 16px 16px; border-bottom: 1px solid #f2f3f6; }
.bz-hd { display: flex; align-items: flex-start; gap: 10px; }
.bz-who { flex: 1; min-width: 0; }
.bz-nm-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bz-nm-line .bp-nm { flex: 0 1 auto; max-width: 100%; }
.bz-co {
  display: block; margin-top: 4px; font-size: 12.5px; color: #8d94a4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bz-fbtn {
  flex: 0 0 auto; height: 30px; padding: 0 15px; border: 1px solid #ffc9d2; border-radius: 999px;
  background: #fff5f6; color: var(--danger); font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.bz-fbtn.on { background: #f4f5f8; border-color: #e5e7ed; color: #8d94a4; font-weight: 500; }
.bz-fbtn:active { opacity: .88; }
/* 昵称后面的小箭头，提示「点头像/昵称可进 TA 的主页」 */
a.bp-nm::after {
  content: '›'; margin-left: 4px; color: #c4c9d4; font-size: 15px;
  font-weight: 400; line-height: 1;
}

.bz-title {
  margin-top: 12px; font-size: 16px; font-weight: 600; color: #111827; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bz-text {
  margin-top: 8px; font-size: 15px; line-height: 1.7; color: #374151; word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.bz-title em, .bz-text em { font-style: normal; color: var(--danger); }

/* v1.27.1：截止时间改「白底红字」——白卡片上靠红色细描边区分，比红底更不抢标题 */
.bz-dl {
  display: inline-block; margin-top: 11px; padding: 3px 9px; border-radius: 4px;
  background: #fff; color: var(--danger); font-size: 12.5px; line-height: 1.4;
  font-weight: 600; border: 1px solid rgba(255, 0, 54, .55);
  box-shadow: 0 1px 2px rgba(255, 0, 54, .10);
}
.bz-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.bz-meta {
  flex: 1; min-width: 0; font-size: 12.5px; color: #8d94a4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- v1.23 发布者主页 ---- */
.up-hd {
  position: relative; color: #fff; padding: 16px 16px 16px;
  background: linear-gradient(120deg, #ff8a00 0%, var(--brand) 48%, #ff2d55 100%);
}
.up-back { position: absolute; left: 10px; top: 12px; color: #fff; opacity: .92; padding: 4px; }
.up-main { display: flex; align-items: center; gap: 12px; padding-left: 26px; margin-top: 8px; }
.up-av {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
  background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600;
}
.up-av img { width: 100%; height: 100%; object-fit: cover; }
.up-info { flex: 1; min-width: 0; }
.up-nm { font-size: 17px; font-weight: 600; }
.up-co {
  font-size: 13px; opacity: .92; margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.up-join { font-size: 12px; opacity: .72; margin-top: 4px; }
.up-fbtn {
  flex: 0 0 auto; height: 32px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.16); color: #fff;
  font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center;
}
.up-fbtn.on { background: rgba(255,255,255,.3); border-color: transparent; }
.up-fbtn.me { background: #fff; color: var(--brand); border-color: #fff; }
.up-nums { display: flex; margin-top: 15px; }
.up-nums div { flex: 1; text-align: center; }
.up-nums b { display: block; font-size: 17px; font-weight: 700; }
.up-nums span { display: block; font-size: 12px; opacity: .8; margin-top: 3px; }

.up-post-hd { display: flex; align-items: center; gap: 8px; }
.up-tag { font-size: 12px; padding: 3px 8px; border-radius: 5px; background: #fff1e9; color: var(--brand); }
.up-tag.g { background: #e9f8f0; color: #0a9b5c; }
.up-time { font-size: 12.5px; color: #98a1b5; }
.up-tolist { font-size: 12.5px; color: var(--brand); flex: 0 0 auto; }

/* ---- v1.23 收藏页：关注的人 ---- */
.fav-user {
  display: flex; align-items: center; gap: 11px;
  background: #fff; padding: 12px 14px; border-radius: 10px; margin-bottom: 8px;
}
.fav-u-av {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  background: #fff1e9; color: #e8590c; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600;
}
.fav-u-av img { width: 100%; height: 100%; object-fit: cover; }
.fav-u-info { flex: 1; min-width: 0; }
.fav-u-nm { font-size: 15px; font-weight: 600; color: #1a1d26; }
.fav-u-co {
  font-size: 12.5px; color: #8d94a4; margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* =========================================================
   v1.25 货源直接加购 + 礼品方案
   ========================================================= */

/* ---- 商品卡右下角加购按钮 ---- */
.gc-add {
  position: absolute; right: 8px; bottom: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 12px rgba(255, 80, 0, .34);
  cursor: pointer; z-index: 2;
  transition: transform .12s ease, background .16s ease, box-shadow .16s ease;
}
.gc-add:active { transform: scale(.9); }
.gc-add.on {
  background: #12b76a;
  box-shadow: 0 4px 12px rgba(18, 183, 106, .34);
}
.gc-add[data-busy="1"] { opacity: .6; }
/* 已选多件时按钮里直接显示件数（角标会被卡片圆角裁掉，所以放按钮内） */
.gc-add-q {
  font-size: 13px; font-weight: 700; color: #fff; line-height: 1;
  letter-spacing: .2px;
}


/* ---- 已选浮条（贴在底栏上方） ---- */
.gp-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 58px; width: 100%; max-width: 480px; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 0 12px 0 16px;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(22, 34, 74, .07);
  z-index: 59;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.gp-bar[hidden] { display: none; }
.gp-bar-l { font-size: 13px; color: var(--text-2); }
.gp-bar-l b { color: #ff3b30; font-size: 18px; font-weight: 700; margin-right: 2px; }
.gp-bar-b {
  display: inline-flex; align-items: center; height: 36px; padding: 0 18px;
  border-radius: 18px; background: linear-gradient(135deg, #ff8a1a, #ff5000);
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 80, 0, .3);
}
.gp-bar-b:active { transform: scale(.97); }
.app.has-gpbar { padding-bottom: 128px; }
.app.has-gpbar .fab-add { bottom: calc(128px + env(safe-area-inset-bottom, 0px)); }

/* ---- 礼品方案页 ---- */
.gp-head {
  position: relative; background: #fff; border-radius: 12px;
  padding: 12px 14px 46px; box-shadow: var(--shadow);
}
.gp-head-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px dashed #f0f2f7;
}
.gp-head-row:last-of-type { border-bottom: 0; }
.gp-head-row label { flex: 0 0 62px; font-size: 13px; color: var(--text-3); }
.gp-head-row input {
  flex: 1; border: 0; background: transparent; font-size: 14.5px; color: var(--text);
  padding: 2px 0;
}
.gp-head-row input::placeholder { color: #c3cad8; }
.gp-head-save {
  position: absolute; right: 12px; bottom: 11px;
  height: 28px; padding: 0 14px; border: 0; border-radius: 14px;
  background: #fff1e9; color: var(--brand); font-size: 13px; font-weight: 600;
}

.gp-list { padding: 10px 12px 0; display: flex; flex-direction: column; gap: 9px; }
.gp-item {
  display: flex; gap: 10px; background: #fff; border-radius: 12px;
  padding: 11px 12px; box-shadow: var(--shadow);
}
.gp-thumb {
  position: relative; flex: 0 0 74px; width: 74px; height: 74px;
  border-radius: 9px; overflow: hidden; background: #f2f4f9;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #b9c2d4;
}
.gp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gp-main { flex: 1; min-width: 0; }
.gp-name {
  display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.gp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.gp-tag {
  font-size: 11px; line-height: 16px; padding: 0 6px; border-radius: 4px;
  background: #fff4ec; color: #eb6a26;
}
.gp-tag.lite { background: #eef3ff; color: #3d6fd8; }
.gp-desc {
  margin-top: 5px; font-size: 12px; color: #98a0b0; line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.gp-price { display: flex; gap: 12px; margin-top: 7px; font-size: 12.5px; color: var(--text-2); }
.gp-price b { font-size: 14.5px; }
.gp-sup b { color: #5b6274; }
.gp-ret b { color: #ff3b30; }
.gp-side {
  flex: 0 0 auto; display: flex; flex-direction: column;
  align-items: flex-end; justify-content: space-between; gap: 6px;
}
.gp-sub { font-size: 13.5px; font-weight: 700; color: #ff3b30; }
.gp-del { font-size: 12px; color: #a8aebb; }

.gp-sum {
  margin: 12px; background: #fff; border-radius: 12px;
  padding: 12px 14px; box-shadow: var(--shadow);
}
.gp-sum-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 5px 0; font-size: 13.5px; color: var(--text-2);
}
.gp-sum-row b { font-size: 15px; color: var(--text); font-weight: 600; }
.gp-sum-row b small { font-size: 12px; color: #8d94a4; font-weight: 400; margin-left: 4px; }
.gp-c-supply { color: #5b6274 !important; }
.gp-c-retail { color: #ff3b30 !important; }
.gp-c-gap { color: #12b76a !important; }
.gp-sum-tip {
  margin-top: 7px; padding-top: 8px; border-top: 1px dashed #f0f2f7;
  font-size: 11.5px; color: #a8aebb; line-height: 1.5;
}

/* 「更新数量」做成轻描边按钮，别跟汇总卡糊成一片 */
.gp-upd { background: #fff; color: var(--brand); border: 1px solid #ffd7bf; }
/* 企微客服走绿色，跟下载按钮区分开 */
.gp-wecom { background: #fff; color: #07944f; border: 1px solid #c8ecd8; }

.gp-acts { padding: 0 12px 16px; display: flex; flex-direction: column; gap: 9px; }
.gp-acts .btn { height: 46px; font-size: 15px; }
.gp-note { font-size: 11.5px; color: #a8aebb; text-align: center; line-height: 1.5; }

.gp-qr {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.gp-qr img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.gp-qr-t { font-size: 14px; font-weight: 600; }
.gp-qr-d { font-size: 12px; color: #98a0b0; margin-top: 3px; }

/* =========================================================
   v1.26 福利类型标签 + 礼品方案推荐（淘宝橙 / 红 / 蓝）
   ========================================================= */

/* ---- 福利类型标签行（招标 / 商机 / 货源 搜索条下方） ---- */
.wf-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px;
  background: #fff; border-bottom: 1px solid #f2f3f6;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.wf-bar::-webkit-scrollbar { display: none; }
.wf {
  flex: 0 0 auto; font-size: 13.5px; line-height: 1; padding: 8px 14px;
  border-radius: 16px; background: #f5f5f7; color: #5b6274;
  border: 1px solid transparent; white-space: nowrap;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.wf:active { opacity: .86; }
.wf.on {
  background: linear-gradient(135deg, #ff8a1a, #ff5000); color: #fff;
  font-weight: 600; border-color: #ff5000;
  box-shadow: 0 3px 9px rgba(255, 80, 0, .24);
}
/* 未选中时给每个福利类型一点淡色，和商品卡上的标签呼应 */
.wf-jq { color: #e8590c; background: #fff4ec; }
.wf-ww { color: #d4380d; background: #fff1f0; }
.wf-dg { color: #d6336c; background: #fff0f6; }
.wf-dy { color: #1e6fff; background: #eef4ff; }
.wf-tj { color: #0a9b5c; background: #eafaf1; }
.wf-ly { color: #b07d12; background: #fdf8e8; }
.wf-fs { color: #0e8f9e; background: #e9f8fa; }
.wf-qt { color: #6b7280; background: #f5f5f7; }

/* ---- 福利类型小标签（列表卡片 / 详情页 kv） ---- */
.wftag {
  display: inline-block; font-size: 12px; line-height: 1; padding: 5px 8px;
  border-radius: 4px; white-space: nowrap;
  background: #fff4ec; color: #e8590c;
}
a.wftag { text-decoration: none; }
.wftag-jq { background: #fff4ec; color: #e8590c; }
.wftag-ww { background: #fff1f0; color: #d4380d; }
.wftag-dg { background: #fff0f6; color: #d6336c; }
.wftag-dy { background: #eef4ff; color: #1e6fff; }
.wftag-tj { background: #eafaf1; color: #0a9b5c; }
.wftag-ly { background: #fdf8e8; color: #b07d12; }
.wftag-fs { background: #e9f8fa; color: #0e8f9e; }
.wftag-qt { background: #f5f5f7; color: #6b7280; }

/* ---- 招标列表：整卡可点 + 底部独立推荐链接 ---- */
.bit .bit-hit { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 1; }
.bit-gift {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 8px 10px; border-radius: 7px;
  background: linear-gradient(90deg, #fff7f2, #fff);
  border: 1px solid #ffe1cd;
  font-size: 13px; color: #8a4b1f;
}
.bit-gift:active { background: #fff1e6; }
.bit-gift .bg-ico { font-size: 14px; line-height: 1; }
.bit-gift .bg-t { font-weight: 600; }
.bit-gift .bg-m { margin-left: auto; color: var(--brand); font-weight: 600; white-space: nowrap; }
/* 列表里的福利 chip 用福利色，别和地点的蓝 chip 混在一起 */
.bchip-wf { background: #fff4ec; color: #e8590c; }
.bchip-wf.wftag-jq { background: #fff4ec; color: #e8590c; }
.bchip-wf.wftag-ww { background: #fff1f0; color: #d4380d; }
.bchip-wf.wftag-dg { background: #fff0f6; color: #d6336c; }
.bchip-wf.wftag-dy { background: #eef4ff; color: #1e6fff; }
.bchip-wf.wftag-tj { background: #eafaf1; color: #0a9b5c; }
.bchip-wf.wftag-ly { background: #fdf8e8; color: #b07d12; }
.bchip-wf.wftag-fs { background: #e9f8fa; color: #0e8f9e; }
.bchip-wf.wftag-qt { background: #f5f5f7; color: #6b7280; }

/* ---- 招标详情：此项目礼品方案推荐 ---- */
.gift-reco { background: #fff; margin-top: 10px; padding: 14px 0; }
.gift-reco .gr-hd {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; padding: 0 14px 10px;
}
.gift-reco .gr-hd h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; line-height: 1.3; }
.gift-reco .gr-hd h3 .bar {
  display: inline-block; width: 3px; height: 14px; background: var(--brand);
  border-radius: 2px; margin-right: 7px;
}
.gift-reco .gr-sub { font-size: 12px; color: var(--text-3); margin-top: 5px; line-height: 1.4; }
.gift-reco .gr-all {
  flex: 0 0 auto; font-size: 12.5px; color: var(--brand); font-weight: 600;
  padding-top: 2px; white-space: nowrap;
}
.gr-list {
  display: flex; gap: 9px; overflow-x: auto; padding: 0 14px 2px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gr-list::-webkit-scrollbar { display: none; }
.gr-card {
  flex: 0 0 112px; width: 112px; background: #fff; border: 1px solid #f0f1f5;
  border-radius: 9px; overflow: hidden;
}
.gr-img { position: relative; display: block; width: 100%; padding-top: 100%; background: #f6f6f6; }
.gr-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-img .ph {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #c9c9c9;
}
.gr-b { display: block; padding: 7px 8px 9px; }
.gr-nm {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; height: 34px; font-size: 12.5px; line-height: 1.36; color: #23262f;
}
.gr-p { display: flex; align-items: baseline; gap: 4px; margin-top: 5px; font-size: 12px; color: #8d94a4; }
.gr-p i { font-style: normal; font-size: 10.5px; padding: 1px 4px; border-radius: 3px; background: #f3f4f7; color: #8d94a4; }
.gr-p b { font-size: 13.5px; font-weight: 700; color: #5b6274; }
.gr-p.gr-r b { color: var(--danger); }

/* ---- 商机：福利标签与截止时间同一行 ---- */
.bz-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.bz-line .bz-dl { margin-top: 0; }

/* ---- v1.27 商机：关注优先提示条 ---- */
.bz-ftip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 10px 16px 2px; padding: 8px 12px; border-radius: 9px;
  background: #fff5f6; border: 1px solid #ffe1e6;
  font-size: 12.5px; line-height: 1.45; color: #a8374b;
}
.bz-ftip .bz-ftip-t { flex: 1; min-width: 0; }
.bz-ftip .bz-ftip-t b { color: var(--danger); font-weight: 700; }
.bz-ftip .bz-ftip-a { flex: 0 0 auto; color: var(--danger); font-weight: 600; }
.bz-ftip .bz-ftip-a:active { opacity: .7; }

/* ---- v1.27 后台自定义福利分类的备用配色（不影响原有 8 类） ---- */
.wf-x1 { color: #4f46e5; background: #eef0ff; }
.wf-x2 { color: #0f766e; background: #e6f6f4; }
.wf-x3 { color: #9f1239; background: #fdf0f3; }
.wf-x4 { color: #92400e; background: #fdf3e7; }
.wftag-x1 { background: #eef0ff; color: #4f46e5; }
.wftag-x2 { background: #e6f6f4; color: #0f766e; }
.wftag-x3 { background: #fdf0f3; color: #9f1239; }
.wftag-x4 { background: #fdf3e7; color: #92400e; }
