.houseportal-admin-note {
  margin: 16px 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(19, 33, 43, 0.06), rgba(184, 138, 95, 0.10));
  border: 1px solid rgba(19, 33, 43, 0.08);
  color: #13212b;
  line-height: 1.7;
}

.houseportal-home-block {
  margin: 0 0 24px;
}

.houseportal-page .houseportal-main {
  min-height: calc(100vh - 180px);
}

.houseportal-page .houseportal-page-con {
  padding: 28px 0 30px;
}

.houseportal-page .houseportal-content-full {
  width: 100%;
  float: none;
  margin: 0;
}

.houseportal-page .houseportal-content-full::after {
  content: "";
  display: table;
  clear: both;
}

.houseportal-home {
  display: grid;
  gap: 18px;
}

.houseportal-home-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.houseportal-home-hero,
.houseportal-home-panel {
  border-radius: 28px;
  border: 1px solid rgba(19, 33, 43, 0.08);
  box-shadow: 0 20px 56px rgba(19, 33, 43, 0.10);
}

.houseportal-home-hero {
  padding: 28px;
  background: linear-gradient(135deg, rgba(19, 33, 43, 0.98), rgba(44, 79, 97, 0.94) 48%, rgba(184, 138, 95, 0.96));
  color: #fff9f3;
}

.houseportal-home-hero h2 {
  margin: 14px 0 12px;
  color: #fff9f3;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
}

.houseportal-home-hero p {
  margin: 0;
  color: rgba(255, 249, 243, 0.84);
  line-height: 1.85;
}

.houseportal-home-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.houseportal-home-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.houseportal-home-stat strong {
  display: block;
  color: #fff8f2;
  font-size: 1.08rem;
}

.houseportal-home-stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 249, 243, 0.74);
  font-size: 12px;
}

.houseportal-home-side {
  display: grid;
  gap: 16px;
}

.houseportal-home-panel {
  padding: 18px;
  background: #fff;
}

.houseportal-home-panel-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.houseportal-home-panel-head strong {
  display: block;
  color: #13212b;
  font-size: 1.05rem;
}

.houseportal-home-panel-head span {
  display: block;
  margin-top: 4px;
  color: #5f6d78;
  font-size: 12px;
}

.houseportal-home-more,
.houseportal-article-link {
  color: inherit;
  text-decoration: none;
}

.houseportal-home-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 33, 43, 0.06);
  color: #13212b;
  white-space: nowrap;
}

.houseportal-home-area-list,
.houseportal-home-news-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.houseportal-home-area-item,
.houseportal-home-news-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(19, 33, 43, 0.04);
}

.houseportal-home-area-item,
.houseportal-home-news-item,
.houseportal-widget-item,
.houseportal-feature-item,
.houseportal-channel-link {
  color: inherit;
  text-decoration: none;
}

.houseportal-home-area-item {
  justify-content: space-between;
  align-items: center;
}

.houseportal-home-area-item strong,
.houseportal-home-news-item strong {
  display: block;
  color: #13212b;
  line-height: 1.5;
}

.houseportal-home-area-item span,
.houseportal-home-news-item span {
  display: block;
  margin-top: 4px;
  color: #b88a5f;
  font-size: 12px;
}

.houseportal-home-area-item em,
.houseportal-home-news-item em {
  font-style: normal;
  color: #5f6d78;
  font-size: 12px;
}

.houseportal-home-news-item {
  flex-direction: column;
  align-items: start;
  text-decoration: none;
}

.houseportal-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.houseportal-shell {
  width: 100%;
  display: grid;
  gap: 24px;
}

.houseportal-hero,
.houseportal-section,
.houseportal-widget,
.houseportal-note-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(19, 33, 43, 0.08);
  box-shadow: 0 24px 70px rgba(19, 33, 43, 0.10);
}

.houseportal-hero {
  background: linear-gradient(125deg, rgba(19, 33, 43, 0.96), rgba(34, 63, 78, 0.94) 45%, rgba(184, 138, 95, 0.94));
  color: #fff9f3;
  padding: 32px;
}

.houseportal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.houseportal-hero-grid-detail {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}

.houseportal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 245, 235, 0.88);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.houseportal-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(255, 245, 235, 0.58);
}

.houseportal-hero h1,
.houseportal-section h2,
.houseportal-widget-title {
  margin: 14px 0 12px;
  font-family: "Songti SC", "STSong", serif;
  letter-spacing: 0.03em;
}

.houseportal-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  max-width: 12ch;
}

.houseportal-hero p,
.houseportal-widget-copy,
.houseportal-section-note,
.houseportal-article-summary,
.houseportal-card-meta,
.houseportal-card-footer span,
.houseportal-widget-item span,
.houseportal-widget-post span {
  color: rgba(255, 249, 243, 0.84);
}

.houseportal-hero p {
  max-width: 66ch;
  line-height: 1.8;
  margin: 0;
}

.houseportal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.houseportal-channel-nav {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.houseportal-channel-link {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 6px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.houseportal-channel-link strong {
  color: #fff8f2;
  font-size: 1rem;
}

.houseportal-channel-link span {
  color: rgba(255, 249, 243, 0.76);
  font-size: 12px;
}

.houseportal-channel-link:hover,
.houseportal-feature-item:hover,
.houseportal-feature-item.is-current,
.houseportal-widget-item:hover,
.houseportal-home-area-item:hover {
  transform: translateY(-2px);
}

.houseportal-channel-link.is-current {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.houseportal-feature-item.is-current {
  background: linear-gradient(135deg, rgba(184, 138, 95, 0.18), rgba(19, 33, 43, 0.06));
  border-color: rgba(184, 138, 95, 0.34);
}

.houseportal-btn,
.houseportal-widget-more,
.houseportal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.22s ease;
}

.houseportal-btn-primary,
.houseportal-widget-more,
.houseportal-link {
  background: #f6efe5;
  color: #13212b;
}

.houseportal-btn:hover,
.houseportal-widget-more:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.houseportal-btn:focus-visible,
.houseportal-link:focus-visible,
.houseportal-widget-more:focus-visible,
.houseportal-channel-link:focus-visible,
.houseportal-feature-item:focus-visible,
.houseportal-widget-item:focus-visible,
.houseportal-home-area-item:focus-visible {
  outline: 2px solid #b88a5f;
  outline-offset: 2px;
}

.houseportal-btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff9f3;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.houseportal-btn-soft {
  background: rgba(19, 33, 43, 0.06);
  color: #13212b;
}

.houseportal-stats,
.houseportal-widget-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.houseportal-stat,
.houseportal-mini-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.houseportal-stat strong,
.houseportal-mini-stat strong {
  display: block;
  font-size: 1.2rem;
}

.houseportal-stat span,
.houseportal-mini-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 249, 243, 0.76);
}

.houseportal-panel {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(248, 243, 235, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(255, 244, 234, 0.34);
  box-shadow: 0 18px 40px rgba(8, 14, 18, 0.12);
  display: grid;
  gap: 16px;
}

.houseportal-panel-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.houseportal-panel-copy strong {
  display: block;
  font-size: 1.08rem;
  color: #13212b;
}

.houseportal-panel-copy span {
  display: block;
  margin-top: 4px;
  color: #6d5c4f;
  font-size: 12px;
}

.houseportal-feature-list {
  display: grid;
  gap: 12px;
}

.houseportal-feature-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(19, 33, 43, 0.04);
  border: 1px solid rgba(19, 33, 43, 0.08);
  display: grid;
  gap: 6px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.houseportal-feature-item strong {
  color: #13212b;
  font-size: 1rem;
}

.houseportal-feature-item span {
  color: #5f6d78;
  line-height: 1.7;
}

.houseportal-feature-item em {
  font-style: normal;
  color: #8d6948;
  font-size: 12px;
}

.houseportal-feature-item.is-static,
.houseportal-feature-item.is-static:hover {
  transform: none;
}

.houseportal-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 33, 43, 0.08);
  color: #13212b;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.houseportal-chip-group,
.houseportal-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.houseportal-hero .houseportal-chip-group {
  margin-top: 18px;
}

.houseportal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff8f2;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.houseportal-section {
  background: rgba(255, 255, 255, 0.82);
  padding: 24px;
}

.houseportal-section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.94));
}

.houseportal-section-head {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0;
  border-bottom: 2px solid #409eff;
  margin-bottom: 18px;
}

.houseportal-section-head > div {
  display: flex;
  align-items: flex-end;
}

.houseportal-section-label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px 4px 0 0;
  background: #409eff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.houseportal-section-more {
  color: #909399;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  margin-bottom: 8px;
}

.houseportal-section-more:hover {
  color: #409eff;
}

.houseportal-section-kicker {
  color: #b88a5f;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.houseportal-section h2 {
  margin: 8px 0 0;
  color: #13212b;
  font-size: clamp(1.55rem, 2.1vw, 2.2rem);
}

.houseportal-section-note {
  color: #5f6d78;
  font-size: 13px;
  margin-left: 12px;
  margin-bottom: 8px;
}

.houseportal-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.houseportal-detail-main,
.houseportal-detail-side {
  display: grid;
  gap: 16px;
}

.houseportal-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.houseportal-detail-gallery.is-single {
  grid-template-columns: 1fr;
}

.houseportal-detail-photo,
.houseportal-detail-placeholder,
.houseportal-detail-richtext {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(19, 33, 43, 0.08);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(19, 33, 43, 0.08);
}

.houseportal-detail-photo {
  position: relative;
  min-height: 220px;
  background: rgba(19, 33, 43, 0.06);
}

.houseportal-detail-gallery:not(.is-single) .houseportal-detail-photo:first-child {
  grid-column: 1 / -1;
  min-height: 300px;
}

.houseportal-detail-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.houseportal-detail-photo:hover img {
  transform: scale(1.03);
}

.houseportal-detail-placeholder {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(19, 33, 43, 0.05), rgba(184, 138, 95, 0.14));
  color: #5f6d78;
  text-align: center;
  line-height: 1.8;
}

.houseportal-detail-richtext {
  padding: 24px;
}

.houseportal-detail-richtext h2 {
  margin: 0 0 14px;
  color: #13212b;
  font-family: "Songti SC", "STSong", serif;
  font-size: 1.45rem;
}

.houseportal-detail-richtext p {
  margin: 0 0 14px;
  color: #42515b;
  line-height: 1.9;
}

.houseportal-detail-richtext p:last-child {
  margin-bottom: 0;
}

.houseportal-detail-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 10px 0;
}

.houseportal-detail-facts {
  display: grid;
  gap: 10px;
}

.houseportal-detail-fact {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(19, 33, 43, 0.04);
}

.houseportal-detail-fact strong {
  display: block;
  color: #13212b;
  line-height: 1.5;
}

.houseportal-detail-fact span {
  display: block;
  margin-top: 4px;
  color: #5f6d78;
  font-size: 13px;
  line-height: 1.7;
}

.houseportal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.houseportal-card,
.houseportal-article-card,
.houseportal-note-card,
.houseportal-widget {
  background: #ffffff;
}

.houseportal-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(19, 33, 43, 0.08);
  box-shadow: 0 14px 36px rgba(19, 33, 43, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.houseportal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(19, 33, 43, 0.13);
}

.houseportal-card-visual {
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: linear-gradient(140deg, var(--card-a, #172a35), var(--card-b, #5f7c8b));
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  overflow: hidden;
  flex: 0 0 auto;
}

.houseportal-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 16, 0.10), rgba(7, 12, 16, 0.56));
  opacity: 0;
  z-index: 0;
}

.houseportal-card-visual.has-image::before {
  opacity: 1;
}

.houseportal-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}

.houseportal-card:hover .houseportal-card-image {
  transform: scale(1.04);
}

.houseportal-card-visual::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(2px);
  z-index: 1;
}

.houseportal-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
}

.houseportal-card-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff8f2;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.houseportal-card-label {
  color: #b88a5f;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.houseportal-card-topline {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1 1 auto;
}

.houseportal-card-topline > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.houseportal-card h3,
.houseportal-article-card h3 {
  margin: 0;
  color: #13212b;
  font-size: 1.08rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.45em * 2);
}

.houseportal-card-meta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 20px;
}

.houseportal-card-meta span,
.houseportal-meta span,
.houseportal-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f6d78;
  font-size: 12px;
  max-width: 100%;
}

.houseportal-card-meta span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.houseportal-price {
  color: #b88a5f;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: right;
}

.houseportal-price strong {
  display: block;
  color: #13212b;
  font-size: 1.08rem;
}

.houseportal-price span {
  display: block;
  margin-top: 4px;
  color: #5f6d78;
  font-size: 12px;
  white-space: normal;
  text-align: right;
}

.houseportal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.houseportal-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(19, 33, 43, 0.04);
}

.houseportal-chip-row {
  gap: 8px;
  min-height: 34px;
  align-items: flex-start;
}

