/* =====================================================
   圆圆owo宿庭房源 - 柔和ins蓝粉风
   主色 淡蓝 #6B9AC4 | 辅色 淡粉 #FFB6C9 | 背景 蓝粉渐变
   ===================================================== */
:root {
  --primary: #6B9AC4;          /* 主蓝 */
  --primary-deep: #4A7FB5;     /* 深蓝（价格/标题） */
  --primary-light: #E3EEF8;    /* 淡蓝底 */
  --pink: #FFB6C9;             /* 辅粉 */
  --pink-deep: #E88AA5;        /* 深粉 */
  --pink-light: #FFE9F0;       /* 淡粉底 */
  --bg: #F6F9FC;
  --card: #FFFFFF;
  --text: #3A4A5C;
  --text-sub: #8FA0B3;
  --text-light: #BCC8D6;
  --border: #EAF0F6;
  --green: #7EC49A;
  --orange: #F0B86E;
  --blue: #6B9AC4;
  --radius: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shadow-soft: 0 4px 20px rgba(107,154,196,.08);
  --shadow-card: 0 2px 12px rgba(107,154,196,.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #F0F6FF 0%, #FFF5F8 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 14px; color: var(--text); }
input:focus, textarea:focus, select:focus { outline: none; }
.hidden { display: none !important; }

/* ============ 应用外壳 ============ */
.app-shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: transparent;
  box-shadow: 0 0 30px rgba(107,154,196,.1);
}

/* ============ 顶部标题栏 ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 48px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(234,240,246,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.topbar.hidden { display: none; }

/* ============ 视图区域 ============ */
.view { padding-bottom: calc(84px + var(--safe-bottom)); min-height: 100vh; }
.view.no-tabbar { padding-bottom: 0; }

/* ============ 备案信息条 ============ */
.beian-bar {
  position: fixed;
  bottom: calc(56px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 11px;
  color: #a8b4c2;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid rgba(234,240,246,.6);
  z-index: 41;
}
.beian-bar a { color: #a8b4c2; text-decoration: none; }
.beian-bar.hidden { display: none; }
/* 无底部导航的页面（登录、详情等）：备案条贴底，同时给内容留出高度 */
.beian-bar.no-tab { bottom: 0; }

/* ============ 底部导航 ============ */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(56px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid rgba(234,240,246,.6);
  display: flex;
  align-items: stretch;
  z-index: 40;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-sub);
  font-size: 11px;
}
.tab-item svg { width: 22px; height: 22px; }
.tab-item.active { color: var(--primary-deep); font-weight: 600; }
.tabbar.hidden { display: none; }

/* ============ 通用卡片 ============ */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.section { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow-card); }
.section-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text); }

