/* ============ App 专用样式 ============ */

/* 门户页 */
.portal { min-height: 100vh; background: linear-gradient(135deg, #001529 0%, #003a70 50%, #0050a0 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.portal .logo { text-align: center; margin-bottom: 30px; }
.portal .logo .icon { font-size: 56px; }
.portal .logo h1 { color: #fff; font-size: 24px; margin-top: 10px; }
.portal .logo p { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 6px; }
.portal .role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 480px; width: 100%; }
.portal .role-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s; }
.portal .role-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.portal .role-card .icon { font-size: 36px; }
.portal .role-card h3 { color: #fff; font-size: 15px; margin: 10px 0 4px; }
.portal .role-card p { color: rgba(255,255,255,0.6); font-size: 11px; }
.portal .role-card .type-badge { display: inline-block; margin-top: 8px; padding: 2px 10px; background: rgba(255,255,255,0.15); border-radius: 10px; font-size: 10px; color: rgba(255,255,255,0.8); }
.portal .back-btn { position: absolute; top: 16px; left: 16px; color: #fff; font-size: 14px; cursor: pointer; background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 20px; }
.portal .admin-login-link { margin-top: 26px; color: rgba(255,255,255,0.35); font-size: 12px; cursor: pointer; padding: 7px 20px; border: 1px dashed rgba(255,255,255,0.25); border-radius: 20px; transition: all 0.3s; user-select: none; }
.portal .admin-login-link:hover { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }

/* Web后台头部 */
.web-role-badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,0.15); margin-left: 8px; }

/* 顶部返回 */
.nav-back { display: flex; align-items: center; gap: 4px; font-size: 14px; cursor: pointer; color: var(--primary); padding: 4px 0; }

/* VR模拟器 */
.vr-viewer { width: 100%; height: 300px; border-radius: var(--radius); background: linear-gradient(135deg, #87ceeb, #4682b4); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 48px; position: relative; overflow: hidden; margin-bottom: 12px; }
.vr-viewer::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px); }
.vr-source-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.vr-source-tab { padding: 6px 14px; border-radius: 16px; font-size: 13px; cursor: pointer; border: 1px solid var(--border); background: #fff; }
.vr-source-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 地图模拟 */
.map-container { width: 100%; height: 360px; border-radius: var(--radius); background: linear-gradient(135deg, #e8f4f8, #d1e8f0); position: relative; overflow: hidden; border: 1px solid var(--border); }
.map-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; transition: all 0.2s; }
.map-pin .pin-icon { font-size: 24px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.map-pin .pin-label { font-size: 10px; background: #fff; padding: 1px 6px; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); white-space: nowrap; margin-top: 2px; }

/* 进度条 */
.progress-bar { width: 100%; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.3s; }

/* 哈希展示 */
.hash-display { font-family: "Courier New", monospace; font-size: 12px; color: var(--text-secondary); background: #fafafa; padding: 8px 12px; border-radius: 4px; word-break: break-all; border: 1px solid var(--border); }

/* 证据链时间线 */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline .timeline-item { position: relative; padding-bottom: 16px; }
.timeline .timeline-item::before { content: ''; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline .timeline-item .time { font-size: 12px; color: var(--text-light); }
.timeline .timeline-item .action { font-size: 14px; margin-top: 2px; }
.timeline .timeline-item .operator { font-size: 12px; color: var(--text-secondary); }

/* 切换面板 */
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; cursor: pointer; inset: 0; background: #ccc; transition: 0.3s; border-radius: 22px; }
.switch .slider:before { position: absolute; content: ''; height: 16px; width: 16px; left: 3px; bottom: 3px; background: #fff; transition: 0.3s; border-radius: 50%; }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider:before { transform: translateX(18px); }

/* ===== 登录卡片（我的-手机号登录） ===== */
.login-card { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); }

/* ===== 发布中心 ===== */
.publish-tip { background: #fffbe6; border: 1px solid #ffe58f; border-radius: var(--radius); margin: 12px 10px; padding: 12px 14px; }
.publish-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 10px; }
.publish-entry { background: #fff; border-radius: var(--radius-lg); padding: 20px 14px; text-align: center; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s; }
.publish-entry:active { transform: scale(0.97); }
.publish-entry .icon-wrap { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; }
.publish-entry h4 { font-size: 14px; margin-bottom: 6px; }
.publish-entry p { font-size: 12px; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; }
.publish-entry .publish-btn { display: inline-block; font-size: 12px; color: #fff; background: var(--primary); padding: 5px 14px; border-radius: 16px; }

/* ===== 消息卡片 ===== */
.msg-card { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
.msg-card .msg-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.msg-card .msg-body { flex: 1; min-width: 0; }
.msg-card .msg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.msg-card .msg-title { font-size: 14px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-card .msg-desc { font-size: 13px; color: var(--text-secondary); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msg-card .msg-time { font-size: 11px; color: var(--text-light); margin-top: 6px; }

/* =========================================================
   V2.3 双列房源网格 / 贝壳风格筛选栏 / 热门商圈
   ========================================================= */

/* 面板打开时锁定背景滚动 */
body.filter-lock { overflow: hidden; }

/* ---- 双列房源网格（以单个办公场地为单元） ---- */
.property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
.unit-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s; }
.unit-card:active { transform: scale(0.97); }
.unit-thumb { position: relative; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, #e6f7ff, #C9D6E8); }
.unit-type { position: absolute; top: 8px; left: 8px; font-size: 11px; color: #fff; background: rgba(24,144,255,0.85); padding: 2px 8px; border-radius: 4px; }
.unit-info { padding: 10px 12px 12px; }
.unit-name { font-size: 15px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unit-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.unit-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; min-height: 20px; }
.unit-tags .tag { font-size: 11px; padding: 2px 7px; border-radius: 4px; background: var(--primary-light); color: var(--primary); }
/* V2.44.7：房源卡片联系方式（跟随后台展示规则，点击拨号） */
.unit-contact { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; color: var(--primary); background: var(--primary-light); border-radius: 4px; padding: 3px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.unit-contact:active { opacity: 0.7; }
/* V2.44.8：400电话未登记时的「开通中」灰色态 */
.unit-contact-pending { color: #999; background: #f5f5f5; cursor: default; }
.unit-price { color: var(--danger); font-weight: 700; font-size: 18px; margin-top: 8px; }
.unit-price span { font-size: 11px; font-weight: 400; color: var(--text-light); }
.unit-price-total { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }

/* ===== V2.70.83a：空行不占位（老板 2026-10-07 报「卡片排版间隙太大」）=====
   根因：后台把「字段展示位」的 sub/meta/tags 清空后，**值没了但元素还在** ——
     模板仍照常输出空 div，于是标题与价格之间堆出 36px 死空白（Chrome 实测 264px 卡片高）。
   修法：:empty 命中后整行 display:none，margin 与 min-height 一并失效。
     预期：标题→价格 36px → **8px**，卡片高 264px → 236px。
   ⚠️ :empty 只匹配**完全无子节点**的元素（含文本节点）。
     模板必须输出真正空的 <div class="unit-sub"></div>，不能是 <div> </div> 或含 &nbsp; 的写法，
     否则这条规则静默失效 —— 改模板时务必留意（JS 侧同时加了条件渲染做双保险）。
   ⚠️ 小程序端本来就有 wx:if 条件渲染（index.wxml:210/212），无此问题，不要照抄本规则过去。 */
.unit-sub:empty, .unit-tags:empty, .unit-price-total:empty { display: none; }

/* ---- 推荐房源 / 热门商圈 双Tab ---- */
.circle-tabs { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 3px; margin-right: auto; }
.circle-tab { padding: 5px 16px; border-radius: 18px; font-size: 14px; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
.circle-tab.active { background: var(--primary); color: #fff; font-weight: 600; }
.circle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.circle-card { background: #fff; border-radius: var(--radius); padding: 16px 12px 14px; text-align: center; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s; }
.circle-card:active { transform: scale(0.97); }
.circle-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto; }
.circle-name { font-size: 14px; font-weight: 600; margin-top: 10px; }
.circle-desc { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.circle-count { font-size: 12px; color: var(--primary); margin-top: 8px; }

/* ---- 贝壳风格筛选栏（区域/价格/面积/更多/排序） ---- */
.filter-tabs { position: -webkit-sticky; position: sticky; top: var(--header-h); z-index: 90; display: flex; background: #fff; padding: 10px 8px; margin-bottom: 12px; border-bottom: 1px solid var(--border); box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.filter-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.filter-tab.active { color: var(--primary); font-weight: 600; }
.filter-val { font-size: 11px; color: var(--primary); background: var(--primary-light); padding: 1px 6px; border-radius: 8px; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-arrow { font-size: 11px; color: var(--text-light); }

/* ---- 筛选底部抽屉面板 ---- */
.filter-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; animation: fadeIn 0.2s; }
.filter-sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 16px 16px 0 0; max-height: 72vh; display: flex; flex-direction: column; animation: sheetUp 0.25s ease; }
.filter-sheet-head { padding: 14px 16px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
/* ★ V2.70.5：父级 .filter-sheet 只有 max-height（高度由内容撑开），此时 flex:1 的 flex-basis 为 0、
   无剩余空间可分配 → 滚动区高度塌缩为 0（与小程序城市面板 / .fp-body 同一病根）。改给 max-height，不依赖 flex。 */
.filter-sheet-body { padding: 14px 16px; overflow-y: auto; max-height: 52vh; }
.filter-sheet-foot { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---- 面板内选项 ---- */
.filter-opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.filter-opt { padding: 8px 4px; text-align: center; font-size: 12px; color: var(--text-secondary); background: var(--bg-page); border: 1px solid transparent; border-radius: 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all 0.15s; }
.filter-opt:active { opacity: 0.7; }
.filter-opt.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); font-weight: 600; }
.filter-opt-list { display: flex; flex-direction: column; gap: 8px; }
.filter-opt-row { padding: 10px 12px; background: var(--bg-page); border-radius: 6px; font-size: 13px; color: var(--text-secondary); cursor: pointer; border: 1px solid transparent; }
.filter-opt-row.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); font-weight: 600; }
/* V2.23：城市切换弹窗 —— 省市分组中的城市胶囊（后台【筛选配置】省市二级驱动） */
.city-chip { padding: 8px 18px; font-size: 13px; color: var(--text-secondary); background: var(--bg-page); border: 1px solid #e5e5e5; border-radius: 20px; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.city-chip.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); font-weight: 600; }

/* ===== V2.70.6 城市下拉面板（与小程序 index 页城市面板同构：贴 .mini-header 下沿向下展开） =====
   原来这里是「居中 Modal 弹窗」，与小程序形态不一致；老板要求显示在上方、两端同步，
   故改为下拉。.mini-header 是 position:sticky（已是定位参照），面板 absolute + top:100%
   天然贴其下沿并随它停在页面顶部 —— 不硬编码高度，版面风格切换也不会错位。 */
.city-drop {
  position: absolute;
  top: 100%;
  left: 10px;
  right: 10px;
  margin-top: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 120;
  animation: cityDropInH5 0.16s ease both;
}
@keyframes cityDropInH5 {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.city-drop-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 8px; border-bottom: 1px solid #f0f0f0;
  font-size: 14px; font-weight: 600; color: var(--text-main);
}
.city-drop-close { font-size: 15px; color: #999; cursor: pointer; padding: 0 4px; }
/* ⚠️ 滚动区必须有确定高度上限（max-height），否则内容多时面板会顶破版面 */
.city-drop-body { max-height: 46vh; overflow-y: auto; padding: 4px 14px 12px; }
.city-drop-prov { font-size: 13px; font-weight: 700; color: var(--primary); padding: 10px 0 6px; }
.city-drop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-drop-empty { font-size: 13px; color: #999; text-align: center; padding: 24px 0; }
.filter-group { margin-bottom: 14px; }
.filter-group-title { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }

/* ==================== V2.4 新样式 ==================== */

/* ---- 增值服务（BANNER下方横滑版块） ---- */
.sv-section { margin: 10px 12px 0; }
.sv-section .section-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sv-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sv-scroll::-webkit-scrollbar { display: none; }
.sv-card { flex: 0 0 92px; background: #fff; border-radius: 12px; padding: 12px 6px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.15s; }
.sv-card:active { transform: scale(0.95); }
.sv-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto; background: linear-gradient(135deg, #fff7e6, #ffe7ba); }
.sv-name { font-size: 12px; font-weight: 600; margin-top: 8px; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-desc { font-size: 10px; color: var(--text-light); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- 看看页 ---- */
.look-block { margin: 14px 12px 0; }
.look-block-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.look-card { background: #fff; border-radius: var(--radius); padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.15s; }
.look-card:active { transform: scale(0.98); }
.look-cover { font-size: 34px; margin-bottom: 8px; }
.look-title { font-size: 14px; font-weight: 600; color: var(--text-main); }
.look-desc { font-size: 12px; color: var(--text-light); margin-top: 4px; line-height: 1.6; }
.look-meta { display: flex; gap: 10px; font-size: 11px; color: var(--text-light); margin-top: 8px; }

/* ---- 联合办公 ---- */
/* V2.60.5：首页圈层「联合办公」改为 2 列纵向卡，与「热门商圈/推荐房源」统一 2×2 格局（同小程序 tile-card） */
.cowork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cowork-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.15s; }
.cowork-card:active { transform: scale(0.98); }
.cowork-thumb { position: relative; width: 100%; height: 78px; min-height: 78px; display: flex; align-items: center; justify-content: center; font-size: 32px; background: linear-gradient(135deg, #f9f0ff, #efdbff); }
.cowork-thumb-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cowork-emo { filter: grayscale(1); opacity: .5; }
.cowork-info { padding: 8px 10px 10px; }
.cowork-name { font-size: 13px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cowork-tag { position: absolute; top: 6px; left: 6px; font-size: 10px; color: #fff; background: #fa8c16; padding: 1px 6px; border-radius: 3px; font-weight: 400; }
.cowork-meta { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.cowork-feats { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.cowork-feats .tag { font-size: 10px; padding: 1px 5px; border-radius: 3px; background: var(--primary-light); color: var(--primary); }
.cowork-price { color: var(--danger); font-weight: 700; font-size: 13px; margin-top: 5px; }
.cowork-price span { font-size: 10px; font-weight: 400; color: var(--text-light); }

/* ---- VIP徽章 ---- */
.vip-badge { display: inline-block; font-size: 10px; color: #fff; background: linear-gradient(135deg, #fa8c16, #f5222d); padding: 1px 8px; border-radius: 10px; font-weight: 600; vertical-align: middle; }

/* ---- 积分横幅（个人中心/合同页/资产方后台） ---- */
.points-banner { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #fff7e6, #fff1d6); border: 1px solid #ffe7ba; border-radius: 12px; padding: 12px 14px; }
.points-banner-left { display: flex; align-items: center; gap: 10px; }
.points-value { font-size: 26px; font-weight: 700; color: #fa8c16; }
.points-label { font-size: 12px; color: #999; }
.points-banner-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.points-rule { font-size: 11px; color: #fa8c16; }

/* ---- 个人中心积分卡 ---- */
.points-card { display: flex; justify-content: space-between; align-items: center; margin: 0 10px 10px; background: linear-gradient(135deg, #fff7e6, #ffe7ba); border-radius: 12px; padding: 14px; }
.points-card-left { display: flex; align-items: baseline; gap: 8px; }
.points-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---- 后台筛选配置子项 chip ---- */
.filter-config-chip { display: inline-flex; align-items: center; gap: 2px; background: #f5f6fa; border: 1px solid #e8e8e8; border-radius: 6px; padding: 2px 4px; }
.chip-del { cursor: pointer; color: #ff4d4f; font-size: 12px; padding: 0 3px; }
.chip-del:hover { background: #fff1f0; border-radius: 3px; }

/* ==================== V2.5 新样式 ==================== */

/* ---- 增值服务 · 供应商角标（首页卡片） ---- */
.sv-suppliers { font-size: 10px; color: #1890ff; background: #f9f0ff; border-radius: 8px; padding: 2px 6px; margin-top: 4px; text-align: center; }

/* ---- 增值服务独立版块 · 供应商行 ---- */
.supplier-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fafafa; border-radius: 8px; padding: 10px 12px; }
.supplier-info { min-width: 0; }
.supplier-info .sp-name { font-weight: 600; font-size: 13px; }
.supplier-info .sp-rating { color: #fa8c16; font-size: 12px; }
.supplier-info .sp-quote { font-size: 11px; color: #999; }

/* ---- 看看 · 自媒体投稿卡片 ---- */
.look-post-card { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); cursor: pointer; }
.look-post-author { font-size: 12px; font-weight: 600; color: #333; }
.look-post-title { font-size: 15px; font-weight: 700; line-height: 1.5; margin: 4px 0; }
.look-post-content { font-size: 12px; color: #666; line-height: 1.7; }
.look-post-meta { font-size: 11px; color: #bbb; margin-top: 8px; }
.look-post-video { height: 96px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1f1f3a, #3b2f63); display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; margin-top: 8px; cursor: pointer; }
.look-post-video-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.look-post-video-txt { font-size: 13px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look-post-imgs { display: flex; gap: 6px; margin-top: 8px; }
.look-post-img { flex: 1; height: 72px; border-radius: 8px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 1px solid #eee; }

/* ---- 联合办公 · 空间视频 & 图片 ---- */
.cowork-video { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #1f1f3a, #3b2f63); display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; margin-bottom: 10px; cursor: pointer; }
.cowork-video-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cowork-video-desc { font-size: 13px; }
.cowork-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.cowork-gallery-item { aspect-ratio: 1; border-radius: 8px; background: #f5f5f5; border: 1px solid #eee; display: flex; align-items: center; justify-content: center; font-size: 28px; cursor: pointer; }

/* ---- 视频播放器（演示） ---- */
.video-player { height: 180px; border-radius: 10px; background: linear-gradient(135deg, #1f1f3a, #3b2f63); color: #fff; text-align: center; font-size: 13px; cursor: pointer; margin-top: 8px; }

/* ---- V2.5 增值服务：并列入口角标 / 弹窗分类标签 ---- */
.sv-mini { font-size: 10px; color: #fa8c16; background: #e6fffb; border-radius: 8px; padding: 1px 6px; margin-top: -2px; white-space: nowrap; }
.sv-cat-chip { display: inline-block; font-size: 12px; color: #666; background: #f5f6fa; border: 1px solid #e8e8e8; border-radius: 12px; padding: 4px 12px; cursor: pointer; transition: all .15s; user-select: none; }
.sv-cat-chip.active { color: #fff; background: #1890ff; border-color: #1890ff; font-weight: 500; }

/* ---- V2.7 阶段1：经纪人服务卡（隐私中转） ---- */
.broker-card { border: 1px solid #e6f4ff; }
.broker-row { display: flex; align-items: center; gap: 12px; }
.broker-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #e6f4ff, #bae0ff); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.broker-verified { font-size: 11px; color: #52c41a; background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 8px; padding: 1px 6px; }
.lead-card { margin-bottom: 10px; }
.lead-phone-lock { font-size: 12px; color: #fa8c16; background: #fff7e6; border-radius: 6px; padding: 3px 8px; display: inline-block; }

/* =========================================================
   V2.18 房源详情独立全页（参考58同城/贝壳写字楼详情页风格）
   ========================================================= */

/* 详情页顶部返回栏 */
.detail-nav { position: sticky; top: 0; z-index: 100; background: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.detail-nav .back-btn { font-size: 16px; color: var(--text-main); cursor: pointer; display: flex; align-items: center; gap: 4px; background: none; border: none; }
.detail-nav .nav-title { font-size: 16px; font-weight: 600; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 详情页大图区 */
.detail-hero { position: relative; width: 100%; height: 240px; display: flex; align-items: center; justify-content: center; font-size: 80px; background: linear-gradient(135deg, #e6f7ff, #C9D6E8); overflow: hidden; }
.detail-hero-badge { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.detail-hero-badge .badge { font-size: 12px; color: #fff; padding: 3px 10px; border-radius: 4px; font-weight: 500; }
.detail-hero-badge .badge.type { background: rgba(24,144,255,0.85); }
.detail-hero-badge .badge.status { background: rgba(82,196,26,0.9); }

/* 详情页价格区 */
.detail-price-section { background: #fff; padding: 18px 16px; margin-bottom: 10px; }
.detail-price-main { display: flex; align-items: baseline; gap: 6px; }
.detail-price-main .num { font-size: 32px; font-weight: 800; color: var(--danger); line-height: 1; }
.detail-price-main .unit-text { font-size: 14px; color: var(--text-light); }
.detail-price-sub { display: flex; gap: 24px; margin-top: 12px; flex-wrap: wrap; }
.detail-price-sub .item { display: flex; flex-direction: column; gap: 2px; }
.detail-price-sub .item .label { font-size: 12px; color: var(--text-light); }
.detail-price-sub .item .val { font-size: 17px; font-weight: 600; color: var(--text-main); }
.detail-price-sub .item .val.red { color: var(--danger); }
/* V2.67.17：天单价小字行（仅次于大字月租金）—— 只放「价格 + 元/㎡/天」 */
.detail-price-daily { margin-top: 6px; font-size: 14px; color: var(--text-light); }

/* 详情页标题区 */
.detail-title-section { background: #fff; padding: 16px; margin-bottom: 10px; }
.detail-title-section h2 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.detail-title-section .sub-line { font-size: 14px; color: var(--text-secondary); display: flex; gap: 12px; flex-wrap: wrap; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.detail-tags .tag { font-size: 12px; padding: 3px 10px; border-radius: 4px; background: var(--primary-light); color: var(--primary); }

/* 详情页信息网格 */
.detail-info-section { background: #fff; padding: 16px; margin-bottom: 10px; }
.detail-info-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.detail-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.detail-info-grid .info-item { display: flex; flex-direction: column; gap: 3px; }
.detail-info-grid .info-item .label { font-size: 12px; color: var(--text-light); }
.detail-info-grid .info-item .val { font-size: 14px; color: var(--text-main); }

/* 详情页描述 */
.detail-desc { background: #fff; padding: 16px; margin-bottom: 10px; }
.detail-desc h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.detail-desc p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* 详情页VR */
.detail-vr { background: #fff; padding: 16px; margin-bottom: 10px; }

/* 详情页底部操作栏 */
/* V2.66.10：补 iPhone 安全区适配 —— 此前固定 bottom:0，全面屏 home indicator 黑条压在按钮上（老板实测截图） */
.detail-action-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; padding: 8px 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; box-shadow: 0 -2px 12px rgba(0,0,0,0.08); z-index: 200; }
.detail-action-bar .action-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; cursor: pointer; }
.detail-action-bar .action-btn .icon { font-size: 20px; }
.detail-action-bar .action-btn .text { font-size: 11px; color: var(--text-secondary); }
.detail-action-bar .action-tool { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 6px; cursor: pointer; min-width: 44px; }
.detail-action-bar .action-tool .icon { font-size: 18px; }
.detail-action-bar .action-tool .text { font-size: 10px; color: var(--text-secondary); }
.detail-action-bar .contact-btns { display: flex; gap: 10px; flex: 2.5; }
.detail-action-bar .contact-btns .btn { padding: 10px 0; font-size: 15px; }
.detail-action-bar > .btn { padding: 10px 0; font-size: 14px; }

/* ===== V2.70.85 全屏城市选择层（替换原 .city-drop 下拉，老板拍板） =====
   形态：全屏遮罩 + 顶部标题条 + 「热门城市 / 其他城市」两组 + 三列等宽网格。
   主色沿用 #096dd9（商务风），与小程序端逐字一致。 */
.city-layer-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0,0,0,.45); z-index: 9998; display: none; }
.city-layer { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: #f5f7fa; display: flex; flex-direction: column; }
.city-layer-head { display: flex; align-items: center; justify-content: center; height: 48px; background: #fff; border-bottom: 1px solid #eee; position: relative; }
.city-layer-title { font-size: 16px; font-weight: 600; color: #1f2329; }
.city-layer-close { position: absolute; right: 14px; font-size: 18px; color: #86909c; cursor: pointer; padding: 0 8px; }
.city-layer-body { flex: 1; overflow-y: auto; padding: 16px 16px 32px; -webkit-overflow-scrolling: touch; }
.city-grp-title { font-size: 14px; font-weight: 600; color: #096dd9; margin: 8px 0 12px; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.city-cell { display: flex; align-items: center; justify-content: center; height: 40px; background: #fff; border: 1px solid #e6e8eb; border-radius: 8px; font-size: 14px; color: #1f2329; cursor: pointer; }
.city-cell.on { color: #096dd9; border-color: #096dd9; background: #e6f7ff; font-weight: 600; }
.city-layer-empty { text-align: center; color: #999; font-size: 13px; padding: 48px 0; }

/* ===== V2.70.86 P2 通用列表层（找楼盘 / 全部房源 共用骨架）=====
   老板 2026-10-08 拍板第 4 条：推荐房源与找楼盘共用独立列表页骨架，不复用首页版块。
   H5 无页面栈 ⇒ 全屏遮罩层形态（与城市选择层同构），小程序做独立 page，两端卡片字段一致。
   配色沿用既定商务风：主色 #096dd9、点缀橙 #fa8c16、底 #f5f7fa。 */
.ll-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: #f5f7fa; z-index: 9999; display: none; overflow-y: auto; }
.ll-wrap { min-height: 100%; display: flex; flex-direction: column; }
.ll-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; height: 48px; padding: 0 12px; background: #fff; border-bottom: 1px solid #eef0f3; }
.ll-close { width: 32px; font-size: 18px; color: #8a9099; cursor: pointer; }
.ll-title { flex: 1; text-align: center; font-size: 16px; font-weight: 600; color: #1f2329; }
.ll-total { width: 52px; text-align: right; font-size: 12px; color: #8a9099; }
.ll-search { padding: 10px 12px; background: #fff; }
.ll-input { width: 100%; height: 34px; box-sizing: border-box; border: 1px solid #e3e6ea; border-radius: 17px; padding: 0 14px; font-size: 13px; background: #f5f7fa; outline: none; }
.ll-tabs { display: flex; background: #fff; border-bottom: 1px solid #eef0f3; }
.ll-tab { flex: 1; text-align: center; padding: 11px 0; font-size: 13px; color: #4a5563; cursor: pointer; }
.ll-tab.on { color: #096dd9; font-weight: 600; }
.ll-tab.open { color: #096dd9; }
.ll-tab i { font-style: normal; font-size: 11px; margin-left: 3px; opacity: .8; }
.ll-panel { display: flex; flex-wrap: wrap; padding: 10px 12px 2px; background: #fff; border-bottom: 1px solid #eef0f3; }
.ll-opt { padding: 6px 12px; margin: 0 8px 8px 0; font-size: 12px; color: #4a5563; background: #f5f7fa; border-radius: 14px; cursor: pointer; }
.ll-opt.on { color: #fff; background: #096dd9; }
.ll-body { flex: 1; padding: 10px 12px 24px; }
.ll-list { display: flex; flex-direction: column; gap: 10px; }
.ll-card { display: flex; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); cursor: pointer; }
.ll-cover { width: 104px; height: 84px; flex: 0 0 104px; background: #e6f7ff center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.ll-cover-ph { font-size: 18px; font-weight: 600; color: #096dd9; }
.ll-info { flex: 1; min-width: 0; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.ll-name { font-size: 14px; font-weight: 600; color: #1f2329; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ll-sub { font-size: 12px; color: #8a9099; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ll-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: #8a9099; }
.ll-price { color: #fa8c16; font-weight: 600; font-size: 13px; }
.ll-empty { padding: 48px 0; text-align: center; font-size: 13px; color: #8a9099; }
