/* ============ 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); }

/* 采集数据匹配 */
.match-indicator { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.match-indicator.matched { color: var(--success); }
.match-indicator.unmatched { color: var(--warning); }

/* 切换面板 */
.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, #f0f5ff, #d6e4ff); }
.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; }

/* ---- 推荐房源 / 热门商圈 双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; }
.filter-sheet-body { padding: 14px 16px; overflow-y: auto; flex: 1; }
.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; }
.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; }

/* ---- 联合办公 ---- */
.cowork-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cowork-card { display: flex; 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 { width: 84px; min-height: 84px; display: flex; align-items: center; justify-content: center; font-size: 34px; background: linear-gradient(135deg, #f9f0ff, #efdbff); }
.cowork-info { flex: 1; padding: 10px 12px; }
.cowork-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cowork-tag { 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: 4px; }
.cowork-feats { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.cowork-feats .tag { font-size: 10px; padding: 1px 6px; border-radius: 3px; background: var(--primary-light); color: var(--primary); }
.cowork-price { color: var(--danger); font-weight: 700; font-size: 14px; margin-top: 6px; }
.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: #b08d3e; }

/* ---- 个人中心积分卡 ---- */
.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: #722ed1; 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: #faad14; 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: #13c2c2; 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: #faad14; 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, #f0f5ff, #d6e4ff); 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); }

/* 详情页标题区 */
.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; }

/* 详情页底部操作栏 */
.detail-action-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; padding: 8px 10px; 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; }
