﻿:root {
  --bg: #eef4fb;
  --bg-soft: #f7fbff;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-strong: #ffffff;
  --line: #d9e6f3;
  --text: #14314d;
  --muted: #6f8195;
  --muted-2: #8ea2b5;
  --blue: #2a63f6;
  --blue-2: #3b82f6;
  --orange: #f59e0b;
  --green: #10b981;
  --cyan: #14b8a6;
  --rose: #ef4444;
  --shadow: 0 18px 42px rgba(18, 43, 72, 0.12);
  --shadow-soft: 0 10px 24px rgba(18, 43, 72, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --tab-height: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(42, 99, 246, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: 100%;
  height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 246, 252, 0.98));
  box-shadow: var(--shadow);
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.app-shell::before {
  width: 280px;
  height: 280px;
  right: -120px;
  top: -110px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 68%);
}

.app-shell::after {
  width: 220px;
  height: 220px;
  left: -120px;
  bottom: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 68%);
}

.content {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--tab-height) + var(--safe-bottom) + 20px);
}

.status-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(12px + var(--safe-top)) 18px 10px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.78));
  backdrop-filter: blur(14px);
}

.status-time {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.status-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.search-map-status .status-title {
  color: var(--text);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--muted);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 4px 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.status-icons .capsule-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.status-icons .capsule-btn:active {
  background: rgba(0, 0, 0, 0.08);
}

.status-icons .capsule-divider {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.12);
  margin: 0 1px;
}

.status-icons .capsule-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.status-icons .capsule-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5f6368;
}

.status-icons .capsule-close {
  font-size: 14px;
  color: #5f6368;
  line-height: 1;
}

.status-icons .capsule-close-btn {
  width: 32px;
  height: 26px;
  border-radius: 50%;
  position: relative;
}

.status-icons .capsule-close-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #5f6368;
}

.status-icons .capsule-close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5f6368;
}

.page-header {
  padding: 8px 14px 6px;
}

.page-header.compact {
  padding-bottom: 2px;
}

.section {
  margin: 8px 14px;
  padding: 12px;
  border: 1px solid rgba(217, 230, 243, 0.88);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.section::after {
  content: "";
  position: absolute;
  inset: auto -18px -30px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 68%);
  pointer-events: none;
}

.section-head,
.row-between,
.district-head,
.profile-row,
.detail-head,
.gallery-strip,
.news-card-head,
.land-headline,
.land-meta,
.land-footer,
.consult-card,
.record-card,
.indicator-row {
  display: flex;
}

.section-head,
.row-between,
.district-head,
.profile-row,
.detail-head,
.news-card-head,
.land-headline,
.land-footer,
.consult-card,
.record-card {
  justify-content: space-between;
  align-items: center;
}

.profile-head .profile-row {
  flex-wrap: wrap;
  min-width: 0;
  gap: 12px;
  align-items: center;
}

.section-head h2,
.page-title,
.detail-title {
  margin: 0;
}

.page-title {
  font-size: 24px;
  line-height: 1.2;
}

.section-head h2 {
  font-size: 18px;
}

.section-head span,
.small-note {
  color: var(--muted);
  font-size: 12px;
}

.link,
.section-head a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.hero-banner {
  margin: 8px 14px 12px;
  padding: 18px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px rgba(42, 99, 246, 0.22);
}

.hero-banner::before,
.hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-banner::before {
  display: none;
}

.hero-banner::after {
  display: none;
}

.hero-banner-home {
  min-height: 250px;
  background: #1e3faf;
}

.hero-banner-search {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(45, 91, 245, 0.96), rgba(20, 184, 166, 0.86)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 40%);
}

/* ========== 首页轮播 ========== */
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-track {
  display: flex;
  width: 900%;
  height: 100%;
  transition: transform 0.45s ease;
}

.hero-slide {
  flex: 0 0 calc(100% / 9);
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.hero-overlay {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 250px;
}

.hero-eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero-copy h1 {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0.2px;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.hero-btn,
.solid-btn,
.ghost-btn,
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}

.hero-btn {
  min-width: 88px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
}

.hero-btn.primary,
.solid-btn,
.action-btn.primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 18px rgba(8, 30, 77, 0.12);
}