/* ============ 首页 ============ */
.home-header {
  background:
    radial-gradient(circle 90px at 15% 20%, rgba(255,255,255,.85), transparent 70%),
    radial-gradient(circle 60px at 80% 15%, rgba(255,255,255,.6), transparent 70%),
    radial-gradient(circle 120px at 60% 40%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(180deg, #C8E0F5 0%, #E8F1FA 55%, transparent 100%);
  padding-bottom: 10px;
}
.brand-name { padding: 14px 16px 4px; font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: .5px; }
.search-bar { padding: 10px 16px; }
.search-bar form {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 24px; padding: 11px 16px;
  border: 1.5px solid var(--primary-light);
  box-shadow: 0 2px 10px rgba(107,154,196,.06);
}
.search-bar svg { width: 18px; height: 18px; color: var(--text-sub); flex-shrink: 0; }
.search-bar input { flex: 1; border: none; background: transparent; font-size: 14px; }
.search-clear { color: var(--text-sub); font-size: 14px; }

/* 整租式/集中式双胶囊 - 蓝粉双色 */
.cat-tabs { padding: 10px 16px 6px; }
.cat-tabs .inner { display: flex; gap: 10px; background: transparent; padding: 0; }
.cat-tab {
  flex: 1; padding: 11px 0; border-radius: 24px; font-size: 14px;
  color: var(--text-sub); font-weight: 500; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.cat-tab svg { width: 18px; height: 18px; }
/* 整租式 = 淡蓝 */
.cat-tab[data-cat="entire"].active {
  background: linear-gradient(135deg, #A8CBE8 0%, #6B9AC4 100%);
  color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px rgba(107,154,196,.35);
}
.cat-tab[data-cat="entire"]:not(.active) {
  background: var(--primary-light); color: var(--primary-deep);
}
/* 集中式 = 淡粉 */
.cat-tab[data-cat="centralized"].active {
  background: linear-gradient(135deg, #FFC8D8 0%, #FFB6C9 100%);
  color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px rgba(255,182,201,.35);
}
.cat-tab[data-cat="centralized"]:not(.active) {
  background: var(--pink-light); color: var(--pink-deep);
}

/* 圆形快捷入口（活动/地图/联系我） */
.quick-actions {
  display: flex; justify-content: space-around; align-items: flex-start;
  padding: 14px 24px 6px;
}
.qa-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; text-decoration: none;
}
.qa-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(107,154,196,.18);
  transition: transform .15s;
}
.qa-item:active .qa-icon { transform: scale(.92); }
.qa-icon svg { width: 30px; height: 30px; color: #fff; }
.qa-icon.qa-blue { background: linear-gradient(135deg, #A8CBE8, #6B9AC4); }
.qa-icon.qa-pink { background: linear-gradient(135deg, #FFC8D8, #FFB6C9); }
.qa-label { font-size: 12px; color: var(--text); font-weight: 500; }

/* 顶部标题小装饰 */
.brand-row { position: relative; padding: 18px 16px 6px; }
.brand-deco {
  position: absolute; pointer-events: none; opacity: .75;
}
.brand-deco.cloud {
  top: -2px; left: 6px; width: 52px; height: 32px;
}
.brand-deco.heart {
  top: 24px; right: 56px; font-size: 18px; color: #FFB6C9;
  filter: drop-shadow(0 2px 4px rgba(255,182,201,.5));
}
.brand-deco.star {
  top: 14px; right: 18px; font-size: 22px; color: #FFC8D8;
  filter: drop-shadow(0 2px 6px rgba(255,182,201,.5));
}
.brand-deco.sparkle {
  top: 38px; right: 38px; font-size: 14px; color: #A8CBE8;
  filter: drop-shadow(0 2px 4px rgba(168,203,232,.6));
}

/* 集中式分类入口 */
.group-entry { padding: 6px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.group-card {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); text-align: left;
}
.group-card .group-name { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.group-card .group-intro {
  flex: 1; font-size: 12px; color: var(--text-sub); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.group-card svg { width: 16px; height: 16px; color: var(--text-light); flex-shrink: 0; }

/* 集中式分类页 */
.group-detail { padding-bottom: 16px; }
.group-head { padding: 12px 16px 8px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.group-title-row { display: flex; align-items: center; gap: 10px; }
.g-back { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.g-back svg { width: 18px; height: 18px; color: var(--primary-deep); }
.group-title { font-size: 17px; font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-edit-btn { padding: 6px 14px; border-radius: 16px; background: var(--primary-light); color: var(--primary-deep); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.group-intro-line { margin-top: 8px; font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.group-intro-bottom { margin: 0 16px 22px; padding-top: 4px; }
.group-map { margin-top: 10px; height: 180px; border-radius: 12px; overflow: hidden; }
.group-map-wrap { padding: 0 16px 20px; }
.group-map-label { font-size: 13px; font-weight: 600; color: var(--text); margin: 4px 0 0; }

/* 房源表图片 */
.group-layout { margin-top: 10px; position: relative; border-radius: 12px; overflow: hidden; }
.group-layout img { width: 100%; display: block; border-radius: 12px; }
.layout-zoom {
  position: absolute; right: 8px; bottom: 8px; background: rgba(255,255,255,.85); color: var(--primary-deep);
  font-size: 11px; padding: 4px 10px; border-radius: 12px; backdrop-filter: blur(6px);
}

/* 平面图 */
.group-plan { padding: 0 16px 20px; position: relative; }
.group-plan img { width: 100%; display: block; border-radius: 12px; margin-top: 8px; }

/* 户型筛选栏 */
.rt-filter {
  display: flex; gap: 8px; padding: 12px 16px 4px; overflow-x: auto; scrollbar-width: none;
}
.rt-filter::-webkit-scrollbar { display: none; }
.rt-btn {
  flex-shrink: 0; padding: 8px 16px; border-radius: 18px; font-size: 13px; color: var(--text-sub);
  background: #fff; transition: all .2s; border: 1.5px solid transparent;
}
.rt-btn.active { background: var(--primary-deep); color: #fff; font-weight: 600; box-shadow: 0 3px 10px rgba(107,154,196,.3); }

/* 户型内容 */
.rt-panel { padding: 12px 16px 20px; }
.rt-media-label { font-size: 13px; font-weight: 600; color: var(--text); margin: 4px 0 8px; }
.rt-imgs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rt-imgs::-webkit-scrollbar { display: none; }
.rt-img { flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--primary-light); width: 130px; }
.rt-img img { width: 130px; height: 100px; object-fit: cover; display: block; }
.rt-videos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rt-videos::-webkit-scrollbar { display: none; }
.rt-videos .video-dl-wrap { flex-shrink: 0; width: 200px; }
.rt-videos .video-dl-wrap video { width: 200px; height: 130px; border-radius: 10px; background: #000; }
.rt-videos .video-dl-btn { font-size: 11px; padding: 5px 10px; }
.rt-desc {
  margin-top: 12px; padding: 14px; background: #fff; border-radius: 12px; font-size: 13px;
  color: var(--text); line-height: 1.7; box-shadow: var(--shadow-card);
}
.rt-fees { margin-top: 12px; background: #fff; border-radius: 12px; padding: 4px 14px; box-shadow: var(--shadow-card); }
.fee-item {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.fee-item:last-child { border-bottom: none; }
.fee-item span { color: var(--text-sub); }
.fee-item b { color: var(--text); font-weight: 600; }

/* 图片查看器 */
.img-viewer {
  position: fixed; inset: 0; z-index: 200; background: rgba(30,40,60,.95);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.img-viewer img {
  max-width: 92vw; max-height: 88vh; border-radius: 8px;
  transition: transform .15s ease; user-select: none; -webkit-user-select: none;
  transform-origin: center center;
}
.img-viewer-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.img-viewer-download {
  position: absolute; left: 18px; bottom: 24px; padding: 0 16px; height: 38px; border-radius: 19px;
  background: rgba(255,255,255,.2); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.img-viewer-count {
  position: absolute; top: 18px; left: 18px; padding: 4px 12px; border-radius: 14px;
  background: rgba(255,255,255,.2); color: #fff; font-size: 12px;
}
.img-viewer-prev, .img-viewer-next {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 56px;
  background: rgba(255,255,255,.15); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; border-radius: 10px;
}
.img-viewer-prev { left: 10px; }
.img-viewer-next { right: 10px; }
.img-viewer-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 12px; pointer-events: none; white-space: nowrap;
}
.video-dl-wrap { margin-bottom: 4px; }
.video-dl-wrap video { width: 100%; border-radius: 10px; display: block; background: #000; }
.video-dl-btn {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 6px 14px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary-deep); font-size: 12px; font-weight: 600; text-decoration: none;
}
.detail-video { padding: 12px 16px 4px; }

/* 媒体横排 */
.media-strip {
  display: flex; align-items: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 16px 4px; -webkit-overflow-scrolling: touch;
}
.media-strip::-webkit-scrollbar { display: none; }
.media-card { flex-shrink: 0; width: 300px; border-radius: 12px; overflow: hidden; background: #000; }
.media-card img { width: 100%; height: 190px; object-fit: contain; display: block; background: #000; }
.media-card .video-dl-wrap video { width: 100%; height: 190px; display: block; background: #000; }
.media-card .video-dl-btn {
  width: calc(100% - 20px); margin: 8px 10px 10px; justify-content: center;
  background: rgba(255,255,255,.92); color: #333;
}
.media-card.empty { width: 100%; height: 160px; background: var(--primary-light); }

/* 编辑表单 */
.rt-edit-block {
  background: #F8FAFD; border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 14px;
}
.rt-edit-block h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--primary-deep); }

/* 游客端房间卡片 */
.room-card {
  background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}
.room-card-head { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; }
.room-card-head b { color: var(--primary-deep); }
.room-card .rt-imgs { margin-top: 0; }
.empty-inline { text-align: center; color: var(--text-sub); font-size: 13px; padding: 20px 0; }

/* 楼层地址与地图 */
.floor-addr-row {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-sub);
  margin-bottom: 8px;
}
.floor-addr-row svg { color: var(--primary-deep); }
.floor-map { height: 180px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }

/* 地址联想 */
.addr-suggest-wrap { position: relative; }
.addr-suggest-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(107,154,196,.15); max-height: 260px; overflow-y: auto;
}
.addr-suggest-item { padding: 10px 14px; border-bottom: 1px solid #F3F6FA; cursor: pointer; }
.addr-suggest-item:last-child { border-bottom: none; }
.addr-suggest-item:active { background: var(--primary-light); }
.asi-name { font-size: 13px; color: var(--text); font-weight: 600; }
.asi-sub { font-size: 11px; color: var(--text-sub); margin-top: 2px; }
.addr-suggest-empty { padding: 10px 12px; font-size: 12px; color: var(--text-sub); }

/* 房间编辑卡片 */
.room-edit-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.room-edit-card.is-off { opacity: .62; }
.room-edit-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.room-edit-head .room-name { flex: 1; min-width: 120px; }
.room-status { font-size: 12px; color: var(--text-sub); }
.room-toggle { padding: 6px 12px; border-radius: 10px; font-size: 12px; background: var(--primary-light); color: var(--primary-deep); }
.room-edit-card.is-off .room-toggle { background: #E6F4EC; color: #5BA87A; }
.room-del { padding: 6px 12px; border-radius: 10px; font-size: 12px; background: #FFF0F2; color: #E88AA5; }
.room-add-btn {
  width: 100%; padding: 12px; border-radius: 12px; border: 1.5px dashed var(--primary);
  color: var(--primary-deep); font-size: 13px; font-weight: 600; background: var(--primary-light);
}
.room-list { margin-bottom: 10px; }

/* 筛选行 */
.filter-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; gap: 2px; }
.filter-btn {
  display: flex; align-items: center; gap: 2px; padding: 6px 10px; font-size: 13px; color: var(--text);
  border-radius: 8px; white-space: nowrap;
}
.filter-btn svg { width: 14px; height: 14px; }
.filter-btn.active { color: var(--primary-deep); font-weight: 600; background: var(--primary-light); }

/* 房源列表 */
.list-wrap { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.property-card {
  display: flex; gap: 12px; padding: 14px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.pcard-img { position: relative; width: 120px; height: 90px; border-radius: 10px; overflow: hidden; background: var(--primary-light); flex-shrink: 0; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-status {
  position: absolute; top: 6px; left: 6px; font-size: 10px; color: #fff;
  padding: 2px 8px; border-radius: 6px; font-weight: 500;
}
.pcard-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.pcard-title { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.pcard-meta { font-size: 12px; color: var(--text-sub); margin-top: 3px; }
.pcard-meta2 { font-size: 12px; color: var(--text-sub); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.pcard-price { color: var(--primary-deep); font-weight: 700; font-size: 19px; }
.pcard-price small { font-size: 11px; font-weight: 400; color: var(--text-sub); }
.pcard-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 10px; padding: 3px 8px; border-radius: 6px; }
.tag-orange { background: var(--primary-light); color: var(--primary-deep); }
.tag-blue { background: var(--pink-light); color: var(--pink-deep); }

/* 特价 */
.origin-price { font-size: 13px; font-weight: 400; color: #BCC8D6; text-decoration: line-through; margin-right: 6px; }
.sale-price { color: var(--pink-deep); }
.sale-badge { display: inline-block; margin-left: 8px; vertical-align: middle; background: linear-gradient(135deg, #FFB6C9, #FF9EB8); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 8px; }

/* 骨架屏 */
.skeleton { background: var(--primary-light); border-radius: 10px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* 空态 */
.empty { text-align: center; padding: 60px 0; color: var(--text-light); }
.empty .circle { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.empty .circle svg { width: 28px; height: 28px; color: var(--text-light); }

/* ============ 详情页 ============ */
.detail-page { padding-bottom: 70px; }
.back-btn {
  position: fixed; top: 52px; left: 16px; z-index: 30;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(107,154,196,.2);
}
.back-btn svg { width: 22px; height: 22px; color: var(--text); }
.carousel { position: relative; width: 100%; height: 260px; background: var(--primary-light); }
.carousel-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { width: 100%; height: 100%; flex-shrink: 0; scroll-snap-align: center; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.carousel-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: all .2s; }
.carousel-dots span.on { background: #fff; width: 18px; border-radius: 3px; }

.detail-basic { background: #fff; padding: 18px; margin: 10px 12px 0; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.detail-title { font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--text); }
.detail-price { color: var(--primary-deep); font-size: 28px; font-weight: 700; margin-top: 10px; }
.detail-price small { font-size: 14px; font-weight: 400; color: var(--text-sub); }
.status-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.badge { font-size: 12px; padding: 4px 12px; border-radius: 8px; }
.badge-available { background: #E6F4EC; color: #5BA87A; }
.badge-expiring { background: #FFF4E6; color: #E0A050; }
.badge-leased { background: #F0F4F8; color: #8FA0B3; }
.info-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.info-tag { font-size: 12px; color: var(--text-sub); background: var(--primary-light); padding: 5px 12px; border-radius: 8px; }
.tags-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.detail-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.detail-row svg { width: 18px; height: 18px; color: var(--primary-deep); flex-shrink: 0; }
.detail-row p { font-size: 14px; line-height: 1.6; }
.detail-row .sub { font-size: 12px; color: var(--text-sub); }
.fee-label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.fee-label svg { width: 16px; height: 16px; color: var(--text-sub); }
.fee-value { font-size: 14px; font-weight: 600; color: var(--primary-deep); }
.detail-desc { font-size: 14px; line-height: 1.7; white-space: pre-wrap; color: var(--text); }
.qr-img { width: 180px; height: 180px; border-radius: 16px; margin: 0 auto; box-shadow: var(--shadow-soft); }
.map-box { width: 100%; height: 180px; border-radius: 12px; overflow: hidden; background: var(--primary-light); }
.map-box .leaflet-container { width: 100%; height: 100%; }

/* 详情底部联系栏 */
.bottom-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: calc(60px + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; padding-left: 14px; padding-right: 14px; z-index: 40;
}
.bar-icon { display: flex; flex-direction: column; align-items: center; width: 48px; font-size: 10px; color: var(--text-sub); gap: 2px; }
.bar-icon svg { width: 20px; height: 20px; }
.bar-icon.on svg { color: var(--primary-deep); fill: var(--primary-deep); }
.call-btn { flex: 1; height: 42px; background: linear-gradient(135deg, #A8CBE8 0%, #6B9AC4 100%); color: #fff; border-radius: 21px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 14px rgba(107,154,196,.35); }
.call-btn svg { width: 16px; height: 16px; }

/* ============ 活动 ============ */
.activity-card { display: flex; gap: 12px; padding: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.activity-cover { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--primary-light); flex-shrink: 0; }
.activity-cover img { width: 100%; height: 100%; object-fit: cover; }
.activity-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.activity-title { font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.activity-time { font-size: 12px; color: var(--text-light); }
.activity-desc { font-size: 13px; line-height: 1.7; white-space: pre-wrap; }

/* ============ 地图页 ============ */
.map-page { position: relative; height: calc(100vh - 104px); }
.map-full { width: 100%; height: 100%; }
.map-district-bar { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 10; }
.map-district-bar select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: none;
  box-shadow: 0 4px 14px rgba(107,154,196,.2); background: #fff; font-size: 14px;
}
.leaflet-marker-icon .marker-box {
  background: linear-gradient(135deg, #A8CBE8, #6B9AC4); color: #fff; padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 3px 8px rgba(107,154,196,.4);
}

/* ============ 登录页 ============ */
.login-page { min-height: 100vh; background: linear-gradient(180deg, #E3EEF8 0%, #FFE9F0 100%); display: flex; flex-direction: column; padding: 60px 32px 32px; }
.login-logo { width: 88px; height: 88px; border-radius: 26px; background: linear-gradient(135deg, #A8CBE8, #6B9AC4); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(107,154,196,.35); }
.login-logo svg { width: 46px; height: 46px; color: #fff; }
.login-title { text-align: center; font-size: 22px; font-weight: 700; color: var(--text); }
.login-sub { text-align: center; font-size: 13px; color: var(--text-sub); margin-top: 6px; margin-bottom: 36px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 6px; }
.input {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--border);
  background: #fff; font-size: 15px;
}
.input:focus { border-color: var(--primary); }
.btn-primary {
  width: 100%; height: 48px; border-radius: 24px; background: linear-gradient(135deg, #A8CBE8, #6B9AC4); color: #fff;
  font-size: 16px; font-weight: 600; box-shadow: 0 4px 14px rgba(107,154,196,.35);
}
.btn-primary:active { opacity: .88; }
.btn-ghost { width: 100%; height: 44px; border-radius: 24px; color: var(--text-sub); font-size: 14px; margin-top: 10px; }
.btn-ghost:active { background: rgba(107,154,196,.08); }

/* ============ 管理页 ============ */
.admin-tabs { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; }
.admin-tab {
  flex-shrink: 0; padding: 8px 16px; border-radius: 20px; background: #fff; font-size: 13px; color: var(--text-sub);
  border: 1.5px solid var(--border);
}
.admin-tab.active { background: var(--primary-deep); color: #fff; border-color: var(--primary-deep); font-weight: 600; }
.admin-list { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.admin-item { background: #fff; border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-card); }
.admin-item-img { width: 68px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--primary-light); flex-shrink: 0; }
.admin-item-info { flex: 1; min-width: 0; }
.admin-item-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.admin-item-meta { font-size: 12px; color: var(--text-sub); margin-top: 3px; }
.admin-item-status { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 6px; margin-top: 4px; }
.admin-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.mini-btn { font-size: 12px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--text); }
.mini-btn.primary { background: var(--primary-deep); color: #fff; border-color: var(--primary-deep); }
.mini-btn.danger { color: var(--pink-deep); border-color: var(--pink-light); }
.mini-btn.warn { color: #D46B08; border-color: #FFD591; background: #FFF7E6; }
.fab {
  position: fixed; bottom: calc(76px + var(--safe-bottom)); right: calc(50% - 240px + 20px); z-index: 30;
  width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #A8CBE8, #6B9AC4); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(107,154,196,.4);
}
@media (max-width: 520px) { .fab { right: 20px; } }
.fab svg { width: 26px; height: 26px; }

/* 表单 */
.form-page { padding: 16px; padding-bottom: 40px; }
.form-section { background: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.form-section h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.form-row { margin-bottom: 14px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 6px; }
.form-row label .req { color: var(--pink-deep); }
.form-row .input, .form-row textarea.input, .form-row select.input { background: #F8FAFD; }
.form-row textarea.input { resize: vertical; min-height: 84px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.form-actions .btn-half { flex: 1; height: 46px; border-radius: 23px; font-size: 15px; font-weight: 600; }
.btn-outline { background: #fff; border: 1.5px solid var(--border); color: var(--text); }

/* 上传组件 */
.uploader { display: flex; flex-direction: column; gap: 10px; }
.upload-drop {
  border: 1.5px dashed var(--primary); border-radius: 14px; padding: 24px; text-align: center;
  color: var(--text-sub); font-size: 13px; background: var(--primary-light); cursor: pointer;
}
.upload-drop:active { background: #D4E4F0; }
.upload-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.upload-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--primary-light); }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb video { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb .del {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.upload-add-line { display: flex; gap: 8px; }
.upload-add-line input { flex: 1; }
.upload-add-line button { padding: 0 16px; border-radius: 12px; background: var(--primary-light); color: var(--primary-deep); font-size: 13px; font-weight: 600; }
.upload-count { font-size: 12px; color: var(--text-light); }

/* ============ 我的页 ============ */
.profile-head { background: #fff; padding: 28px 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 10px; box-shadow: var(--shadow-card); border-radius: 0 0 20px 20px; }
.avatar { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; background: var(--primary-light); flex-shrink: 0; box-shadow: 0 4px 12px rgba(107,154,196,.2); }
.profile-name { font-size: 18px; font-weight: 700; color: var(--text); }
.profile-sub { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.cell-list { background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; box-shadow: var(--shadow-card); }
.cell {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  border-bottom: 1px solid #F3F6FA; font-size: 14px;
}
.cell:last-child { border-bottom: none; }
.cell svg { width: 20px; height: 20px; color: var(--primary-deep); }
.cell .arrow { margin-left: auto; color: var(--text-light); font-size: 16px; }

/* ============ 筛选抽屉 ============ */
.sheet-mask { position: fixed; inset: 0; background: rgba(30,40,60,.4); z-index: 90; }
.sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff; border-radius: 20px 20px 0 0; z-index: 100;
  max-height: 70vh; overflow-y: auto;
}
.sheet-head { padding: 18px 16px 12px; font-size: 15px; font-weight: 600; color: var(--text); }
.sheet-body { padding: 0 16px 16px; }
.sheet-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet-opt { padding: 12px 0; border-radius: 12px; text-align: center; font-size: 14px; background: var(--primary-light); color: var(--text); }
.sheet-opt.on { background: var(--primary-deep); color: #fff; font-weight: 600; }
.sheet-foot { display: flex; gap: 12px; padding: 14px 16px 20px; border-top: 1px solid var(--border); }
.sheet-foot button { flex: 1; height: 46px; border-radius: 23px; font-size: 15px; font-weight: 600; }

/* ============ Toast ============ */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9);
  background: rgba(58,74,92,.85); color: #fff; padding: 13px 22px; border-radius: 14px;
  font-size: 14px; z-index: 200; opacity: 0; pointer-events: none; transition: all .2s;
  max-width: 80%; text-align: center; backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 对话框 */
.confirm-dialog { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; background: rgba(30,40,60,.4); }
.confirm-box { width: 280px; background: #fff; border-radius: 20px; padding: 22px; text-align: center; box-shadow: 0 12px 40px rgba(107,154,196,.25); }
.confirm-box p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; color: var(--text); }
.confirm-btns { display: flex; gap: 12px; }
.confirm-btns button { flex: 1; height: 42px; border-radius: 21px; font-size: 14px; font-weight: 600; }

/* 管理后台分组标题 */
.admin-group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 10px;
  padding: 10px 14px;
  background: #E6F4EC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-group-title.off { background: #F0F4F8; color: #8FA0B3; }
.admin-group-count {
  display: inline-block;
  min-width: 22px;
  padding: 2px 9px;
  background: #5BA87A;
  color: #fff;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.admin-group-title.off .admin-group-count { background: #8FA0B3; }
.admin-group-empty {
  font-size: 13px;
  color: #8FA0B3;
  padding: 18px 12px;
  text-align: center;
  background: #F8FAFD;
  border-radius: 12px;
  margin-bottom: 6px;
}
.prop-subtabs { display: flex; gap: 8px; padding: 12px 4px 4px; }
.prop-subtab {
  flex: 1; padding: 11px 12px; border: none; border-radius: 12px;
  background: #F0F4F8; color: #8FA0B3; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.prop-subtab.active {
  background: var(--primary-deep); color: #fff;
  box-shadow: 0 3px 10px rgba(107,154,196,.3);
}
.prop-search { margin: 10px 4px 4px; }
