@charset "UTF-8";
/* ==========================================================================
   房产租售平台 · 官网样式
   --------------------------------------------------------------------------
   设计语言与小程序（frontend-mini/src/App.vue）保持一致：
   深林绿 × 暖米白 × 香槟金，白卡、微描边、弱投影。
   纯静态、零依赖：所有图标用文字/CSS 画，不引外部字体与 CDN。
   ========================================================================== */

:root {
  --c-primary: #0E4A3B;
  --c-primary-2: #2A6E58;
  --c-primary-deep: #082E25;
  --c-primary-bg: rgba(14, 74, 59, .07);
  --c-gold: #A67C3D;
  --c-gold-2: #C9A35F;
  --c-gold-soft: rgba(166, 124, 61, .12);
  --c-price: #96391F;
  --c-sale: #A6402A;
  --c-rent: #B07A2E;
  --c-bg: #F7F5F0;
  --c-bg-deep: #EFECE5;
  --c-card: #FFFFFF;
  --c-text: #1A211D;
  --c-text-2: #5B615B;
  --c-text-3: #999C96;
  --c-line: #EAE5DB;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-card: 0 10px 30px rgba(30, 36, 32, .07);
  --shadow-sm: 0 4px 14px rgba(30, 36, 32, .05);
  --shadow-gold: 0 8px 20px rgba(166, 124, 61, .26);
  --wrap: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .2px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: .5px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hide { display: none !important; }

/* ---------------- 顶部细条 ---------------- */
.topbar {
  background: var(--c-primary-deep);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar b { color: var(--c-gold-2); font-weight: 600; }
.topbar .tb-r { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }

/* ---------------- 头部导航 ---------------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.hd-in { display: flex; align-items: center; gap: 34px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  color: #fff; font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(14, 74, 59, .24);
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.25; }
.logo-txt strong { font-size: 17px; font-weight: 800; }
.logo-txt em { font-style: normal; font-size: 11px; color: var(--c-text-3); letter-spacing: 2.4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: nowrap; min-width: 0; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 10px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--c-text-2);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--c-primary); background: var(--c-primary-bg); }
.nav a.on { color: var(--c-primary); }
.nav a.on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--c-gold), var(--c-gold-2));
}
.hd-cta {
  display: flex; align-items: center; gap: 10px; margin-left: 6px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-g { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%); color: #fff; box-shadow: 0 10px 22px rgba(14, 74, 59, .24); }
.btn-g:hover { box-shadow: 0 12px 26px rgba(14, 74, 59, .32); }
.btn-o { background: transparent; color: var(--c-primary); border: 1.5px solid rgba(14, 74, 59, .28); }
.btn-o:hover { background: var(--c-primary-bg); }
.btn-gold { background: linear-gradient(135deg, #B58A46, #D4B071); color: #241A08; box-shadow: var(--shadow-gold); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.nav-toggle { display: none; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 12% 0%, #14584A 0%, var(--c-primary) 42%, var(--c-primary-deep) 100%);
  color: #fff; padding: 74px 0 86px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 80% at 70% 10%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 80% at 70% 10%, #000 0%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(201, 163, 95, .30) 0%, transparent 66%);
  border-radius: 50%;
}
.hero-in { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--c-gold-2);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .8; }
.hero h1 { font-size: 46px; line-height: 1.24; margin: 20px 0 16px; letter-spacing: 1.5px; }
.hero h1 span { color: var(--c-gold-2); }
.hero-sub { max-width: 620px; font-size: 16px; color: rgba(255, 255, 255, .80); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags i {
  font-style: normal; font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18);
}
.hero-tags i.gold { background: rgba(201, 163, 95, .18); border-color: rgba(201, 163, 95, .42); color: #F0DDB8; }

/* 首屏搜索 */
.search {
  display: flex; gap: 10px; margin-top: 32px; max-width: 720px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
  padding: 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.search input {
  flex: 1; min-width: 0; height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--c-text); font-size: 15px; outline: none;
}
.search input::placeholder { color: var(--c-text-3); }
.search .btn { height: 44px; padding: 0 28px; }

/* 首屏数据 */
.hero-stats { display: flex; gap: 48px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 34px; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-stat b i { font-style: normal; font-size: 15px; font-weight: 600; margin-left: 4px; color: var(--c-gold-2); }
.hero-stat span { font-size: 13px; color: rgba(255, 255, 255, .68); letter-spacing: 1px; }

/* ---------------- 区块通用 ---------------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--c-bg-deep); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--c-gold); }
.sec-title { font-size: 30px; margin-top: 10px; }
.sec-desc { margin-top: 10px; color: var(--c-text-2); font-size: 15px; max-width: 640px; }
.sec-more { font-size: 14px; font-weight: 700; color: var(--c-primary); white-space: nowrap; padding-bottom: 4px; }
.sec-more:hover { color: var(--c-gold); }

/* ---------------- 轮播 ---------------- */
.carousel { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--c-primary-deep); box-shadow: var(--shadow-card); }
.car-track { position: relative; height: 420px; }
.car-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.car-item.on { opacity: 1; pointer-events: auto; }
.car-item img, .car-item video { width: 100%; height: 100%; object-fit: cover; }
.car-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 40px 34px;
  background:
    linear-gradient(90deg, rgba(8, 46, 37, .95), rgba(8, 46, 37, .62) 52%, rgba(8, 46, 37, .14)),
    linear-gradient(transparent, rgba(8, 46, 37, .72));
  color: #fff;
}
.car-cap h3 { font-size: 28px; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.car-cap p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .82); max-width: 620px; }
.car-cap .btn { margin-top: 16px; }
.car-dots { position: absolute; right: 30px; bottom: 30px; display: flex; gap: 8px; z-index: 2; }
.car-dots i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: all .25s; }
.car-dots i.on { width: 26px; background: var(--c-gold-2); }

/* 首页顶部轮播（紧跟页眉，位于首屏之上）*/
.banner-top { padding: 20px 0 0; }
.banner-top .carousel { box-shadow: 0 18px 44px rgba(8, 46, 37, .18); }
.banner-top .car-track { height: clamp(260px, 30vw, 400px); }

/* ---------------- 数据条 ---------------- */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -46px; position: relative; z-index: 3; }
.stat {
  background: var(--c-card); border: 1px solid rgba(30, 36, 32, .05); border-radius: var(--r-md);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 28px; font-weight: 800; color: var(--c-primary); line-height: 1.25; }