.hero-btn.ghost,
.ghost-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-plaque {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 112px;
  padding: 14px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-plaque strong {
  display: block;
  font-size: 20px;
}

.hero-plaque span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.intro-tile {
  min-height: 80px;
  padding: 10px 12px;
  border-radius: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(18, 43, 72, 0.08);
}

.intro-tile::after {
  content: "";
  position: absolute;
  inset: auto -18px -20px auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.intro-tile strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.intro-tile span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.intro-tile .intro-sub {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.intro-tile.blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.intro-tile.orange {
  background: linear-gradient(135deg, #fb923c, #f59e0b);
}

.intro-tile.green {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.quick-item {
  min-height: 74px;
  padding: 8px 6px 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid rgba(217, 230, 243, 0.95);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.quick-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
}

.quick-icon.blue-icon { background: linear-gradient(135deg, var(--blue), #60a5fa); }
.quick-icon.orange-icon { background: linear-gradient(135deg, #fb923c, #f59e0b); }
.quick-icon.green-icon { background: linear-gradient(135deg, #34d399, #10b981); }
.quick-icon.cyan-icon { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }
.quick-icon.rose-icon { background: linear-gradient(135deg, #60a5fa, #93c5fd); }

.quick-item strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.quick-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.overview-card {
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: var(--shadow-soft);
}

.overview-card strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
}

.overview-card span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

.overview-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* 数据概览卡片 */
.overview-2col .overview-card {
  padding: 10px 12px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overview-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 2px;
}

.overview-number {
  font-size: 24px !important;
  line-height: 1.1 !important;
  color: var(--blue) !important;
  margin-top: 0 !important;
}

.overview-unit {
  font-size: 12px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
  margin-top: 2px !important;
}

.data-note {
  font-size: 11px !important;
  color: var(--muted) !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

.data-note .link {
  font-size: 11px;
}

.city-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(42, 99, 246, 0.07), rgba(20, 184, 166, 0.06));
  color: var(--text);
  line-height: 1.7;
  font-size: 13px;
}

.segment-tabs,
.profile-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 230, 243, 0.95);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  box-shadow: 0 8px 18px rgba(42, 99, 246, 0.22);
}

.chip.gray {
  background: #f3f7fb;
}

.chip.orange.active {
  background: linear-gradient(135deg, #fb923c, #f59e0b);
}

.chip.green.active {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.chip.cyan.active {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(217, 230, 243, 0.96);
  background: #fff;
}

.search-icon {
  font-size: 18px;
  color: var(--blue);
}

.search-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.filter-row {
  margin-top: 14px;
}

.filter-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.land-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.district-block + .district-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(217, 230, 243, 0.95);
}

.district-head {
  margin-bottom: 12px;
}

.district-head strong {
  display: block;
  font-size: 17px;
}

.district-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.land-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.land-media {
  position: relative;
  min-height: 90px;
  padding: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, #1d4ed8, #60a5fa);
}

.land-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.land-media.residential {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #3b82f6, #2563eb);
}

.land-media.commercial {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #f59e0b, #fb923c);
}

.land-media.industrial {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.land-media-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
}

.land-media-frame {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  min-width: 86px;
  padding: 10px 10px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  text-align: right;
}

.land-media-frame strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.land-media-frame span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
}

.land-body {
  padding: 10px;
}

.land-headline {
  gap: 8px;
}

.land-kind {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.land-ref {
  color: var(--muted);
  font-size: 11px;
}

.land-title {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.land-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.land-meta {
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  flex-wrap: wrap;
}

.land-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.land-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 999px;
  background: #f3f7fb;
  color: var(--muted);
  font-size: 10px;
}

.land-footer {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(217, 230, 243, 0.85);
}

.land-footer strong {
  font-size: 16px;
  color: var(--blue);
}

.land-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  font-size: 11px;
  font-weight: 700;
}

.policy-card,
.news-card {
  display: block;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  box-shadow: var(--shadow-soft);
}

.policy-card + .policy-card,
.news-card + .news-card {
  margin-top: 8px;
}

.policy-tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.policy-card h4,
.news-card h4 {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.policy-card p,
.news-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.policy-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.news-card-head {
  gap: 8px;
}

.news-time {
  color: var(--muted);
  font-size: 11px;
}

.news-list {
  display: grid;
  gap: 8px;
}

.floating-map-btn {
  position: fixed;
  right: 18px;
  bottom: calc(var(--tab-height) + 18px + var(--safe-bottom));
  z-index: 30;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  box-shadow: 0 18px 34px rgba(42, 99, 246, 0.28);
}

.map-stage {
  position: relative;
  min-height: 340px;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(243, 248, 255, 0.92), rgba(236, 244, 252, 0.96)),
    linear-gradient(135deg, rgba(42, 99, 246, 0.06), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(217, 230, 243, 0.9);
  overflow: hidden;
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(42, 99, 246, 0.08) 12% 13%, transparent 13% 28%, rgba(42, 99, 246, 0.08) 28% 29%, transparent 29% 100%),
    linear-gradient(180deg, transparent 0 20%, rgba(20, 184, 166, 0.08) 20% 21%, transparent 21% 42%, rgba(20, 184, 166, 0.08) 42% 43%, transparent 43% 100%);
  opacity: 0.8;
}

.map-core {
  position: absolute;
  inset: 70px 42px 44px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.16), transparent 26%),
    radial-gradient(circle at 70% 65%, rgba(245, 158, 11, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(245, 250, 255, 0.88));
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.map-core::after {
  content: "地块轮播图";
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.map-region {
  position: absolute;
  min-width: 108px;
  padding: 12px 12px 11px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  text-align: left;
  box-shadow: 0 16px 30px rgba(18, 43, 72, 0.16);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.map-region strong {
  display: block;
  font-size: 15px;
}

.map-region span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
}

.map-region.active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(42, 99, 246, 0.24);
}

.map-region.rong {
  top: 40px;
  left: 18px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.map-region.jiedong {
  top: 86px;
  right: 18px;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.map-region.puning {
  bottom: 88px;
  left: 24px;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.map-region.huilai {
  bottom: 38px;
  right: 24px;
  background: linear-gradient(135deg, #10b981, #22c55e);
}

.map-region.jiexi {
  top: 146px;
  left: 120px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.map-hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 12px;
  box-shadow: 0 10px 20px rgba(18, 43, 72, 0.08);
}

.map-list {
  display: grid;
  gap: 12px;
}

.search-map-shell {
  display: block !important;
  overflow: hidden;
}

.search-map-status {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
}

.search-map-content {
  position: absolute;
  inset: 0;
  padding: 0;
  overflow: hidden;
  z-index: auto;
}

.search-map-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.search-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef4fb, #dbe7f5);
  color: var(--muted);
  font-size: 13px;
}

.search-map-fallback[hidden] {
  display: none;
}

.search-topbar {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 56px;
  z-index: 42;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: 0 18px 36px rgba(18, 43, 72, 0.14);
  backdrop-filter: blur(12px);
}

.search-topbar[hidden] {
  display: none !important;
}

.search-topbar-row {
  display: grid;
  grid-template-columns: 72px 1fr 68px;
  gap: 8px;
  align-items: center;
}

.search-city-select {
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
  border: 1px solid rgba(217, 230, 243, 0.95);
  background: #fff;
  color: var(--text);
  font-size: 13px;
}

.search-topbar-input {
  min-width: 0;
}

.search-topbar-input .search-input {
  border-radius: 12px;
  height: 40px;
}

.search-submit {
  height: 40px;
  border-radius: 12px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  box-shadow: 0 10px 18px rgba(42, 99, 246, 0.22);
  cursor: pointer;
}

/* ========== 地图工具栏（右上角） ========== */
.search-float-btns {
  position: absolute;
  left: 12px;
  bottom: calc(var(--tab-height) + var(--safe-bottom) + 16px);
  z-index: 42;
  display: flex;
  gap: 10px;
}

.search-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(18, 43, 72, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--blue);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.search-float-btn:active {
  transform: scale(0.92);
  background: rgba(42, 99, 246, 0.08);
}

.search-map-tools {
  position: absolute;
  right: 12px;
  top: 60px;
  z-index: 42;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: 0 8px 20px rgba(18, 43, 72, 0.14);
  backdrop-filter: blur(10px);
}

.map-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.map-tool-btn:active {
  background: rgba(42, 99, 246, 0.06);
}

.map-tool-btn.active {
  background: rgba(42, 99, 246, 0.1);
  border-color: rgba(42, 99, 246, 0.2);
  box-shadow: 0 2px 8px rgba(42, 99, 246, 0.15);
  color: var(--blue);
}

.map-tool-btn svg {
  color: var(--muted);
}

.map-tool-btn.active svg {
  color: var(--blue);
}

.map-tools-collapsed {
  position: absolute;
  right: 12px;
  top: 60px;
  z-index: 42;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: 0 8px 20px rgba(18, 43, 72, 0.14);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
}

.map-tools-collapsed:active {
  background: rgba(42, 99, 246, 0.06);
}

.map-tools-collapsed[hidden] {
  display: none !important;
}

.search-map-tools[hidden] {
  display: none !important;
}

.tool-icon {
  line-height: 1;
}

.tool-divider {
  width: 24px;
  height: 1px;
  background: var(--line);
  margin: 2px auto;
}

/* ========== 搜索历史列表 ========== */
.search-history-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: 0 12px 28px rgba(18, 43, 72, 0.14);
  z-index: 10;
  overflow: hidden;
}

.search-history-dropdown[hidden] {
  display: none;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 6px;
  font-size: 12px;
  color: var(--muted);
}

.history-clear {
  border: none;
  background: none;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.history-list {
  padding: 0 6px 6px;
}

.history-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item:active {
  background: rgba(42, 99, 246, 0.06);
}

.search-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.96);
  border: 1px solid rgba(217, 230, 243, 0.92);
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-filter-trigger {
  margin-top: 2px;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(42, 99, 246, 0.22);
}

.search-drawer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--tab-height) + var(--safe-bottom));
  z-index: 35;
  max-height: 48%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(217, 230, 243, 0.95);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 36px rgba(18, 43, 72, 0.12);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.search-drawer[hidden] {
  display: none !important;
}

.search-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}

.search-drawer-header h2 {
  margin: 0;
}

.drawer-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sort-select {
  font-size: 12px;
  border: 1px solid rgba(217, 230, 243, 0.9);
  border-radius: 6px;
  padding: 3px 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.sort-select:focus {
  border-color: var(--blue);
}

.stats-mode-toggle {
  display: flex;
  border: 1px solid rgba(217, 230, 243, 0.9);
  border-radius: 6px;
  overflow: hidden;
}

.stats-mode-btn {
  font-size: 11px;
  padding: 3px 8px;
  border: none;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.2;
}

.stats-mode-btn.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.search-drawer-body {
  padding: 0 16px 12px;
  overflow: auto;
}

.search-list {
  display: grid;
  gap: 12px;
}

.search-list .map-item {
  background: rgba(255, 255, 255, 0.96);
}

.search-empty {
  display: none;
}

.compare-bar {
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(217, 230, 243, 0.92);
  display: grid;
  gap: 10px;
}

.compare-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.compare-slot {
  height: 64px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px dashed rgba(217, 230, 243, 0.96);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
}

.compare-slot.filled {
  border-style: solid;
  background: #fff;
  color: var(--text);
}

.compare-slot.filled .slot-name {
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.compare-slot.filled .slot-remove {
  font-size: 10px;
  color: var(--rose);
  margin-top: 2px;
}

.compare-actions {
  display: flex;
  gap: 8px;
}

.compare-clear,
.compare-link {
  flex: 1;
}

.compare-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(217, 230, 243, 0.95);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.compare-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(42, 99, 246, 0.22);
}

/* ========== 筛选面板（双栏布局） ========== */
.search-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(14, 24, 44, 0.28);
  display: grid;
  align-items: end;
}

.search-filter-overlay[hidden] {
  display: none;
}

.filter-panel {
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 36px rgba(18, 43, 72, 0.14);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  height: auto;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.filter-skip {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-body {
  display: flex;
  flex: 0 0 auto;
  max-height: 50vh;
  min-height: 0;
  overflow: hidden;
}

.filter-tabs {
  width: 90px;
  flex-shrink: 0;
  overflow-y: auto;
  background: #f7f9fc;
  border-right: 1px solid var(--line);
}

.filter-tab {
  padding: 14px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-tap-highlight-color: transparent;
}

.filter-tab.active {
  color: var(--blue);
  background: #fff;
  border-left-color: var(--blue);
  font-weight: 700;
}

.filter-options {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
  -webkit-tap-highlight-color: transparent;
}

.filter-option:active {
  background: rgba(42, 99, 246, 0.04);
}

.filter-option.selected {
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-weight: 600;
}

.filter-option .option-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.filter-option.selected .option-check {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.filter-option.selected .option-check::after {
  content: "?";
  font-size: 11px;
  line-height: 1;
}

/* 筛选器底部确认按钮和标签 */
.filter-selected {
  padding: 8px 14px 0;
  border-top: 1px solid var(--line);
}

.filter-selected[hidden] {
  display: none;
}

.selected-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.filter-tag .tag-remove {
  font-size: 13px;
  line-height: 1;
  margin-left: 2px;
  opacity: 0.6;
}

.filter-footer {
  display: flex;
  gap: 10px;
  padding: 12px 14px calc(12px + var(--safe-bottom));
  border-top: 1px solid var(--line);
}

.filter-footer .btn-outline {
  flex: 1;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(217, 230, 243, 0.95);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-footer .btn-primary {
  flex: 1.5;
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(42, 99, 246, 0.22);
}

/* ========== 统计卡片（搜索结果） ========== */
.stats-card {
  padding: 0 12px 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.stats-section {
  background: #f7fbff;
  border-radius: 8px;
  padding: 6px 8px;
}

.stats-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stats-bars {
  display: grid;
  gap: 4px;
}

.stats-bar-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stats-bar-label {
  width: 32px;
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-bar-track {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: rgba(42, 99, 246, 0.06);
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  transition: width 0.4s ease;
  min-width: 2px;
}

.stats-bar-fill.orange { background: linear-gradient(90deg, var(--orange), #fbbf24); }
.stats-bar-fill.green { background: linear-gradient(90deg, var(--green), #34d399); }
.stats-bar-fill.purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

.stats-bar-value {
  width: 18px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  flex-shrink: 0;
}

/* ========== 对比全覆盖层 ========== */
.compare-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.compare-overlay[hidden] {
  display: none;
}

.compare-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + var(--safe-top)) 16px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.compare-overlay-header h2 {
  margin: 0;
  font-size: 18px;
}

.compare-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.compare-overlay-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th {
  text-align: left;
  padding: 10px 8px;
  background: #f7fbff;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.compare-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(217, 230, 243, 0.7);
  color: var(--text);
  vertical-align: top;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  width: 72px;
}

.compare-table .ct-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  padding-bottom: 4px;
}

/* ========== 地块标注颜色 ========== */
.map-item-pin.residential { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.map-item-pin.commercial { background: linear-gradient(135deg, #f59e0b, #fb923c); }
.map-item-pin.industrial { background: linear-gradient(135deg, #10b981, #34d399); }

/* ========== 信息气泡和按钮 ========== */
.info-bubble-btns {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.info-bubble-btns button {
  flex: 1;
  height: 30px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.info-btn-detail {
  background: var(--blue);
  color: #fff;
}

.info-btn-compare {
  background: rgba(42, 99, 246, 0.1);
  color: var(--blue);
}

.map-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  box-shadow: var(--shadow-soft);
}

.map-item-pin {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.map-item-pin.commercial {
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.map-item-pin.industrial {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.map-item-body {
  flex: 1;
  min-width: 0;
}

.map-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.map-item-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.map-item-ref {
  color: var(--muted);
  font-size: 11px;
}

.map-item h4 {
  margin: 10px 0 0;
  font-size: 15px;
}

.map-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.gallery-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 240px;
  padding: 18px;
  border-radius: 26px;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 22px 40px rgba(18, 43, 72, 0.16);
}

.gallery-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(30, 64, 175, 0.96), rgba(59, 130, 246, 0.9));
}

.gallery-main.commercial::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(251, 146, 60, 0.9));
}

.gallery-main.industrial::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(20, 184, 166, 0.95), rgba(14, 165, 233, 0.9));
}

.gallery-main > * {
  position: relative;
  z-index: 1;
}

.gallery-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
}

.gallery-main h2 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.15;
}

.gallery-main p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  max-width: 210px;
  color: rgba(255, 255, 255, 0.88);
}

.gallery-main-area {
  min-width: 92px;
  padding: 12px 12px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.gallery-main-area strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.gallery-main-area span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.gallery-strip {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gallery-thumb {
  padding: 8px 12px;
  border: 1px solid rgba(217, 230, 243, 0.96);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.gallery-thumb.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
}

.detail-headline {
  margin-top: 16px;
}

.detail-title {
  font-size: 22px;
  line-height: 1.25;
}

.detail-kicker {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.detail-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.detail-price-line strong {
  color: var(--blue);
  font-size: 20px;
}

.detail-section-title {
  margin: 0 0 12px;
  font-size: 17px;
}

.detail-summary {
  color: var(--text);
  line-height: 1.8;
  font-size: 13px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid rgba(217, 230, 243, 0.95);
}

.detail-item strong {
  font-size: 13px;
}

.detail-item span {
  color: var(--muted);
  font-size: 11px;
}

.indicator-list {
  display: grid;
  gap: 10px;
}

.indicator-row {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid rgba(217, 230, 243, 0.9);
  color: var(--text);
  font-size: 12px;
}

.indicator-row strong {
  color: var(--blue);
}

.detail-contact {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(42, 99, 246, 0.07), rgba(20, 184, 166, 0.05));
}

.detail-contact strong {
  display: block;
  font-size: 14px;
}

.detail-contact p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 calc(10px + var(--safe-bottom));
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.action-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text);
  padding: 0;
}

.action-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-icon-wrap.green {
  background: var(--green);
}
/* 全景按钮放大居中 */
.action-icon-btn[data-panorama-toggle] {
  order: -1;
}

.action-icon-btn[data-panorama-toggle] .action-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.action-icon-btn[data-panorama-toggle] svg {
  width: 28px;
  height: 28px;
}

.action-icon-btn[data-panorama-toggle] span {
  font-size: 13px;
  font-weight: 600;
}
.action-icon-wrap.favorite-wrap {
  transition: transform 0.2s ease, background 0.2s ease;
}

.action-icon-wrap.favorite-wrap.active {
  background: #fff0f0;
}

.action-icon-wrap.favorite-wrap.active svg {
  stroke: #ef4444;
  fill: #ef4444 !important;
}

.action-icon-wrap.favorite-wrap svg {
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.action-icon-wrap.favorite-wrap:active {
  transform: scale(0.9);
}

.action-btn {
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  font-weight: 700;
}

.action-btn.secondary,
.action-btn.ghost {
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  color: var(--text);
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  color: #fff;
}

.modal-mask {
  position: fixed;
  inset: 0;
  display: none;
  place-items: end center;
  z-index: 60;
  background: rgba(10, 24, 43, 0.38);
}

.modal-mask.show {
  display: grid;
}

.modal-sheet {
  width: min(430px, 100%);
  padding: 18px 16px calc(16px + var(--safe-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -12px 36px rgba(10, 24, 43, 0.2);
}

.modal-sheet h3 {
  margin: 0;
  font-size: 18px;
}

.modal-sheet p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.field {
  margin-top: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(217, 230, 243, 0.96);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.tab-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  transform: translateX(-50%);
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 10px calc(10px + var(--safe-bottom));
  background: rgba(248, 251, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(217, 230, 243, 0.9);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px 6px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.tab-item.active {
  color: var(--blue);
  background: rgba(42, 99, 246, 0.08);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.profile-head {
  margin-top: 6px;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  border: 1px solid rgba(217, 230, 243, 0.92);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), #60a5fa);
  box-shadow: 0 10px 20px rgba(42, 99, 246, 0.22);
}

.profile-meta {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.profile-meta h2 {
  margin: 0;
  font-size: 20px;
}

.profile-meta p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.profile-actions {
  display: inline-flex;
  align-items: center;
}

.profile-actions .btn-outline {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.profile-stats .stat-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.profile-stats .stat-card strong {
  color: #fff;
}

.profile-stats .stat-card span {
  color: rgba(255, 255, 255, 0.86);
}

.stat-card {
  padding: 8px 6px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  font-size: 20px;
  color: var(--blue);
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.profile-tabs {
  margin-top: 6px;
}

.profile-panels {
  margin-top: 6px;
}

.profile-panel[hidden] {
  display: none !important;
}

.profile-panel .record-list,
.profile-panel .consult-list {
  display: grid;
  gap: 0;
}

.profile-panel .record-card {
  padding: 12px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(217, 230, 243, 0.9);
  box-shadow: none;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-panel .record-card .record-card-copy {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.profile-panel .consult-card {
  padding: 12px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(217, 230, 243, 0.9);
  box-shadow: none;
  align-items: center;
  min-width: 0;
}

.profile-panel .consult-card .consult-card-copy {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.profile-panel .section {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0 0 12px;
  padding: 14px 0 0;
  border-radius: 0;
}

.profile-panel .section + .section {
  border-top: 1px solid rgba(217, 230, 243, 0.9);
}

.profile-panel .section::after {
  display: none;
}

.record-card {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  box-shadow: var(--shadow-soft);
  align-items: flex-start;
}

.record-card-copy {
  display: grid;
  gap: 6px;
}

.record-card-copy strong {
  font-size: 14px;
}

.record-card-copy span,
.consult-card-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-card-meta {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.consult-card {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(217, 230, 243, 0.95);
  box-shadow: var(--shadow-soft);
  align-items: flex-start;
  gap: 12px;
}

.consult-card-copy {
  display: grid;
  gap: 5px;
  flex: 1;
}

.consult-card-copy strong {
  font-size: 14px;
  line-height: 1.45;
}

.consult-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.consult-status.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.consult-status.success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.empty-state {
  padding: 20px 16px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px dashed rgba(217, 230, 243, 0.95);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tab-height) + 28px + var(--safe-bottom));
  z-index: 80;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20, 49, 77, 0.92);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ========== 智能问答 tab 切换 ========== */
.sub-tabs {
  display: flex;
  gap: 8px;
  padding: 0 2px 8px;
}

.sub-tab {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(42, 99, 246, 0.3);
}

/* ========== 智能问答：输入区域 ========== */
.sub-panel {
  display: flex;
  flex-direction: column;
}

.sub-panel[hidden] {
  display: none !important;
}

/* ========== 智能问答：对话信息框 ========== */
.ai-chat-area {
  min-height: 320px;
  max-height: 420px;
  overflow-y: auto;
  padding: 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.chat-bubble {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: rise 0.35s ease both;
}

.chat-bubble.ai {
  align-self: flex-start;
}

.chat-bubble.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bubble-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.bubble-avatar svg {
  width: 18px;
  height: 18px;
}

.chat-bubble.ai .bubble-avatar {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
}

.chat-bubble.user .bubble-avatar {
  background: linear-gradient(135deg, #334155, #475569);
  color: #fff;
}

.bubble-content {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

.chat-bubble.ai .bubble-content {
  background: #f0f5ff;
  border: 1px solid rgba(42, 99, 246, 0.1);
  border-radius: 18px 18px 18px 4px;
}

.chat-bubble.user .bubble-content {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  border-radius: 18px 18px 4px 18px;
}

.bubble-content p {
  margin: 0;
}

/* ========== 智能问答：快捷操作按钮 ========== */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.4;
  animation: typingDot 1.2s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ========== 智能问答：快捷按钮 ========== */
.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 12px;
}

.quick-q-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 99, 246, 0.2);
  background: rgba(42, 99, 246, 0.06);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-q-btn:hover,
.quick-q-btn:active {
  background: rgba(42, 99, 246, 0.14);
  border-color: var(--blue);
}

/* ========== 智能问答：列表项 ========== */
.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 12px 0 2px;
  border-top: 1px solid rgba(217, 230, 243, 0.8);
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbff;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  border-color: var(--blue);
  background: #fff;
}

.chat-input::placeholder {
  color: var(--muted-2);
}

.chat-send-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.chat-send-btn:active {
  transform: scale(0.96);
  opacity: 0.85;
}

/* ========== 选地：筛选标签栏 ========== */
.site-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.site-filter-row::-webkit-scrollbar {
  display: none;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 2px;
}

.filter-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  flex-shrink: 0;
}

.site-filter-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.site-filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.site-filter-chip.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(42, 99, 246, 0.25);
}

/* ========== 智能问答：收藏记录 & 操作 ========== */
.chat-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 0;
  gap: 8px;
}

.chat-action-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chat-action-btn:active {
  background: rgba(0, 0, 0, 0.04);
}

.chat-action-btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  border-color: transparent;
}

.chat-action-btn.primary:active {
  opacity: 0.85;
}

.chat-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-clear-btn:active {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
}

/* Quick questions removed — replaced by chat-action-bar */

/* ========== VR看地列表页 ==========
.vr-filter-area {
  padding: 8px 14px 0;
}

.vr-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vr-filter-row::-webkit-scrollbar {
  display: none;
}

.vr-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vr-chip.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.vr-chip:active {
  transform: scale(0.96);
}

.vr-list {
  padding: 0 14px;
}

.vr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 230, 243, 0.6);
}

.vr-row:last-child {
  border-bottom: none;
}

.vr-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--line);
}

.vr-info {
  flex: 1;
  min-width: 0;
}

.vr-info-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vr-info-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.vr-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}

.vr-btn:active {
  transform: scale(0.95);
  opacity: 0.85;
}

/* VR全屏遮罩层 */
.vr-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
}

.vr-overlay[hidden] {
  display: none;
}

.vr-overlay-back {
  position: absolute;
  top: calc(12px + var(--safe-top, 0px));
  left: 12px;
  z-index: 210;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vr-overlay-back:active {
  background: rgba(0, 0, 0, 0.65);
}

.vr-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== 选地：推荐结果卡片 ========== */
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid rgba(42, 99, 246, 0.12);
  margin-top: 8px;
}

.recommend-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(217, 230, 243, 0.8);
  text-decoration: none;
  color: var(--text);
}

.recommend-card a:last-child {
  border-bottom: none;
}

.recommend-card .rc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.recommend-card .rc-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.recommend-card .rc-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.recommend-card .rc-badge.residential { background: rgba(59, 130, 246, 0.1); color: var(--blue-2); }
.recommend-card .rc-badge.commercial { background: rgba(245, 158, 11, 0.1); color: #b45309; }
.recommend-card .rc-badge.industrial { background: rgba(16, 185, 129, 0.1); color: #047857; }
@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 26px;
  }

  .intro-grid {
    gap: 8px;
  }

  .quick-grid {
    gap: 6px;
  }

  .quick-item {
    min-height: 88px;
    padding-inline: 6px;
  }

  .land-grid {
    gap: 10px;
  }

  .gallery-main {
    min-height: 224px;
  }
}

@media (max-width: 360px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-item:nth-child(n + 4) {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section,
  .hero-banner,
  .intro-tile,
  .quick-item,
  .overview-card,
  .land-card,
  .policy-card,
  .news-card,
  .map-item,
  .record-card,
  .consult-card {
    animation: rise 0.4s ease both;
  }

  .section:nth-of-type(2n),
  .land-card:nth-child(2n) {
    animation-delay: 0.04s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 空状态样式 ========== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state-icon {
  font-size: 32px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.empty-state-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(42, 99, 246, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.empty-state-link:hover {
  background: rgba(42, 99, 246, 0.16);
}

/* ========== Profile: 全部内容展示（对话/数据/设置） ========== */
html:has(body[data-page="profile"]),
body[data-page="profile"] {
  height: 100%;
  overflow: hidden;
}

body[data-page="profile"] > .app-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

body[data-page="profile"] .content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 0;
  overflow: hidden;
  padding-bottom: calc(var(--tab-height) + 10px);
}

body[data-page="profile"] .profile-panels {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body[data-page="profile"] .profile-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body[data-page="profile"] .sub-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body[data-page="profile"] .ai-chat-area {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}

/* ========== 我的页面：综合布局 ========== */
body[data-page="me"],
html:has(body[data-page="me"]) {
  height: 100%;
  overflow: hidden;
}

body[data-page="me"] > .app-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

body[data-page="me"] .content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: calc(var(--tab-height) + 20px);
}

/* 我的页面：用户信息栏 */
.me-head {
  margin: 8px 14px 0;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.me-head .profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.me-head .avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.me-head .profile-meta {
  flex: 1;
  min-width: 0;
}

.me-head .profile-meta h2 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.me-head .profile-meta p {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.82);
}

.me-head .btn-outline {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* 我的页面：统计卡片 */
.me-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.me-stats .stat-card {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  padding: 10px 8px;
  border-radius: 16px;
  text-align: center;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.me-stats .stat-card:active {
  background: rgba(255,255,255,0.28);
}

.me-stats .stat-card strong {
  display: block;
  font-size: 22px;
  color: #fff;
}

.me-stats .stat-card span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.82);
}

/* 我的页面：联系头像 */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 230, 243, 0.7);
  color: var(--text);
  text-decoration: none;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(42, 99, 246, 0.06);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-detail {
  flex: 1;
  min-width: 0;
}

.contact-detail strong {
  display: block;
  font-size: 14px;
}

.contact-detail span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.contact-arrow {
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* 我的页面：综合样式 */
.feedback-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.feedback-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

.feedback-text {
  flex: 1;
  min-width: 0;
}

.feedback-text strong {
  display: block;
  font-size: 14px;
}

.feedback-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* 我的页面：折叠 section 标题 */
body[data-page="me"] .section {
  margin: 10px 14px;
}

/* 列表项通用样式 */
.record-list,
.consult-list {
  display: grid;
  gap: 10px;
}

/* ========== 分段折叠 ========== */
[data-collapse-toggle] {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

[data-collapse-toggle] h2 {
  flex: 1;
  text-align: left;
}

.collapse-arrow {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted-2);
  transition: transform 0.25s ease;
  margin-left: 8px;
}

.section.expanded .collapse-arrow {
  transform: rotate(90deg);
}

.collapse-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.section.expanded .collapse-body {
  max-height: 2000px;
}

/* 折叠状态下 section-head 下的分隔线 */
.section.expanded .section-head + .collapse-body {
  margin-top: 12px;
  border-top: 1px solid rgba(217, 230, 243, 0.7);
  padding-top: 12px;
}


/* ========== 详情页相关样式 ========== */

.detail-hero {
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 300px;
  overflow: hidden;
  background: #1e3faf;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 300px;
  object-fit: cover;
  object-position: center top;
}

.detail-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff;
}

.detail-hero-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.detail-title-area {
  padding: 0 2px;
}

.detail-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-title-row .detail-title {
  font-size: 22px;
  line-height: 1.25;
}

.detail-land-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.detail-land-badge.residential {
  background: rgba(42, 99, 246, 0.1);
  color: #2a63f6;
}

.detail-land-badge.commercial {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

.detail-land-badge.industrial {
  background: rgba(20, 184, 166, 0.1);
  color: #0d9488;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.detail-area-display {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.detail-area-icon {
  font-size: 14px;
}

.detail-area-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
}

.detail-loc-icon {
  font-size: 14px;
}

/* 地块参数网格布局 */
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.detail-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.detail-info-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.detail-info-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.detail-info-label {
  font-size: 11px;
  color: var(--muted);
}

.detail-info-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}

.detail-status-tag {
  color: var(--green) !important;
}

/* 电话弹窗 */
.modal-phone {
  text-align: center;
}

.modal-phone .sheet-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-phone .chip {
  min-width: 120px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-phone .chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* 底部操作栏按钮 */
.detail-actions .action-btn.ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.detail-actions .action-btn.primary {
  background: linear-gradient(135deg, var(--green), #34d399);
  color: #fff;
}


/* ========== 图片轮播 ========== */
.detail-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.detail-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  width: 200%;
}

.detail-carousel-track.single-slide {
  width: 100%;
}

.detail-carousel-slide {
  width: 50%;
  flex-shrink: 0;
}

.detail-carousel-slide.hidden-slide {
  display: none;
}

.detail-carousel-slide .detail-hero-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.detail-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #fff;
}

.detail-carousel-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px;
  z-index: 5;
}

/* Tianditu 标注标签样式 */
.tdt-label .tdt-label-content {
  background: rgba(255,255,255,0.88) !important;
  color: #1a1a2e !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  border: 1.5px solid rgba(0,0,0,0.12) !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12) !important;
  pointer-events: none;
}

/* ========== 城市介绍页面 ========== */
.city-hero {
  position: relative;
  height: 240px;
  margin: 0;
  overflow: hidden;
}

.city-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

.city-hero-content {
  position: absolute;
  bottom: 24px;
  left: 20px;
  color: #fff;
  z-index: 2;
}

.city-hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.city-hero-content p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.city-back-btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  width: auto;
  min-width: 0;
  height: auto;
  flex: none;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
}

.city-back-btn:active {
  transform: scale(0.95);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.city-overview-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
  text-align: justify;
}

/* 城市数据4宫格 */
.city-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.city-data-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.city-data-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.city-data-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.city-data-unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}

.city-data-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* 发展优势 */
.city-advantages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.city-advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.city-advantage-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.city-advantage-icon.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.city-advantage-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.city-advantage-icon.orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.city-advantage-icon.purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.city-advantage-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.city-advantage-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* 重点区域 */
.city-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.city-zone-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.city-zone-img {
  height: 90px;
  background-size: cover;
  background-position: center;
}

.city-zone-info {
  padding: 10px 12px;
}

.city-zone-info h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.3;
}

.city-zone-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

/* 联系方式 */
.city-contact {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.city-contact-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.city-contact-item:last-child {
  border-bottom: none;
}

.city-contact-label {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
  width: 70px;
}

.city-contact-value {
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}

/* ========== 营商环境页面 ========== */
.bizenv-hero .city-hero-content h1 {
  font-size: 28px;
}

.bizenv-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bizenv-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bizenv-item-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.bizenv-item-content h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}

.bizenv-date {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}
/* ========== 收藏提示 Toast ========== */
.favorite-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.favorite-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ========== 全屏弹窗（全景/导航） ========== */
.fullscreen-modal {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  display: none;
  flex-direction: column;
}

.fullscreen-modal.show {
  display: flex;
}

.fullscreen-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.fullscreen-modal-header span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.fullscreen-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.fullscreen-iframe {
  flex: 1;
  width: 100%;
  border: none;
}
.nav-map-container {
  flex: 1;
  overflow: auto;
  background: #f5f5f5;
}

.nav-map-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}