:root {
  --primary: #00AE66;
  --primary-dark: #00995A;
  --primary-light: #E6F7EF;
  --accent: #FF6F00;
  --success: #2AAE67;
  --warn: #FF8F1F;
  --danger: #E5484D;
  --text: #1A2233;
  --text-2: #5A6478;
  --text-3: #94A3B8;
  --line: #EDF0F5;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(26, 34, 51, .06);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 56px;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  /* 禁止系统/微信字体缩放把版面撑乱（部分安卓机型 textZoom 会放大页面文字） */
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; outline: none; border: none; background: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ============ 布局骨架 ============ */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; padding-bottom: 20px; }
.page.with-tabbar { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 12px); }
.page.with-actionbar { padding-bottom: calc(72px + var(--safe-bottom)); }

/* ============ 顶栏 ============ */
.navbar {
  position: sticky; top: 0; z-index: 1100;
  height: 48px; display: flex; align-items: center; padding: 0 8px;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.navbar .nav-title {
  flex: 1; text-align: center; font-size: 16px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text); flex-shrink: 0;
}
.nav-btn.placeholder { visibility: hidden; }

/* 沉浸式顶栏（首页/详情） */
.navbar.transparent {
  position: fixed; left: 0; right: 0; background: transparent; border: none;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.navbar.transparent .nav-btn { color: #fff; }
.navbar.transparent.scrolled {
  background: var(--card); color: var(--text); border-bottom: 1px solid var(--line);
  text-shadow: none;
}
.navbar.transparent.scrolled .nav-btn { color: var(--text); }

/* ============ 底部 TabBar ============ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex; background: var(--card); border-top: 1px solid var(--line);
}
.tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10px; color: var(--text-3); position: relative;
  white-space: nowrap; overflow: hidden;
}
.tabbar-item.active { color: var(--primary); }
.tabbar-item .icon { font-size: 20px; line-height: 1; }
.tabbar-item .badge {
  position: absolute; top: 4px; left: 50%; margin-left: 4px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--danger); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
}

/* ============ 卡片 ============ */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.card + .card { margin-top: 10px; }
.section { padding: 12px; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px 8px; font-size: 15px; font-weight: 600;
}
.section-title .more { font-size: 12px; color: var(--text-3); font-weight: 400; }

/* ============ 房源卡片 ============ */
.house-card {
  display: flex; gap: 10px; padding: 12px; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.house-card + .house-card { margin-top: 10px; }
.house-cover {
  width: 108px; height: 84px; border-radius: 10px; flex-shrink: 0;
  position: relative; overflow: hidden;
  background: var(--line);
}
.house-cover .badge-left {
  position: absolute; left: 0; top: 0; padding: 2px 6px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 10px; border-radius: 10px 0 10px 0;
}
.house-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.house-title {
  font-size: 14px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.house-meta { margin-top: 4px; font-size: 11px; color: var(--text-3); }
.house-tags { margin-top: 6px; display: flex; gap: 4px; flex-wrap: wrap; }
.tag {
  font-size: 10px; padding: 1px 6px; border-radius: 4px;
  background: var(--primary-light); color: var(--primary);
}
.tag.orange { background: #FFF3E6; color: var(--accent); }
.tag.green { background: #E6F7EF; color: var(--primary-dark); }
.house-bottom { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; }
.price { color: var(--danger); font-weight: 700; font-size: 17px; }
.price .unit { font-size: 11px; font-weight: 400; margin-left: 1px; }
.price-sm { color: var(--danger); font-weight: 600; font-size: 14px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 40px; padding: 0 18px; border-radius: 20px; font-size: 14px; font-weight: 500;
  transition: opacity .15s, transform .1s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:disabled { background: #B9CDE5; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--text-2); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-block { width: 100%; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12px; border-radius: 15px; }

/* ============ 表单 ============ */
.field { padding: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.field:last-child { border-bottom: none; }
.field label { width: 72px; flex-shrink: 0; color: var(--text-2); font-size: 13px; }
.field input, .field select, .field textarea {
  flex: 1; width: 100%; font-size: 14px; background: transparent;
}
.field textarea { min-height: 72px; resize: vertical; }
.field .arrow { color: var(--text-3); font-size: 14px; }
.field-block { display: block; padding: 12px; border-bottom: 1px solid var(--line); }
.field-block label { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 13px; }

/* ============ 空状态 ============ */
.empty {
  padding: 64px 24px; text-align: center; color: var(--text-3);
}
.empty .icon { font-size: 44px; opacity: .35; margin-bottom: 10px; }
.empty p { font-size: 13px; }

/* ============ Toast / Loading ============ */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 12px);
  max-width: 76vw; padding: 10px 16px; border-radius: 20px;
  background: rgba(26,34,51,.88); color: #fff; font-size: 13px;
  opacity: 0; pointer-events: none; transition: all .22s; z-index: 1300;
  text-align: center; line-height: 1.45;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.loading-mask {
  position: fixed; inset: 0; z-index: 1250; display: none;
  align-items: center; justify-content: center; background: rgba(0,0,0,.28);
}
.loading-mask.show { display: flex; }
.loading-box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 26px; border-radius: 12px; background: rgba(26,34,51,.9); color: #fff; font-size: 13px;
}
.spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 底部弹层 ============ */
.sheet-mask {
  position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .22s; display: flex; align-items: flex-end;
}
.sheet-mask.show { opacity: 1; }
.sheet {
  width: 100%; max-height: 78vh; background: var(--card);
  border-radius: 16px 16px 0 0; padding-bottom: var(--safe-bottom);
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.sheet-mask.show .sheet { transform: translateY(0); }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.sheet-close { font-size: 22px; color: var(--text-3); line-height: 1; width: 28px; }
.sheet-body { padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.confirm-text { text-align: center; padding: 12px 4px 20px; color: var(--text-2); line-height: 1.6; }
.confirm-actions { display: flex; gap: 10px; }
.confirm-actions .btn { flex: 1; }

/* ============ 底部操作栏 ============ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  padding: 10px 8px calc(10px + var(--safe-bottom));
  background: var(--card); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 4px;
}
/* 系统字体放大兜底：按钮文字禁止换行（防“竖排”），空间不足按 ghost→primary→图标区 顺序压缩 */
.actionbar .btn {
  white-space: nowrap; min-width: 0; flex: 0 1 auto;
  padding: 0 10px; font-size: 13.5px; overflow: hidden;
}
.actionbar .btn-ghost { flex-shrink: 2; }
.actionbar .btn-primary { flex-shrink: 1; }
.actionbar .detail-actions { flex: 1; gap: 4px; }
.actionbar .detail-actions .icon-btn { width: 34px; flex-shrink: 0; }

/* ============ 首页（安居客风格） ============ */
/* 吸顶搜索栏 */
.home-sticky {
  position: sticky; top: 0; z-index: 1100;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  background: #fff;
  transition: box-shadow .2s ease;
}
.home-sticky.stuck { box-shadow: 0 2px 10px rgba(16, 42, 67, .12); }
.home-search {
  display: flex; align-items: center; gap: 8px;
}
.home-search .city {
  flex-shrink: 0; display: flex; align-items: center; gap: 2px;
  font-size: 14px; font-weight: 600; padding-left: 4px;
}
.home-search .city small { font-size: 10px; color: var(--text-3); }
.home-search .pill {
  flex: 1; height: 34px; border-radius: 17px; background: #fff;
  display: flex; align-items: center; padding: 0 4px 0 12px; gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 90, 50, .08);
}
.home-search .pill .ph { flex: 1; font-size: 12.5px; color: var(--text-3); }
.home-search .go {
  height: 28px; padding: 0 13px; border-radius: 14px;
  background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center;
}
.home-search .map {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 17px; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 90, 50, .08);
}
.home-search .share {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 17px; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 90, 50, .08);
  transition: transform .15s ease;
}
.home-search .share:active { transform: scale(.9); }

/* 渐变头部（金刚区 + 头条） */
.home-header {
  padding: 14px 12px 14px;
  background: linear-gradient(180deg, #DFF5E9 0%, #EDFAF2 60%, var(--bg) 100%);
  color: var(--text);
}

/* 楼层 tabs 吸顶（位于吸顶搜索栏下方） */
.home-tabs.sticky-tabs {
  position: sticky;
  top: calc(54px + env(safe-area-inset-top, 0px));
  z-index: 39;
  background: #fff;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.home-tabs.sticky-tabs.stuck { box-shadow: 0 2px 8px rgba(16, 42, 67, .08); }

/* 列表最短占满一屏，保证筛选后 tabs 仍能吸顶 */
#floorList { min-height: calc(100vh - 160px); }

/* 金刚区（两行彩色入口） */
.icon-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px 4px; padding: 14px 8px 4px;
}
.icon-grid .g {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.icon-grid .g .bubble {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; position: relative;
  box-shadow: 0 4px 10px rgba(26, 34, 51, .10);
}
.icon-grid .g .bubble em {
  position: absolute; left: -4px; top: -4px; font-style: normal;
  font-size: 9px; padding: 1px 5px; border-radius: 8px;
  background: #E5484D; color: #fff; border: 1.5px solid #fff;
}
.icon-grid .g .tx { font-size: 11.5px; color: var(--text-2); white-space: nowrap; }

/* 头条栏 */
.headline {
  margin: 10px 12px 0; height: 34px; border-radius: 17px;
  background: #fff; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; box-shadow: var(--shadow); font-size: 12px;
  overflow: hidden;
}
.headline .h-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--primary-dark);
}
.headline .h-wrap {
  flex: 1; height: 34px; overflow: hidden; position: relative;
}
.headline .h-list {
  display: flex; flex-direction: column;
  transition: transform .45s ease;
}
.headline .h-text {
  height: 34px; line-height: 34px; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex-shrink: 0;
}
.headline .h-list.no-anim { transition: none; }
.headline .h-arrow { flex-shrink: 0; color: var(--text-3); }

/* 首页楼层 Tabs */
.home-tabs {
  display: flex; gap: 16px; padding: 16px 14px 8px; align-items: baseline;
}
.home-tabs .t {
  font-size: 14px; color: var(--text-2); position: relative;
  padding-bottom: 5px; white-space: nowrap; flex-shrink: 0;
}
.home-tabs .t.active { font-size: 16px; font-weight: 700; color: var(--text); }
.home-tabs .t.active::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px; background: var(--primary);
}
.home-tabs .more { margin-left: auto; font-size: 12px; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }

/* 中间凸起发布按钮 */
.tabbar { overflow: visible; }
.tab-fab {
  flex-shrink: 0; margin-top: -18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 174, 102, .45);
}
.tab-fab .tx { font-size: 9px; margin-top: 1px; }

.quick-filters {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px;
  scrollbar-width: none;
}
.quick-filters::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 6px 14px; border-radius: 16px;
  background: var(--card); color: var(--text-2); font-size: 12px;
  box-shadow: var(--shadow); white-space: nowrap;
}
.chip.active { background: var(--primary); color: #fff; }

.banner {
  margin: 4px 12px 0; border-radius: var(--radius); padding: 16px;
  background: linear-gradient(120deg, #FFF3E6, #FFE7CC);
  display: flex; align-items: center; justify-content: space-between;
}
.banner .t { font-size: 14px; font-weight: 600; color: #8A4B00; }
.banner .d { font-size: 11px; color: #A9713A; margin-top: 3px; }
.banner .btn { height: 30px; padding: 0 14px; font-size: 12px; border-radius: 15px; }

/* ===== 轮播广告位 ===== */
.swiper {
  position: relative; margin: 12px 12px 0;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 42, 67, .13);
}
.swiper-track {
  display: flex; height: 132px;
  transition: transform .42s cubic-bezier(.32, .72, .28, 1);
  will-change: transform;
}
.swiper-track.no-anim { transition: none; }
.swiper-slide {
  flex: 0 0 100%; height: 100%; position: relative;
  padding: 16px 16px 14px; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; overflow: hidden;
}
.swiper-slide::after {
  content: ''; position: absolute; right: -28px; top: -28px;
  width: 118px; height: 118px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.swiper-slide::before {
  content: ''; position: absolute; right: 26px; bottom: -46px;
  width: 82px; height: 82px; border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.swiper-slide .s-tag {
  align-self: flex-start; font-size: 10px; line-height: 1;
  padding: 4px 8px; border-radius: 9px;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px);
}
.swiper-slide .s-title {
  font-size: 18px; font-weight: 700; letter-spacing: .2px;
  margin-top: 9px; line-height: 1.28; position: relative; z-index: 1;
}
.swiper-slide .s-sub {
  font-size: 11.5px; opacity: .88; margin-top: 5px; position: relative; z-index: 1;
}
.swiper-slide .s-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 8px; position: relative; z-index: 1;
}
.swiper-slide .s-cta {
  font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 11px;
  background: rgba(255, 255, 255, .95); color: #1F3A5F;
}
.swiper-slide .s-kind { font-size: 10px; opacity: .72; letter-spacing: 1px; }

.swiper-dots {
  position: absolute; right: 12px; bottom: 44px;
  display: flex; gap: 4px; z-index: 3;
}
.swiper-dots i {
  width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .48);
  transition: width .28s ease, background .28s ease;
}
.swiper-dots i.on { width: 14px; background: #fff; }

/* ===== 金刚区 ===== */
.quick-svc {
  display: flex; gap: 6px; padding: 12px 8px 2px;
}
.quick-svc .q {
  flex: 1; text-align: center; padding: 8px 0;
  border-radius: 10px; background: var(--card);
}
.quick-svc .q .ic { font-size: 21px; line-height: 1.1; }
.quick-svc .q .tx { font-size: 10.5px; color: var(--text-2); margin-top: 4px; white-space: nowrap; }

/* ===== 推广详情弹层 ===== */
.promo-row {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px dashed var(--line); font-size: 12.5px;
}
.promo-row:last-child { border-bottom: none; }
.promo-row .k {
  flex: 0 0 62px; color: var(--primary); font-weight: 600;
}
.promo-row .v { flex: 1; color: var(--text-2); line-height: 1.55; }
.promo-tip {
  margin-top: 10px; padding: 9px 11px; border-radius: 9px;
  background: #FFF6E8; color: #9A6414; font-size: 11.5px; line-height: 1.55;
}

/* ============ 汽车小镇周边页 ============ */
.town-hero {
  padding: 14px 14px 16px;
  background: linear-gradient(150deg, #5257B8 0%, #6E72CC 60%, #8E92DE 100%);
  color: #fff;
}
.town-hero .t-name { font-size: 20px; font-weight: 700; }
.town-hero .t-sub { font-size: 12px; opacity: .86; margin-top: 3px; }
.town-hero .t-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.town-hero .t-chips span {
  font-size: 10.5px; padding: 3px 8px; border-radius: 9px;
  background: rgba(255, 255, 255, .2);
}
.town-hero .t-desc {
  font-size: 12px; line-height: 1.62; opacity: .92; margin-top: 10px;
}

.radius-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--card);
  border-bottom: 1px solid var(--line);
}
.radius-bar .rb-label { font-size: 12px; color: var(--text-3); }
.radius-bar .rb-opts { display: flex; gap: 6px; }
.radius-bar .rb {
  font-size: 12px; padding: 4px 12px; border-radius: 12px;
  background: var(--bg); color: var(--text-2);
}
.radius-bar .rb.active { background: var(--primary); color: #fff; font-weight: 600; }
.radius-bar .rb-cnt { margin-left: auto; font-size: 11.5px; color: var(--text-3); }

.town-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px;
  background: var(--card); scrollbar-width: none;
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
}
.town-tabs::-webkit-scrollbar { display: none; }
.town-tabs .tt {
  flex-shrink: 0; font-size: 12.5px; padding: 6px 13px; border-radius: 15px;
  background: var(--bg); color: var(--text-2); white-space: nowrap;
}
.town-tabs .tt.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }

.dist-hint { padding: 10px 14px 4px; font-size: 11.5px; color: var(--text-3); }

.n-card {
  display: flex; gap: 10px; margin: 8px 12px 0; padding: 11px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.n-card:active { transform: scale(.985); }
.n-cover {
  width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.n-info { flex: 1; min-width: 0; }
.n-title { font-size: 14px; font-weight: 600; }
.n-meta { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.n-note { font-size: 11.5px; color: var(--text-2); margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.n-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.n-rent { font-size: 12px; color: var(--danger); font-weight: 600; }
.n-rent.sm { color: var(--text-2); font-weight: 400; font-size: 11.5px; }
.n-go { font-size: 11.5px; color: var(--primary); font-weight: 600; }
.ftag {
  display: inline-block; font-size: 10px; padding: 1px 5px; border-radius: 4px;
  background: #EFEDFF; color: #6E5BE0; margin-right: 4px;
}

.job-card {
  margin: 8px 12px 0; padding: 12px; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.j-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.j-title { font-size: 14.5px; font-weight: 600; }
.j-sal { font-size: 13px; color: var(--danger); font-weight: 700; flex-shrink: 0; }
.j-fac { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.j-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 7px; }
.j-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line);
}

.cm-row {
  display: flex; gap: 11px; align-items: flex-start;
  margin: 8px 12px 0; padding: 12px; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.cm-ic { font-size: 22px; line-height: 1.2; }
.cm-name { font-size: 13.5px; font-weight: 600; }
.cm-desc { font-size: 11.5px; color: var(--text-2); margin-top: 3px; line-height: 1.55; }

/* ============ 搜索页 ============ */
.search-bar {
  position: sticky; top: 0; z-index: 30; background: var(--card);
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
.search-bar .input-wrap {
  flex: 1; height: 36px; border-radius: 18px; background: var(--bg);
  display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.search-bar input { flex: 1; font-size: 13px; }
.search-bar .cancel { font-size: 13px; color: var(--text-2); }

.filters { background: var(--card); border-bottom: 1px solid var(--line); }
.filter-row { display: flex; padding: 0 8px; border-bottom: 1px solid var(--line); }
.filter-row:last-child { border-bottom: none; }
.filter-row .label {
  width: 44px; flex-shrink: 0; font-size: 12px; color: var(--text-3);
  display: flex; align-items: center; padding: 10px 0;
}
.filter-row .opts { flex: 1; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.filter-row .opts::-webkit-scrollbar { display: none; }
.filter-row .opt {
  flex-shrink: 0; padding: 4px 12px; border-radius: 14px; font-size: 12px;
  background: var(--bg); color: var(--text-2); white-space: nowrap;
}
.filter-row .opt.active { background: var(--primary-light); color: var(--primary); font-weight: 500; }

.result-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; font-size: 12px; color: var(--text-3);
}
.result-bar .sort { display: flex; gap: 12px; }
.result-bar .sort span { cursor: pointer; }
.result-bar .sort span.active { color: var(--primary); font-weight: 500; }

/* ============ 详情页 ============ */
.gallery {
  position: relative; height: 240px; overflow: hidden;
}
/* 顶部渐变遮罩：保证透明导航栏白字在浅色/白色图片上仍可读 */
.gallery .gal-shade {
  position: absolute; top: 0; left: 0; right: 0; height: 76px; z-index: 1;
  background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0));
  pointer-events: none;
}
/* 横向滑动轮播：scroll-snap 原生手势，支持左右滑动切换 */
.gallery .track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .slide {
  flex: 0 0 100%; scroll-snap-align: start;
  background-size: cover; background-position: center;
}
.gallery .dots {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  padding: 2px 8px; border-radius: 10px; background: rgba(0,0,0,.45);
  color: #fff; font-size: 11px; pointer-events: none;
  font-variant-numeric: tabular-nums;
}
/* 轮播圆点指示器（底部居中） */
.gallery .pips {
  position: absolute; bottom: 13px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 5px; pointer-events: none;
}
.gallery .pips i {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.5); box-shadow: 0 0 3px rgba(0,0,0,.3);
  transition: all .2s ease;
}
.gallery .pips i.on { width: 18px; background: #fff; }
/* 首次进入的滑动提示（自动淡出） */
.gallery .swipe-tip {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%);
  z-index: 3; padding: 9px 16px; border-radius: 22px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px;
  white-space: nowrap; pointer-events: none;
  animation: swipeFade 2.6s ease forwards;
}
@keyframes swipeFade {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.92); }
  12% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1); }
}
.detail-head { padding: 14px 14px 12px; background: var(--card); }
.detail-head .title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.detail-head .price-row { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; }
.detail-head .price { font-size: 22px; }
.detail-head .price-sub { font-size: 12px; color: var(--text-3); }
.detail-head .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }

.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 0; text-align: center; }
.meta-grid .item { border-right: 1px solid var(--line); }
.meta-grid .item:last-child { border-right: none; }
.meta-grid .v { font-size: 14px; font-weight: 600; }
.meta-grid .k { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.landlord-row { display: flex; align-items: center; gap: 10px; padding: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7EA6E0, #C3D9F5);
  color: #fff; font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.landlord-row .info { flex: 1; min-width: 0; }
.landlord-row .n { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.landlord-row .verify {
  font-size: 10px; padding: 1px 5px; border-radius: 3px;
  background: #E8F7EF; color: var(--success); font-weight: 400;
}
.landlord-row .d { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; padding: 4px 0; }
.facility-grid .f { text-align: center; font-size: 11px; color: var(--text-2); }
.facility-grid .f .ic { font-size: 20px; display: block; margin-bottom: 2px; }

.desc-text { font-size: 13px; color: var(--text-2); line-height: 1.75; white-space: pre-wrap; }

.detail-actions { display: flex; align-items: center; gap: 8px; flex: 1; }
.detail-actions .icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  width: 46px; font-size: 10px; color: var(--text-2);
}
.detail-actions .icon-btn .icon { font-size: 19px; }
.detail-actions .icon-btn.on { color: var(--accent); }

/* ============ 列表 & 分组 ============ */
.list { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.list-item {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.list-item:last-child { border-bottom: none; }
.list-item .icon { font-size: 17px; width: 20px; text-align: center; }
.list-item .arrow { margin-left: auto; color: var(--text-3); }

/* ============ 个人中心 ============ */
.profile-head {
  padding: 56px 16px 22px;
  background: linear-gradient(160deg, #1976D2, #4EA4F0);
  color: #fff; display: flex; align-items: center; gap: 14px;
}
.profile-head .avatar {
  width: 56px; height: 56px; font-size: 22px;
  background: rgba(255,255,255,.24); backdrop-filter: blur(4px);
}
.profile-head .n { font-size: 18px; font-weight: 600; }
.profile-head .p { font-size: 12px; opacity: .85; margin-top: 2px; }
.stat-row {
  display: flex; margin: -14px 12px 0; padding: 16px 0; position: relative;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-row .s { flex: 1; text-align: center; }
.stat-row .v { font-size: 18px; font-weight: 700; }
.stat-row .k { font-size: 11px; color: var(--text-3); margin-top: 1px; }

/* ============ 订单 ============ */
.tabs {
  display: flex; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs .tab {
  flex-shrink: 0; padding: 12px 16px; font-size: 13px; color: var(--text-2);
  position: relative; white-space: nowrap;
}
.tabs .tab.active { color: var(--primary); font-weight: 600; }
.tabs .tab.active::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 2px; background: var(--primary);
}
.order-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.order-card + .order-card { margin-top: 10px; }
.order-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.order-head .st { font-weight: 600; }
.order-body { display: flex; gap: 10px; margin-top: 10px; }
.order-body .cover { width: 76px; height: 60px; border-radius: 8px; flex-shrink: 0; }
.order-body .info { flex: 1; min-width: 0; }
.order-body .t { font-size: 13px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-body .d { font-size: 11px; color: var(--text-3); margin-top: 6px; }
.order-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
}

/* ============ 消息 ============ */
.msg-item { display: flex; gap: 10px; padding: 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.msg-item .info { flex: 1; min-width: 0; }
.msg-item .row1 { display: flex; justify-content: space-between; align-items: center; }
.msg-item .n { font-size: 14px; font-weight: 600; }
.msg-item .t { font-size: 11px; color: var(--text-3); }
.msg-item .house { font-size: 11px; color: var(--primary); margin-top: 2px; }
.msg-item .last { font-size: 12px; color: var(--text-3); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-item .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--danger);
  flex-shrink: 0; align-self: center;
}

.chat { display: flex; flex-direction: column; height: calc(100vh - 48px); }
.chat-list { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.bubble-row { display: flex; gap: 8px; align-items: flex-start; }
.bubble-row.me { flex-direction: row-reverse; }
.bubble {
  max-width: 70%; padding: 9px 12px; border-radius: 12px;
  background: var(--card); font-size: 13px; line-height: 1.55; box-shadow: var(--shadow);
}
.bubble-row.me .bubble { background: var(--primary); color: #fff; }
.chat-input {
  display: flex; gap: 8px; padding: 10px 12px calc(10px + var(--safe-bottom));
  background: var(--card); border-top: 1px solid var(--line);
}
.chat-input input { flex: 1; height: 36px; border-radius: 18px; background: var(--bg); padding: 0 14px; font-size: 13px; }

/* ============ 收益 ============ */
.income-hero {
  padding: 20px 16px; color: #fff;
  background: linear-gradient(150deg, #1976D2, #3E9BE8);
}
.income-hero .label { font-size: 12px; opacity: .82; }
.income-hero .amount { font-size: 32px; font-weight: 700; margin-top: 4px; letter-spacing: -.5px; }
.income-hero .amount small { font-size: 15px; font-weight: 500; margin-right: 2px; }
.income-hero .range { font-size: 11px; opacity: .75; margin-top: 4px; }

.chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 10px 4px 0; }
.chart .bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .bar {
  width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #4EA4F0, #1976D2);
  transition: height .5s cubic-bezier(.2,.8,.2,1);
}
.chart .bar.hl { background: linear-gradient(180deg, #FFA351, #FF6F00); }
.chart .m { font-size: 10px; color: var(--text-3); }
.chart .v { font-size: 10px; color: var(--text-2); }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-cards .c {
  background: var(--card); border-radius: var(--radius); padding: 14px 8px;
  text-align: center; box-shadow: var(--shadow);
}
.stat-cards .v { font-size: 17px; font-weight: 700; color: var(--primary); }
.stat-cards .k { font-size: 11px; color: var(--text-3); margin-top: 3px; }

/* ============ 发布 ============ */
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upload-cell {
  aspect-ratio: 1; border-radius: 10px; background: var(--bg);
  border: 1px dashed #CBD5E1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  color: var(--text-3); font-size: 11px;
}
.upload-cell .plus { font-size: 22px; line-height: 1; }
.upload-cell .thumb {
  width: 100%; height: 100%; border-radius: 10px; position: relative;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px;
}
.upload-cell .del {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(0,0,0,.5); color: #fff;
  font-size: 12px; line-height: 18px; text-align: center;
}
.picker-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.picker-opts .o {
  padding: 6px 14px; border-radius: 16px; background: var(--bg);
  font-size: 12px; color: var(--text-2);
}
.picker-opts .o.active { background: var(--primary-light); color: var(--primary); font-weight: 500; }

/* ============ 骨架屏 ============ */
.sk { background: linear-gradient(90deg, #EEF1F5 25%, #E3E8EF 50%, #EEF1F5 75%);
  background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 6px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============ 通用工具类 ============ */
.row { display: flex; align-items: center; }
.gap-8 { gap: 8px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.px-12 { padding-left: 12px; padding-right: 12px; }
.muted { color: var(--text-3); font-size: 12px; }
.center { text-align: center; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }

/* ==================== 付费解锁 / 权益 / 预约 / 留言 ==================== */

/* 详情页：锁定角标 */
.lock-badge {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  padding: 5px 11px; border-radius: 14px; font-size: 12px;
  background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px);
}
.masked { color: var(--text-3); letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.phone-link { color: var(--primary); font-weight: 600; text-decoration: none; letter-spacing: .3px; }
.contact-meta { padding: 0 14px 12px; font-size: 12px; color: var(--text-3); }

/* 详情页：解锁商品卡（价格 / 权益 / 按钮就地露出，不用点开才知道） */
.unlock-buy { margin: 0 14px 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ub-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ub-price { font-size: 21px; font-weight: 700; color: var(--primary); line-height: 1; }
.ub-title { font-size: 14px; font-weight: 600; color: var(--text); }
.ub-days { font-size: 12px; color: var(--text-3); }
.ub-benefits { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; font-size: 12px; color: var(--text-2); }
.ub-benefits span { white-space: nowrap; }
.ub-btns { display: flex; gap: 8px; margin-top: 12px; }
.ub-main { flex: 1; min-width: 0; white-space: nowrap; }
.ub-vip { flex: 0 1 auto; min-width: 0; white-space: nowrap; font-size: 12.5px; padding: 0 10px; }
.ub-social { margin-top: 8px; font-size: 11.5px; color: var(--text-3); }

/* 底部操作栏里的锁态图标 */
.detail-actions .icon-btn.locked .icon { filter: grayscale(.2); opacity: .75; }

/* ---------- 解锁弹窗 ---------- */
.unlock-hero { text-align: center; padding: 6px 0 18px; }
.unlock-ico { font-size: 34px; line-height: 1; }
.unlock-t { font-size: 17px; font-weight: 700; margin-top: 8px; color: var(--text); }
.unlock-s { font-size: 12px; color: var(--text-3); margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.unlock-free {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #FFF6E5, #FFEBC7);
  border: 1px solid #FFDFA8; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 14px;
}
.unlock-free .lf-l { flex: 1; }
.unlock-free .lf-t { font-size: 13px; font-weight: 600; color: #8A5A00; }
.unlock-free .lf-s { font-size: 11px; color: #A87A2E; margin-top: 3px; }

.plan-list { display: flex; flex-direction: column; gap: 10px; }
.plan-card {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.plan-card:active { transform: scale(.985); }
.plan-card:first-child { border-color: var(--primary); background: var(--primary-light); }
.pc-main { flex: 1; min-width: 0; }
.pc-name { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.pc-tag { font-size: 10px; font-weight: 500; color: #fff; background: var(--primary);
  border-radius: 4px; padding: 1px 5px; }
.pc-tag.vip { background: linear-gradient(135deg,#E8A33D,#C97E1E); }
.pc-desc { font-size: 11.5px; color: var(--text-3); margin-top: 4px; line-height: 1.5; }
.pc-price { font-size: 19px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.pc-price span { font-size: 11px; font-weight: 400; color: var(--text-3); margin-left: 2px; }

.unlock-note {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); font-size: 11.5px; color: var(--text-2); line-height: 1.7;
}
.unlock-note b { color: var(--primary); }

/* ---------- 支付 ---------- */
.pay-loading { text-align: center; padding: 50px 0; color: var(--text-3); font-size: 13px; }
.pay-hero { text-align: center; padding: 4px 0 16px; }
.pay-amt { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.5px; }
.pay-name { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

.pay-qr { text-align: center; }
.qr-box {
  width: 180px; height: 180px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff;
}
.qr-box svg { width: 168px; height: 168px; }
.qr-placeholder { font-size: 12px; color: var(--text-3); text-align: center; line-height: 1.5; }
.qr-placeholder small { font-size: 10px; color: #bbb; }

.pay-tip { font-size: 12px; color: var(--text-3); margin-top: 12px; }
.pay-order { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.pay-order b { color: var(--text); letter-spacing: .5px; font-variant-numeric: tabular-nums; }

.pay-actions { margin-top: 20px; }
.pay-hint {
  margin-top: 14px; padding: 10px 12px; border-radius: 8px;
  background: var(--bg); font-size: 11.5px; color: var(--text-3); line-height: 1.6; text-align: center;
}

/* ---------- 登录弹层 ---------- */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.auth-tab {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 9px;
  font-size: 14px; color: var(--text-3); background: var(--bg); cursor: pointer;
  transition: all .15s;
}
.auth-tab.on { background: var(--primary); color: #fff; font-weight: 600; }
.auth-tip { margin-top: 16px; font-size: 11.5px; color: var(--text-3); text-align: center; line-height: 1.7; }

/* ---------- 我的权益 ---------- */
.vip-hero {
  margin: 12px; padding: 20px 18px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #3A4A5E, #232E3D);
  color: #fff; position: relative; overflow: hidden;
}
.vip-hero.on { background: linear-gradient(135deg, #C98B2E, #8C5A16); }
.vip-hero.on::after {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.vh-title { font-size: 17px; font-weight: 700; }
.vh-sub { font-size: 12px; opacity: .8; margin-top: 4px; }
.vh-stats { display: flex; gap: 28px; margin: 16px 0 4px; }
.vh-stats .vs { display: flex; flex-direction: column; }
.vh-stats .vs b { font-size: 21px; font-weight: 800; }
.vh-stats .vs span { font-size: 11px; opacity: .75; margin-top: 2px; }
.btn-white {
  margin-top: 14px; width: 100%; height: 40px; border-radius: 20px; border: none;
  background: #fff; color: #8C5A16; font-size: 14px; font-weight: 700; cursor: pointer;
}

.sec-head { padding: 14px 14px 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.unlock-item {
  display: flex; gap: 12px; padding: 12px 14px; text-decoration: none;
  color: inherit; border-top: 1px solid var(--line); align-items: center;
}
.unlock-item:first-of-type { border-top: none; }
.ui-cover {
  width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #cfe3d7, #eaf5ee); background-size: cover; background-position: center;
}
.ui-info { flex: 1; min-width: 0; }
.ui-title { font-size: 14px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.ui-exp { font-size: 11.5px; color: var(--primary); margin-top: 4px; }
.ui-exp.warn { color: var(--danger); }

.empty-sm { padding: 30px 14px; text-align: center; font-size: 13px; color: var(--text-3); }

.cell {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px; padding: 15px 16px; background: #fff; border-radius: var(--radius);
  font-size: 14.5px; color: var(--text); text-decoration: none;
  box-shadow: var(--shadow);
}
.cell .arrow { color: var(--text-3); font-size: 18px; }

.pay-item {
  background: #fff; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.pi-top { display: flex; justify-content: space-between; align-items: center; }
.pi-name { font-size: 14.5px; font-weight: 600; }
.pi-amt { font-size: 16px; font-weight: 700; color: var(--accent); }
.pi-mid { font-size: 12.5px; color: var(--text-2); margin-top: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-bot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; }
.pi-status.ok { color: var(--primary); font-weight: 600; }
.pi-status.warn { color: var(--warn); font-weight: 600; }
.pi-status.muted { color: var(--text-3); }
.pi-no { margin-top: 6px; font-size: 10.5px; color: #B8C2CE; font-variant-numeric: tabular-nums; }

/* ---------- 预约看房 ---------- */
.visit-item {
  background: #fff; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.vi-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.vi-title { font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none;
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-status { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.vi-status.ok { color: var(--primary); }
.vi-status.warn { color: var(--warn); }
.vi-status.muted { color: var(--text-3); }
.vi-row { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12.5px; color: var(--text-2); }
.vi-row b { color: var(--text); font-weight: 500; }
.vi-note {
  margin-top: 9px; padding: 8px 10px; border-radius: 8px;
  background: var(--bg); font-size: 12px; color: var(--text-2); line-height: 1.6;
}
.vi-actions { display: flex; gap: 8px; margin-top: 12px; }
.vi-actions .btn { flex: 1; }
.vi-actions:empty { display: none; }

/* 行政服务 */
.gov-card .n-foot { display: flex; gap: 8px; align-items: center; }
.btn-dial {
  display: inline-block; padding: 6px 14px; border-radius: 14px;
  background: linear-gradient(135deg,#00C97E,#00AE66); color: #fff !important;
  font-size: 12.5px; font-weight: 600; text-decoration: none;
}
.btn-copy {
  padding: 6px 12px; border-radius: 14px; border: 1px solid #d8dce2;
  background: #fff; color: #555; font-size: 12.5px;
}
.hotline-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 12px 14px; margin: 8px 12px;
  box-shadow: var(--shadow); text-decoration: none;
}
.hotline-row .hl-name { font-size: 13px; font-weight: 600; color: var(--text-1); flex-shrink: 0; }
.hotline-row .hl-note { flex: 1; font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hotline-row .hl-tel { font-size: 14px; font-weight: 700; color: var(--primary-dark); flex-shrink: 0; }

/* 园区地图 */
#parkmap { position: absolute; inset: 0; }
#parkmap .leaflet-popup-content { font-size: 13px; }
.map-legend {
  position: absolute; top: 60px; left: 10px; z-index: 1000;
  background: rgba(255,255,255,.92); border-radius: 12px; padding: 8px 10px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px;
  font-size: 11.5px; color: #444;
}
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.map-tip {
  padding: 10px 14px 90px; text-align: center; font-size: 11.5px; color: var(--text-3);
}

.map-note {
  position: absolute; left: 10px; right: 10px; bottom: 78px; z-index: 1000;
  background: rgba(255,248,230,.96); border: 1px solid #FFE0A3; color: #8A6D1F;
  font-size: 11.5px; line-height: 1.5; padding: 7px 10px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* 地图导航页 */
.ghero { text-align: center; padding: 22px 20px 12px; }
.ghero .gicon {
  width: 62px; height: 62px; border-radius: 20px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(135deg,#FF8A3D,#F55B2B); box-shadow: 0 6px 16px rgba(245,91,43,.28);
}
.ghero .gname { font-size: 19px; font-weight: 700; color: var(--text-1); }
.ghero .gaddr { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }
.ghero .gbadge {
  display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 12px;
  background: #FFF4EC; color: #C2410C; font-size: 11.5px; line-height: 1.6;
}
.gactions { padding: 10px 14px 4px; display: flex; flex-direction: column; gap: 10px; }
#amapBox { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #f2f4f7; }
.gbtn {
  display: block; width: 100%; text-align: center; padding: 13px 0; border-radius: 14px;
  background: #fff; color: var(--text-1); font-size: 14.5px; font-weight: 600;
  text-decoration: none; box-shadow: var(--shadow); border: 1px solid #eef0f3;
  box-sizing: border-box; cursor: pointer;
}
.gbtn.primary {
  background: linear-gradient(135deg,#00C97E,#00AE66); color: #fff; border: 0;
  box-shadow: 0 6px 16px rgba(0,174,102,.25);
}
.gtip {
  margin: 12px 14px 90px; padding: 12px 14px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow);
  font-size: 12.5px; color: var(--text-2); line-height: 1.85;
}