.stat b i { font-style: normal; font-size: 14px; margin-left: 3px; color: var(--c-gold); }
.stat span { font-size: 13px; color: var(--c-text-3); }

/* ---------------- 房源卡片 ---------------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(3, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.hc {
  background: var(--c-card); border: 1px solid rgba(30, 36, 32, .05); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .25s;
}
.hc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.hc-img { position: relative; aspect-ratio: 4 / 3; background: var(--c-bg-deep); overflow: hidden; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hc:hover .hc-img img { transform: scale(1.05); }
.hc-img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c-text-3); font-size: 13px; }
.hc-badge {
  position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 8px; color: #fff; background: var(--c-sale);
}
.hc-badge.rent { background: var(--c-rent); }
.hc-badge.new { left: auto; right: 12px; background: var(--c-gold); }
.hc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.hc-title { font-size: 16px; font-weight: 800; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.hc-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.hc-meta span {
  font-size: 12px; color: var(--c-text-2); background: var(--c-bg);
  padding: 3px 9px; border-radius: 6px;
}
.hc-addr { margin-top: 10px; font-size: 13px; color: var(--c-text-3); display: flex; gap: 6px; }
.hc-addr em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-foot { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--c-line); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hc-price { color: var(--c-price); font-weight: 800; font-size: 22px; }
.hc-price i { font-style: normal; font-size: 13px; margin-left: 2px; }
.hc-agent { font-size: 12px; color: var(--c-text-3); }

/* ---------------- 城市 / 芯片 ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px; border-radius: 999px; background: var(--c-card);
  border: 1px solid var(--c-line); font-size: 14px; font-weight: 600; color: var(--c-text-2);
  transition: all .18s;
}
.chip:hover { border-color: rgba(14, 74, 59, .4); color: var(--c-primary); }
.chip.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip em { font-style: normal; color: var(--c-text-3); font-size: 12px; margin-left: 4px; }
.chip.on em { color: rgba(255, 255, 255, .7); }

/* ---------------- 小区卡 ---------------- */
.cc { background: var(--c-card); border: 1px solid rgba(30, 36, 32, .05); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s; }
.cc:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cc h4 { font-size: 17px; }
.cc .cc-addr { font-size: 13px; color: var(--c-text-3); margin-top: 6px; }
.cc .cc-row { display: flex; gap: 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.cc .cc-row div { font-size: 12px; color: var(--c-text-3); }
.cc .cc-row b { display: block; font-size: 16px; font-weight: 800; color: var(--c-primary); }
.cc .cc-row b i { font-style: normal; font-size: 12px; color: var(--c-gold); margin-left: 2px; }

/* ---------------- 门店卡 ---------------- */
.sc { background: var(--c-card); border: 1px solid rgba(30, 36, 32, .05); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; transition: transform .2s, box-shadow .25s; }
.sc:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.sc-img { width: 132px; flex: 0 0 132px; background: var(--c-bg-deep); overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c-text-3); font-size: 12px; }
.sc-body { padding: 16px 18px; flex: 1; min-width: 0; }
.sc-hd { display: flex; align-items: center; gap: 10px; }
.sc-hd h4 { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-cat { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--c-gold-soft); color: var(--c-gold); white-space: nowrap; }
.sc-dist { font-size: 12px; color: var(--c-text-3); white-space: nowrap; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sc-tags span { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--c-primary-bg); color: var(--c-primary); font-weight: 600; }
.sc-addr { margin-top: 10px; font-size: 13px; color: var(--c-text-2); }
.sc-foot { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--c-text-3); }
.sc-foot b { color: var(--c-text); font-weight: 700; }
.sc-tel { color: var(--c-primary); font-weight: 800; }
.sc-tel:hover { color: var(--c-gold); }

