:root {
  --primary: #f26b1d;
  --primary-dark: #d9550f;
  --primary-light: #fff3ea;
  --ink: #22252a;
  --ink-2: #5b6470;
  --ink-3: #8b939e;
  --line: #e8eaee;
  --bg: #f7f8fa;
  --card: #ffffff;
  --green: #16a34a;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(30, 40, 60, 0.07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 62px; }
.logo { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); margin-left: 8px; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); font-weight: 600; }
.nav .spacer { flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; transition: 0.18s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.btn-lg { padding: 13px 30px; font-size: 16px; border-radius: 12px; }

/* ===== 首页 Hero ===== */
.hero {
  background: linear-gradient(135deg, #fff6ef 0%, #fdeedd 55%, #fbe3c8 100%);
  padding: 64px 0 70px;
}
.hero h1 { font-size: 38px; font-weight: 800; letter-spacing: 1px; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p.sub { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-chips span {
  font-size: 13px; color: #9a5b21; background: rgba(255,255,255,.75);
  border: 1px solid rgba(234,138,60,.25); border-radius: 999px; padding: 4px 13px;
}
.hero-search {
  margin-top: 30px; display: flex; gap: 12px; max-width: 640px;
  background: #fff; padding: 10px; border-radius: 16px; box-shadow: var(--shadow);
}
.hero-search input {
  flex: 1; border: none; outline: none; font-size: 16px; padding: 0 12px; background: transparent;
}
.hero-tags { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.hero-tags a { margin-right: 14px; }
.hero-tags a:hover { color: var(--primary); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; max-width: 760px; }
.hero-stats > div {
  background: rgba(255,255,255,.72); border: 1px solid rgba(234,138,60,.18);
  border-radius: 14px; padding: 13px 16px;
}
.hero-stats b { font-size: 25px; color: var(--primary); }
.hero-stats span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ===== 区块通用 ===== */
.section { padding: 54px 0; }
.sec-list { padding-top: 34px; }
@media (max-width: 700px) {
  .sec-list { padding-top: 14px; }
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.section-head h2 { font-size: 24px; font-weight: 800; }
.section-head .more { font-size: 14px; color: var(--ink-3); }
.section-head .more:hover { color: var(--primary); }

/* 类型/场景切换 */
.cat-tabs { display: flex; gap: 8px; align-items: center; }
.cat-tabs .chip { font-size: 14px; padding: 7px 20px; }
.cat-tabs .chip.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }

/* 服务分类 */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  background: var(--card); border-radius: var(--radius); padding: 22px 10px; text-align: center;
  border: 1px solid var(--line); cursor: pointer; transition: 0.18s;
}
.cat:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat .ico { font-size: 30px; }
.cat .t { margin-top: 8px; font-size: 14px; font-weight: 600; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-top: 12px; font-size: 16px; }
.step p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }

/* ===== 搭建商卡片 ===== */
.builder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; cursor: pointer; transition: 0.18s; position: relative;
}
.b-card .b-foot { margin-top: auto; }
.b-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.b-card .badge { position: absolute; top: 14px; right: 14px; font-size: 11px; background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.b-card h3 { font-size: 16.5px; font-weight: 700; padding-right: 70px; }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.b-meta > * { white-space: nowrap; }
.b-meta .rate { color: var(--primary); font-weight: 700; }
.b-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; background: var(--bg); color: var(--ink-2); padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); }
.b-intro { margin-top: 12px; font-size: 13px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
.b-foot .price b { color: var(--primary); font-size: 15px; }

/* ===== 筛选栏 ===== */
.filter-bar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px;
}
.filter-bar label { font-size: 13px; color: var(--ink-3); margin-right: 2px; }
.chip {
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; cursor: pointer; color: var(--ink-2); transition: 0.15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
/* 发布需求「指定服务商」：非当前服务类型/地区的候选，淡色区分 */
.chip-alt { border-style: dashed; color: var(--ink-3); background: var(--bg); }

/* ===== 需求大厅 ===== */
.req-list { display: grid; gap: 12px; }
.req-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 18px; align-items: flex-start; }
.req-item .ico { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.req-item h3 { font-size: 15.5px; }
.req-item h3 .loc { color: var(--ink-3); font-size: 13px; font-weight: 400; margin-left: 8px; }
.req-item p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.req-info { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.req-info b { color: var(--primary); }
.req-time { margin-left: auto; font-size: 12px; color: var(--ink-3); flex: none; }

/* ===== 服务商详情：拨打条 / 导航分享 / Toast ===== */
.call-bar {
  display: flex; align-items: center; gap: 12px; margin: 2px 0 16px;
  background: linear-gradient(135deg, #ff9d2e, #f26b1d); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(242,107,29,0.25);
}
.call-ico {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none;
}
.call-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.call-info b { color: #fff; font-size: 19px; letter-spacing: 0.5px; }
.call-info span { color: rgba(255,255,255,0.85); font-size: 11.5px; }
.call-btn {
  flex: none; background: #ffd21e; color: #7a4a00; font-weight: 800; font-size: 15px;
  padding: 9px 22px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.call-btn:active { transform: scale(0.96); }
.provider-actions { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-top: 14px; }
.pa-btn {
  border: none; border-radius: 12px; padding: 12px 10px; font-size: 14.5px; font-weight: 700;
  cursor: pointer; transition: 0.15s; font-family: inherit;
}
.pa-nav { background: var(--primary); color: #fff; }
.pa-nav:active { transform: scale(0.97); }
.pa-share { background: var(--primary-light, #fff3ea); color: var(--primary); }
.pa-share:active { transform: scale(0.97); }
#pddToast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(16px);
  background: rgba(20,20,20,0.86); color: #fff; font-size: 13.5px; padding: 10px 18px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: 0.25s; z-index: 300; max-width: 80vw;
}
#pddToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 小程序风格分享面板 ===== */
.share-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 220;
  opacity: 0; transition: opacity .25s;
}
.share-mask.show { opacity: 1; }
.share-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 221;
  background: #f6f7f9; border-radius: 20px 20px 0 0;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.32,.72,.32,1);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  max-height: 88vh; overflow: auto;
}
.share-sheet.show { transform: translateY(0); }
.share-head { padding: 16px 18px 6px; text-align: center; }
.share-head b { font-size: 15px; }
.share-head .sh-sub {
  font-size: 12px; color: var(--ink-3); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.share-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 12px 10px 6px;
}
.share-opt {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 8px 0 10px; border: none; background: none; cursor: pointer;
  font-size: 12px; color: var(--ink-2); font-family: inherit;
}
.share-opt:active .share-ico { transform: scale(.92); }
.share-ico {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .15s;
}
.si-wx { background: #22c55e; }
.si-pyq { background: #10b981; }
.si-link { background: #3b82f6; }
.si-poster { background: #f59e0b; }
.share-cancel {
  display: block; width: calc(100% - 20px); margin: 8px auto 0; padding: 13px;
  background: #fff; border: none; border-radius: 12px; font-size: 15px;
  color: var(--ink-2); cursor: pointer; font-family: inherit;
}
.share-cancel:active { background: #eceef1; }
.share-poster-loading { grid-column: 1 / -1; text-align: center; padding: 34px 0; font-size: 13px; color: var(--ink-3); }
/* 海报卡 */
.share-poster { grid-column: 1 / -1; }
.sp-card {
  background: linear-gradient(160deg, #fff 0%, #fff8f2 100%);
  border: 1px solid rgba(242,107,29,.18); border-radius: 16px;
  max-width: 300px; margin: 0 auto; padding: 16px 16px 14px; text-align: center;
}
.sp-brand { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.sp-mark {
  width: 18px; height: 18px; border-radius: 5px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.sp-title { display: block; font-size: 15px; margin-top: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-qr { margin: 10px auto 6px; width: 176px; }
.sp-qr svg { width: 176px !important; height: 176px !important; display: block; }
.sp-qr-fallback { width: 176px; height: 176px; margin: 10px auto 6px; border: 1px dashed var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--ink-3); }
.sp-tip { font-size: 12px; color: var(--ink-2); margin: 0; }
.sp-url { font-size: 11px; color: var(--ink-3); margin-top: 4px; }

/* ===== 后台地图选点 ===== */
.loc-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loc-line span { font-size: 13px; color: var(--ink-2); flex: 1; min-width: 180px; }
#mapPicker { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 260; display: none; align-items: flex-end; justify-content: center; }
#mapPicker.show { display: flex; }
.mp-panel {
  background: #fff; border-radius: 18px 18px 0 0; width: 100%; max-width: 560px; max-height: 92vh;
  display: flex; flex-direction: column; padding: 16px; gap: 10px;
}
.mp-head { display: flex; align-items: center; justify-content: space-between; }
.mp-head b { font-size: 17px; }
.mp-close { border: none; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-3); }
.mp-search { display: flex; gap: 8px; }
.mp-search input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; outline: none; }
.mp-search button { border: none; background: var(--primary); color: #fff; border-radius: 10px; padding: 0 18px; font-weight: 700; cursor: pointer; }
#mpResults { max-height: 120px; overflow-y: auto; }
.mp-result { padding: 8px 6px; font-size: 12.5px; border-bottom: 1px solid var(--line); cursor: pointer; line-height: 1.5; }
.mp-result:active { background: var(--primary-light); }
#mpMap { position: relative; height: 46vh; min-height: 280px; border-radius: 12px; overflow: hidden; background: #eef1f4; z-index: 1; }
.mp-tip { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 999px; z-index: 500; white-space: nowrap; }
.mp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mp-foot > span { font-size: 13px; color: var(--ink-2); }
@media (min-width: 700px) {
  #mapPicker { align-items: center; }
  .mp-panel { border-radius: 18px; }
}

/* ===== 知识库富文本编辑器 ===== */
.rt-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; align-items: center; }
.rt-toolbar button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; min-width: 34px;
  padding: 6px 10px; font-size: 13.5px; cursor: pointer; color: var(--ink-1); font-family: inherit;
}
.rt-toolbar button:active { background: var(--primary-light); border-color: var(--primary); }
.rt-editor {
  min-height: 240px; max-height: 52vh; overflow-y: auto; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.8; background: #fff;
  outline: none; word-break: break-word;
}
.rt-editor:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242,107,29,0.12); }
.rt-editor img { max-width: 100%; height: auto; border-radius: 8px; margin: 6px 0; }
.rt-editor h2 { font-size: 19px; margin: 14px 0 8px; }
.rt-editor h3 { font-size: 16.5px; margin: 12px 0 6px; }
.rt-editor p { margin: 0 0 10px; }
.rt-editor ul, .rt-editor ol { padding-left: 22px; margin: 0 0 10px; }
.rt-editor blockquote {
  margin: 0 0 10px; padding: 8px 14px; border-left: 3px solid var(--primary);
  background: var(--primary-light); border-radius: 0 8px 8px 0; color: var(--ink-2);
}
/* 文章详情富文本排版 */
.art-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.art-body h2, .art-body h3 { margin: 18px 0 8px; }
.art-body ul, .art-body ol { padding-left: 22px; margin: 0 0 12px; }
.art-body blockquote {
  margin: 0 0 12px; padding: 10px 16px; border-left: 3px solid var(--primary);
  background: var(--primary-light); border-radius: 0 8px 8px 0; color: var(--ink-2);
}
.prod-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-pick .chip { cursor: pointer; user-select: none; }
.prod-pick .chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== 表单页 ===== */
.form-wrap { max-width: 640px; margin: 40px auto 70px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 22px; margin-bottom: 6px; }
.form-card .desc { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.f-row { margin-bottom: 18px; }
.f-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.f-row label i { color: var(--primary); font-style: normal; margin-left: 2px; }
.f-row input[type="text"], .f-row input[type="tel"], .f-row input[type="date"], .f-row input[type="password"], .f-row input[type="email"], .f-row input[type="number"], .f-row input[type="url"], .f-row input[type="search"], .f-row select, .f-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; outline: none; background: #fff; font-family: inherit; transition: 0.15s;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242,107,29,0.12); }
.f-row textarea { min-height: 96px; resize: vertical; }

/* 图形验证码（发布需求 / 服务商入驻） */
.cap-row { display: flex; gap: 10px; align-items: stretch; }
.cap-row input { flex: 1 1 auto; min-width: 0; letter-spacing: 3px; text-transform: uppercase; }
.cap-img { flex: 0 0 auto; width: 132px; height: 44px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #f4f7fb; display: flex; align-items: center; justify-content: center; user-select: none; }
.cap-img svg { display: block; }
.cap-img:hover { border-color: var(--primary); }
.cap-load { font-size: 12px; color: var(--ink-3); }
.f-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks .chip.on { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.form-ok { text-align: center; padding: 30px 10px; }
.form-ok .big { font-size: 46px; }
.form-ok h3 { margin-top: 12px; font-size: 19px; }
.form-ok p { margin-top: 8px; color: var(--ink-3); font-size: 14px; }
.form-err { background: #fff1f0; color: #cf1322; border: 1px solid #ffccc7; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; display: none; }

/* ===== 详情弹窗 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(15,20,30,0.45); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 86vh; overflow: auto; padding: 30px; }
.modal h2 { font-size: 20px; }
.modal .close { float: right; border: none; background: none; font-size: 22px; color: var(--ink-3); cursor: pointer; }
.modal .kv { display: grid; grid-template-columns: 76px 1fr; gap: 9px 12px; margin-top: 16px; font-size: 13.5px; align-items: start; }
.modal .kv dt { color: var(--ink); font-weight: 700; white-space: nowrap; margin: 0; }
.modal .kv dd { color: var(--ink-2); font-size: 13px; line-height: 1.6; margin: 0; }
.modal .phone-box { margin-top: 22px; background: var(--primary-light); border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.modal .phone-box b { font-size: 20px; color: var(--primary); letter-spacing: 1px; }

/* ===== 页脚 ===== */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; margin-top: 20px; color: var(--ink-3); font-size: 13px; text-align: center; }

.empty { text-align: center; color: var(--ink-3); padding: 50px 0; font-size: 15px; }

/* ===== 标签补充 ===== */
.type-tag { background: var(--primary-light); color: var(--primary); font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.scene-tag { background: #eef6ff; border-color: #d6e6fb !important; color: #2563eb; }
.tag-media { background: #f0fdf4; border-color: #bbf7d0 !important; color: var(--green); }

/* ===== 头像 / Logo ===== */
.avatar { flex: none; border-radius: 50%; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; object-fit: cover; }
.avatar-sm { width: 44px; height: 44px; font-size: 20px; }
.avatar-lg { width: 58px; height: 58px; font-size: 26px; }
.b-head { display: flex; align-items: center; gap: 12px; padding-right: 70px; }
.b-head h3 { padding-right: 0; overflow-wrap: anywhere; }
.cert-tag { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; color: #15803d; background: #e8f5ee; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
/* 长公司名安全换行（详情页 h1/h2），避免与右侧元素挤压重叠 */
.b-head h1, .b-head h2 { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.b-head > div { flex: 1; min-width: 0; }

/* ===== 自媒体内容库（弹窗内） ===== */
.media-box { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); }
.media-title { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.media-title span { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.media-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; transition: 0.15s; }
.media-item:last-child { margin-bottom: 0; }
.media-item:hover { border-color: var(--primary); }
.media-item .m-platform { flex: none; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.media-item .m-note { flex: 1; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-item .m-fans { flex: none; font-size: 12px; color: var(--ink-3); }
.media-item-group { margin-bottom: 12px; }
.media-item-group:last-child { margin-bottom: 0; }
.v-list { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.v-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: 0.15s; }
.v-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.v-card.playable { cursor: pointer; }
.v-thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #e8f4fd, #d3e9fa); overflow: hidden; }
.v-thumb .v-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.v-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; padding-left: 2px; pointer-events: none; }
.v-corner { position: absolute; top: 6px; left: 6px; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 20px; pointer-events: none; }
.v-corner.manual { background: rgba(22,163,74,0.92); color: #fff; }
.v-corner.auto { background: rgba(37,99,235,0.92); color: #fff; }
.v-name { padding: 7px 9px 2px; font-size: 12.5px; color: var(--ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.v-sub { padding: 0 9px 8px; font-size: 11px; color: var(--ink-3); }

/* ===== 视频播放弹窗 ===== */
.video-mask { z-index: 200; }
.video-modal { max-width: 780px; padding: 0; overflow: hidden; background: #101318; }
.video-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; color: #fff; }
.video-head b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-head .close { color: #fff; opacity: 0.75; }
.video-head .close:hover { opacity: 1; }
.video-body video, .video-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: none; background: #000; }
.video-fallback { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #cbd2dc; }
.video-fallback .big { font-size: 42px; }
.video-fallback p { font-size: 14.5px; }
.video-fallback .btn { margin-top: 6px; }

/* 入驻表单自媒体输入 */
.media-inputs input { width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; outline: none; }
.media-inputs input:focus { border-color: var(--primary); }

/* ===== 知识库 ===== */
.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.art-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: 0.18s; }
.art-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.art-cat { display: inline-block; font-size: 12px; background: var(--primary-light); color: var(--primary); font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.art-card h3 { margin-top: 10px; font-size: 16.5px; line-height: 1.45; }
.art-card p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-foot { margin-top: 12px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }

/* 文章详情 */
.article-wrap h1 { font-size: 24px; line-height: 1.5; margin: 12px 0 6px; }
.article-wrap h3 { font-size: 17px; margin: 22px 0 10px; padding-left: 10px; border-left: 4px solid var(--primary); }
.article-wrap p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.9; }
.article-wrap p b { color: var(--ink); }
.art-cta { margin-top: 26px; background: var(--primary-light); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.art-cta b { font-size: 15.5px; }
.art-cta span { font-size: 13.5px; color: var(--ink-2); }
.art-cta .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 860px) {
  .art-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .builder-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .f-grid2 { grid-template-columns: 1fr; }
}

/* ============================================================
   移动端适配层（小程序风格）—— 桌面端不受影响
   ============================================================ */

/* ===== 底部 Tab 栏（仅移动端显示） ===== */
.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-inner { display: grid; grid-template-columns: repeat(5, 1fr); height: 56px; }
.tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; color: var(--ink-3); position: relative; }
.tab-item .t-ico { font-size: 21px; line-height: 1; }
.tab-item.on { color: var(--primary); font-weight: 600; }
.tab-item.tab-publish .t-ico {
  width: 44px; height: 44px; margin-top: -18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(242,107,29,0.4); border: 3px solid #fff;
}
.tab-item.tab-publish { color: var(--ink-3); }

/* ===== 小程序式顶部搜索栏（定位城市 + 搜索，全端显示） ===== */
.m-searchbar {
  display: flex;
  position: sticky; top: 62px; z-index: 49;
  align-items: center; gap: 10px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 2px 10px rgba(242, 107, 29, 0.28);
}
/* 桌面端：内容与导航栏（.container 1120px）左右对齐 */
@media (min-width: 701px) {
  .m-searchbar { padding: 10px max(14px, calc((100% - 1080px) / 2)); }
  .m-loc { font-size: 14.5px; max-width: 140px; }
  .m-loc b { max-width: 96px; }
  .m-search { max-width: 560px; height: 38px; }
}
.m-loc {
  display: flex; align-items: center; gap: 3px; flex: none;
  color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer;
  max-width: 118px; white-space: nowrap;
}
.m-loc b { max-width: 76px; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.m-caret {
  width: 0; height: 0; margin-top: 2px; flex: none;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.92);
}
.m-search {
  flex: 1; min-width: 0; display: flex; align-items: center;
  background: #fff; border-radius: 20px; height: 36px; padding: 0 6px 0 14px;
}
.m-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink);
}
.m-search input::placeholder { color: var(--ink-3); }
.m-search button {
  border: none; background: transparent; cursor: pointer;
  font-size: 16px; padding: 4px 8px; line-height: 1;
}
/* 城市选择抽屉 */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.city-item {
  text-align: center; padding: 11px 4px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; background: var(--bg); transition: 0.15s;
}
.city-item:hover { border-color: var(--primary); color: var(--primary); }
.city-item.on {
  border-color: var(--primary); color: var(--primary);
  background: var(--primary-light); font-weight: 700;
}
@media (max-width: 700px) {
  .m-searchbar { display: flex; top: 48px; padding: 8px 12px; box-shadow: 0 2px 8px rgba(242, 107, 29, 0.22); }
}

/* ===== 平板 / 大屏手机 ===== */
@media (max-width: 900px) {
  .builder-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .art-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .cats { grid-template-columns: repeat(4, 1fr) !important; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ===== 手机端 ===== */
@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .container { padding: 0 14px; }

  /* 顶部导航精简：橙色一体化头部（与下方搜索栏无缝衔接） */
  .nav { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-bottom: none; }
  .nav-inner { gap: 10px; height: 48px; }
  .nav-links, .nav .spacer, .nav .btn-ghost { display: none; }
  .nav .logo { color: #fff; font-size: 18px; gap: 7px; }
  .nav .logo .mark { background: #fff; color: var(--primary); width: 26px; height: 26px; border-radius: 7px; font-size: 14px; }
  .nav .btn { background: #fff; color: var(--primary); padding: 5px 13px; font-size: 12.5px; border-radius: 15px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,0.12); }
  .nav .btn:active { background: #fff7f0; }

  /* 底部 Tab 栏启用 */
  .tabbar { display: block; }

  /* 首页 Hero */
  .hero { padding: 30px 0 26px; }
  .hero h1 { font-size: 30px !important; line-height: 1.35; letter-spacing: 0; }
  .hero h1 .hl2 { display: block; }
  .hero p.sub { font-size: 14px; line-height: 1.7; }
  .hero-chips { gap: 6px; margin-top: 12px; }
  .hero-chips span { font-size: 12px; padding: 3px 11px; }
  .hero-search { flex-direction: column; gap: 10px; }
  .hero-search input { width: 100%; }
  .hero-search .btn { width: 100%; padding: 12px; }
  .hero-tags { line-height: 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px !important; max-width: none; }
  .hero-stats > div { padding: 12px 14px; border-radius: 12px; }

  /* 分类宫格 */
  .section { padding: 30px 0; }
  .section-head { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .section-head h2 { font-size: 19px; }
  .cats { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
  .cat { padding: 16px 4px !important; }
  .cat .ico { font-size: 34px !important; }
  .cat .t { font-size: 13.5px !important; }

  /* 卡片列表 */
  .builder-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .art-grid { grid-template-columns: 1fr !important; }
  .req-list { gap: 10px !important; }
  .req-item { padding: 14px !important; }
  .req-info { gap: 8px; }
  .req-info span { font-size: 12px; }

  /* 服务商卡片 */
  .b-card { padding: 15px !important; }
  .b-card h3 { font-size: 16px !important; }
  .b-meta { flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }
  .b-tags { flex-wrap: wrap; }
  .b-intro { font-size: 12.5px; }

  /* 筛选栏 */
  .filter-card { padding: 14px !important; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 6px !important; }
  .filter-bar label { margin-right: 0 !important; }
  .checks { gap: 7px; }

  /* 表单 */
  .form-card { padding: 20px 16px !important; }
  .f-grid2 { grid-template-columns: 1fr !important; gap: 0 !important; }
  .form-card input, .form-card select, .form-card textarea { font-size: 16px !important; } /* 防 iOS 聚焦缩放 */
  textarea { min-height: 90px; }

  /* 详情弹窗 → 底部抽屉 */
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal {
    max-width: 100% !important; width: 100% !important;
    border-radius: 18px 18px 0 0 !important;
    max-height: 88vh !important; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)) !important;
    animation: sheetUp 0.25s ease;
  }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } }
  .modal h2 { font-size: 18px !important; }
  .modal .kv dd { word-break: break-all; }

  /* 自媒体内容库 */
  .v-list { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .v-name { font-size: 12px; }

  /* 视频播放弹窗 → 全屏 */
  .video-modal { border-radius: 0 !important; max-height: 100vh !important; height: 100vh; display: flex; flex-direction: column; padding: 0 !important; }
  .video-head { padding: 14px 16px; flex: none; }
  .video-body { flex: 1; display: flex; align-items: center; justify-content: center; }
  .video-body video, .video-body iframe { width: 100% !important; height: auto !important; max-height: 100%; }

  /* 知识库 */
  .article-wrap h1 { font-size: 20px !important; }
  .article-wrap p { font-size: 14.5px; }

  /* 步骤/页脚 */
  .steps { grid-template-columns: 1fr !important; }
  footer { padding: 24px 0 calc(30px + 64px) !important; }

  /* 触控目标放大 */
  .chip { padding: 6px 13px !important; }
  .btn { min-height: 40px; }
}

/* ===== 小屏手机 ===== */
@media (max-width: 380px) {
  .cats { grid-template-columns: repeat(4, 1fr) !important; }
  .cat { padding: 12px 2px !important; }
  .cat .ico { font-size: 30px !important; }
  .cat .t { font-size: 12.5px !important; }
  .hero h1 { font-size: 27px !important; }
  .hero-stats { gap: 8px !important; }
  .hero-stats b { font-size: 19px !important; }
  .hero-stats span { font-size: 11.5px !important; }
}

/* ===== 用户中心组件 ===== */
.filter-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.filter-card .filter-bar { background: transparent; border: none; padding: 0; margin-bottom: 12px; }
.filter-card .filter-bar:last-child { margin-bottom: 0; }
.panel-title { font-size: 17px; font-weight: 700; margin: 22px 0 12px; }
.st-tag { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 20px; margin-left: 6px; vertical-align: 1px; }
.st-tag.open, .st-tag.approved { background: #f0fdf4; color: var(--green); border: 1px solid #bbf7d0; }
.st-tag.pending { background: #fefce8; color: #a16207; border: 1px solid #fde68a; }
.st-tag.closed, .st-tag.offline { background: var(--bg); color: var(--ink-3); border: 1px solid var(--line); }
.mini-btn { font-size: 12.5px; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; white-space: nowrap; text-decoration: none; text-align: center; }
.mini-btn:hover { border-color: var(--primary); color: var(--primary); }
.mini-btn.danger { color: #dc2626; border-color: #fecaca; }
.mini-btn.danger:hover { border-color: #dc2626; }
.prod-tag { display: inline-block; font-size: 11.5px; background: var(--primary-light); color: var(--primary); padding: 1px 9px; border-radius: 20px; margin-right: 5px; margin-bottom: 4px; }
.prod-more { font-size: 11.5px; color: var(--ink-3); }
.art-prods { margin-top: 8px; }
/* Tab 栏 7 项（服务商与发布之间新增"品牌榜"） */
.tabbar-inner { grid-template-columns: repeat(7, 1fr); }
/* 窄屏（≤360px）7 项会更挤，略缩字号与图标保证不换行、可点 */
@media (max-width: 360px) {
  .tabbar-inner { height: 52px; }
  .tab-item { font-size: 9.5px; gap: 1px; }
  .tab-item .t-ico { font-size: 19px; }
  .tab-item.tab-publish .t-ico { width: 40px; height: 40px; font-size: 22px; margin-top: -15px; }
}

/* ===== 列表分页（每页 10 条，超过才显示） ===== */
.pg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 4px; }
.pg-info { font-size: 12.5px; color: #6b7280; margin-right: 6px; }
.pg-btn { min-width: 34px; height: 32px; padding: 0 10px; border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; font-size: 13px; color: #374151; cursor: pointer; transition: all .15s; }
.pg-btn:hover:not(.dis):not(.on) { border-color: var(--primary); color: var(--primary); }
.pg-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; cursor: default; }
.pg-btn.dis { opacity: .45; cursor: not-allowed; }
.pg-dots { color: #9ca3af; padding: 0 2px; }
@media (max-width: 700px) { .pg-bar { margin: 14px 0 2px; gap: 5px; } .pg-btn { min-width: 30px; height: 30px; padding: 0 8px; font-size: 12.5px; } .pg-info { width: 100%; text-align: center; margin: 0 0 4px; } }

/* ===== 服务商详情页改版：轮播/资质/案例/评价/FAQ/转化 ===== */
.pv-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); gap: 0; scrollbar-width: none; background: #eef0f3; }
.pv-carousel::-webkit-scrollbar { display: none; }
.pv-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 8; }
.pv-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 轮播圆点指示器 */
.pv-dots { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 9px; }
.pv-dots i { width: 7px; height: 7px; border-radius: 4px; background: #c9ced6; cursor: pointer; transition: background .2s, width .2s; }
.pv-dots i.on { background: var(--primary); width: 18px; }
.pv-sec { margin-top: 26px; }
.pv-sec h2 { font-size: 18px; display: flex; align-items: baseline; gap: 8px; }
.pv-sec-t { font-size: 16px; margin-bottom: 10px; display: flex; align-items: baseline; gap: 8px; }
.pv-sub { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
/* 服务商详情页信息表：标题加粗（左）+ 内容同行（右，单行不折行、字号略小） */
.pv-kv { display: grid; grid-template-columns: 76px 1fr; gap: 9px 12px; margin-top: 18px; font-size: 13.5px; align-items: center; }
.pv-kv dt { font-weight: 700; color: var(--ink); white-space: nowrap; margin: 0; }
.pv-kv dd {
  color: var(--ink-2); font-size: 12.5px; line-height: 1.5; margin: 0;
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .pv-kv { grid-template-columns: 66px 1fr; gap: 8px 10px; font-size: 13px; }
  .pv-kv dd { font-size: 12px; }
}
/* ===== 网站 / 电商库（官网与电商店铺直通车） ===== */
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.link-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--card, #fff); border: 1px solid var(--line); border-radius: 10px;
  transition: 0.15s; min-width: 0;
}
.link-item:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.07); }
.link-ico { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--primary-light, #fff3e6); border-radius: 9px; }
.link-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-txt b { font-size: 13.5px; color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-txt i { font-style: normal; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-go { flex: none; font-size: 13px; color: var(--primary); font-weight: 700; }
@media (max-width: 700px) {
  .link-list { grid-template-columns: 1fr; }
}
.qual-tag { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.qual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.qual-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; font-size: 12px; color: var(--ink-2); }
.qual-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; cursor: zoom-in; background: #f2f3f5; }
.qual-ph { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #f2f3f5; border-radius: 7px; }
/* 产品服务 / 无图资质：文字卡（尺寸对齐资质图区 4:3） */
.svc-txt { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12px 10px; background: linear-gradient(135deg, #eaf2ff, #e7f6ef); border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--primary); line-height: 1.4; overflow-wrap: anywhere; }
.qual-txt { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12px 10px; background: #f7f8fa; border: 1px dashed var(--line); border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.45; overflow-wrap: anywhere; }
/* 无图案例：纯文字卡（不再显示占位图标区） */
.case-card.case-text { display: flex; flex-direction: column; }
.case-card.case-text .case-info { flex: 1; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.case-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; cursor: zoom-in; background: #f2f3f5; }
.case-ph { width: 100%; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; font-size: 30px; background: #f2f3f5; }
.case-info { padding: 10px 12px 12px; }
.case-info b { font-size: 14.5px; }
.case-area { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 0 8px; border-radius: 12px; }
.case-info p { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.review-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-top: 10px; }
.rv-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.review-item p { font-size: 13.5px; margin-top: 4px; color: var(--ink-2); }
.rv-author { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-top: 8px; }
.faq-item summary { font-size: 14px; font-weight: 600; cursor: pointer; }
.faq-item p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.pv-consult { margin-top: 24px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-consult .btn { flex: 1 1 180px; justify-content: center; }
.pv-consult .pv-tel { background: var(--primary); }
.pv-consult .pv-book { border: 1.5px solid var(--primary); color: var(--primary); background: #fff; }
.pv-consult-tip { flex-basis: 100%; font-size: 12px; color: var(--ink-3); }
.pv-zoom-mask { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.8); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.pv-zoom-mask.show { display: flex; }
.pv-zoom-mask img { max-width: 94vw; max-height: 92vh; border-radius: 8px; }
.book-form { display: flex; flex-direction: column; gap: 10px; }
.book-form input, .book-form select, .book-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-family: inherit; outline: none; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--primary); }
.book-form textarea { resize: vertical; }
.book-ok { text-align: center; padding: 16px 0 6px; }
.book-ok .big { font-size: 44px; }
.book-ok .btn { margin-top: 14px; }
@media (max-width: 700px) { .case-grid { grid-template-columns: 1fr; } .pv-slide { aspect-ratio: 16 / 10; } }

/* ===== 后台：详情内容编辑行 ===== */
.adm-rows { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 8px; }
.adm-img-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fbfcfd; }
.adm-img-row .air-thumb { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; background: #eef0f3; flex: none; }
.adm-img-row .air-url { flex: 1; min-width: 160px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; }
.adm-img-row .air-url:focus { border-color: var(--primary); }
/* 网站 / 电商库编辑行 */
.adm-link-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fbfcfd; }
.adm-link-row .lk-ico { flex: none; width: 30px; text-align: center; font-size: 17px; }
.adm-link-row select, .adm-link-row input { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; }
.adm-link-row select:focus, .adm-link-row input:focus { border-color: var(--primary); }
.adm-link-row .lk-type { flex: 0 0 108px; }
.adm-link-row .lk-name { flex: 0 0 160px; }
.adm-link-row .lk-url { flex: 1; min-width: 180px; }
.adm-case-row { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fbfcfd; }
.adm-case-row .acr-img { flex: none; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.adm-case-row .acr-img .air-thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; background: #eef0f3; }
.adm-case-row .acr-fields { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.adm-case-row .acr-fields input { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; flex: 1 1 150px; }
.adm-case-row .acr-fields input:focus { border-color: var(--primary); }
.adm-rv-row, .adm-faq-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fbfcfd; }
.adm-rv-row input, .adm-faq-row input { flex: 1; min-width: 120px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; }
.adm-rv-row input:focus, .adm-faq-row input:focus { border-color: var(--primary); }
.adm-rv-row .rv-stars { flex: none; width: 76px; padding: 7px 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: #fff; }
.mod-toggles { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.mod-tg { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 700px) { .adm-case-row { flex-direction: column; } .adm-rv-row .rv-date, .adm-rv-row .rv-stars { flex: 1 1 40%; } }

/* ===== 品牌榜专题页（后台人工精选 + 排名） ===== */
.brand-hero { background: var(--primary-light); border-radius: 14px; padding: 22px; margin-top: 10px; }
.brand-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bh-tag { background: var(--primary); color: #fff; font-size: 12px; padding: 4px 11px; border-radius: 999px; }
.bh-tag.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.brand-hero h1 { font-size: 24px; line-height: 1.35; margin: 6px 0 8px; }
.brand-sub { font-size: 14px; color: var(--ink-2); margin: 0; }
.brand-intro { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; margin-top: 10px; }
.brand-h2 { font-size: 18px; margin: 26px 0 12px; }
.brand-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.brand-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.brand-rank { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #f2f4f7; color: var(--ink-2); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.brand-item:nth-child(1) .brand-rank { background: #f26b1d; color: #fff; }
.brand-item:nth-child(2) .brand-rank { background: #fde3d1; color: #c2410c; }
.brand-item:nth-child(3) .brand-rank { background: #fbeada; color: #9a3412; }
.brand-main { flex: 1; min-width: 0; }
.brand-head { display: flex; gap: 12px; align-items: flex-start; }
.brand-logo { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 11px; overflow: hidden; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.brand-name { font-size: 16px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brand-name a { color: var(--ink); text-decoration: none; }
.brand-name a:hover { color: var(--primary); }
.brand-badge { font-size: 11px; font-weight: 600; color: #b45309; background: #fef3c7; border: 1px solid #fde68a; border-radius: 6px; padding: 2px 7px; }
.brand-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; font-size: 12.5px; color: var(--ink-3); }
.brand-meta .brand-medal, .brand-meta .brand-badge { align-self: center; }
.brand-score { color: #f59e0b; font-weight: 700; }
.brand-cert { color: #16a34a; }
.brand-addr { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.brand-reason { font-size: 13px; color: var(--ink-2); line-height: 1.75; background: #fafbfc; border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; padding: 8px 12px; margin: 10px 0 0; }
.brand-reason b { color: var(--ink); }
.brand-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.brand-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.brand-actions .btn { font-size: 13px; padding: 7px 14px; }
.brand-actions .btn:not(.btn-primary) { background: #f8fafc; border-color: #e6eaf0; color: var(--ink-2); font-weight: 600; }
.brand-actions .btn:not(.btn-primary):hover { border-color: #fdba74; color: var(--primary); }
.brand-actions .brand-tel { white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .2px; }
@media (max-width: 700px) {
  .brand-hero.bh-new { padding: 18px 16px; }
  .brand-hero.bh-new h1 { font-size: 21px; }
  .brand-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .brand-actions .btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 10px; }
  .brand-actions .btn-primary { grid-column: 1 / -1; }
  .brand-actions .btn:nth-child(2):last-child { grid-column: 1 / -1; }
  .brand-item { padding: 14px 13px; gap: 10px; }
  .brand-rank { width: 30px; height: 30px; flex-basis: 30px; font-size: 14px; }
  .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-head { gap: 10px; }
  .bv-tip { flex-basis: auto; }
}
.brand-cta { margin-top: 30px; padding: 20px; background: var(--primary-light); border-radius: 14px; }
.brand-cta h2 { font-size: 17px; }
.brand-cta p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.brand-cta .btn { margin-top: 12px; display: inline-flex; }

.brand-card { display: block; padding: 16px; text-decoration: none; position: relative; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.brand-card::after { content: "🏆"; position: absolute; right: -8px; bottom: -14px; font-size: 64px; line-height: 1; opacity: .07; pointer-events: none; }
.brand-card:hover { box-shadow: 0 6px 18px rgba(242, 107, 29, .12); transform: translateY(-1px); }

/* ===== 品牌榜 2.0：奖杯 Hero / 金银铜排名 / 分享条 / 入驻招募（2026-10-18） ===== */
.brand-hero.bh-new { position: relative; overflow: hidden; background: linear-gradient(140deg, #fffaf3, #ffedd5 52%, #fde7cd); border: 1px solid #fed7aa; padding: 22px; }
.brand-hero.bh-new::after { content: "🏆"; position: absolute; right: -14px; bottom: -24px; font-size: 130px; line-height: 1; opacity: .1; pointer-events: none; }
.bh-trophy { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.bh-trophy span { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #fbbf24, #f59e0b); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 12px rgba(245, 158, 11, .35); }
.bh-trophy i { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #b45309; background: #fef3c7; border: 1px solid #f5d78e; border-radius: 999px; padding: 4px 12px; }
.bh-share { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #c2410c; background: #fff; border: 1px solid #fdba74; border-radius: 999px; padding: 6px 13px; cursor: pointer; box-shadow: 0 2px 8px rgba(234, 88, 12, .12); }
.bh-share:active { background: #fff7ed; }
.bh-claim { margin-top: 12px; font-size: 11.5px; color: #9a7b5f; }
.bh-claim b { color: #b45309; }
.brand-rank.r1 { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #fff; border-radius: 50%; box-shadow: 0 3px 10px rgba(245, 158, 11, .4); }
.brand-rank.r2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #fff; border-radius: 50%; box-shadow: 0 3px 10px rgba(148, 163, 184, .4); }
.brand-rank.r3 { background: linear-gradient(135deg, #fdba74, #ea580c); color: #fff; border-radius: 50%; box-shadow: 0 3px 10px rgba(234, 88, 12, .35); }
.brand-medal { font-size: 11px; font-weight: 800; color: #92400e; background: linear-gradient(120deg, #fef3c7, #fde8c8); border: 1px solid #f5d78e; border-radius: 999px; padding: 2px 9px; }
.brand-medal.m2 { color: #475569; background: #f1f5f9; border-color: #cbd5e1; }
.brand-medal.m3 { color: #9a3412; background: #ffedd5; border-color: #fdba74; }
.brand-share-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 15px 17px; background: #fff; border: 1px dashed #fdba74; border-radius: 14px; }
.bsb-txt { flex: 1 1 200px; min-width: 0; }
.bsb-txt b { font-size: 14.5px; color: var(--ink); }
.bsb-txt p { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 0; }
.bsb-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bsb-btn { font-size: 13px; font-weight: 700; color: var(--ink-2); background: #f6f8fb; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.bsb-btn.bsb-wx { color: #fff; background: var(--primary); border-color: var(--primary); }
.bsb-btn:active { opacity: .85; }
.brand-join { margin-top: 16px; padding: 20px; border-radius: 14px; background: linear-gradient(140deg, #f0f9ff, #e0f2fe 60%, #dbeafe); border: 1px solid #bae6fd; }
.brand-join .bj-head { display: flex; gap: 12px; align-items: flex-start; }
.bj-medal { flex: none; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #38bdf8, #2563eb); display: flex; align-items: center; justify-content: center; font-size: 21px; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
.brand-join h2 { font-size: 17px; margin: 0; }
.brand-join .bj-head p { font-size: 13px; color: var(--ink-2); margin: 5px 0 0; line-height: 1.7; }
.bj-points { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.bj-points span { font-size: 12px; font-weight: 600; color: #1d4ed8; background: #fff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 5px 12px; }
.bj-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bj-acts .btn { display: inline-flex; }

/* ===== 品牌榜用户投票（2026-10-18） ===== */
.bh-tag.vote-tag { background: linear-gradient(120deg, #f26b1d, #f59e0b); color: #fff; font-weight: 700; }
.brand-rank-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 26px 0 12px; }
.brand-rank-head .brand-h2 { margin: 0; }
.brand-sort { display: inline-flex; background: #f2f4f7; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.brand-sort button { font-size: 12.5px; font-weight: 700; color: var(--ink-3); background: transparent; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.brand-sort button.on { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(15, 23, 42, .1); }
.brand-sort-note { font-size: 12px; color: var(--ink-3); margin: -4px 0 10px; }
.brand-vote-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 12px; padding: 9px 12px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; }
.bv-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f97316, #ea580c); border: 0; border-radius: 999px; padding: 8px 17px; cursor: pointer; text-decoration: none; box-shadow: 0 2px 8px rgba(234, 88, 12, .25); white-space: nowrap; }
.bv-btn:active { transform: scale(.97); }
.bv-btn.bv-login { background: #fff; color: var(--primary); border: 1px solid #fdba74; box-shadow: none; }
.bv-btn.bv-done, .bv-btn:disabled { background: #f1f2f4; color: #94a3b8; border: 1px solid #e2e5ea; box-shadow: none; cursor: default; }
.bv-num { font-size: 13px; color: #9a3412; }
.bv-num b { font-size: 17px; font-weight: 800; color: #ea580c; }
.bv-tip { font-size: 11.5px; color: #b08968; }
.brand-rank.vrank { border: 1px dashed #cbd5e1; }
@media (max-width: 700px) {
  .brand-vote-row { padding: 8px 11px; gap: 7px 9px; }
}
@media (max-width: 700px) {
  .brand-item { padding: 13px; gap: 10px; }
  .brand-hero h1 { font-size: 20px; }
  .brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
}

/* ===== 后台品牌榜编辑：排名行 ===== */
.adm-rank { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.brand-row-main { flex: 1 1 260px; min-width: 170px; display: flex; flex-direction: column; gap: 6px; }
.brand-row-main input { width: 100%; }
.brand-row-name { font-size: 13.5px; font-weight: 600; }
.brand-row-badge { flex: 0 0 84px; }

/* ===== 用户等级徽章（2026-10-05） ===== */
.lv-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.lv-normal { background: #f1f2f4; color: #64748b; border: 1px solid #e2e5ea; }
.lv-verified { background: #e8f5ee; color: #15803d; border: 1px solid #bbe7cc; }
.lv-verified::before { content: "✓"; font-size: 10px; }
.lv-vip { background: linear-gradient(120deg, #fef3c7, #fde8c8); color: #b45309; border: 1px solid #f5d78e; }
.lv-vip::before { content: "VIP"; font-size: 9.5px; letter-spacing: .5px; }

/* ===== 用户详情面板：关联内容行（2026-10-05） ===== */
.small-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 2px; border-bottom: 1px dashed var(--line); }
.small-row:last-child { border-bottom: none; }
.small-row-main { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.6; }
.small-row-sub { font-size: 12px; color: var(--ink-3); margin-top: 3px; word-break: break-all; }
.small-row-act { flex: none; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag-open { background: #e8f5ee; color: #15803d; border-color: #bbe7cc; }
@media (max-width: 640px) {
  .small-row { flex-direction: column; }
  .small-row-act { justify-content: flex-start; }
}

/* ===== 服务商认领（2026-10-05） ===== */
.owner-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: linear-gradient(120deg, #e8f5ee, #d9f0e3); color: #15803d; border: 1px solid #bbe7cc; white-space: nowrap; }
.owner-tag.plat { background: #f1f2f4; color: #64748b; border-color: #e2e5ea; }
.claim-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #f6f8fb; border: 1px solid #e6eaf0; font-size: 13px; color: var(--ink-2, #475569); }
.claim-bar span { flex: 1; min-width: 140px; }
.claim-bar.ok { background: #e8f5ee; border-color: #bbe7cc; color: #15803d; }
.claim-bar.wait { background: #fff8e6; border-color: #f5d78e; color: #b45309; }
.claim-bar a { color: var(--primary); font-weight: 600; }
.claim-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.claim-box { width: 100%; max-width: 420px; max-height: 88vh; overflow: auto; background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); }
.claim-h { font-size: 18px; font-weight: 800; }
.claim-sub { font-size: 12.5px; color: var(--ink-3, #6b7280); line-height: 1.7; margin: 7px 0 14px; }
.claim-box label { display: block; font-size: 12.5px; color: var(--ink-2, #475569); margin: 12px 0 5px; font-weight: 600; }
.claim-box label i { color: #dc2626; font-style: normal; }
.claim-box input, .claim-box textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 9px 11px; font-size: 13.5px; font-family: inherit; }
.claim-box textarea { min-height: 68px; resize: vertical; }
.claim-acts { display: flex; gap: 10px; margin-top: 18px; }
.claim-acts .btn { flex: 1; justify-content: center; }

/* 后台：归属列 */
.adm-own-cell { min-width: 168px; vertical-align: top; }
.own-line { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.own-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #e8f5ee; color: #15803d; border: 1px solid #bbe7cc; white-space: nowrap; }
.own-badge.plat { background: #f1f2f4; color: #64748b; border-color: #e2e5ea; }
.own-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.own-pend { font-size: 11.5px; color: #b45309; background: #fff8e6; border: 1px solid #f5d78e; border-radius: 6px; padding: 3px 7px; margin-top: 5px; }
.own-btn { margin-top: 6px; }
.own-btn.hot { background: #fff8e6; border-color: #f5d78e; color: #b45309; font-weight: 700; }
.tb-sep { width: 1px; height: 20px; background: var(--line, #e5e7eb); margin: 0 4px; }
.cv-sec-t { font-size: 12.5px; font-weight: 800; color: var(--ink-2, #334155); margin-bottom: 8px; }
.cv-own, .cv-pend, .cv-assign { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 12px; background: #fafbfc; }
.cv-own.plat { background: #f6f8fb; }
.cv-pend { background: #fffdf5; border-color: #f5d78e; }
.cv-pend-t { font-size: 13px; font-weight: 800; color: #b45309; margin-bottom: 8px; }
.cv-kv { font-size: 13px; margin-bottom: 5px; line-height: 1.6; word-break: break-all; }
.cv-kv > span { display: inline-block; min-width: 52px; color: var(--ink-3); font-size: 12.5px; }
@media (max-width: 720px) { .claim-bar { font-size: 12.5px; } }

/* ===== 需求卡片可点击（列表 / 首页预览） ===== */
a.req-item { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.req-item:hover { border-color: #f7c6a4; box-shadow: 0 6px 18px rgba(242,107,29,.10); transform: translateY(-1px); }
a.req-item .req-time { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
.req-go { font-style: normal; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-light); border-radius: 999px; padding: 2px 9px; }

/* ===== 需求详情页（/request/:id） ===== */
.rd-wrap { max-width: 850px; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; flex-wrap: wrap; }
.crumb a:hover { color: var(--primary); }
.crumb em { font-style: normal; color: var(--ink-2); }
.rd-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.rd-head { display: flex; gap: 14px; align-items: flex-start; }
.rd-ico { width: 52px; height: 52px; flex: none; border-radius: 13px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 25px; }
.rd-head-main { min-width: 0; flex: 1; }
.rd-head h1 { font-size: 22px; line-height: 1.35; letter-spacing: -.2px; overflow-wrap: anywhere; }
.rd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; align-items: center; }
.rd-tags .tag { font-size: 12px; color: var(--ink-2); background: #f4f5f7; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.rd-tags .tag-dim { color: var(--ink-3); background: none; border-color: transparent; padding-left: 0; }
.rd-tags .tag.scene-tag { background: #fff5ec; border-color: #fbdcc4; color: #c2560f; }
.rd-st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.rd-st.open { background: #e8f5ee; color: #15803d; border: 1px solid #bbe7cc; }
.rd-st.closed { background: #f1f2f4; color: #6b7280; border: 1px solid #e2e5ea; }
.rd-sec { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.rd-sec h2, .rd-rel h2 { font-size: 14.5px; margin-bottom: 9px; color: var(--ink); }
.rd-detail { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.rd-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.rd-fact { background: #fafbfc; border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; }
.rd-fact span { display: block; font-size: 11.5px; color: var(--ink-3); }
.rd-fact b { display: block; font-size: 14px; margin-top: 3px; color: var(--ink); overflow-wrap: anywhere; }
.rd-contact { margin-top: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.rd-contact.auth { background: linear-gradient(135deg, #fff8f2, #fffdfb); border-color: #fbdcc4; }
.rd-c-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rd-c-label { font-size: 12px; color: var(--ink-3); flex: none; }
.rd-c-val { font-size: 17px; letter-spacing: .5px; }
.rd-c-val.phone { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; }
.rd-call { background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.rd-call:hover { background: var(--primary-dark); }
.rd-lock { font-size: 11.5px; color: #b45309; background: #fff8e6; border: 1px solid #f5d78e; border-radius: 999px; padding: 3px 9px; }
.rd-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); background: #f7f8fa; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; line-height: 1.75; }
.rd-note.ok { background: #f2fbf6; border-color: #bbe7cc; color: #15803d; font-weight: 600; }
.rd-note b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.rd-note-ops { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.rd-note-ops .btn { font-size: 13px; padding: 8px 16px; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rd-actions .btn { font-size: 14px; padding: 11px 20px; border-radius: 11px; }
.rd-actions .rd-share { flex: 1 1 220px; font-weight: 700; box-shadow: 0 6px 16px rgba(242,107,29,.22); }
.rd-share-tip { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.rd-rel { margin-top: 26px; }
.rd-rel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rd-rel-item { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: .15s; }
.rd-rel-item:hover { border-color: #f7c6a4; box-shadow: 0 4px 14px rgba(242,107,29,.08); }
.rd-rel-item b { font-size: 14px; }
.rd-rel-item span { font-size: 12px; color: var(--ink-3); }
.rd-rel-item em { font-style: normal; font-size: 12px; color: var(--primary); font-weight: 700; margin-top: 4px; }

/* ===== 微信内分享引导（箭头指向右上角 ···） ===== */
.wx-guide { position: fixed; inset: 0; z-index: 320; background: rgba(0,0,0,.72); animation: wxIn .2s ease; }
.wx-guide-top { position: absolute; top: 0; right: 0; width: 100%; height: 132px; }
.wx-guide-arrow { position: absolute; top: 10px; right: 16px; font-size: 46px; line-height: 1; color: #ffd21e; transform: rotate(0deg); animation: wxPoint 1.1s ease-in-out infinite; }
.wx-guide-card { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 82%; max-width: 320px; background: #fff; border-radius: 16px; padding: 22px 20px 16px; text-align: center; }
.wx-guide-card b { font-size: 17px; }
.wx-guide-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 8px 0 14px; }
.wx-guide-btn { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--primary); border: 1px solid #fbdcc4; background: var(--primary-light); border-radius: 999px; padding: 7px 24px; }
@keyframes wxIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wxPoint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ===== 分享海报补充：需求信息行 / 复制按钮 ===== */
.sp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.sp-meta span { font-size: 11.5px; color: #c2560f; background: #fff3ea; border: 1px solid #fbdcc4; border-radius: 999px; padding: 2px 9px; }
.op-btn { padding: 9px 22px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.op-btn:active { background: #f4f5f7; }

@media (max-width: 640px) {
  .rd-card { padding: 18px 16px; border-radius: 14px; }
  .rd-head h1 { font-size: 18.5px; }
  .rd-ico { width: 44px; height: 44px; border-radius: 11px; font-size: 21px; }
  .rd-facts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rd-contact { gap: 10px 16px; padding: 12px 13px; }
  .rd-c-val { font-size: 16px; }
  .rd-actions { gap: 8px; }
  .rd-actions .btn { flex: 1 1 100%; padding: 12px 16px; }
  .rd-rel-list { grid-template-columns: 1fr; }
  .rd-share-tip { display: none; }
}

/* ===== 后台知识库管理：搜索 / 标签分类筛选 / 分页（2026-10-18） ===== */
.adm-kb-bar { gap: 8px; }
.adm-kb-status { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-kb-status .op-btn b { font-size: 11px; font-weight: 700; opacity: .75; margin-left: 2px; }
.adm-kb-search { width: 240px; height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 13px; background: #fff; }
.adm-kb-search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242, 107, 29, .1); }
.adm-kb-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.adm-kb-filters:empty { display: none; }
.kb-filter-lbl { font-size: 12px; color: var(--ink-3); margin-right: 2px; }
.kb-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; cursor: pointer; }
.kb-chip i { font-style: normal; font-size: 11px; color: var(--ink-3); background: var(--bg); border-radius: 999px; padding: 0 6px; }
.kb-chip:hover { border-color: var(--primary); color: var(--primary); }
.kb-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.kb-chip.on i { background: rgba(255, 255, 255, .22); color: #fff; }
.kb-chip.clear { color: #b91c1c; border-color: #fecaca; background: #fff; }
.adm-kb-table td { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
.kb-title { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.5; }
.kb-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.kb-tag { font-size: 11px; color: var(--primary); background: var(--primary-light); border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
.kb-tag.more { color: var(--ink-3); background: var(--bg); }
.kb-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; }
.kb-cat { display: inline-block; font-size: 12px; color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 6px; padding: 2px 9px; white-space: nowrap; }
.kb-st { display: inline-block; font-size: 11.5px; padding: 2px 9px; border-radius: 20px; white-space: nowrap; border: 1px solid; }
.kb-st.ok { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.kb-st.wait { color: #a16207; background: #fefce8; border-color: #fde68a; }
.kb-st.off { color: #6b7280; background: #f4f5f7; border-color: #e5e7eb; }
.adm-kb-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; }
.adm-kb-pager:empty { display: none; }
@media (max-width: 700px) {
  .adm-kb-search { width: 100%; }
  .adm-kb-filters { gap: 5px; }
  .kb-chip { font-size: 12px; padding: 4px 9px; }
}