.houseportal-chip-row .houseportal-chip {
  background: rgba(19, 33, 43, 0.04);
  color: #13212b;
  border-color: rgba(19, 33, 43, 0.06);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.houseportal-card-footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.houseportal-card-footer > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.houseportal-card-footer strong {
  color: #13212b;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.5em * 2);
}

.houseportal-card-footer span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.houseportal-link {
  min-height: 38px;
  padding: 0 14px;
  background: linear-gradient(135deg, #1d3140, #b88a5f);
  color: #fff8f2;
}

.houseportal-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.houseportal-article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.houseportal-article-card {
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(19, 33, 43, 0.08);
  box-shadow: 0 14px 36px rgba(19, 33, 43, 0.08);
  display: grid;
  gap: 12px;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.houseportal-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(19, 33, 43, 0.12);
}

.houseportal-article-card .houseportal-ribbon {
  background: rgba(184, 138, 95, 0.12);
  color: #b88a5f;
  align-self: start;
}

.houseportal-article-summary {
  color: #5f6d78;
  line-height: 1.8;
}

.houseportal-article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.houseportal-note-card {
  padding: 18px;
  background: linear-gradient(135deg, rgba(184, 138, 95, 0.06), rgba(59, 108, 125, 0.08));
}

.houseportal-empty-state {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(19, 33, 43, 0.04), rgba(184, 138, 95, 0.08));
  border: 1px solid rgba(19, 33, 43, 0.08);
  display: grid;
  gap: 6px;
}

.houseportal-empty-state strong {
  color: #13212b;
}

.houseportal-empty-state span {
  color: #5f6d78;
  line-height: 1.7;
}

.houseportal-note-card p {
  margin: 0 0 10px;
  color: #13212b;
  line-height: 1.8;
}

.houseportal-widget {
  padding: 16px;
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
}

.sidebox .houseportal-widget {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.sidebox .houseportal-widget-item,
.sidebox .houseportal-widget-post,
.sidebox .houseportal-mini-stat {
  background: rgba(19, 33, 43, 0.035);
}

.houseportal-widget-head {
  display: grid;
  gap: 6px;
}

.houseportal-widget-title {
  margin: 0;
  font-size: 1.15rem;
  color: #13212b;
}

.houseportal-widget-copy {
  margin: 0;
  color: #5f6d78;
  line-height: 1.7;
}

.houseportal-widget-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.houseportal-mini-stat {
  background: linear-gradient(135deg, rgba(19, 33, 43, 0.04), rgba(184, 138, 95, 0.05));
  border: 1px solid rgba(19, 33, 43, 0.06);
}

.houseportal-mini-stat strong {
  color: #13212b;
  font-size: 1.05rem;
}

.houseportal-mini-stat span {
  color: #5f6d78;
}

.houseportal-widget-list {
  display: grid;
  gap: 10px;
}

.houseportal-widget-item,
.houseportal-widget-post {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(19, 33, 43, 0.04);
}

.houseportal-widget-item strong,
.houseportal-widget-post strong {
  display: block;
  color: #13212b;
  line-height: 1.5;
}

.houseportal-widget-item span,
.houseportal-widget-post span {
  display: block;
  margin-top: 4px;
  color: #5f6d78;
  font-size: 12px;
}

.houseportal-widget-item em {
  font-style: normal;
  color: #b88a5f;
  font-weight: 700;
  white-space: nowrap;
}

.houseportal-widget-post {
  flex-direction: column;
  align-items: start;
}

.houseportal-widget-post span {
  padding: 0;
  color: #b88a5f;
  margin-top: 0;
}

.houseportal-widget-more {
  width: 100%;
  background: linear-gradient(135deg, #1d3140, #b88a5f);
  color: #fff8f2;
}

.houseportal-widget-more:hover {
  filter: brightness(1.08);
}

/* ── 导航菜单多行时 hero 顶部缓冲 ── */
.houseportal-page .houseportal-page-con {
  padding-top: 36px;
}

/* ── 经纪人卡片 ── */
.houseportal-agent-card p {
  margin-bottom: 12px;
}

.houseportal-agent-body {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.houseportal-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d3140, #b88a5f);
  color: #fff8f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.houseportal-agent-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.houseportal-agent-info strong {
  color: #13212b;
  font-size: 0.95rem;
}

.houseportal-tel-link {
  color: #b88a5f;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.houseportal-tel-link:hover {
  text-decoration: underline;
}

.houseportal-btn-call {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #1d3140, #2c5070);
  color: #fff8f2 !important;
  border-radius: 999px;
  padding: 0;
  min-height: 44px;
  line-height: 44px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: filter 0.2s;
}

.houseportal-btn-call:hover {
  filter: brightness(1.1);
}

/* ── 小区信息卡片 ── */
.houseportal-xiaoqu-name {
  font-weight: 700;
  color: #13212b;
  font-size: 1rem;
  margin-bottom: 12px;
}

.houseportal-xiaoqu-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0 0 14px;
  font-size: 0.88rem;
}

.houseportal-xiaoqu-dl dt {
  color: #5f6d78;
  white-space: nowrap;
}

.houseportal-xiaoqu-dl dd {
  margin: 0;
  color: #13212b;
  font-weight: 600;
}

/* ── 地图链接 ── */
.houseportal-map-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.houseportal-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  height: 36px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(19, 33, 43, 0.06);
  color: #13212b;
  text-decoration: none;
  border: 1px solid rgba(19, 33, 43, 0.10);
  transition: background 0.2s;
}

.houseportal-map-btn:hover {
  background: rgba(19, 33, 43, 0.12);
}

@media (max-width: 1024px) {
  .houseportal-home-overview,
  .houseportal-home-grid,
  .houseportal-hero-grid,
  .houseportal-detail-layout,
  .houseportal-grid,
  .houseportal-article-list {
    grid-template-columns: 1fr;
  }

  .houseportal-channel-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .houseportal-home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .houseportal-panel-top,
  .houseportal-home-panel-head,
  .houseportal-card-topline,
  .houseportal-card-footer {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .houseportal-home-hero,
  .houseportal-home-panel,
  .houseportal-hero,
  .houseportal-section {
    padding: 18px;
    border-radius: 22px;
  }

  .houseportal-home-stats,
  .houseportal-stats,
  .houseportal-widget-stats {
    grid-template-columns: 1fr;
  }

  .houseportal-channel-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .houseportal-card:hover {
    transform: none;
    box-shadow: 0 14px 36px rgba(19, 33, 43, 0.08);
  }

  .houseportal-detail-gallery {
    grid-template-columns: 1fr;
  }

  .houseportal-detail-gallery:not(.is-single) .houseportal-detail-photo:first-child,
  .houseportal-detail-placeholder {
    grid-column: auto;
  }

  .houseportal-detail-photo,
  .houseportal-detail-gallery:not(.is-single) .houseportal-detail-photo:first-child {
    min-height: 220px;
  }

  .houseportal-card-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
    flex-basis: auto;
  }
}

/* ── House Manage Admin ── */
.hm-page {
  padding-bottom: 0 !important;
}
.hm-page > .divHeader {
  margin-bottom: 0;
  padding: 8px 0;
  line-height: 1.4;
}
.hm-page > .SubMenu {
  display: none;
}
.hm-main2 {
  padding: 0 !important;
}

.hm-layout {
  display: flex;
  gap: 0;
  height: calc(100vh - 145px);
  min-height: 480px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.hm-sidebar {
  width: 140px;
  flex: 0 0 140px;
  background: #f5f6f8;
  border-right: 1px solid #e2e6ea;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.hm-nav-item {
  display: block;
  padding: 12px 20px;
  color: #3a4a56;
  font-size: 14px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.hm-nav-item:hover {
  background: #ebedf0;
  color: #13212b;
}

.hm-nav-item.is-active {
  background: #fff;
  color: #e74c3c;
  font-weight: 700;
  border-left-color: #e74c3c;
}

.hm-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* 在线客服配置与会话管理在固定高度管理框内独立滚动。 */
.hm-main > .hm-chat-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  box-sizing: border-box;
}

.hm-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e6ea;
  background: #fafbfc;
  flex-wrap: wrap;
}

.hm-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hm-search-input {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d0d5da;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  width: 200px;
  transition: border-color 0.2s;
}

.hm-search-input:focus {
  border-color: #b88a5f;
}

.hm-search-btn {
  height: 32px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: #e74c3c;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.hm-search-btn:hover {
  background: #d04535;
}

.hm-search-reset {
  height: 32px;
  line-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: #ebedf0;
  color: #5f6d78;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.hm-search-reset:hover {
  background: #d8dce0;
}

.hm-toolbar-info {
  color: #8a949d;
  font-size: 13px;
  white-space: nowrap;
}

.hm-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.hm-publish-btn {
  background-color: #67c23a;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(103, 194, 58, 0.2);
}

.hm-filter-form {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e6ea;
  background: #fff;
  flex: 0 0 auto;
}

.hm-filter-primary,
.hm-filter-grid {
  display: grid;
  gap: 10px;
  align-items: end;
}

.hm-filter-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.hm-filter-primary > .hm-filter-field {
  flex: 1 1 118px;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.hm-filter-primary > .hm-filter-keyword {
  flex: 1.55 1 240px;
}

.hm-xiaoqu-picker {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.hm-xiaoqu-picker > input {
  display: block;
}

.hm-xiaoqu-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(39, 55, 68, .14);
}

.hm-xiaoqu-option {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #3a4a56;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}

.hm-xiaoqu-option:hover,
.hm-xiaoqu-option.is-active {
  background: #f5eee7;
  color: #8b5d37;
}

.hm-xiaoqu-option small {
  display: block;
  margin-top: 2px;
  color: #98a2aa;
  font-size: 11px;
  font-weight: 400;
}

.hm-xiaoqu-empty {
  padding: 9px 10px;
  color: #98a2aa;
  font-size: 12px;
}

.hm-filter-primary > .hm-filter-field > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.hm-filter-primary > .hm-filter-field input,
.hm-filter-primary > .hm-filter-field select {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.hm-filter-grid {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  padding-top: 12px;
}

.hm-filter-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  flex: 0 0 auto;
}

.hm-filter-actions .hm-search-btn,
.hm-filter-actions .hm-search-reset {
  flex: 0 0 auto;
}

.hm-filter-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  color: #5f6d78;
  font-size: 12px;
  font-weight: 600;
}

.hm-filter-field input,
.hm-filter-field select {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border: 1px solid #d0d5da;
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: #3a4a56;
  font-size: 12px;
  font-weight: 400;
}

.hm-filter-field input:focus,
.hm-filter-field select:focus {
  border-color: #b88a5f;
}

.hm-filter-field select:disabled {
  cursor: not-allowed;
  background: #f5f6f8;
  color: #98a2aa;
}

.hm-filter-more {
  margin-top: 10px;
  border-top: 1px dashed #e2e6ea;
}

.hm-filter-more summary {
  padding-top: 10px;
  cursor: pointer;
  color: #3a4a56;
  font-size: 12px;
  font-weight: 600;
  user-select: none;
}

.hm-filter-more summary em {
  margin-left: 6px;
  color: #98a2aa;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}

.hm-range {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.hm-range input {
  min-width: 0;
}

.hm-range b {
  color: #98a2aa;
  font-weight: 400;
}

@media (max-width: 1380px) {
  .hm-filter-primary > .hm-filter-field {
    flex-basis: 108px;
  }
  .hm-filter-primary > .hm-filter-keyword {
    flex-basis: 180px;
  }
  .hm-filter-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}

@media (max-width: 900px) {
  .hm-filter-primary > .hm-filter-field,
  .hm-filter-primary > .hm-filter-keyword {
    flex: 1 1 calc(50% - 10px);
  }
  .hm-filter-primary > .hm-filter-actions {
    flex: 0 0 auto;
  }
  .hm-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.hm-table th,
.hm-table td {
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #eef0f2;
}

.hm-table th {
  background: #f5f6f8;
  color: #5f6d78;
  font-weight: 600;
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.hm-table tbody tr:hover {
  background: #fdf8f3;
}

.hm-table td:first-child {
  color: #8a949d;
  font-variant-numeric: tabular-nums;
}

.hm-empty {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #8a949d;
  font-size: 14px;
}

.hm-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid #e2e6ea;
  background: #fafbfc;
  flex-wrap: wrap;
}

.hm-page-info {
  color: #8a949d;
  font-size: 13px;
}

.hm-page-btns {
  display: flex;
  gap: 6px;
}

.hm-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #d0d5da;
  border-radius: 6px;
  background: #fff;
  color: #3a4a56;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.hm-page-btn:hover {
  background: #f5f6f8;
  border-color: #b88a5f;
  color: #13212b;
}

.hm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.hm-crumb {
  color: #5f6d78;
  text-decoration: none;
  transition: color 0.18s;
}

.hm-crumb:hover {
  color: #e74c3c;
}

.hm-crumb.is-current {
  color: #13212b;
  font-weight: 600;
  pointer-events: none;
}

.hm-crumb-sep {
  color: #c0c6cc;
  font-size: 14px;
  user-select: none;
}

.hm-link {
  color: #e74c3c;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s;
}

.hm-link:hover {
  color: #d04535;
  text-decoration: underline;
}

/* ============================================================
   房源门户 · 行业标准 UI (hp- 前缀)
   参考：到家了 / 安居客 / 链家 设计规范
   ============================================================ */

/* ── 页面容器 ── */
.hp-page-wrap { background:#f5f5f5; min-height:60vh; }
.hp-page-inner { max-width:1100px; margin:0 auto; padding:20px 16px 48px; }

/* ── 频道列表头 ── */
.hp-channel-head {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:10px;
  background:#fff; border-radius:8px; padding:16px 20px;
  margin-bottom:10px; box-shadow:0 1px 4px rgba(0,0,0,.06);
}
.hp-channel-head-left { display:flex; align-items:baseline; gap:10px; }
.hp-channel-head-left h1 { font-size:1.15rem; font-weight:700; color:#222; margin:0; }
.hp-channel-count { font-size:.8rem; color:#999; }
.hp-channel-tabs { display:none; border-bottom:2px solid #409eff; }
.hp-tab {
  flex:1; text-align:center; display:inline-block; padding:8px 6px;
  font-size:.85rem; color:#333; text-decoration:none;
  background:#fff; border-radius:4px 4px 0 0;
  transition:all .15s;
}
.hp-tab:hover { color:#409eff; background:#f0f7ff; }
.hp-tab.is-active { color:#fff; background:#409eff; font-weight:600; }

/* ── 列表页双栏 ── */
.hp-list-layout { display:grid; grid-template-columns:1fr 240px; gap:10px; align-items:start; }
.hp-list-main { min-width:0; }

/* 右侧栏卡片 */
.hp-list-sidebar { display:flex; flex-direction:column; gap:10px; }
.hp-sb-card { background:#fff; border-radius:8px; padding:14px; box-shadow:0 1px 4px rgba(0,0,0,.06); }
.hp-sb-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; padding-bottom:8px; border-bottom:1px solid #f0f0f0; }
.hp-sb-head strong { font-size:.88rem; font-weight:600; color:#222; }
.hp-sb-head a { font-size:.74rem; color:#e03a2e; text-decoration:none; }
.hp-sb-card .hp-mini-card { margin-bottom:6px; flex-direction:row; }
.hp-sb-card .hp-mini-card:last-child { margin-bottom:0; }
.hp-sb-card .hp-mini-img { width:68px; min-width:68px; aspect-ratio:4/3; height:auto; border-radius:4px; overflow:hidden; }
.hp-sb-card .hp-mini-info { padding:4px 8px; }
.hp-sb-card .hp-mini-title { font-size:.76rem; white-space:normal; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; }

/* ── 横向房源列表 ── */
.hp-list-wrap { display:flex; flex-direction:column; border-radius:8px; overflow:hidden; }

.hp-house-item {
  display:flex; align-items:stretch; gap:0;
  background:#fff; border-bottom:1px solid #f0f0f0;
  text-decoration:none; color:inherit;
  transition:background .15s; padding:16px 20px;
}
.hp-house-item:last-child { border-bottom:none; }
.hp-house-item:hover { background:#fffaf9; }

.hp-house-img {
  position:relative; width:200px; min-width:200px; aspect-ratio:4/3; height:auto;
  border-radius:6px; overflow:hidden; background:#eee;
  flex-shrink:0; margin-right:16px;
}
.hp-house-img img { width:100%; height:100%; object-fit:cover; display:block; }
.hp-house-img-empty {
  width:100%; height:100%;
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  display:flex; align-items:center; justify-content:center;
}
.hp-house-img-empty span { color:#fff; font-size:16px; font-weight:700; letter-spacing:2px; text-shadow:0 1px 4px rgba(0,0,0,.2); }
.hp-house-badge {
  position:absolute; left:0; bottom:0;
  background:rgba(0,0,0,.48); color:#fff; font-size:.7rem; padding:2px 8px;
}
.hp-house-info {
  flex:1; min-width:0;
  display:flex; flex-direction:column; gap:5px;
  padding-right:16px;
}
.hp-house-title {
  font-size:.98rem; font-weight:600; color:#222;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  line-height:1.4;
}
.hp-house-title .hp-list-title-price {
  font-size: .85rem;
  color: #e03a2e;
  font-weight: 600;
  margin-left: 8px;
}
.hp-house-item:hover .hp-house-title { color:#e03a2e; }
.hp-house-img-link, .hp-house-title-link { text-decoration:none; color:inherit; display:block; }
.hp-xiaoqu-link { color:#307ecc; text-decoration:none; font-weight:600; transition:color .15s; }
.hp-xiaoqu-link:hover { color:#e03a2e; text-decoration:underline; }
.hp-house-sub-attrs { font-size:.78rem; color:#888; line-height:1.4; margin-top:1px; }
.hp-house-attrs { font-size:.8rem; color:#666; line-height:1.5; }
.hp-house-tags { display:flex; gap:5px; flex-wrap:wrap; }
.hp-house-tags span {
  font-size:.7rem; padding:2px 7px;
  background:#f0f7ff; color:#4a90d9; border-radius:3px;
}
.hp-house-addr { font-size:.76rem; color:#aaa; margin-top:auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hp-house-price {
  display:flex; flex-direction:column; align-items:flex-end;
  justify-content:center; min-width:106px; flex-shrink:0;
}
.hp-price-num { line-height:1; }
.hp-price-num strong { font-size:1.65rem; font-weight:700; color:#e03a2e; line-height:1; }
.hp-price-num em { font-style:normal; font-size:.85rem; color:#e03a2e; margin-left:1px; }
.hp-price-unit { font-size:.72rem; color:#aaa; margin-top:4px; }

/* ── 详情页 ── */
.hp-detail-page .hp-page-inner { padding-top:14px; }

/* 面包屑 */
.hp-breadcrumb { font-size:.78rem; color:#aaa; margin-bottom:10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hp-breadcrumb a { color:#aaa; text-decoration:none; display: inline-block; }
.hp-breadcrumb a:hover { color:#e03a2e; }
.hp-breadcrumb span { margin:0 5px; display: inline-block; }

/* 标题+价格头 */
.hp-detail-head {
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:16px; background:#fff;
  border-radius:8px 8px 0 0;
  padding:18px 22px 14px; border-bottom:1px solid #f0f0f0;
}
.hp-detail-head-info { flex:1; min-width:0; }
.hp-detail-title { font-size:1.25rem; font-weight:700; color:#222; margin:0 0 6px; line-height:1.4; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.hp-detail-title-price { font-size: 1.35rem; color: #e03a2e; font-weight: 700; margin-left: 5px; }
.hp-detail-meta-area { font-size: .83rem; color: #555; margin-bottom: 6px; }
.hp-detail-meta-area strong { color: #e03a2e; font-weight: 600; }
.hp-detail-meta { font-size:.78rem; color:#aaa; }
.hp-detail-head-price { text-align:right; flex-shrink:0; }
.hp-detail-head-price strong { font-size:1.9rem; font-weight:700; color:#e03a2e; line-height:1; }
.hp-detail-head-price em { font-style:normal; font-size:.95rem; color:#e03a2e; }
.hp-detail-head-price span { display:block; font-size:.74rem; color:#aaa; margin-top:4px; }
.hp-detail-head-share {
  flex-shrink:0;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
}
.hp-detail-head-share .sharing {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
}
.hp-detail-head-share a {
  display: none !important;
}
.hp-detail-head-share a[class*="wechat"],
.hp-detail-head-share a[class*="weixin"],
.hp-detail-head-share a[class*="qq"],
.hp-detail-head-share a[href*="wechat"],
.hp-detail-head-share a[href*="weixin"],
.hp-detail-head-share a[href*="qq"] {
  display: inline-block !important;
}

/* 双栏主体 */
.hp-detail-body { display:grid; grid-template-columns:1fr 380px; gap:14px; align-items:start; }

.hp-detail-main { background:#fff; border-radius:0 0 8px 8px; overflow:hidden; }

/* 图片画廊 */
.hp-gallery { background:#000; border-radius: 8px 8px 0 0; overflow: hidden; }
.hp-gallery-main { position:relative; width:100%; aspect-ratio:4/3; max-height:600px; overflow:hidden; background: #000; }
.hp-gallery-main img { width:100%; height:100%; object-fit:contain; display:block; margin: 0 auto; }
.hp-gallery-main video { width:100%; height:100%; object-fit:contain; display:block; margin: 0 auto; outline: none; }
.hp-gallery-count {
  position:absolute; right:12px; bottom:12px;
  background:rgba(0,0,0,.65); color:#fff;
  font-size:.78rem; padding:4px 12px; border-radius:12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.hp-gallery-empty {
  aspect-ratio:4/3; max-height:500px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#fde9d8 0%,#f5dfc5 50%,#ecd4b4 100%);
  color:#c99a72; font-size:.88rem;
}

/* 缩略图导航滚动条 */
.hp-gallery-strip-wrap {
  display: flex;
  align-items: center;
  background: #0d0d0d;
  padding: 8px 10px;
  border-top: 1px solid #1a1a1a;
}
.hp-gallery-nav-btn {
  width: 32px;
  height: 56px;
  background: #1a1a1a;
  color: #bbb;
  border: none;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background .2s, color .2s;
  user-select: none;
}
.hp-gallery-nav-btn:hover {
  background: #262626;
  color: #fff;
}
.hp-gallery-thumbs-window {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 10px;
  scrollbar-width: none; /* Firefox */
}
.hp-gallery-thumbs-window::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.hp-gallery-thumbs-track {
  display: flex;
  gap: 8px;
}
.hp-gallery-thumb {
  width: 76px;
  min-width: 76px;
  aspect-ratio: 4/3;
  height: auto;
  border-radius: 4px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color .15s, opacity .15s;
  opacity: 0.65;
}
.hp-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-gallery-thumb:hover,
.hp-gallery-thumb.active {
  opacity: 1;
}
.hp-gallery-thumb.active {
  border: 2px solid #e03a2e !important;
}

/* 房源标签 */
.hp-detail-tags { display:flex; flex-wrap:wrap; gap:7px; padding:12px 18px; border-bottom:1px solid #f5f5f5; }
.hp-detail-tag {
  font-size:.74rem; padding:3px 10px; border-radius:3px;
  background:#fff8f0; color:#e67e22; border:1px solid #fde8c8;
}

/* 信息区块 */
.hp-detail-section { padding:18px 20px; border-bottom:1px solid #f5f5f5; }
.hp-detail-section:last-child { border-bottom:none; }
.hp-section-hd {
  font-size:.95rem; font-weight:600; color:#222;
  margin-bottom:14px; padding-bottom:8px;
  border-bottom:2px solid #e03a2e; display:inline-block;
}

/* 属性表格（参考到家了） */
.hp-attrs-table { border:1px solid #f0f0f0; border-radius:6px; overflow:hidden; }
.hp-attrs-row { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #f5f5f5; }
.hp-attrs-row:last-child { border-bottom:none; }
.hp-attr-cell { padding:10px 14px; border-right:1px solid #f5f5f5; }
.hp-attr-cell:last-child { border-right:none; }
.hp-attr-cell label { display:block; font-size:.72rem; color:#aaa; margin-bottom:3px; }
.hp-attr-cell span { font-size:.88rem; color:#333; font-weight:500; }

/* 富文本 */
.hp-richtext { font-size:.88rem; color:#444; line-height:1.8; }

/* ── 右侧栏 ── */
.hp-detail-sidebar { display:flex; flex-direction:column; gap:10px; position:sticky; top:72px; max-height:calc(100vh - 80px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(0,0,0,.12) transparent; }
.hp-detail-sidebar::-webkit-scrollbar { width:4px; }
.hp-detail-sidebar::-webkit-scrollbar-thumb { background:rgba(0,0,0,.12); border-radius:4px; }

/* 联系卡片 */
.hp-contact-card { background:#fff; border-radius:8px; padding:18px; box-shadow:0 1px 6px rgba(0,0,0,.08); }
.hp-contact-price { margin-bottom:14px; line-height:1; }
.hp-contact-price strong { font-size:1.9rem; font-weight:700; color:#e03a2e; }
.hp-contact-price em { font-style:normal; font-size:.95rem; color:#e03a2e; }
.hp-contact-price span { display:block; font-size:.74rem; color:#aaa; margin-top:5px; }
.hp-agent-row {
  display:flex; align-items:center; gap:10px;
  padding:8px 0; margin-bottom:10px;
}
/* 主栏经纪人行 */
.hp-agent-main-row {
  display:flex; align-items:center; gap:14px;
  padding:4px 0;
}
.hp-agent-avatar-lg {
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(135deg,#e03a2e,#f5a623);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; font-weight:700; flex-shrink:0;
}
.hp-call-btn-sm {
  margin-left:auto; flex-shrink:0;
  background:#e03a2e; color:#fff !important;
  padding:7px 16px; border-radius:6px;
  font-size:.82rem; font-weight:600; text-decoration:none !important;
  white-space:nowrap; transition:background .15s;
}
.hp-call-btn-sm:hover { background:#c0392b; }
/* 侧栏 chips+attrs */
.hp-contact-chips { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:12px; }
.hp-contact-chip {
  font-size:.72rem; color:#555; background:#f5f5f5;
  border-radius:4px; padding:3px 8px; white-space:nowrap;
}
.hp-contact-pnote { font-size:.74rem; color:#aaa; margin-top:4px; }
.hp-contact-attrs {
  display:grid; grid-template-columns:1fr 1fr;
  gap:0; border-top:1px solid #f5f5f5; margin-bottom:4px;
}
.hp-contact-attr {
  padding:7px 6px; border-bottom:1px solid #f5f5f5; border-right:1px solid #f5f5f5;
}
.hp-contact-attr:nth-child(2n) { border-right:none; }
.hp-contact-attr label { display:block; font-size:.68rem; color:#aaa; margin-bottom:2px; }
.hp-contact-attr span { font-size:.8rem; color:#333; font-weight:500; }
.hp-contact-divider { border:none; border-top:1px solid #f0f0f0; margin:12px 0 8px; }
.hp-contact-agent-lbl { font-size:.74rem; color:#888; margin-bottom:6px; }
.hp-agent-avatar {
  width:38px; height:38px; border-radius:50%;
  background:linear-gradient(135deg,#e03a2e,#f5a623);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:1rem; font-weight:700; flex-shrink:0;
}
.hp-agent-info strong { display:block; font-size:.88rem; color:#222; }
.hp-agent-info span { font-size:.72rem; color:#aaa; }
.hp-call-btn {
  display:block; width:100%; background:#e03a2e; color:#fff !important;
  text-align:center; line-height:42px; border-radius:6px;
  font-size:.9rem; font-weight:600; text-decoration:none !important;
  margin-bottom:8px; transition:background .15s;
}
.hp-call-btn:hover { background:#c0392b; }
.hp-back-link {
  display:block; text-align:center;
  font-size:.78rem; color:#aaa; text-decoration:none; padding:4px 0;
}
.hp-back-link:hover { color:#e03a2e; }

/* 小区概况区块（主栏内） */
.hp-community-layout {
  display:grid; grid-template-columns:200px 1fr; gap:16px; align-items:start;
}
.hp-community-layout-nomap { grid-template-columns:1fr; }
.hp-community-info-block { padding:4px 0; }
.hp-community-bi-name {
  font-size:1rem; font-weight:700; color:#222;
  margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid #f0f0f0;
}
.hp-community-dl-lg {
  display:grid; grid-template-columns:auto 1fr; gap:9px 16px; margin:0; font-size:.83rem;
}
.hp-community-dl-lg dt { color:#888; white-space:nowrap; }
.hp-community-dl-lg dd { margin:0; color:#222; font-weight:500; }

/* 高德地图容器 */
.hp-amap-wrap { border-radius:8px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.1); }
.hp-amap-full { border-radius:8px; }
.hp-amap-box { width:100%; height:360px; background:#e8eaed; }

/* 周边配套地图区块 */
.hp-map-section { margin-top:12px; }
.hp-map-section .hp-related-hd { margin-bottom:12px; }
.hp-map-container { display:grid; grid-template-columns:1fr 280px; gap:12px; }
.hp-map-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; grid-column:1 / -1; }
.hp-map-tab { padding:6px 16px; border:1px solid #ddd; border-radius:4px; background:#fff; color:#555; font-size:.85rem; cursor:pointer; transition:all .2s; }
.hp-map-tab:hover { border-color:#e03a2e; color:#e03a2e; }
.hp-map-tab.active { background:#e03a2e; border-color:#e03a2e; color:#fff; }
.hp-map-poi-panel { background:#f8f9fa; border-radius:8px; overflow:hidden; max-height:360px; overflow-y:auto; }
.hp-poi-loading, .hp-poi-empty, .hp-poi-tip { padding:20px; text-align:center; color:#999; font-size:.85rem; }
.hp-poi-list { padding:8px; }
.hp-poi-item { padding:10px 12px; background:#fff; border-radius:6px; margin-bottom:8px; cursor:pointer; transition:all .2s; }
.hp-poi-item:hover { background:#e03a2e; color:#fff; }
.hp-poi-item:hover .hp-poi-addr, .hp-poi-item:hover .hp-poi-dist { color:rgba(255,255,255,.8); }
.hp-poi-name { font-weight:500; font-size:.9rem; margin-bottom:4px; }
.hp-poi-info { display:flex; justify-content:space-between; align-items:center; font-size:.75rem; color:#888; }
.hp-poi-addr { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-right:8px; }
.hp-poi-dist { color:#e03a2e; font-weight:500; }
.hp-poi-item:hover .hp-poi-dist { color:#fff; }

@media (max-width:768px) {
  .hp-map-container { grid-template-columns:1fr; }
  .hp-map-poi-panel { max-height:200px; }
  .hp-amap-box { height:240px; }
}

/* 导航按钒（如需保留） */
.hp-map-row { display:flex; gap:7px; margin-top:8px; }
.hp-map-btn {
  flex:1; display:block; text-align:center; padding:7px 0;
  border:1px solid #ddd; border-radius:4px;
  font-size:.78rem; color:#555; text-decoration:none;
  transition:border-color .15s, color .15s;
}
.hp-map-btn:hover { border-color:#e03a2e; color:#e03a2e; }

/* 小区概况双栏 (v2) */
.hp-community-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.hp-community-layout-nomedia {
  grid-template-columns: 1fr;
}
.hp-community-info-block-v2 {
  padding: 0;
}
.hp-community-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
}
.hp-community-spec-cell {
  font-size: .83rem;
  line-height: 1.5;
  display: flex;
}
.hp-community-spec-cell label {
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-community-spec-cell span {
  color: #333;
  font-weight: 500;
}
.hp-spec-third {
  grid-column: span 1;
}
.hp-spec-full {
  grid-column: span 3;
}

@media (min-width: 769px) {
  .hp-community-specs-grid .hp-community-spec-cell {
    width: 100% !important;
    flex: none !important;
  }
}

/* 小区独立相册网格 */
.hp-xq-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.hp-xq-gallery-card {
  background: #fbfbfb;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.hp-xq-gallery-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.hp-xq-gallery-media {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  background: #000;
  overflow: hidden;
}
.hp-xq-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-xq-video-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.hp-xq-video-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.hp-xq-gallery-card:hover .hp-xq-video-play-icon {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}
.hp-xq-video-cover-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  max-width: 80%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-xq-gallery-label {
  padding: 8px;
  font-size: .76rem;
  color: #555;
  text-align: center;
  font-weight: 500;
  background: #fff;
  border-top: 1px solid #f5f5f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-price-red {
  color: #e03a2e !important;
  font-weight: 700 !important;
}

/* 小区媒体块 */
.hp-community-media-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-xq-main-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}
.hp-xq-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.hp-xq-main-media img:hover {
  transform: scale(1.05);
}
.hp-video-play-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hp-play-icon {
  color: #e03a2e;
  font-size: .8rem;
}
.hp-xq-thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.hp-xq-thumb {
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
}
.hp-xq-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ──────────────── 极致侧栏 (hp-premium-sidebar) ──────────────── */
.hp-premium-sidebar {
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.05) !important;
  background: #fff;
  border-radius: 12px !important;
  padding: 24px !important;
}

/* 价格与房贷估算 */
.hp-sb-price-block {
  margin-bottom: 20px;
}
.hp-sb-price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1.1;
}
.hp-sb-big-val {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e03a2e;
}
.hp-sb-unit-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e03a2e;
  margin-right: 12px;
}
.hp-sb-sub-val {
  font-size: .85rem;
  color: #777;
  display: block;
  margin-top: 4px;
}
.hp-sb-loan-est {
  margin-top: 8px;
  font-size: .76rem;
  color: #888;
  background: #fff5f4;
  border-radius: 4px;
  padding: 6px 10px;
}
.hp-sb-loan-est strong {
  color: #e03a2e;
}

/* 核心三列 */
.hp-sb-three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 14px 0;
  margin-bottom: 20px;
}
.hp-sb-col-item {
  text-align: center;
  position: relative;
}
.hp-sb-col-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #eee;
}
.hp-sb-col-item strong {
  display: block;
  font-size: 1.05rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 4px;
}
.hp-sb-col-item span {
  font-size: .74rem;
  color: #aaa;
}

/* 双列小字列表 */
.hp-sb-attrs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin-bottom: 12px;
}
.hp-sb-attr-cell {
  display: flex;
  font-size: .82rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-sb-attr-full {
  grid-column: span 2;
}
.hp-sb-attr-cell label {
  color: #888;
  margin-right: 6px;
  flex-shrink: 0;
}
.hp-sb-attr-cell span {
  color: #222;
  font-weight: 500;
}
.hp-blue-text {
  color: #2d8df0 !important;
  cursor: pointer;
}
.hp-blue-text:hover {
  text-decoration: underline;
}
a.hp-link { text-decoration: none; }
a.hp-link:hover { text-decoration: underline; }

/* 全宽单行 */
.hp-sb-full-row {
  display: flex;
  font-size: .82rem;
  margin-bottom: 20px;
  padding-bottom: 4px;
  line-height: 1.4;
}
.hp-sb-full-row label {
  color: #888;
  margin-right: 6px;
  flex-shrink: 0;
}
.hp-sb-full-row span {
  color: #222;
}

/* 分隔线与优选经纪人 v2 */
.hp-sb-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 18px 0;
}
.hp-agent-box-v2 {
  margin-bottom: 20px;
}
.hp-agent-row-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-agent-avatar-v2 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e03a2e, #ff8c00);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-agent-info-v2 {
  display: flex;
  flex-direction: column;
}
.hp-agent-info-v2 strong {
  font-size: .95rem;
  color: #222;
}
.hp-agent-score {
  font-size: .72rem;
  color: #888;
  margin-top: 2px;
}
.hp-agent-actions-v2 {
  margin-top: 12px;
}
.hp-call-btn-v2 {
  display: block;
  width: 100%;
  background: #e03a2e;
  color: #fff !important;
  text-align: center;
  line-height: 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none !important;
  transition: background .15s;
}
.hp-call-btn-v2:hover {
  background: #c0392b;
}

/* 微信扫码/分享框 */
.hp-sb-qrcode-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfcfc;
  border: 1px dashed #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.hp-sb-qrcode-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-sb-qrcode-text strong {
  font-size: .82rem;
  color: #333;
}
.hp-sb-qrcode-text span {
  font-size: .7rem;
  color: #999;
}
.hp-sb-qrcode-img {
  width: 52px;
  height: 52px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  padding: 2px;
}
.hp-sb-qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── 推荐区 ── */
.hp-related { margin-top:12px; background:#fff; border-radius:8px; padding:18px; box-shadow:0 1px 4px rgba(0,0,0,.06); }
.hp-related-hd { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.hp-related-hd-title { display:flex; align-items:center; gap:8px; }
.hp-related-hd strong { font-size:.95rem; font-weight:600; color:#222; }
.hp-related-src { font-size:.72rem; color:#aaa; background:#f5f5f5; padding:2px 8px; border-radius:10px; }
.hp-related-hd > a { font-size:.8rem; color:#e03a2e; text-decoration:none; }
.hp-related-list { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }

/* ── 迷你卡片 ── */
.hp-mini-card {
  display:flex; flex-direction:column; text-decoration:none;
  color:inherit; border:1px solid #f0f0f0;
  border-radius:6px; overflow:hidden; transition:box-shadow .15s;
}
.hp-mini-card:hover { box-shadow:0 4px 12px rgba(0,0,0,.1); }
.hp-mini-img { width:100%; aspect-ratio:4/3; overflow:hidden; background:#eee; }
.hp-mini-img img { width:100%; height:100%; object-fit:cover; display:block; }
.hp-mini-img-empty { width:100%; height:100%; background:linear-gradient(135deg,#667eea,#764ba2); display:flex; align-items:center; justify-content:center; }
.hp-mini-img-empty span { color:#fff; font-size:15px; font-weight:700; letter-spacing:2px; text-shadow:0 1px 4px rgba(0,0,0,.2); }
.hp-mini-info { padding:9px; }
.hp-mini-title { font-size:.78rem; font-weight:600; color:#333; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-bottom:3px; }
.hp-mini-attrs { font-size:.7rem; color:#aaa; margin-bottom:5px; }
.hp-mini-price { font-size:.88rem; font-weight:700; color:#e03a2e; }

/* ── 响应式 ── */
@media (max-width:960px) {
  .hp-detail-body { grid-template-columns:1fr; }
  .hp-detail-sidebar { position:static; }
  .hp-related-list { grid-template-columns:repeat(3,1fr); }
  .hp-list-layout { grid-template-columns:1fr; }
  .hp-list-sidebar { display:none; }
  .hp-community-layout { grid-template-columns:1fr; }
  .hp-community-layout-v2 { grid-template-columns:1fr; }
  .hp-community-media-block { max-width: 100%; }
  .hp-amap-box { height:240px; }
}
@media (max-width:680px) {
  .hp-house-img { width:120px; min-width:120px; aspect-ratio:4/3; height:auto; }
  .hp-house-item { padding:12px; }
  .hp-channel-head { flex-direction:column; align-items:flex-start; }
  .hp-related-list { grid-template-columns:repeat(2,1fr); }
  .hp-attrs-table { border-radius:4px; }
  .hp-agent-main-row { flex-wrap:wrap; }
  .hp-call-btn-sm { margin-left:0; margin-top:8px; }
}

/* ── 全屏媒体预览灯箱 Lightbox ── */
.hp-lightbox {
  display: none;
  position: fixed;
  z-index: 9999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.75);
  user-select: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hp-lightbox-content-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hp-lightbox-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.hp-lightbox-content#hp-lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  min-width: 320px;
  min-height: 180px;
  background: #000;
}
.hp-lightbox-close {
  position: absolute;
  top: 80px;
  right: 25px;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  z-index: 10000010;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}
.hp-lightbox-close:hover {
  color: #e03a2e;
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}
.hp-lightbox-prev, .hp-lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 24px;
  transition: background 0.2s;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100010;
}
.hp-lightbox-prev {
  left: 30px;
}
.hp-lightbox-next {
  right: 30px;
}
.hp-lightbox-prev:hover, .hp-lightbox-next:hover {
  background-color: rgba(224, 58, 46, 0.8);
}
.hp-lightbox-caption {
  position: absolute;
  bottom: 20px;
  text-align: center;
  color: #bbb;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.5);
  padding: 6px 16px;
  border-radius: 15px;
  z-index: 100010;
}

/* ── 前台列表分页样式 ── */
.hp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 25px;
  padding: 15px 0;
  flex-wrap: wrap;
}
.hp-page-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 36px;
  line-height: 36px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  user-select: none;
  cursor: pointer;
}
.hp-page-nav:hover {
  border-color: #e03a2e;
  color: #e03a2e;
  background: #fffaf9;
}
.hp-page-nav.active {
  border-color: #e03a2e;
  background: #e03a2e;
  color: #fff;
  font-weight: 600;
  cursor: default;
}
.hp-page-info {
  font-size: 0.78rem;
  color: #888;
  margin-left: 10px;
}

/* ── 位置信息行 ── */
.hp-house-loc {
  font-size: .78rem;
  color: #888;
  line-height: 1.5;
}

/* ── 水平布局小区卡片 ── */
.hp-xiaoqu-item .hp-house-price {
justify-content: center;
align-items: flex-end;
}
.hp-xiaoqu-item .hp-price-num strong {
font-size: 1.45rem;
letter-spacing: -0.5px;
}
.hp-xiaoqu-item .hp-price-unit {
margin-top: 4px;
color: #999;
font-size: .72rem;
}
.hp-xiaoqu-item .hp-house-attrs {
font-size: .8rem;
color: #555;
}
/* 小区列表评估价展示 */
.hp-xiaoqu-pinggu {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-top: 6px;
font-size: .85rem;
}
.hp-pinggu-label {
color: #666;
font-weight: 500;
}
.hp-pinggu-item {
padding: 3px 10px;
border-radius: 4px;
font-size: .78rem;
font-weight: 500;
}
.hp-pinggu-dianti {
background: #e6f7e6;
color: #52c41a;
}
.hp-pinggu-yangfang {
background: #fff7e6;
color: #fa8c16;
}
.hp-pinggu-buxing {
background: #f5f5f5;
color: #666;
}
.hp-xiaoqu-item .hp-house-tags span {
background: #f5f5f5;
color: #666;
  border-radius: 2px;
  padding: 2px 6px;
  font-size: .68rem;
}

/* ── Zidian (楼盘字典) Vue App ── */

.zd-app {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  gap: 0;
  font-size: 13px;
}

.zd-left {
  width: 240px;
  min-width: 200px;
  flex-shrink: 0;
  border-right: 1px solid #e2e6ea;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.zd-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.zd-region {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.zd-region-header {
  padding: 10px;
  border-bottom: 1px solid #eef0f2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zd-region-btns {
  display: flex;
  gap: 6px;
}

.zd-region-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.zd-region-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex: 1;
}
.zd-region-node-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zd-region-node-acts {
  display: none;
  margin-left: 8px;
  flex-shrink: 0;
}
.el-tree-node__content:hover .zd-region-node-acts {
  display: inline-flex;
}

.zd-tree-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 4px;
}

.zd-tree-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zd-tree-acts {
  display: none;
  gap: 2px;
  flex-shrink: 0;
}

.el-tree-node__content:hover .zd-tree-acts {
  display: flex;
}

.zd-region-footer {
  flex-shrink: 0;
  padding: 6px 10px;
  border-top: 1px solid #eef0f2;
}

.zd-xiaoqu {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.zd-xiaoqu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #eef0f2;
  background: #fafbfc;
  flex-shrink: 0;
}

.zd-xiaoqu-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.zd-xiaoqu-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zd-xiaoqu-info {
  color: #8a949d;
  font-size: 12px;
  white-space: nowrap;
}

.zd-xiaoqu-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.zd-xiaoqu-body .el-table {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: none !important;
  height: 100%;
}

.zd-xq-name {
  color: #8B4513;
  font-weight: 500;
}

.zd-quxian-link {
  color: #008080;
  cursor: pointer;
  margin-right: 4px;
}
.zd-quxian-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zd-bankuai-link {
  color: #FF8C00;
  cursor: pointer;
}
.zd-bankuai-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#zd-mount .el-table {
  user-select: none;
}

#zd-mount .el-table .zd-row-active td.el-table__cell {
  background-color: rgba(30, 158, 255, 0.15) !important;
}

#zd-mount .el-table .zd-row-active .zd-quxian-link {
  color: #006060;
}
#zd-mount .el-table .zd-row-active .zd-bankuai-link {
  color: #cc7000;
}
#zd-mount .el-table .zd-row-active .zd-xq-name {
  color: #5a2d0a;
}

.zd-xiaoqu-tabs {
  min-height: 380px;
}
.zd-xiaoqu-tabs .el-tabs__content {
  padding: 12px;
  max-height: 55vh;
  overflow-y: auto;
}
.zd-xiaoqu-tabs .el-tab-pane:has(.zd-map-wrap) {
  overflow: hidden;
}
.zd-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.zd-tab-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #999;
  font-size: 14px;
}
.zd-section-title {
  color: var(--el-color-primary);
  font-weight: 600;
  font-size: 13px;
}

.zd-map-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
}
.zd-map-container {
  width: 100%;
  height: 100%;
}
.zd-map-container .amap-logo,
.zd-map-container .amap-copyright {
  display: none !important;
  visibility: hidden !important;
}
.zd-map-search {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  width: 280px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 6px;
}
.zd-map-panel {
  max-height: 200px;
  overflow-y: auto;
  font-size: 12px;
}
.zd-map-panel .amap_lib_placeSearch {
  font-size: 12px;
}
.zd-map-bar {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 6px 10px;
}
.zd-map-bar-addr {
  flex: 1;
  min-width: 0;
}

.zd-dong {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.zd-dong-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 12px;
}

.zd-dong-rules {
  display: flex;
  gap: 16px;
}

.zd-dong-body {
  flex: 1;
  min-height: 200px;
  overflow: hidden;
}

/* ── Element Plus overrides inside zidian ── */
#zd-mount .el-dialog,
body > .el-overlay .el-dialog {
  border-radius: 8px;
  overflow: hidden;
}

#zd-mount .el-dialog__header,
body > .el-overlay .el-dialog__header {
  background: #fff !important;
  border-bottom: 1px solid #ebeef5;
  padding: 10px;
  margin-right: 0;
  min-height: auto;
}

#zd-mount .el-dialog__title,
body > .el-overlay .el-dialog__title {
  font-size: 15px;
  font-weight: 600;
  color: #303133;
}

#zd-mount .el-dialog__headerbtn,
body > .el-overlay .el-dialog__headerbtn {
  top: 6px;
  right: 8px;
}

#zd-mount .el-dialog__body,
body > .el-overlay .el-dialog__body {
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
}
#zd-mount .el-dialog__body:has(.zd-xiaoqu-tabs),
body > .el-overlay .el-dialog__body:has(.zd-xiaoqu-tabs) {
  max-height: 75vh;
  overflow: hidden;
  padding: 10px;
}

#zd-mount .el-dialog__footer,
body > .el-overlay .el-dialog__footer {
  border-top: 1px solid #ebeef5;
  padding: 10px;
}

#zd-mount .el-overlay-dialog,
body > .el-overlay .el-overlay-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
}

#zd-mount .el-form-item {
  margin-bottom: 14px;
}

#zd-mount .el-form-item__label {
  font-size: 12px;
}

#zd-mount .el-table th.el-table__cell {
  background: #fafbfc;
}

#zd-mount .el-tree-node__content {
  height: 30px;
}

#zd-mount .zd-region {
  --el-tree-node-height: 30px;
}

#zd-mount .el-select {
  width: 100%;
}

/* ── Image Panel ── */
.zd-img {
  display: flex;
  height: 420px;
  gap: 0;
}
.zd-img-side {
  width: 120px;
  flex-shrink: 0;
  border-right: 1px solid #ebeef5;
  background: #fafbfc;
  padding: 8px 0;
}
.zd-img-cat {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  color: #606266;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.zd-img-cat:hover { background: #ecf5ff; }
.zd-img-cat.active {
  background: #ecf5ff;
  color: #409eff;
  font-weight: 600;
  border-left-color: #409eff;
}
.zd-img-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.zd-img-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid #ebeef5;
  flex-shrink: 0;
}
.zd-img-tip {
  font-size: 12px;
  color: #909399;
}
.zd-img-grid {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}
.zd-img-item {
  width: 120px;
  text-align: center;
}
.zd-img-thumb {
  width: 120px;
  height: 90px;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zd-img-thumb img,
.zd-img-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zd-img-video-icon {
  font-size: 32px;
}
.zd-img-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,.5);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
}
.zd-img-thumb:hover .zd-img-del { display: flex; }
.zd-img-label {
  font-size: 12px;
  color: #606266;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.zd-img-label:hover { color: #409eff; }
.zd-img-empty {
  width: 100%;
  text-align: center;
  color: #c0c4cc;
  font-size: 14px;
  padding: 60px 0;
}

/* ── Room Manage Panel ── */
.zd-room {
  min-height: 300px;
}
.zd-room-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid #ebeef5;
  flex-wrap: wrap;
  flex-shrink: 0;
  background: #fafbfc;
}
.zd-room-info {
  font-size: 12px;
  color: #909399;
  margin-left: auto;
}
.zd-room-info b { font-weight: 600; }
.zd-room-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid #dcdfe6;
}
.zd-room-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #606266;
}
.zd-room-legend-item i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #dcdfe6;
}
.zd-room-legend-sale {
  background: #fef0f0;
  border-color: #f56c6c !important;
}
.zd-room-legend-rent {
  background: #f0f9ff;
  border-color: #409eff !important;
}
.zd-room-legend-both {
  background: linear-gradient(135deg, #fef0f0 50%, #f0f9ff 50%);
  border-color: #e6a23c !important;
}
.zd-room-table-wrap {
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
.zd-room-table-wrap::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.zd-room-table {
  border-collapse: collapse;
  font-size: 13px;
  width: max-content;
  background: #eee;
  border: 1px solid #dcdfe6;
}
.zd-room-table th,
.zd-room-table td {
  border: 1px solid #dcdfe6;
  padding: 0;
  text-align: center;
  white-space: nowrap;
  height: 40px;
}
.zd-room-table th {
  background-color: #eee;
}
.zd-room-th-floor,
.zd-room-td-floor {
  background: #eee !important;
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  font-weight: 600;
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  padding-left: 8px;
}
.zd-room-th {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}
.zd-room-td {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  background: #fff;
}
.zd-room-table tr:nth-child(even) td:not(.zd-room-td-floor) {
  background-color: #fcfcfc;
}
.zd-room-cell .el-checkbox__label {
  padding-left: 2px;
  font-size: 12px;
}
/* ── RoomManagePanel 左右布局 ── */
.zd-room-layout {
  display: flex;
  height: 560px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  overflow: hidden;
}
.zd-room-side {
  width: 100px;
  min-width: 80px;
  flex-shrink: 0;
  border-right: 1px solid #dcdfe6;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.zd-room-side-hd {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ebeef5;
  font-size: 13px;
  background: #fafbfc;
}
.zd-room-side-hd b { color: #409eff; }
.zd-room-side-bd {
  flex: 1;
  overflow: hidden;
}
.zd-room-tree-node {
  border-bottom: 1px solid #f0f2f5;
}
.zd-room-tree-item {
  padding: 6px 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 2px;
}
.zd-room-tree-item:hover { background: #ecf5ff; }
.zd-room-tree-item.active {
  background: #409eff;
  color: #fff;
  font-weight: 500;
}
.zd-room-tree-arrow {
  font-size: 8px;
  display: inline-block;
  transition: transform .2s;
  margin-right: 2px;
  color: #909399;
}
.zd-room-tree-arrow.open { transform: rotate(90deg); }
.zd-room-tree-item.active .zd-room-tree-arrow { color: #fff; }
.zd-room-tree-child {
  padding-left: 20px;
  font-size: 12px;
}
.zd-room-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.zd-room-main-body {
  flex: 1;
  overflow-x: auto;
  overflow-y: auto;
  padding: 10px;
}
.zd-room-units-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: max-content;
  padding-bottom: 8px;
}
.zd-room-unit-block {
  flex-shrink: 0;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.zd-room-unit-block.active {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64,158,255,.14), 0 6px 16px rgba(64,158,255,.16);
  background: #fbfdff;
}
.zd-room-unit-title {
  font-size: 14px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 10px;
  text-align: center;
}
.zd-room-empty-sm {
  text-align: center;
  color: #c0c4cc;
  padding: 30px 10px;
  font-size: 13px;
}
.zd-room-col-edit {
  font-size: 14px;
  padding: 0 2px;
  color: #409eff;
}
.zd-room-th-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 4px 0 8px;
}
.zd-room-col-img {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: none;
  font-size: 11px;
}

.zd-room-cell-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 4px 0 8px;
}
.zd-room-cell {
  flex: 1;
  text-align: left;
}
.zd-room-cell .el-checkbox__label {
  padding-left: 2px;
  font-size: 13px;
}
.zd-room-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #e6a23c;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 8px;
  margin-left: 2px;
  flex-shrink: 0;
}
.zd-room-edit-btn {
  width: 20px;
  height: 20px;
  min-height: 20px;
  font-size: 11px;
  padding: 0;
  border: none;
  color: #1e9fff;
  flex-shrink: 0;
}
.zd-room-add-btn-empty {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  font-size: 14px;
}
.zd-room-empty {
  text-align: center;
  color: #c0c4cc;
  padding: 60px 0;
  font-size: 14px;
}

/* ── BuildunitPanel (楼栋折叠面板) ── */
.zd-dong-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ebeef5;
  margin-bottom: 6px;
  gap: 12px;
}
.zd-dong-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.zd-dong-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.zd-dong-count {
  font-size: 12px;
  color: #909399;
}
.zd-dong-count b { color: #409eff; }
.zd-dong-list {
  min-height: 100px;
}
.zd-dong-group {
  border: 1px solid #ebeef5;
  border-radius: 4px;
  margin-bottom: 6px;
  overflow: hidden;
}
.zd-dong-group-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fafbfc;
  cursor: pointer;
  transition: background .2s;
  user-select: none;
}
.zd-dong-group-hd:hover { background: #ecf5ff; }
.zd-dong-group-arrow {
  font-size: 10px;
  color: #909399;
  transition: transform .2s;
  display: inline-block;
}
.zd-dong-group-arrow.open { transform: rotate(90deg); }
.zd-dong-group-title {
  font-weight: 600;
  font-size: 13px;
  color: #303133;
}
.zd-dong-group-info {
  flex: 1;
  font-size: 12px;
  color: #909399;
}
.zd-dong-group-acts {
  display: flex;
  gap: 4px;
}
.zd-dong-group-bd {
  border-top: 1px solid #ebeef5;
}
.zd-dong-unit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 32px;
  font-size: 13px;
  border-bottom: 1px solid #f5f7fa;
}
.zd-dong-unit-row:last-child { border-bottom: none; }
.zd-dong-unit-name {
  font-weight: 500;
  color: #606266;
  min-width: 80px;
}
.zd-dong-unit-info {
  flex: 1;
  font-size: 12px;
  color: #909399;
}
.zd-dong-unit-acts {
  display: flex;
  gap: 4px;
}
.zd-dong-empty {
  text-align: center;
  color: #c0c4cc;
  font-size: 14px;
  padding: 40px 0;
}

/* ── DongEditForm (内联楼栋编辑) ── */
.zd-dongedit {
  padding: 10px 0;
}
.zd-dongedit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.zd-dongedit-label {
  width: 50px;
  flex-shrink: 0;
  text-align: right;
  font-size: 13px;
  color: #606266;
  padding-right: 4px;
}
.zd-dongedit-rule {
  display: flex;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}
.zd-dongedit-rule-label {
  width: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  background: #f5f7fa;
  font-size: 13px;
  letter-spacing: 6px;
  padding: 10px 0;
  border-right: 1px solid #ebeef5;
  color: #606266;
}
.zd-dongedit-rule-content {
  flex: 1;
  padding: 10px;
}
.zd-dongedit-rule-radios {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.zd-dongedit-rule-radios .zd-dongedit-row {
  min-height: 28px;
  margin-bottom: 0;
  justify-content: flex-start;
}
.zd-dongedit-rule-radios .el-radio {
  margin-right: 0;
}
.zd-dongedit-rule-content .el-radio-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.zd-dongedit .el-input {
  --el-input-height: 32px;
}
.zd-dongedit .el-input-group__prepend,
.zd-dongedit .el-input-group__append {
  padding: 0 8px;
}

.zd-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #606266;
}

/* allow room dialog body to be taller */
#zd-mount .el-dialog__body:has(.zd-room) {
  max-height: 80vh;
  overflow-y: auto;
  padding: 10px;
}

/* ── RoomEdit / RoomImg Dialog ── */
.zd-roomedit-tabs {
  border: none;
  box-shadow: none;
}
.zd-roomedit-tabs .el-tabs__content {
  padding: 10px;
}
.zd-roomedit-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zd-roomedit-form {
  width: 100%;
}
.zd-roomedit-row {
  display: flex;
  gap: 30px;
}
.zd-roomedit-col {
  flex: 1;
}
.zd-roomedit-required .el-form-item__label {
  color: #f56c6c;
  font-weight: 600;
}
.zd-roomedit-huxing .el-form-item__content {
  display: flex;
  gap: 10px;
  width: 100%;
}
.zd-roomedit-select-box {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid var(--el-border-color);
  border-radius: 2px;
  overflow: hidden;
}
.zd-roomedit-select-box .el-select {
  flex: 1;
}
.zd-roomedit-select-box .el-select__wrapper {
  box-shadow: none;
}
.zd-roomedit-select-box span {
  padding: 0 8px;
  color: #303133;
}
.zd-roomedit-bat {
  padding-top: 18px;
}
.zd-roomimg {
  height: 360px;
  display: flex;
  border-top: 1px solid #ebeef5;
}
.zd-roomimg-side {
  width: 100px;
  flex-shrink: 0;
  background: #f5f7fa;
  border-right: 1px solid #ebeef5;
}
.zd-roomimg-cat {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #606266;
  font-size: 14px;
}
.zd-roomimg-cat.active,
.zd-roomimg-cat:hover {
  background: #ecf5ff;
  color: #409eff;
}
.zd-roomimg-main {
  flex: 1;
  position: relative;
  padding: 12px;
  overflow: auto;
}
.zd-roomimg-upload {
  width: 126px;
  height: 126px;
  border: 1px dashed #409eff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #909399;
  cursor: pointer;
  text-align: center;
  margin-right: 12px;
  vertical-align: top;
}
.zd-roomimg-grid {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  vertical-align: top;
}
.zd-roomimg-item {
  width: 126px;
  position: relative;
  text-align: center;
}
.zd-roomimg-item img,
.zd-roomimg-video {
  width: 126px;
  height: 96px;
  object-fit: cover;
  border: 1px solid #e4e7ed;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7fa;
}
.zd-roomimg-item button {
  position: absolute;
  right: 3px;
  top: 3px;
  border: none;
  background: rgba(0,0,0,.45);
  color: #fff;
  width: 18px;
  height: 18px;
  line-height: 16px;
  border-radius: 50%;
  cursor: pointer;
}
.zd-roomimg-item p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #606266;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.zd-roomimg-tip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  border-top: 1px dotted #dcdfe6;
  padding-top: 12px;
  font-size: 13px;
  color: #909399;
}

/* 拖拽反馈样式 */
.zd-sort-ghost {
  opacity: 0.3 !important;
  background: #c8ebfb !important;
  border: 1px dashed #409eff !important;
}

/* ═══════ 小区详情 - 关联房源列表 ═══════ */
.hp-section-more {
  float: right;
  font-size: 13px;
  font-weight: normal;
  color: #409eff;
  text-decoration: none;
}
.hp-section-more:hover {
  text-decoration: underline;
}
.hp-linked-houses {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-linked-house-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f2f3f5;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.hp-linked-house-card:last-child {
  border-bottom: none;
}
.hp-linked-house-card:hover {
  background: #f8fafc;
}
.hp-linked-house-info {
  flex: 1;
  min-width: 0;
}
.hp-linked-house-title {
  font-size: 15px;
  font-weight: 500;
  color: #303133;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.hp-linked-house-card:hover .hp-linked-house-title {
  color: #409eff;
}
.hp-linked-house-meta {
  font-size: 13px;
  color: #909399;
  margin-bottom: 4px;
}
.hp-linked-house-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hp-linked-house-tag {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11px;
  background: #f0f9ff;
  color: #409eff;
  border-radius: 3px;
  border: 1px solid #d9ecff;
}
.hp-linked-house-price {
  font-size: 18px;
  font-weight: 700;
  color: #e6553a;
  white-space: nowrap;
  margin-left: 16px;
}

/* ═══════ 新版关联房源卡片式网格布局 ═══════ */
.hp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f2f3f5;
  margin-bottom: 15px;
}
.hp-section-header .hp-section-hd {
  border-bottom: 2px solid #e03a2e;
  margin-bottom: -1px;
  padding-bottom: 8px;
  display: inline-block;
}
.hp-section-header .hp-section-more {
  font-size: 13px;
  color: #409eff;
  text-decoration: none;
  padding-bottom: 8px;
}
.hp-section-header .hp-section-more:hover {
  text-decoration: underline;
  color: #1890ff;
}

.hp-linked-house-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 15px;
}
.hp-linked-house-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}
.hp-linked-house-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  border-color: #d1d5db;
}
.hp-linked-house-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f9fa;
  position: relative;
}
.hp-linked-house-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hp-linked-house-card-v2:hover .hp-linked-house-cover img {
  transform: scale(1.06);
}
.hp-linked-house-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.hp-linked-house-card-v2 .hp-linked-house-title {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.hp-linked-house-card-v2:hover .hp-linked-house-title {
  color: #409eff;
}
.hp-linked-house-card-v2 .hp-linked-house-meta {
  font-size: 12px;
  color: #718096;
  margin-bottom: 12px;
}
.hp-linked-house-ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.hp-linked-house-card-v2 .hp-linked-house-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.hp-linked-house-card-v2 .hp-linked-house-tag {
  font-size: 11px;
  color: #409eff;
  background: #f0f7ff;
  border: 1px solid #e0f0ff;
  padding: 1px 6px;
  border-radius: 4px;
}
.hp-linked-house-card-v2 .hp-linked-house-price {
  font-size: 16px;
  font-weight: bold;
  color: #e53e3e;
}

@media (max-width: 900px) {
  .hp-linked-house-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .hp-linked-house-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════ 侧边栏 - 小区关联房源 ═══════ */
.hp-sb-linked-section {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.hp-sb-linked-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f2f3f5;
}
.hp-sb-linked-hd strong {
  font-size: 14px;
  color: #303133;
}
.hp-sb-linked-hd a {
  font-size: 12px;
  color: #909399;
  text-decoration: none;
}
.hp-sb-linked-hd a:hover {
  color: #409eff;
}
.hp-sb-linked-list {
  display: flex;
  flex-direction: column;
}
.hp-sb-linked-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed #f2f3f5;
  text-decoration: none;
  color: inherit;
}
.hp-sb-linked-item:last-child {
  border-bottom: none;
}
.hp-sb-linked-item:hover .hp-sb-linked-title {
  color: #409eff;
}
.hp-sb-linked-title {
  flex: 1;
  font-size: 13px;
  color: #606266;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
}
.hp-sb-linked-price {
  font-size: 13px;
  font-weight: 600;
  color: #e6553a;
  white-space: nowrap;
}
.hp-sb-linked-empty {
  padding: 10px 0;
  font-size: 13px;
  color: #c0c4cc;
  text-align: center;
}

/* ═══════ 人气小区网格 ═══════ */
.hp-popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 4px;
}
.hp-popular-card {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.hp-popular-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.hp-popular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s;
}
.hp-popular-card:hover .hp-popular-img img {
  transform: scale(1.05);
}
.hp-popular-title {
  font-size: 13px;
  color: #303133;
  padding: 6px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-popular-card:hover .hp-popular-title {
  color: #409eff;
}
.hp-popular-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-popular-placeholder span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.hp-popular-card:hover .hp-popular-placeholder {
  background: linear-gradient(135deg, #764ba2, #667eea);
}
.hp-popular-empty {
  padding: 20px 0;
  font-size: 13px;
  color: #c0c4cc;
  text-align: center;
}
.hp-popular-views {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 3px 7px;
  border-bottom-left-radius: 6px;
}

/* ═══════ 筛选和搜索栏样式 ═══════ */
.hp-filter-container {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,.03);
  border: 1px solid #ebeef5;
}

/* 搜索框 */
.hp-search-form {
  margin-bottom: 20px;
}
.hp-search-box {
  display: flex;
  max-width: 600px;
  height: 42px;
  border: 2px solid #409eff;
  border-radius: 4px;
  overflow: hidden;
}
.hp-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 15px;
  font-size: 14px;
  color: #303133;
}
.hp-search-box button {
  width: 100px;
  background: #409eff;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.hp-search-box button:hover {
  background: #66b1ff;
}

/* 筛选行 */
.hp-filter-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-filter-row {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 24px;
}
.hp-filter-row-sub {
  background: #fcfdff;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px dashed #e4e7ed;
  margin-left: 54px;
}
.hp-filter-row-sub .hp-filter-label {
  color: #909399;
  font-weight: normal;
}
.hp-filter-label {
  width: 54px;
  color: #303133;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 1px;
}
.hp-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.hp-filter-options a {
  color: #606266;
  text-decoration: none;
  padding: 1px 8px;
  border-radius: 3px;
  transition: all .2s;
}
.hp-filter-options a:hover {
  color: #409eff;
  background: #f0f7ff;
}
.hp-filter-options a.is-active {
  color: #fff;
  background: #409eff;
  font-weight: 600;
}

/* ═══════ 门户首页全新大图搜索区 ═══════ */
.houseportal-hero-new {
  position: relative;
  background: linear-gradient(135deg, #1f2d3d 0%, #111a24 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}
.houseportal-hero-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(64,158,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hp-hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}
.hp-hero-logo {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #409eff;
  font-weight: 700;
  margin-bottom: 16px;
}
.houseportal-hero-new h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hp-hero-sub {
  font-size: 16px;
  color: #b0b8c0;
  margin-bottom: 40px;
}

/* 搜索控制面板 */
.hp-search-panel {
  background: rgba(255,255,255,0.98);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-bottom: 40px;
}
.hp-search-tabs {
  display: flex;
  margin-bottom: 12px;
  border-bottom: 2px solid #409eff;
}
.hp-search-tab {
  flex: 1;
  background: #fff;
  border: none;
  outline: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 8px;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: all 0.2s;
  text-align: center;
}
.hp-search-tab:hover {
  color: #409eff;
  background: #f0f7ff;
}
.hp-search-tab.active {
  color: #fff;
  background: #409eff;
}

/* 搜索表单 */
.hp-search-form-wrap form {
  display: flex;
  width: 100%;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dcdfe6;
}
.hp-search-form-wrap form:focus-within {
  border-color: #409eff;
}
.hp-search-form-wrap input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 15px;
  color: #303133;
  background: #fff;
}
.hp-search-submit {
  width: 120px;
  background: #409eff;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.hp-search-submit:hover {
  background: #66b1ff;
}

/* 精美导航卡片网格 */
.hp-channel-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.hp-channel-nav-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.hp-channel-nav-card:hover {
  background: #409eff;
  border-color: #409eff;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(64,158,255,0.3);
  color: #ffffff !important;
}
.hp-channel-nav-card:hover strong,
.hp-channel-nav-card:hover span {
  color: #ffffff !important;
}
.hp-nav-card-info strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.hp-nav-card-info span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.hp-channel-nav-card:hover .hp-nav-card-info span {
  color: rgba(255,255,255,0.9);
}


/* ==========================================================================
   ── 手机自适应与高保真移动端适配 (Mimic Target Pages) ──
   ========================================================================== */

/* 默认隐藏移动端专属组件 */
.hp-mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .hp-mobile-only {
    display: flex !important;
  }

  /* 调整基础页面容器在移动端的排版 */
  .hp-page-wrap {
    padding: 0 !important;
    background: #f8f9fa;
  }
  .hp-page-inner {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* ── 列表页头部与筛选器自适应 ── */
  .hp-channel-head {
    padding: 16px 14px 10px;
    background: #fff;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
  }
  .hp-channel-head-left h1 {
    font-size: 20px !important;
    font-weight: 700;
  }
  .hp-channel-count {
    font-size: 12px;
    padding: 2px 8px;
    background: #f0f2f5;
    color: #606266;
    border-radius: 10px;
  }
  .hp-channel-tabs {
    display: flex !important;
    margin-top: 10px;
    width: 100%;
    border-bottom: 2px solid #409eff !important;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .hp-channel-tabs::-webkit-scrollbar {
    display: none;
  }
  .hp-tab {
    flex: 1 !important;
    padding: 8px 6px !important;
    font-size: 13px !important;
    border-radius: 4px 4px 0 0 !important;
    background: #fff !important;
    color: #333 !important;
    text-align: center !important;
    border: none !important;
  }
  .hp-tab.is-active {
    background: #409eff !important;
    color: #fff !important;
  }

  /* 极简搜索框 */
  .hp-search-box {
    margin: 8px 14px;
    height: 38px;
    background: #f0f2f5;
    border: none;
    border-radius: 19px;
    overflow: hidden;
  }
  .hp-search-box input {
    font-size: 13px;
    padding-left: 15px;
  }
  .hp-search-box button {
    font-size: 13px;
    width: 70px;
    background: #409eff;
  }

  /* 列表页布局 */
  .hp-list-layout {
    display: block !important;
    padding: 0;
  }
  .hp-list-main {
    box-shadow: none;
    background: transparent;
  }
  .hp-list-wrap {
    background: #fff;
    padding: 0 14px;
  }

  /* 过滤栏：手机端微型轻量化选项 */
  .hp-filter-container {
    background: #fff;
    padding: 8px 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f2f2f2;
  }
  .hp-filter-row {
    margin-bottom: 6px !important;
    font-size: 13px;
  }
  .hp-filter-label {
    min-width: 46px !important;
    color: #909399;
  }
  .hp-filter-options {
    gap: 6px !important;
  }
  .hp-filter-options a {
    padding: 3px 8px !important;
    font-size: 12px !important;
    border-radius: 4px;
    background: #f5f7fa;
  }
  .hp-filter-options a.is-active {
    background: #ecf5ff !important;
    color: #409eff !important;
    font-weight: 600;
  }

  /* 🏆 列表卡片自适应：高保真双栏结构（完全模仿李家沱艾德公馆效果） ── */
  .hp-house-item {
    display: flex !important;
    flex-direction: row !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f2f3f5 !important;
    gap: 14px !important;
    align-items: flex-start !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .hp-house-item:last-child {
    border-bottom: none !important;
  }
  .hp-house-img-link,
  .hp-house-item .hp-house-img {
    width: 130px !important;
    min-width: 130px !important;
    aspect-ratio: 4/3 !important;
    height: auto !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    position: relative;
    border: none !important;
  }
  .hp-house-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hp-house-img-empty {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    font-size: 12px;
  }
  .hp-house-badge {
    top: 4px !important;
    bottom: auto !important;
    left: 4px !important;
    font-size: 10px !important;
    padding: 2px 5px !important;
    border-radius: 3px !important;
    background: rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(2px);
  }

  /* 右侧内容区域 */
  .hp-house-info {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  .hp-house-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    /* 允许最多2行，超出隐藏 */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
  }
  .hp-house-title .hp-list-title-price {
    font-size: 13px !important;
    margin-left: 6px !important;
  }
  .hp-house-attrs {
    font-size: 12px !important;
    color: #666 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hp-house-sub-attrs {
    display: none !important; /* 隐藏小字更新行，保持紧凑 */
  }
  .hp-house-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 2px 0 0 !important;
  }
  .hp-house-tags span {
    font-size: 10px !important;
    padding: 2px 6px !important;
    background: #edf5ff !important;
    color: #409eff !important;
    border: none !important;
    border-radius: 3px !important;
    font-weight: 500;
  }
  .hp-house-addr {
    display: none !important; /* 手机端隐藏底部的超长地址 */
  }

  /* 隐藏PC端的右侧价格 */
  .hp-house-item .hp-house-price {
    display: none !important;
  }

  /* 手机端专用价格行样式 */
  .hp-house-info-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
  }
  .hp-m-price-big {
    font-size: 16px;
    font-weight: 700;
    color: #e03a2e;
  }
  .hp-m-price-unit {
    font-size: 11px;
    color: #909399;
  }

  /* ── 🏆 小区列表卡片自适应：高保真上下排版结构 ── */
  .hp-xiaoqu-item {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px 0 !important;
  }
  .hp-xiaoqu-item .hp-house-img {
    width: 100% !important;
    min-width: 100% !important;
    aspect-ratio: 4/3 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 8px !important;
  }
  .hp-xiaoqu-item .hp-house-info {
    width: 100% !important;
    padding: 0 !important;
    gap: 6px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hp-xiaoqu-item .hp-house-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
  }
  .hp-xiaoqu-item .hp-house-attrs {
    font-size: 13px !important;
    color: #606266 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .hp-xiaoqu-item .hp-house-loc {
    font-size: 13px !important;
    color: #909399 !important;
  }
  .hp-xiaoqu-item .hp-house-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
  .hp-xiaoqu-item .hp-house-tags span {
    font-size: 11px !important;
    padding: 2px 6px !important;
  }
  .hp-xiaoqu-item .hp-xiaoqu-pinggu {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 4px !important;
    font-size: 12px !important;
  }
  .hp-xiaoqu-item .hp-pinggu-label {
    color: #606266 !important;
    font-weight: 500 !important;
  }
  .hp-xiaoqu-item .hp-pinggu-item {
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
  }
  .hp-xiaoqu-item .hp-pinggu-dianti {
    background: #e6f7e6 !important;
    color: #52c41a !important;
  }
  .hp-xiaoqu-item .hp-pinggu-yangfang {
    background: #fff7e6 !important;
    color: #fa8c16 !important;
  }
  .hp-xiaoqu-item .hp-pinggu-buxing {
    background: #f0f0f0 !important;
    color: #666 !important;
  }
  .hp-xiaoqu-item .hp-house-addr {
    display: block !important;
    font-size: 12px !important;
    color: #909399 !important;
    margin-top: 2px !important;
  }
  .hp-xiaoqu-item .hp-house-info-price-row {
    margin-top: 4px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
  }
  .hp-xiaoqu-item .hp-m-price-big {
    font-size: 18px !important;
    color: #e03a2e !important;
    font-weight: 700 !important;
  }
  .hp-xiaoqu-item .hp-m-price-unit {
    font-size: 12px !important;
    color: #909399 !important;
  }

  /* ── 详情页手机高保真适配 (Mimic Target Detail Page) ── */
  .hp-detail-page {
    background: #f8f9fa;
  }
  /* 手机端全宽画廊（Edge-to-Edge）*/
  .hp-detail-page .hp-gallery {
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    background: #000;
  }
  .hp-gallery-main {
    aspect-ratio: 4/3 !important;
    height: auto !important;
  }
  /* 画廊胶囊药丸 */
  .hp-gallery-pills {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    background: rgba(0,0,0,0.5);
    padding: 4px 6px;
    border-radius: 15px;
    z-index: 10;
  }
  .hp-gallery-pill {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    padding: 3px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .hp-gallery-pill.active {
    background: #e03a2e;
    color: #fff;
    font-weight: 600;
  }
  /* 隐藏缩略图和左右方向键，手机端靠滑动与药丸 */
  .hp-gallery-strip-wrap {
    display: none !important;
  }
  /* 极简右下角数字计数器 */
  .hp-gallery-count {
    bottom: 12px !important;
    right: 12px !important;
    background: rgba(0,0,0,0.6) !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 10px !important;
  }

  /* 详情标题头部区 */
  .hp-detail-head {
    display: block !important;
    padding: 16px !important;
    background: #fff !important;
    border-radius: 0 !important;
    border-bottom: none !important;
    margin-bottom: 8px;
  }
  .hp-detail-head-share {
    width: 100% !important;
    margin-top: 15px !important;
    justify-content: center !important;
  }
  .hp-detail-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    display: block !important;
  }
  .hp-detail-title-price {
    display: inline !important;
    font-size: 14px !important;
    color: #e03a2e !important;
    font-weight: 600 !important;
    margin-left: 8px !important;
  }
  .hp-detail-meta-area {
    display: none !important;
  }
  .hp-detail-meta {
    font-size: 12px !important;
    color: #909399 !important;
    margin-top: 6px;
  }

  /* 详情页专属核心指标三列网格（完全模仿：售价、户型、建面大字效果）*/
  .hp-detail-mobile-three-cols {
    display: flex;
    background: #fff;
    padding: 14px 0 6px;
    border-top: 1px solid #f5f6f7;
    margin-top: 14px;
    align-items: center;
    justify-content: space-around;
  }
  .hp-m-col-item {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .hp-m-col-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #ebeef5;
  }
  .hp-m-col-item:last-child::after {
    display: none;
  }
  .hp-m-col-item strong {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 700;
  }
  .hp-m-col-item strong.hp-m-price-red {
    font-size: 17px;
    color: #e03a2e;
  }
  .hp-m-col-item span {
    font-size: 11px;
    color: #909399;
  }

  /* 面包屑在移动端隐藏，保持洁净 */
  .hp-breadcrumb {
    display: none !important;
  }

  /* 隐藏主题自带sitemap导航（图片下方面包屑） */
  .hp-detail-page ~ .sitemap,
  .hp-detail-page .sitemap,
  .sitemap {
    display: none !important;
  }

  /* 详情双栏在手机端铺开 */
  .hp-detail-body {
    display: block !important;
  }
  .hp-detail-main {
    border-radius: 0 !important;
    background: transparent !important;
  }

  /* 详情属性链接组：小区、首付预算小箭头跳转 - 移动端隐藏 */
  .hp-detail-mobile-links {
    display: none !important;
    background: #fff;
    padding: 4px 16px;
    margin-bottom: 8px;
  }
  .hp-mobile-link-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    font-size: 13.5px;
    color: #1a1a1a !important;
    border-bottom: 1px solid #f2f3f5;
    text-decoration: none !important;
  }
  .hp-mobile-link-row:last-child {
    border-bottom: none;
  }
  .hp-m-link-label {
    width: 70px;
    color: #909399;
  }
  .hp-m-link-val {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
  }
  .hp-mobile-link-row.hp-mortgage-link .hp-m-link-val {
    color: #1a1a1a;
  }
  .hp-mobile-link-row.hp-mortgage-link .hp-m-link-val strong {
    color: #e03a2e;
    font-weight: 600;
  }
  .hp-m-link-arrow {
    color: #c0c4cc;
    font-size: 12px;
    margin-left: 6px;
  }

  /* 详情属性两列网格 */
  .hp-detail-section {
    background: #fff !important;
    margin-bottom: 8px;
    padding: 16px !important;
    border-bottom: none !important;
  }
  .hp-section-hd {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    border-bottom: none !important;
    padding: 0 !important;
  }
  .hp-attrs-table {
    display: block !important;
  }
  .hp-attrs-row {
    display: flex !important;
    border-bottom: none !important;
    padding: 5px 0 !important;
  }
  .hp-attr-cell {
    flex: 1 !important;
    display: flex !important;
    align-items: baseline !important;
    font-size: 13px !important;
    padding: 0 !important;
  }
  .hp-attr-cell label {
    width: 60px !important;
    color: #909399 !important;
    flex-shrink: 0;
  }
  .hp-attr-cell span {
    color: #1a1a1a !important;
    font-weight: 500;
  }

  /* 描述文本 */
  .hp-richtext {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #333 !important;
  }

  /* 隐藏PC端的右边栏（它包含联系卡、推荐，我们已经在底部或下方渲染了新组）*/
  .hp-detail-sidebar {
    display: none !important;
  }

  /* 周边与临近小区 */
  .hp-related {
    background: #fff;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 0 !important;
  }
  .hp-related-hd {
    margin-bottom: 12px;
  }
  .hp-related-hd strong {
    font-size: 15px !important;
  }
  .hp-related-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ── 移动端高保真固定底部联系栏 (Sticky Contact Footer) ── */
  body {
    padding-bottom: 74px !important; /* 预留底部空间避免被挡住 */
  }
  .hp-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
    box-sizing: border-box;
  }
  .hp-s-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .hp-s-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #409eff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .hp-s-info {
    min-width: 0;
  }
  .hp-s-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
  }
  .hp-s-desc {
    font-size: 11px;
    color: #909399;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hp-s-right {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  .hp-s-call {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 19px;
    background: #e03a2e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.2s;
  }
  .hp-s-call:hover {
    background: #c0392b;
  }
  .hp-s-btn {
    height: 38px;
    padding: 0 16px;
    border-radius: 19px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none !important;
    transition: all 0.2s;
  }
  .hp-s-wechat {
    background: #07c160;
    color: #fff !important;
  }
  .hp-s-wechat:hover {
    background: #06b054;
  }
  .hp-s-phone {
    background: #e03a2e;
    color: #fff !important;
    min-width: 100px;
    padding: 0 24px;
    border-radius: 19px;
    box-shadow: 0 3px 8px rgba(224, 58, 46, 0.25);
  }
  .hp-s-phone:hover {
    background: #c82e23;
  }
  .hp-s-icon {
    display: none;
  }

  /* ══════════════════════════════════════════════
     房产首页 (/house/) 手机端适配
     ══════════════════════════════════════════════ */

  /* ── 首页总览外壳 ── */
  .houseportal-shell {
    gap: 16px !important;
  }

  /* ── 首页大图搜索区 ── */
  .houseportal-hero-new {
    padding: 36px 16px 28px !important;
    margin-bottom: 16px !important;
    border-radius: 0 !important;
  }
  .houseportal-hero-new h1 {
    font-size: 22px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
  .hp-hero-title-line {
    display: block !important;
  }
  .hp-hero-title-amp {
    display: block !important;
    font-size: 16px !important;
    margin: 2px 0 !important;
  }
  .hp-hero-logo {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }
  .hp-hero-sub {
    font-size: 13px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
  }

  /* ── 搜索面板 ── */
  .hp-search-panel {
    padding: 10px !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
  }
  .hp-search-tabs {
    margin-bottom: 8px !important;
    border-bottom: 2px solid #409eff !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .hp-search-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .hp-search-tab {
    flex: 1 !important;
    padding: 8px 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-align: center !important;
    background: #fff !important;
    color: #333 !important;
    border-radius: 4px 4px 0 0 !important;
  }
  .hp-search-tab.active {
    color: #fff !important;
    background: #409eff !important;
  }
  .hp-search-form-wrap form {
    height: 38px !important;
  }
  .hp-search-form-wrap input[type="text"] {
    font-size: 13px !important;
    padding: 0 10px !important;
  }
  .hp-search-submit {
    width: 72px !important;
    font-size: 13px !important;
  }

  /* ── 频道导航卡片网格 ── */
  .hp-channel-nav-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .hp-channel-nav-card {
    padding: 12px !important;
    border-radius: 8px !important;
  }
  .hp-nav-card-info strong {
    font-size: 14px !important;
  }
  .hp-nav-card-info span {
    font-size: 11px !important;
  }

  /* ── 首页各频道区块 ── */
  .houseportal-section {
    padding: 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: 8px solid #f5f6f7 !important;
    background: #fff !important;
  }
  .houseportal-section-head {
    flex-direction: row !important;
    align-items: flex-end !important;
    margin-bottom: 12px !important;
    gap: 8px !important;
    padding: 0 !important;
    border-bottom: 2px solid #409eff !important;
  }
  .houseportal-section-head > div {
    display: flex !important;
    align-items: flex-end !important;
  }
  .houseportal-section-label {
    padding: 6px 12px !important;
    font-size: 13px !important;
    background: #409eff !important;
    color: #fff !important;
    border-radius: 4px 4px 0 0 !important;
  }
  .houseportal-section-note {
    display: none !important;
  }
  .houseportal-section-more {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }
  .houseportal-section h2 {
    font-size: 18px !important;
  }

  /* ── 首页卡片网格：单列铺开 ── */
  .houseportal-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ── 首页卡片：手机端纵向卡片独占一行 ── */
  .houseportal-card {
    flex-direction: column !important;
    border-radius: 8px !important;
    height: auto !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    border: none !important;
    overflow: hidden !important;
  }
  .houseportal-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  }
  .houseportal-card-visual {
    width: 100% !important;
    min-width: 0 !important;
    height: 180px !important;
    min-height: 180px !important;
    flex: 0 0 180px !important;
    border-radius: 8px 8px 0 0 !important;
  }
  .houseportal-card-visual::after {
    display: none !important;
  }
  .houseportal-card-body {
    padding: 12px 14px !important;
    gap: 8px !important;
  }
  .houseportal-card h3 {
    font-size: 15px !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 2 !important;
  }
  .houseportal-card-meta {
    margin-top: 4px !important;
    gap: 6px !important;
  }
  .houseportal-card-meta span {
    font-size: 12px !important;
  }
  .houseportal-card-label {
    font-size: 11px !important;
  }
  .houseportal-card-badge {
    min-height: 24px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
  .houseportal-card-topline {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
  .houseportal-price {
    font-size: 16px !important;
  }
  /* 卡片底部查看详情按钮 */
  .houseportal-card-footer .houseportal-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    background: #f0f7ff !important;
    color: #409eff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid #d6e9ff !important;
  }
  .houseportal-card-footer .houseportal-link:hover {
    background: #e0f0ff !important;
    color: #66b1ff !important;
  }

  /* ── 首页概览区（tpure首页块） ── */
  .houseportal-home-overview {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .houseportal-home-hero {
    padding: 20px 16px !important;
    border-radius: 0 !important;
  }
  .houseportal-home-hero h2 {
    font-size: 20px !important;
  }
  .houseportal-home-hero p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
  .houseportal-home-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }
  .houseportal-home-stat {
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }
  .houseportal-home-stat strong {
    font-size: 14px !important;
  }
  .houseportal-home-stat span {
    font-size: 11px !important;
  }
  .houseportal-home-panel {
    padding: 14px !important;
    border-radius: 0 !important;
  }
  .houseportal-home-panel-head {
    flex-direction: row !important;
    align-items: center !important;
  }
  .houseportal-home-area-list {
    gap: 8px !important;
  }
  .houseportal-home-area-item {
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }
  .houseportal-home-area-item em {
    display: none !important;
  }
  .houseportal-home-grid {
    grid-template-columns: 1fr !important;
  }
  .houseportal-home-block {
    margin: 0 !important;
  }
  .houseportal-kicker {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }
  .houseportal-kicker::before {
    width: 24px !important;
  }

  /* ── 首页空状态 ── */
  .houseportal-empty {
    padding: 24px 16px !important;
    border-radius: 0 !important;
  }
}

/* ==========================================================================
   ── 手机端折叠级联筛选与自适应单双栏详情格 ──
   ========================================================================== */

/* 1. 自适应单双栏核心网格 (适用于详情页) */
.hp-attrs-grid-v2,
.hp-community-specs-grid-v2 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  padding: 6px 0;
}
.hp-attr-cell-v2,
.hp-spec-cell-v2 {
  box-sizing: border-box;
  display: flex !important;
  align-items: baseline !important;
  padding: 8px 10px !important;
  font-size: 13.5px !important;
  border-bottom: 1px solid #f9f9f9;
}
.hp-attr-cell-v2 label,
.hp-spec-cell-v2 label {
  color: #909399 !important;
  width: 76px !important;
  flex-shrink: 0;
}
.hp-attr-cell-v2 span,
.hp-spec-cell-v2 span,
.hp-spec-cell-v2 a {
  color: #1a1a1a !important;
  font-weight: 500;
  word-break: break-all;
}

/* PC 端默认宽度（双栏）*/
.hp-attr-cell-v2,
.hp-spec-cell-v2 {
  width: 50%;
}

/* JS智能脚本动态注入的单双栏权重，保证 PC 和 手机 都能智能折行 */
.hp-cell-full {
  width: 100% !important;
  flex: 0 0 100% !important;
}
.hp-cell-half {
  width: 50% !important;
  flex: 0 0 50% !important;
}

@media (max-width: 768px) {
  /* 隐藏庞大、无折叠的PC端筛选行 */
  .hp-filter-rows {
    display: none !important;
  }

  /* 2. 📱 手机吸顶快捷折叠筛选条 */
  .hp-m-filter-bar {
    display: flex !important;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    height: 44px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  }
  .hp-m-tab-item {
    font-size: 13.5px;
    color: #303133;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    transition: all 0.2s;
  }
  .hp-m-tab-item.active {
    color: #409eff !important;
    font-weight: 600;
  }
  .hp-m-tab-item i {
    font-size: 10px;
    color: #c0c4cc;
    transition: transform 0.25s;
    display: inline-block;
  }
  .hp-m-tab-item.active i {
    transform: rotate(180deg);
    color: #409eff;
  }
  .hp-m-more {
    font-weight: bold;
    color: #606266;
  }

  /* 3. 快捷下拉面板选择器 */
  .hp-m-dropdowns {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    pointer-events: none;
  }
  .hp-m-dropdowns.active {
    display: block;
    pointer-events: auto;
  }
  .hp-m-drop-panel {
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 102;
    display: none;
    max-height: 280px;
    overflow-y: auto;
  }
  .hp-m-drop-panel.active {
    display: block;
  }
  .hp-m-drop-title {
    font-size: 11px;
    color: #909399;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  .hp-m-drop-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .hp-m-drop-options a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    font-size: 12px;
    color: #303133 !important;
    background: #f5f7fa;
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none !important;
  }
  .hp-m-drop-options a.is-active {
    background: #ecf5ff !important;
    color: #409eff !important;
    font-weight: 600;
  }
  .hp-m-drop-mask {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 101;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
    display: none;
  }
  .hp-m-drop-mask.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  /* 4. ⬅️ 左侧滑出式高级筛选抽屉面板 (Left Drawer Panel) */
  .hp-m-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.3s;
  }
  .hp-m-drawer.active {
    pointer-events: auto;
    visibility: visible;
  }
  .hp-m-drawer-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .hp-m-drawer.active .hp-m-drawer-mask {
    opacity: 1;
  }
  .hp-m-drawer-content {
    position: absolute;
    top: 0;
    left: -290px; /* 从左侧滑出 */
    width: 290px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .hp-m-drawer.active .hp-m-drawer-content {
    left: 0;
  }
  .hp-m-drawer-hd {
    padding: 18px 16px;
    border-bottom: 1px solid #f2f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hp-m-drawer-hd strong {
    font-size: 15px;
    color: #1a1a1a;
  }
  .hp-m-drawer-close {
    font-size: 22px;
    color: #909399;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
  }
  .hp-m-drawer-bd {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
  }
  .hp-drawer-section {
    margin-bottom: 24px;
  }
  .hp-drawer-section h4 {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 0 12px;
  }
  .hp-drawer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 抽屉内部双列排列 */
    gap: 8px;
  }
  .hp-drawer-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    font-size: 12px;
    color: #303133 !important;
    background: #f5f7fa;
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none !important;
  }
  .hp-drawer-grid a.is-active {
    background: #ecf5ff !important;
    color: #409eff !important;
    font-weight: 600;
  }
  .hp-m-drawer-ft {
    padding: 14px 16px;
    border-top: 1px solid #f2f3f5;
    display: flex;
    gap: 12px;
    background: #fff;
  }
  .hp-drawer-btn-reset {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #dcdfe6;
    color: #606266 !important;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
  }
  .hp-drawer-btn-ok {
    flex: 2;
    height: 40px;
    border-radius: 6px;
    background: #409eff;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  
  /* 列表卡片与详情项细微修复 */
  .hp-attr-cell-v2, .hp-spec-cell-v2 {
    border-bottom: none !important;
    padding: 6px 0 !important;
  }

  /* 🎯 小区概况移动端强力自适应重构 */
  .hp-community-specs-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 0 !important;
  }
  .hp-community-spec-cell {
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #f9f9f9 !important;
    float: none !important;
  }
  .hp-community-spec-cell.hp-cell-full {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
  .hp-community-spec-cell.hp-cell-half {
    width: 50% !important;
    flex: 0 0 50% !important;
  }
}

/* 特别提示 */
.hp-detail-notice {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: #fff8f0;
  border: 1px solid #f0d9b8;
  border-radius: 10px;
  color: #8a6d3b;
  font-size: 13px;
  line-height: 1.8;
}

.hp-detail-notice p {
  margin: 0;
  padding: 0;
}

/* ════ 房源纠错 ════ */
.hp-correction-link {
  color: #ff7a00;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  margin-left: 2px;
}
.hp-correction-link:hover {
  text-decoration: underline;
  color: #ff5500;
}

.hp-correction-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-correction-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.hp-correction-dialog {
  position: relative;
  width: 92%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}
.hp-correction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.hp-correction-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
}
.hp-correction-close {
  font-size: 24px;
  line-height: 1;
  color: #bfbfbf;
  cursor: pointer;
  user-select: none;
}
.hp-correction-close:hover { color: #595959; }
.hp-correction-body {
  padding: 16px 20px;
}
.hp-correction-field {
  margin-bottom: 14px;
}
.hp-correction-field:last-child {
  margin-bottom: 0;
}
.hp-correction-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #595959;
}
.hp-correction-field label em {
  color: #ff4d4f;
  font-style: normal;
  margin-left: 2px;
}
.hp-correction-textarea {
  width: 100%;
  min-height: 100px;
  padding: 8px 10px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color .2s;
}
.hp-correction-textarea:focus {
  outline: none;
  border-color: #ff7a00;
}
.hp-correction-input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color .2s;
}
.hp-correction-input:focus {
  outline: none;
  border-color: #ff7a00;
}
.hp-correction-counter {
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
  color: #bfbfbf;
}
.hp-correction-tip {
  min-height: 18px;
  font-size: 12px;
  line-height: 18px;
}
.hp-correction-tip.err { color: #ff4d4f; }
.hp-correction-tip.ok { color: #52c41a; }
.hp-correction-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px 16px;
  border-top: 1px solid #f0f0f0;
}
.hp-correction-cancel,
.hp-correction-submit {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #595959;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.hp-correction-cancel:hover {
  border-color: #bfbfbf;
  color: #262626;
}
.hp-correction-submit {
  background: #ff7a00;
  border-color: #ff7a00;
  color: #fff;
}
.hp-correction-submit:hover {
  background: #ff8c1a;
  border-color: #ff8c1a;
}
.hp-correction-submit:disabled {
  background: #ffb380;
  border-color: #ffb380;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .hp-correction-dialog {
    width: 94%;
    max-width: none;
  }
  .hp-correction-textarea {
    min-height: 90px;
  }
}

/* 后台房源管理移动端：内部分类导航收为横向滑动栏，操作与筛选按触控尺寸重排。 */
@media (max-width: 768px) {
  .hm-page { width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
  .hm-page > .divHeader { padding: 2px 0 10px; }
  .hm-main2 { width: 100% !important; min-width: 0 !important; }
  .hm-layout { width: 100%; height: auto; min-height: calc(100vh - 94px); border-radius: 6px; overflow: visible; flex-direction: column; }
  .hm-sidebar { width: 100%; flex: 0 0 auto; flex-direction: row; overflow-x: auto; padding: 6px; border-right: 0; border-bottom: 1px solid #e2e6ea; -webkit-overflow-scrolling: touch; }
  .hm-nav-item { flex: 0 0 auto; padding: 9px 12px; border-left: 0; border-bottom: 3px solid transparent; font-size: 13px; white-space: nowrap; }
  .hm-nav-item.is-active { border-left-color: transparent; border-bottom-color: #e74c3c; }
  .hm-main { height: auto; min-height: 0; overflow: visible; }
  .hm-toolbar { padding: 10px 12px; align-items: flex-start; }
  .hm-toolbar-info { white-space: normal; font-size: 12px; }
  .hm-filter-form { padding: 10px; }
  .hm-filter-primary > .hm-filter-field,.hm-filter-primary > .hm-filter-keyword { flex: 1 1 100%; }
  .hm-filter-primary > .hm-filter-field { flex-direction: column; align-items: stretch; gap: 4px; }
  .hm-filter-grid { grid-template-columns: 1fr; gap: 9px; }
  .hm-filter-actions { width: 100%; }.hm-filter-actions .hm-search-btn,.hm-filter-actions .hm-search-reset { flex: 1 1 auto; text-align: center; }
  .hm-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }.hm-table { min-width: 760px; }
  .hm-card-list-wrap { overflow:visible; }.hm-card-list { display:block; width:100%; min-width:0; background:transparent; }.hm-card-list thead { display:none; }.hm-card-list tbody { display:block; }.hm-card-list tbody tr { display:grid; grid-template-columns:minmax(0,1fr); gap:7px; margin:0 0 10px; padding:12px; border:1px solid #dbe5ef; border-radius:8px; background:#fff; box-shadow:0 1px 2px rgba(18,38,63,.04); }.hm-card-list td { display:none; width:auto!important; padding:0!important; border:0!important; background:transparent!important; }.hm-card-list .hm-card-title { display:block; min-width:0; color:#1f2937; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }.hm-card-list .hm-card-meta { display:flex; gap:6px; align-items:baseline; min-width:0; color:#64748b; font-size:12px; line-height:1.45; overflow-wrap:anywhere; }.hm-card-list .hm-card-meta:before { content:attr(data-label); flex:0 0 auto; color:#8a9aab; }.hm-card-list .hm-card-actions { display:flex; width:100%; gap:6px; margin-top:2px; }.hm-card-list .hm-card-actions a,.hm-card-list .hm-card-action { display:inline-flex; flex:1 1 0; align-items:center; justify-content:center; min-width:0; min-height:42px; margin:0!important; padding:0 8px; border:1px solid #cbd8e6; border-radius:6px; background:#fff; color:#2f5f92!important; text-decoration:none; white-space:nowrap; }.hm-card-list .hm-card-actions-inner { display:flex; width:100%; gap:6px; }.hm-card-list .hm-card-action-success { border-color:#a8de9e; background:#f2fff0; color:#3c8c39!important; }.hm-card-list .hm-card-action-warn { border-color:#f5d5a7; background:#fffaf0; color:#a86808!important; }.hm-card-list .hm-card-action-delete,.hm-card-list .hm-house-col-actions a:last-child { border-color:#f2b8b5; background:#fff6f5; color:#b42318!important; }.hm-card-list .hm-card-id,.hm-card-list .hm-house-col-address,.hm-card-list .hm-house-col-unit-price,.hm-card-list .hm-house-col-deal-price,.hm-card-list .hm-house-col-deal-time,.hm-card-list .hm-house-col-views,.hm-card-list .hm-correction-col-source,.hm-card-list .hm-correction-col-ip { display:none; }
  .hm-table th,.hm-table td { padding: 9px 10px; }.hm-pagination { padding: 10px 12px; align-items: flex-start; }.hm-page-btns { display:flex; flex-wrap:wrap; gap:6px; }
  .hp-setting-layout { height: auto !important; min-height: 0 !important; padding: 12px !important; flex-direction: column; gap: 12px !important; }.hp-setting-nav { width: 100% !important; flex-direction: row !important; overflow-x: auto; -webkit-overflow-scrolling:touch; }.hp-setting-nav > div { display:none; }.hp-setting-nav a { flex:0 0 auto; white-space:nowrap; }
  .hp-setting-content { width:100% !important; height:auto !important; min-height:0 !important; padding:16px !important; overflow:visible !important; }.hp-setting-content h3 { align-items:flex-start !important; flex-direction:column; gap:7px; }.hp-setting-content input,.hp-setting-content select,.hp-setting-content textarea { max-width:100% !important; }.hp-setting-content .hp-chat-table { display:block; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }.hp-setting-content .hp-ai-service { min-width:0; }.hp-setting-content .hp-ai-service > div { align-items:flex-start !important; }.hp-setting-content .hp-ai-service button { min-height:32px; }
}

@media (max-width: 480px) {
  .hm-toolbar { gap:8px; }.hm-toolbar > * { max-width:100%; }.hm-search-form { width:100%; flex-wrap:wrap; }.hm-search-input { width:100%; flex:1 1 100%; }.hm-publish-btn { flex:1 1 auto; text-align:center; }.hm-pagination { gap:8px; }.hm-page-btn { flex:1 1 auto; min-height:34px; }
  .hp-setting-content { padding:12px !important; }.hp-setting-content h3 > span:last-child { max-width:100%; white-space:normal; }.hp-setting-content .hp-chat-table th,.hp-setting-content .hp-chat-table td { white-space:nowrap; }
}


/* ════ 默认占位图宽高适配 ════ */
/* 确保所有容器中的图片(含 onerror 回退到 housedef.png)统一填充 */
.hp-house-img img[src*="housedef"],
.hp-mini-img img[src*="housedef"],
.hp-popular-img img[src*="housedef"],
.hp-linked-house-cover img[src*="housedef"],
.houseportal-card-image[src*="housedef"],
.hp-gallery-main img[src*="housedef"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
/* 画廊区域用 contain 保持完整显示，但补背景色避免黑边 */
.hp-gallery-main img[src*="housedef"] {
  object-fit: contain !important;
  background: #f5f5f5;
}
/* 首页卡片可视区域默认占位图 */
.houseportal-card-visual .houseportal-card-image[src*="housedef"] {
  object-fit: cover !important;
}