/* ---------------- 资讯卡 ---------------- */
.nc { background: var(--c-card); border: 1px solid rgba(30, 36, 32, .05); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; }
.nc:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.nc-img { aspect-ratio: 16 / 9; background: var(--c-bg-deep); overflow: hidden; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c-text-3); font-size: 13px; }
.nc-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.nc-body h4 { font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-sum { margin-top: 10px; font-size: 13px; color: var(--c-text-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc-meta { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--c-text-3); display: flex; gap: 14px; }

/* ---------------- CTA ---------------- */
.cta {
  border-radius: var(--r-lg); padding: 46px 44px; color: #fff;
  background: radial-gradient(120% 160% at 88% 0%, #17604F 0%, var(--c-primary) 46%, var(--c-primary-deep) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}
.cta h3 { font-size: 27px; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .78); max-width: 560px; }
.cta-act { display: flex; gap: 12px; flex-wrap: wrap; }
/* 深色横幅里的描边按钮：btn-o 本来是给白底用的，直接放到深绿上会看不见字 */
.cta .btn-o { color: #fff; border-color: rgba(255, 255, 255, .42); }
.cta .btn-o:hover { background: rgba(255, 255, 255, .14); }
.page-hd .btn-o { color: #fff; border-color: rgba(255, 255, 255, .42); }
.page-hd .btn-o:hover { background: rgba(255, 255, 255, .14); }

/* ---------------- 页脚 ---------------- */
.ft { background: #0B211C; color: rgba(255, 255, 255, .62); padding: 56px 0 0; font-size: 14px; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.ft h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.ft-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ft-brand .logo-mark { box-shadow: none; }
.ft-brand strong { color: #fff; font-size: 17px; }
.ft dl { margin: 0; }
.ft dt { color: rgba(255, 255, 255, .42); font-size: 12px; margin-top: 12px; }
.ft dd { margin: 3px 0 0; color: rgba(255, 255, 255, .82); }
.ft li { margin-bottom: 10px; }
.ft a:hover { color: var(--c-gold-2); }
.ft-notice { background: rgba(255, 255, 255, .05); border-left: 3px solid var(--c-gold); padding: 12px 16px; border-radius: 0 8px 8px 0; color: rgba(255, 255, 255, .74); font-size: 13px; }
.ft-bot { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .45); }
.ft-bot .fb-l { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- 列表页 / 筛选 ---------------- */
.page-hd { background: var(--c-primary-deep); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.page-hd::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(201, 163, 95, .26) 0%, transparent 66%); border-radius: 50%; }
.page-hd h1 { font-size: 32px; position: relative; }
.page-hd p { margin-top: 10px; color: rgba(255, 255, 255, .72); position: relative; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; position: relative; }
.crumb a:hover { color: #fff; }

.filters { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 8px 20px; margin: -26px 0 26px; position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
.fr { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--c-line); flex-wrap: wrap; }
.fr:last-child { border-bottom: 0; }
.fr > label { flex: 0 0 62px; font-size: 13px; color: var(--c-text-3); }
.fr .chips { flex: 1; }
.fr .chip { padding: 6px 14px; font-size: 13px; background: transparent; border-color: transparent; }
.fr .chip:hover { background: var(--c-bg); }
.fr .chip.on { background: var(--c-primary); color: #fff; }
.range { display: flex; align-items: center; gap: 8px; }
.range input {
  width: 92px; height: 36px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 8px;
  background: var(--c-bg); font-size: 13px; outline: none; color: var(--c-text);
}
.range input:focus { border-color: var(--c-primary); background: #fff; }
.fr .grow { flex: 1; }
.kw { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.kw input { flex: 1; height: 38px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-bg); outline: none; font-size: 14px; }
.kw input:focus { border-color: var(--c-primary); background: #fff; }

.result-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 14px; color: var(--c-text-2); }
.result-bar b { color: var(--c-price); font-size: 18px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-text-2); font-weight: 600;
}
.pager button:hover:not([disabled]) { border-color: var(--c-primary); color: var(--c-primary); }
.pager button.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pager button[disabled] { opacity: .45; cursor: not-allowed; }
.pager span { color: var(--c-text-3); font-size: 13px; padding: 0 6px; }

/* ---------------- 详情页 ---------------- */
.dt { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 28px; align-items: start; }
.gal { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.gal-main { position: relative; aspect-ratio: 16 / 10; background: var(--c-primary-deep); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(8, 46, 37, .55); color: #fff; font-size: 20px; line-height: 1; }
.gal-nav.prev { left: 14px; }
.gal-nav.next { right: 14px; }
.gal-nav:hover { background: rgba(8, 46, 37, .8); }
.gal-count { position: absolute; right: 16px; bottom: 14px; background: rgba(8, 46, 37, .62); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.gal-thumbs { display: flex; gap: 10px; padding: 12px; overflow-x: auto; }
.gal-thumbs img { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; flex: 0 0 auto; border: 2px solid transparent; }
.gal-thumbs img.on { opacity: 1; border-color: var(--c-gold); }

.dt-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px 26px; margin-bottom: 18px; }
.dt-card > h3 { font-size: 19px; margin-bottom: 16px; padding-left: 14px; position: relative; }
.dt-card > h3::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--c-gold), var(--c-gold-2)); }
.dt-title { font-size: 26px; line-height: 1.42; }
.dt-sub { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.dt-sub span { font-size: 13px; padding: 4px 11px; border-radius: 8px; background: var(--c-bg); color: var(--c-text-2); }
.dt-sub span.gold { background: var(--c-gold-soft); color: var(--c-gold); font-weight: 700; }
.dt-price { margin-top: 20px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.dt-price b { font-size: 38px; color: var(--c-price); font-weight: 800; letter-spacing: -.5px; }
.dt-price b i { font-style: normal; font-size: 16px; margin-left: 3px; }
.dt-price .unit { font-size: 14px; color: var(--c-text-3); }
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
.kv div { min-width: 0; }
.kv dt { font-size: 12px; color: var(--c-text-3); }
.kv dd { margin: 5px 0 0; font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desc { font-size: 15px; line-height: 1.95; color: var(--c-text-2); white-space: pre-wrap; word-break: break-word; }
.fac-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fac { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--c-bg); font-size: 14px; }
.fac i { font-style: normal; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--c-primary-bg); color: var(--c-primary); font-weight: 800; font-size: 13px; }

.side-sticky { position: sticky; top: 96px; }
.agent-box { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.agent-box .av {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800;
}
.agent-box .nm { font-size: 17px; font-weight: 800; }
.agent-box .ph { margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--c-primary); letter-spacing: .5px; }
.agent-box .ph.mask { font-size: 14px; font-weight: 600; color: var(--c-text-3); letter-spacing: 0; }
.agent-box .tip { margin-top: 10px; font-size: 12px; color: var(--c-text-3); line-height: 1.7; }
.agent-box .btn { width: 100%; margin-top: 16px; }
.quick { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 20px 24px; margin-top: 18px; box-shadow: var(--shadow-sm); }
.quick h4 { font-size: 15px; margin-bottom: 14px; }
.quick li { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--c-line); font-size: 14px; color: var(--c-text-2); }
.quick li:last-child { border-bottom: 0; }
.quick li b { color: var(--c-text); font-weight: 700; }
.trend { display: flex; align-items: flex-end; gap: 10px; height: 168px; padding-top: 10px; }
.trend .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.trend .bar i { display: block; width: 100%; max-width: 46px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--c-primary-2), var(--c-primary)); min-height: 3px; }
.trend .bar em { font-style: normal; font-size: 11px; color: var(--c-text-3); }
.trend .bar b { font-size: 11px; color: var(--c-price); font-weight: 700; }

/* ---------------- 资讯详情 ---------------- */
.post { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 40px 46px; }
.post h1 { font-size: 30px; line-height: 1.5; }
.post .meta { margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); font-size: 13px; color: var(--c-text-3); display: flex; flex-wrap: wrap; gap: 16px; }
.post .body { margin-top: 26px; font-size: 16px; line-height: 2; color: #2B322D; word-break: break-word; }
.post .body img { border-radius: 10px; margin: 16px 0; }
.post .body h2, .post .body h3 { margin: 26px 0 12px; font-size: 20px; }
.post .body p { margin: 14px 0; }
.post .body ul { margin: 14px 0; padding-left: 22px; list-style: disc; }
.post .body li { margin: 6px 0; }
.post .body a { color: var(--c-primary); text-decoration: underline; }

/* ---------------- 通用状态 ---------------- */
.empty { text-align: center; padding: 64px 20px; color: var(--c-text-3); }
.empty b { display: block; font-size: 17px; color: var(--c-text-2); margin-bottom: 8px; }
.skel { background: linear-gradient(90deg, #EFECE5 25%, #F7F5F0 37%, #EFECE5 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--r-md); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel-card { height: 296px; }
.notice-bar {
  background: var(--c-gold-soft); border: 1px solid rgba(166, 124, 61, .26); color: #7A5A28;
  border-radius: var(--r-sm); padding: 11px 16px; font-size: 14px; margin-bottom: 20px;
}
.toast {
  position: fixed; left: 50%; bottom: 48px; transform: translateX(-50%) translateY(20px);
  background: rgba(8, 46, 37, .94); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; z-index: 999; opacity: 0; transition: all .25s; pointer-events: none; max-width: 90vw;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.info-list { display: grid; gap: 2px; }
.info-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--c-line); font-size: 15px; }
.info-list li span { flex: 0 0 96px; color: var(--c-text-3); font-size: 14px; }
.info-list li b { font-weight: 700; word-break: break-all; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .dt { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .hd-in { gap: 16px; height: 64px; }
  .hd.menu-open .nav { display: flex; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--c-line); padding: 8px 16px 16px; box-shadow: var(--shadow-card); }
  .hd.menu-open .nav a { padding: 13px 14px; }
  .hd.menu-open .nav a.on::after { display: none; }
  .hd-cta .btn span.long { display: none; }
  .hero { padding: 50px 0 68px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 28px; margin-top: 34px; }
  .hero-stat b { font-size: 26px; }
  .car-track { height: 260px; }
  .car-cap { padding: 56px 22px 24px; }
  .car-cap h3 { font-size: 20px; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 52px 0; }
  .sec-title { font-size: 24px; }
  .sec-hd { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .fac-list { grid-template-columns: repeat(2, 1fr); }
  .post { padding: 26px 20px; }
  .post h1 { font-size: 23px; }
  .cta { padding: 32px 24px; }
  .cta h3 { font-size: 21px; }
  .ft-top { grid-template-columns: 1fr; gap: 26px; }
  .topbar .tb-r a.hide-sm { display: none; }
  .page-hd h1 { font-size: 24px; }
  .filters { margin-top: -18px; padding: 6px 14px; }
  .fr > label { flex: 0 0 54px; }
  .sc { flex-direction: column; }
  .sc-img { width: 100%; flex: 0 0 auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .search { flex-direction: column; border-radius: var(--r-md); padding: 12px; }
  .search .btn { width: 100%; }
  .stat-bar { gap: 12px; }
  .stat { padding: 16px 18px; }
  .hero h1 { font-size: 27px; }
}

/* ===== 官网增强层样式 v2 ===== */
/* ==========================================================================
   官网增强层样式（对应 assets/site.js 里的 cmc / agc / mo- / chrome / tabbar）
   --------------------------------------------------------------------------
   颜色、圆角、阴影全部沿用上面的 CSS 变量，保证和既有页面是一套视觉。
   ========================================================================== */

/* ---------------- 悬浮工具条 ---------------- */
.chrome {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%) translateX(14px);
  display: flex; flex-direction: column; gap: 8px; z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.chrome.on { opacity: 1; pointer-events: auto; transform: translateY(-50%) translateX(0); }
.ch-i {
  width: 60px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px;
  box-shadow: var(--shadow-card); color: var(--c-primary); cursor: pointer;
  transition: transform .18s, box-shadow .22s, background .2s, color .2s;
}
.ch-i:hover { transform: translateY(-2px); background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.ch-i svg { width: 20px; height: 20px; }
.ch-i em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .5px; }

/* ---------------- 手机底部导航 ---------------- */
.tabbar { display: none; }
@media (max-width: 900px) {
  body.has-tab { padding-bottom: 68px; }
  .chrome { display: none; }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line);
    box-shadow: 0 -6px 20px rgba(30, 36, 32, .08); 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;
    padding: 9px 0 8px; color: var(--c-text-3); font-size: 11px; font-weight: 600;
  }
  .tabbar a svg { width: 21px; height: 21px; }
  .tabbar a em { font-style: normal; }
  .tabbar a.on { color: var(--c-primary); }
}

/* ---------------- 小区卡（cmc） ---------------- */
.cmc {
  display: flex; flex-direction: column; background: var(--c-card); border: 1px solid rgba(30, 36, 32, .06);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .25s;
}
.cmc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.cmc-img { position: relative; aspect-ratio: 16 / 10; background: var(--c-primary-deep); }
.cmc-img img { width: 100%; height: 100%; object-fit: cover; }
.cmc-trend {
  position: absolute; left: 12px; top: 12px; padding: 3px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(8, 46, 37, .72); backdrop-filter: blur(3px);
}
.cmc-trend.up { background: rgba(150, 57, 31, .88); }
.cmc-trend.down { background: rgba(14, 74, 59, .88); }
.cmc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cmc-name { font-size: 17px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmc-price { font-size: 23px; font-weight: 800; color: var(--c-price); line-height: 1.2; }
.cmc-price i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--c-text-3); margin-left: 4px; }
.cmc-loc { font-size: 13px; color: var(--c-text-3); }
.cmc-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.cmc-meta span { font-size: 12px; color: var(--c-text-2); background: var(--c-bg); border-radius: 6px; padding: 3px 8px; }
.cmc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cmc-tags span { font-size: 12px; color: var(--c-gold); background: var(--c-gold-soft); border-radius: 6px; padding: 3px 8px; }
.cmc-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--c-line); display: flex; gap: 16px; font-size: 13px; color: var(--c-text-3); }
.cmc-foot b { color: var(--c-primary); font-size: 15px; }

/* ---------------- 经纪人卡（agc） ---------------- */
.agc {
  display: flex; gap: 16px; padding: 20px; background: var(--c-card); border: 1px solid rgba(30, 36, 32, .06);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s;
}
.agc:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.agc-av {
  width: 68px; height: 68px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  display: flex; align-items: center; justify-content: center;
}
.agc-av img { width: 100%; height: 100%; object-fit: cover; }
.agc-av span { color: #fff; font-size: 26px; font-weight: 800; }
.agc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.agc-hd { display: flex; align-items: center; gap: 8px; }
.agc-hd h4 { font-size: 17px; }
.agc-badge {
  font-size: 11px; font-weight: 700; color: #fff; padding: 2px 9px; border-radius: 999px;
  background: linear-gradient(135deg, #B58A46, #D4B071); white-space: nowrap;
}
.agc-comp { font-size: 13px; color: var(--c-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agc-nums { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--c-text-3); }
.agc-nums b { font-size: 16px; font-weight: 800; color: var(--c-primary); margin-right: 2px; }
.agc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.agc-tags span { font-size: 12px; color: var(--c-primary); background: var(--c-primary-bg); border-radius: 6px; padding: 3px 8px; }
.agc-spec { font-size: 13px; color: var(--c-text-2); }
.stars { color: var(--c-gold); letter-spacing: 1px; font-size: 14px; }

/* ---------------- 弹层（预约看房） ---------------- */
body.no-scroll { overflow: hidden; }
.mo-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 24, 19, .58);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: moIn .2s ease;
}
@keyframes moIn { from { opacity: 0; } to { opacity: 1; } }
.mo-box {
  position: relative; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto;
  background: var(--c-card); border-radius: var(--r-lg); padding: 30px 30px 26px;
  box-shadow: 0 24px 60px rgba(8, 24, 19, .3); animation: moUp .25s ease;
}
@keyframes moUp { from { transform: translateY(18px); opacity: .6; } to { transform: none; opacity: 1; } }
.mo-x {
  position: absolute; right: 16px; top: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--c-bg); color: var(--c-text-2); font-size: 20px; line-height: 1; cursor: pointer;
}
.mo-x:hover { background: var(--c-line); }
.mo-t { font-size: 21px; }
.mo-d { margin-top: 8px; font-size: 14px; color: var(--c-text-2); }
.mo-b { margin-top: 20px; }

.f-item { margin-bottom: 15px; }
.f-item > label { display: block; font-size: 13px; font-weight: 600; color: var(--c-text-2); margin-bottom: 7px; }
.f-item > label i { font-style: normal; color: var(--c-price); }
.f-item input, .f-item textarea, .f-item select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-bg); font-size: 14px; color: var(--c-text); outline: none; font-family: inherit;
}
.f-item textarea { resize: vertical; line-height: 1.7; }
.f-item input:focus, .f-item textarea:focus, .f-item select:focus { border-color: var(--c-primary); background: #fff; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot {
  flex: 1; min-width: 108px; padding: 9px 6px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-bg); font-size: 13px; color: var(--c-text-2); cursor: pointer; font-weight: 600;
}
.slot.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.f-tip { margin-top: 12px; font-size: 12px; color: var(--c-text-3); line-height: 1.7; }
.hint-line { font-size: 13px; color: var(--c-text-2); background: var(--c-bg); border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 14px; }
.btn-blk { width: 100%; height: 46px; }
.ok-box { text-align: center; padding: 8px 0 4px; }
.ok-ico {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--c-primary-bg); color: var(--c-primary); font-size: 32px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ok-box h4 { font-size: 20px; margin-bottom: 10px; }
.ok-box p { font-size: 14px; color: var(--c-text-2); line-height: 1.8; }
.ok-tip { margin-top: 10px; color: var(--c-price) !important; }
.ok-box .btn { margin-top: 20px; }

/* ---------------- 热搜词 / 区域条 ---------------- */
.hotwords { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.hw-lb { font-size: 13px; color: var(--c-text-3); }
.hw-i {
  border: 0; background: rgba(255, 255, 255, .14); color: inherit; font-size: 13px;
  padding: 5px 13px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.hw-i:hover { background: rgba(255, 255, 255, .26); }
.hotwords.on-light .hw-lb { color: var(--c-text-3); }
.hotwords.on-light .hw-i { background: var(--c-bg); color: var(--c-text-2); }
.hotwords.on-light .hw-i:hover { background: var(--c-primary-bg); color: var(--c-primary); }

.distbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 0; }
.db-lb { font-size: 13px; color: var(--c-text-3); }
.db-i {
  border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-text-2);
  font-size: 13px; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.db-i i { font-style: normal; font-size: 11px; color: var(--c-text-3); margin-left: 5px; }
.db-i:hover { border-color: rgba(14, 74, 59, .4); color: var(--c-primary); }
.db-i.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.db-i.on i { color: rgba(255, 255, 255, .72); }

/* ---------------- 首页找房入口 ---------------- */
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.entry {
  display: flex; align-items: center; gap: 15px; padding: 22px 24px;
  background: var(--c-card); border: 1px solid rgba(30, 36, 32, .06); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s, border-color .2s;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(166, 124, 61, .4); }
.entry-ico {
  width: 48px; height: 48px; flex: 0 0 auto; border-radius: 13px; color: #fff; font-size: 21px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
}
.entry-ico.gold { background: linear-gradient(135deg, #B58A46, #D4B071); color: #241A08; }
.entry-txt { min-width: 0; }
.entry-txt b { display: block; font-size: 16px; }
.entry-txt span { display: block; font-size: 12px; color: var(--c-text-3); margin-top: 3px; line-height: 1.5; }

/* ---------------- 房贷计算器 ---------------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; align-items: start; }
.calc-form { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 26px 28px; }
.calc-form h3 { font-size: 18px; margin-bottom: 18px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  flex: 1; min-width: 92px; padding: 10px 8px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-bg); font-size: 14px; font-weight: 600; color: var(--c-text-2); cursor: pointer; font-family: inherit;
}
.seg button.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.calc-out { background: var(--c-primary-deep); color: #fff; border-radius: var(--r-md); padding: 28px 30px; position: sticky; top: 96px; }
.calc-out .co-hd { font-size: 13px; color: rgba(255, 255, 255, .62); letter-spacing: 2px; }
.calc-out .co-main { margin-top: 6px; font-size: 40px; font-weight: 800; color: var(--c-gold-2); line-height: 1.2; }
.calc-out .co-main i { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, .68); margin-left: 5px; }
.co-rows { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.co-row { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0; font-size: 14px; color: rgba(255, 255, 255, .74); }
.co-row b { font-size: 16px; color: #fff; font-weight: 700; }
.co-note { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .56); line-height: 1.8; }
.co-note a { color: var(--c-gold-2); text-decoration: underline; }
.calc-blk { margin-top: 22px; }
.calc-blk h3 { font-size: 18px; margin-bottom: 14px; }
.tax-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tax-list div { background: var(--c-bg); border-radius: var(--r-sm); padding: 14px 16px; }
.tax-list dt { font-size: 12px; color: var(--c-text-3); }
.tax-list dd { margin: 6px 0 0; font-size: 19px; font-weight: 800; color: var(--c-primary); }

/* ---------------- 其余零碎 ---------------- */
.form-page { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 30px 32px; }
.form-page .f-item { max-width: 520px; }
.form-page h3 { font-size: 19px; margin-bottom: 6px; }
.form-page .sub { font-size: 14px; color: var(--c-text-2); margin-bottom: 22px; }
.form-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.side-list { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 22px 24px; }
.side-list h4 { font-size: 16px; margin-bottom: 12px; }
.side-list li { font-size: 14px; color: var(--c-text-2); line-height: 1.9; padding-left: 18px; position: relative; }
.side-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); }

/* 导航项变多后，窄一点的桌面端先收一收间距，避免换行 */
@media (max-width: 1440px) {
  .hd-in { gap: 22px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 12px; font-size: 14.5px; }
}
@media (max-width: 1240px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .hd-in { gap: 16px; }
  .hd-cta { margin-left: 0; }
}
@media (max-width: 1080px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-out { position: static; }
  .tax-list { grid-template-columns: repeat(2, 1fr); }
  .agc { padding: 16px; }
}
@media (max-width: 860px) {
  .form-two { grid-template-columns: 1fr; }
  .mo-box { padding: 26px 20px 22px; }
  .tax-list { grid-template-columns: 1fr; }
  .chrome { display: none; }
}
@media (max-width: 560px) {
  .entry-grid { grid-template-columns: 1fr; }
  .tax-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- 还款明细表（房贷计算器） ---------------- */
.plan-scroll {
  border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: auto;
  background: var(--c-card); max-height: 520px;
}
.plan-tb { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan-tb th, .plan-tb td { padding: 11px 16px; text-align: right; white-space: nowrap; }
.plan-tb th:first-child, .plan-tb td:first-child { text-align: left; }
.plan-tb thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--c-bg-deep); font-size: 13px; font-weight: 600; color: var(--c-text-2);
}
.plan-tb tbody tr + tr td { border-top: 1px solid var(--c-line); }
.plan-tb tbody tr:nth-child(even) td { background: rgba(247, 245, 240, .55); }
.plan-tb td b { color: var(--c-primary); font-weight: 700; }
.plan-tb tfoot td { background: var(--c-primary-bg); font-weight: 700; color: var(--c-primary); }
.plan-tb tfoot td:first-child { color: var(--c-primary); }
.plan-tb .pl-hi td { background: rgba(166, 124, 61, .08); }
@media (max-width: 860px) {
  .calc-out .co-main { font-size: 34px; }
}


/* ==========================================================================
   专业版扩建：导航下拉 / 行情图表 / 地图找房 / 生活服务 / 估价 / 指南
   --------------------------------------------------------------------------
   全部沿用上面的颜色变量，不引入新的品牌色，也不引第三方 CSS。
   ========================================================================== */

/* ---------------- 导航下拉 ---------------- */
.nav-dd { position: relative; }
.nav-dd-h { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret {
  width: 0; height: 0; margin-top: 3px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .5;
}
.nav-dd-b {
  position: absolute; left: 50%; top: 100%; z-index: 60;
  min-width: 262px; padding: 8px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(30, 36, 32, .14);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-dd-b::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd-b, .nav-dd:focus-within .nav-dd-b {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dd-b a { display: block; padding: 10px 14px; border-radius: 11px; }
.nav-dd-b a b { display: block; font-size: 14px; font-weight: 700; color: var(--c-text); }
.nav-dd-b a i { display: block; font-style: normal; font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.nav-dd-b a:hover { background: var(--c-primary-bg); }
.nav-dd-b a:hover b { color: var(--c-primary); }

/* ---------------- 页脚（5 列 + 标签） ---------------- */
.ft-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; }
.ft-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ft-tags span {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .68);
}

/* ---------------- 排行条 ---------------- */
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-i {
  display: grid; grid-template-columns: 132px 1fr 112px; align-items: center; gap: 14px;
  padding: 8px 10px; border-radius: 12px; transition: background .16s;
}
a.bar-i:hover { background: var(--c-primary-bg); }
.bar-n { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; }
.bar-n i {
  font-style: normal; font-size: 11px; font-weight: 600; color: var(--c-gold);
  background: rgba(166, 124, 61, .12); padding: 1px 7px; border-radius: 999px; white-space: nowrap;
}
.bar-t { height: 10px; border-radius: 999px; background: var(--c-bg-deep); overflow: hidden; }
.bar-t i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c-primary), var(--c-primary-2)); }
.bar-v { text-align: right; font-size: 13px; color: var(--c-text-2); white-space: nowrap; }
.bar-v b { font-size: 16px; font-weight: 800; color: var(--c-price); }
.bar-v em { font-style: normal; font-size: 11px; color: var(--c-text-3); margin-left: 3px; }

/* ---------------- 折线图 / 仪表盘 / 评分条 ---------------- */
.chart { width: 100%; }
.chart svg { display: block; width: 100%; height: auto; }
.chart-unit { margin-top: 4px; text-align: right; font-size: 12px; color: var(--c-text-3); }
.gauge { text-align: center; }
.gauge svg { display: block; width: 100%; max-width: 214px; height: auto; margin: 0 auto; }
.gauge-v { margin-top: -30px; }
.gauge-v b { display: block; font-size: 30px; font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.gauge-v span { font-size: 12px; color: var(--c-text-3); }
.gauge-h { margin-top: 10px; font-size: 12px; color: var(--c-text-2); }
.sbars { display: flex; flex-direction: column; gap: 9px; }
.sbar { display: grid; grid-template-columns: 76px 1fr 42px; align-items: center; gap: 12px; }
.sbar-l { font-size: 13px; color: var(--c-text-2); }
.sbar-t { height: 8px; border-radius: 999px; background: var(--c-bg-deep); overflow: hidden; }
.sbar-t i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c-gold), var(--c-gold-2)); }
.sbar-v { text-align: right; font-size: 13px; font-weight: 700; color: var(--c-primary); }

/* ---------------- 行情 KPI ---------------- */
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.kpi b { display: block; font-size: 30px; font-weight: 800; color: var(--c-primary); line-height: 1.15; }
.kpi b i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--c-text-3); margin-left: 4px; }
.kpi span { display: block; font-size: 13px; color: var(--c-text-2); margin-top: 6px; }
.heat-lv { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.heat-hot { background: rgba(150, 57, 31, .12); color: #96391F; }
.heat-warm { background: rgba(166, 124, 61, .16); color: #8A6423; }
.heat-normal { background: rgba(14, 74, 59, .10); color: #0E4A3B; }
.heat-cold { background: rgba(91, 97, 91, .12); color: #5B615B; }

/* ---------------- 地图找房 ---------------- */
.map-page { display: grid; grid-template-columns: 384px 1fr; gap: 22px; align-items: start; }
.map-side {
  display: flex; flex-direction: column; max-height: 660px; overflow: hidden;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px;
}
.map-side-hd { padding: 15px 18px; border-bottom: 1px solid var(--c-line); font-size: 14px; color: var(--c-text-2); }
.map-side-hd b { color: var(--c-primary); font-size: 17px; }
.map-side-bd { display: flex; flex-direction: column; gap: 12px; padding: 14px; overflow-y: auto; }
.map-box {
  position: relative; height: 660px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--c-line); background: var(--c-bg-deep);
}
#map { position: absolute; inset: 0; }
.map-tip {
  position: absolute; left: 14px; top: 14px; z-index: 500;
  padding: 9px 14px; font-size: 13px; color: var(--c-text-2);
  background: rgba(255, 255, 255, .94); border: 1px solid var(--c-line);
  border-radius: 12px; box-shadow: var(--shadow-sm);
}
.map-tiles { position: absolute; right: 14px; top: 14px; z-index: 500; display: flex; gap: 6px; }
.mk-card {
  display: flex; gap: 12px; padding: 10px; background: #fff;
  border: 1px solid var(--c-line); border-radius: 14px;
  transition: border-color .16s, box-shadow .16s;
}
.mk-card:hover { border-color: rgba(166, 124, 61, .45); box-shadow: var(--shadow-sm); }
.mk-card.on { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(14, 74, 59, .12); }
.mk-img { flex: 0 0 auto; width: 98px; height: 76px; border-radius: 11px; overflow: hidden; background: var(--c-bg-deep); }
.mk-img img { width: 100%; height: 100%; object-fit: cover; }
.mk-bd { flex: 1; min-width: 0; }
.mk-bd h4 { font-size: 14px; line-height: 1.45; }
.mk-meta { margin-top: 4px; font-size: 12px; color: var(--c-text-3); }
.mk-price { margin-top: 6px; font-size: 17px; font-weight: 800; color: var(--c-price); }
.mk-price i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--c-text-3); }
.pin {
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 11px;
  background: #fff; border: 2px solid var(--c-primary); border-radius: 999px;
  color: var(--c-primary); font-size: 12px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(14, 74, 59, .22); cursor: pointer;
}
.pin.rent { border-color: var(--c-gold); color: #8A6423; }
.pin.on { background: var(--c-primary); color: #fff; }
.pin.on.rent { background: var(--c-gold); color: #241A08; }

/* ---------------- 生活服务 / 招聘 ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  display: flex; flex-direction: column; gap: 12px; padding: 20px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.svc-hd { display: flex; align-items: flex-start; gap: 12px; }
.svc-av {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 800;
}
.svc-t { flex: 1; min-width: 0; }
.svc-t h4 { font-size: 17px; }
.svc-sub { margin-top: 3px; font-size: 12px; color: var(--c-text-3); }
.svc-r { flex: 0 0 auto; text-align: right; }
.svc-r b { display: block; margin-top: 2px; font-size: 13px; color: var(--c-gold); }
.svc-items { display: flex; flex-direction: column; gap: 7px; padding-top: 10px; border-top: 1px dashed var(--c-line); }
.svc-items li { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--c-text-2); }
.svc-items li b { color: var(--c-price); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.svc-tags span { font-size: 12px; color: var(--c-primary); background: var(--c-primary-bg); padding: 3px 9px; border-radius: 999px; }
.svc-loc { font-size: 12px; color: var(--c-text-3); }
.svc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--c-line);
}
.svc-price { font-size: 18px; font-weight: 800; color: var(--c-price); }
.svc-price i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--c-text-3); }
.job { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.job-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.job-hd h4 { font-size: 17px; }
.job-urgent { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #96391F; background: rgba(150, 57, 31, .12); padding: 2px 7px; border-radius: 999px; }
.job-pay { font-size: 16px; font-weight: 800; color: var(--c-price); white-space: nowrap; }
.job-co { font-size: 13px; color: var(--c-text-2); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span { font-size: 12px; color: var(--c-text-3); background: var(--c-bg-deep); padding: 3px 9px; border-radius: 999px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.job-tags span { font-size: 12px; color: var(--c-primary); background: var(--c-primary-bg); padding: 3px 9px; border-radius: 999px; }
.job-foot { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-line); }

/* ---------------- 免费估价 ---------------- */
.val-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 26px; align-items: start; }
.val-form { padding: 24px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.val-res {
  padding: 26px; color: #fff; border-radius: 18px;
  background: linear-gradient(160deg, var(--c-primary-deep), var(--c-primary));
}
.val-lb { font-size: 11px; letter-spacing: 3px; color: rgba(255, 255, 255, .6); }
.val-num { margin-top: 8px; font-size: 42px; font-weight: 800; line-height: 1.15; }
.val-num i { margin-left: 4px; font-style: normal; font-size: 16px; opacity: .82; }
.val-range { margin-top: 6px; font-size: 14px; color: var(--c-gold-2); }
.val-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; }
.val-rows div { display: flex; justify-content: space-between; gap: 12px; }
.val-rows span { color: rgba(255, 255, 255, .64); }
.val-tip { margin-top: 16px; font-size: 12px; line-height: 1.75; color: rgba(255, 255, 255, .6); }
.val-chart { margin-top: 18px; padding: 18px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; }

/* ---------------- 购房指南 ---------------- */
.gd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gd-card { padding: 22px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.gd-card h4 { font-size: 17px; }
.gd-card p { margin-top: 8px; font-size: 13px; color: var(--c-text-2); }
.gd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: gd; }
.gd-step { position: relative; padding: 26px 20px 20px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; }
.gd-step::before {
  counter-increment: gd; content: counter(gd);
  position: absolute; left: 18px; top: -16px; width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff; font-size: 15px; font-weight: 800;
}
.gd-step h4 { font-size: 15px; }
.gd-step p { margin-top: 6px; font-size: 13px; color: var(--c-text-2); }
.gd-faq { display: flex; flex-direction: column; gap: 10px; }
.gd-q { overflow: hidden; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; }
.gd-q > button {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 16px 20px; background: none; border: 0;
  font-size: 15px; font-weight: 700; color: var(--c-text); text-align: left;
}
.gd-q > button::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--c-gold); }
.gd-q.on > button::after { content: "−"; }
.gd-q .gd-a { display: none; padding: 0 20px 18px; font-size: 14px; line-height: 1.8; color: var(--c-text-2); }
.gd-q.on .gd-a { display: block; }
.gd-tb { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.gd-tb th, .gd-tb td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-line); }
.gd-tb th { background: var(--c-bg-deep); font-size: 13px; color: var(--c-text-2); }
.gd-tb tr:last-child td { border-bottom: 0; }
.gd-tb td b { color: var(--c-primary); }

/* ---------------- 生活服务分类入口 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 14px; }
.cat-i {
  display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 18px 8px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-i:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: rgba(166, 124, 61, .4); }
.cat-i.on { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(14, 74, 59, .12); }
.cat-av { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; font-weight: 800; }
.cat-i b { font-size: 13px; font-weight: 700; }
.cat-i em { font-style: normal; font-size: 10px; letter-spacing: 1.4px; color: var(--c-text-3); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1240px) {
  .hd-cta .btn.hide-sm { display: none; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .ft-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .svc-grid, .gd-grid { grid-template-columns: repeat(2, 1fr); }
  .gd-steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .mk-kpis { grid-template-columns: repeat(2, 1fr); }
  .map-page { grid-template-columns: 1fr; }
  .map-box, .map-side { max-height: 480px; }
  .map-box { height: 480px; }
  .val-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .nav-dd-b { display: none; }
  .hd.menu-open .nav-dd { display: block; }
  .hd.menu-open .nav-dd-b {
    display: block; position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; margin: 0; padding: 0 0 8px 12px; border: 0; box-shadow: none; background: transparent;
  }
  .hd.menu-open .nav-dd-h { display: flex; }
  .hd.menu-open .nav-dd-b a { padding: 11px 14px; }
  .hd.menu-open .nav-dd-b a i { display: none; }
  .bar-i { grid-template-columns: 96px 1fr 88px; gap: 10px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .ft-top { grid-template-columns: 1fr; }
  .svc-grid, .gd-grid, .gd-steps, .mk-kpis { grid-template-columns: 1fr; }
  .bar-i { grid-template-columns: 80px 1fr 74px; }
  .bar-n { font-size: 13px; }
  .bar-v b { font-size: 15px; }
  .map-box { height: 380px; }
  .map-box, .map-side { max-height: 400px; }
  .svc-grid { gap: 16px; }
  .val-num { font-size: 34px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sbar { grid-template-columns: 64px 1fr 36px; }
}

/* ---------------- 地图页小件 ---------------- */
.ck {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--c-text-2); cursor: pointer; user-select: none;
}
.ck input { width: 15px; height: 15px; accent-color: var(--c-primary); cursor: pointer; }
.map-count { font-size: 13px; font-weight: 700; color: var(--c-primary); }
.map-nogeo {
  font-size: 12px; line-height: 1.75; color: var(--c-text-2);
  background: var(--c-bg-deep); padding: 10px 13px; border-radius: 12px;
}
.map-fail {
  display: flex; align-items: center; justify-content: center; height: 100%;
  padding: 30px; text-align: center; font-size: 14px; color: var(--c-text-2);
}
.pin-hold { background: none; border: 0; }
.pin-hold .pin { transform: translate(-50%, -50%); }
.pin em { font-style: normal; font-size: 10px; font-weight: 600; opacity: .78; margin-left: 2px; }
.mp { width: 208px; }
.mp img { width: 100%; height: 108px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.mp b { display: block; font-size: 14px; line-height: 1.45; color: var(--c-text); }
.mp span { display: block; margin-top: 4px; font-size: 12px; color: var(--c-text-3); }
.mp i { display: block; margin-top: 6px; font-style: normal; font-size: 17px; font-weight: 800; color: var(--c-price); }
.mp a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--c-primary); }
.leaflet-container { font: inherit; background: #EAE5DB; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 12px 30px rgba(30, 36, 32, .18); }
.leaflet-popup-content { margin: 14px; }

/* ---------------- 行情页小件 ---------------- */
.sec-pick { display: flex; align-items: center; gap: 10px; }
.sec-pick label { font-size: 13px; color: var(--c-text-2); white-space: nowrap; }
.sec-pick select {
  height: 40px; min-width: 240px; max-width: 380px; padding: 0 12px;
  border: 1px solid var(--c-line); border-radius: 10px; background: #fff;
  font: inherit; font-size: 14px; color: var(--c-text);
}
.sec-pick select:focus { outline: 2px solid rgba(14, 74, 59, .2); border-color: var(--c-primary); }
.mk-warn {
  margin-top: 12px; padding: 11px 14px; border-radius: 12px;
  font-size: 12px; line-height: 1.7; color: #8A6423;
  background: rgba(166, 124, 61, .10); border-left: 3px solid var(--c-gold);
}
.mk-note {
  margin: 0 0 8px; padding: 16px 20px; border-radius: 14px;
  font-size: 12px; line-height: 1.8; color: var(--c-text-2);
  background: var(--c-bg-deep);
}
@media (max-width: 860px) {
  /* 窄屏时「区域 / 选择房源」这类右侧控件换行独占一行，免得把页面顶宽出现横向滚动条 */
  .sec-hd { flex-wrap: wrap; }
  .sec-pick { width: 100%; }
  .sec-pick select { min-width: 0; flex: 1; }
}

.gd-disclaim {
  margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  font-size: 12px; line-height: 1.8; color: var(--c-text-2);
  background: rgba(166, 124, 61, .09); border-left: 3px solid var(--c-gold);
}
.gd-tb { margin-top: 4px; }

/* 导航挤压保护：窗口变窄先缩内边距与字号，再藏掉次要按钮，保证 8 个主项不换行不重叠 */
@media (max-width: 1240px) {
  .nav { gap: 2px; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .nav a.on::after { left: 9px; right: 9px; }
  .hd-in { gap: 20px; }
  .hd-cta .btn { padding: 0 12px; }
  .hd-cta a[href="valuation.html"] { display: none; }
}
@media (max-width: 1080px) {
  .hd-in { gap: 14px; }
}
.ck { white-space: nowrap; }
.filters .fr .ck { flex: 0 0 auto; }
/* ---------------- 页脚二维码（公众号 / 小程序）：后台「页脚二维码」上传后才出现 ---------------- */
/* 多了第 6 列（二维码），所以要在默认 5 列之外单独给一档列宽；后面三档断点同理要跟着覆盖 */
.ft-top.has-qr { grid-template-columns: 1.32fr .88fr .88fr .9fr 1.08fr 178px; gap: 26px; }
.ft-qr-row { display: flex; gap: 14px; }
.ft-qr-i { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ft-qr-i img { width: 82px; height: 82px; display: block; border-radius: 10px; background: #fff; box-sizing: border-box; padding: 4px; }
.ft-qr-i span { font-size: 12px; color: rgba(255, 255, 255, .5); letter-spacing: .5px; }
@media (max-width: 1080px) { .ft-top.has-qr { grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; } }
@media (max-width: 860px) { .ft-top.has-qr { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) { .ft-top.has-qr { grid-template-columns: 1fr; } }
