/* 首页 Feed v2：金刚区 · Tab 吸顶 · 单列列表（仅 #homePage main） */
#homePage .home-kong-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 8px 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
#homePage .home-kong-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  margin: 0 -2px;
  padding-bottom: 2px;
}
#homePage .home-kong-page {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 0 2px;
}
#homePage .home-kong-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
#homePage .home-kong-row + .home-kong-row {
  margin-top: 4px;
}
#homePage .home-kong-icon--muted,
.home-kong-icon--muted {
  background: #f1f5f9;
  color: #64748b;
  font-size: 16px;
}
#homePage .home-kong-icon--primary,
.home-kong-icon--primary {
  background: var(--primary-light, #f0fdfa);
  color: var(--primary, #0d9488);
}
#homePage .home-kong-icon--blue,
.home-kong-icon--blue {
  background: rgba(33, 150, 243, 0.12);
  color: #2196f3;
}
#homePage .home-kong-icon--indigo,
.home-kong-icon--indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}
#homePage .home-kong-icon--violet,
.home-kong-icon--violet {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}
#homePage .home-kong-icon--rose,
.home-kong-icon--rose {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}
#homePage .home-kong-icon--amber,
.home-kong-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
#homePage .home-kong-icon--teal,
.home-kong-icon--teal {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}
.home-kong-icon--nordic-orange {
  background: rgba(212, 181, 158, 0.15);
  color: #d4b59e;
}
.home-kong-icon--nordic-red {
  background: rgba(201, 164, 164, 0.15);
  color: #c9a4a4;
}
.home-kong-icon--nordic-green {
  background: rgba(136, 165, 147, 0.15);
  color: #88a593;
}
#homePage .home-kong-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
#homePage .home-kong-dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width 0.2s ease, background 0.2s ease;
}
#homePage .home-kong-dots span.is-active {
  width: 16px;
  background: var(--primary, #0d9488);
}
/* 房屋租赁 / 求职兼职：紧凑双卡 */
#homePage .home-dual-cards {
  gap: 8px;
  margin-bottom: 12px;
}
#homePage .home-nordic-dual-card--compact {
  padding: 10px 12px;
  border-radius: 12px;
  min-height: 0;
  gap: 8px;
}
#homePage .home-dual-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}
#homePage .home-dual-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
}
#homePage .home-dual-card-sub {
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: #94a3b8;
}
#homePage .home-dual-card-stat {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}
#homePage .home-dual-card-icon {
  width: 40px;
  height: 40px;
}
#homePage .home-dual-card-icon i {
  font-size: 18px;
  line-height: 1;
}
#homePage .home-kong-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
}
#homePage .home-kong-item:active {
  opacity: 0.85;
}
#homePage .home-kong-item:focus-visible {
  outline: 2px solid var(--primary, #0d9488);
  outline-offset: 2px;
}
#homePage .home-kong-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
#homePage .home-kong-label {
  font-size: 11px;
  color: #334155;
  line-height: 1.2;
  text-align: center;
}
#homePage .home-feed-tabs-wrap {
  position: sticky;
  top: 52px;
  z-index: 90;
  margin: 0 0 8px;
  padding: 4px 0 8px;
  background: linear-gradient(to bottom, #f8f9fa 88%, rgba(248, 249, 250, 0));
}
#homePage .home-feed-tab-nav {
  padding-bottom: 4px;
}
#homePage .home-feed-tab-nav .category-chip {
  cursor: pointer;
  user-select: none;
}
#homePage .home-feed-meta-line {
  margin: 0 0 10px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}
#homePage .feed-grid.home-feed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 16px;
  align-items: stretch;
}
#homePage .home-feed-empty {
  grid-column: 1 / -1;
  margin: 8px 0 16px;
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  background: #fff;
  border-radius: 12px;
}
#homePage .home-feed-lower {
  margin-top: 8px;
}
#homePage .home-discover-zone {
  margin-bottom: 12px;
}
#homePage .home-discover-zone .carousel {
  margin-bottom: 0;
}
/* 首页搜索框 · 对齐攻略 pill + 圆形搜索钮 */
#homePage .home-search-pill {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  gap: 4px;
  padding: 6px 6px 6px 16px;
  margin: 0 0 8px;
  border-radius: 9999px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#homePage .home-search-pill:focus-within {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
#homePage .home-search-pill .home-search-input,
#homePage .home-search-pill .search-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 14px;
  line-height: 1.35;
  padding: 7px 0;
  color: var(--text-primary, #0f172a);
}
#homePage .home-search-pill .search-input::placeholder {
  color: #94a3b8;
}
#homePage .home-search-submit {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
#homePage .home-search-submit:hover {
  background: #ccfbf1;
}
#homePage .home-search-submit:active {
  transform: scale(0.96);
}
#homePage .home-search-submit i {
  font-size: 15px;
  line-height: 1;
}
#homePage .home-search-status {
  margin: -2px 0 10px;
  padding: 0 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-secondary, #64748b);
}
#homePage .home-search-pill .search-panel {
  border-radius: 16px;
  margin-top: 6px;
}
/* 首页顶栏 · 单 pill 地区选择（与攻略一致） */
#homePage .header-content--home .home-region-picker {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(240px, 52vw);
}
#homePage .header-content--home .home-region-picker .gcv2-region-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  max-width: 100%;
  background: var(--primary-light, #ecfdf5);
  color: var(--primary, #0d9488);
  border: none;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-width: 0;
  font-family: inherit;
}
#homePage .header-content--home .home-region-picker .gcv2-region-pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
#homePage .header-content--home .home-region-picker .gcv2-region-pill:hover {
  background: var(--primary, #0d9488);
  color: #fff;
}
#homePage .header-content--home .home-region-picker .gcv2-region-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  z-index: 120;
  width: min(336px, calc(100vw - 24px));
  max-height: min(420px, 60vh);
  overflow: auto;
  padding: 10px 12px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}
#homePage .header-content--home .home-region-picker .gcv2-region-panel.show {
  display: block;
}
#homePage .header-content--home .home-region-picker .gcv2-region-panel-hint {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}
#homePage .header-content--home .home-region-picker .gcv2-region-panel-section + .gcv2-region-panel-section {
  margin-top: 10px;
}
#homePage .header-content--home .home-region-picker .gcv2-region-panel-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}
#homePage .header-content--home .home-region-picker .gcv2-region-chip-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
#homePage .header-content--home .home-region-picker .gcv2-region-chip {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 10px;
  padding: 7px 4px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
#homePage .header-content--home .home-region-picker .gcv2-region-chip.is-active {
  border-color: #0d9488;
  background: #f0fdfa;
  color: #0d9488;
  font-weight: 600;
}
#homePage .header-content--home .home-region-picker.active .gcv2-region-pill .arrow {
  transform: rotate(180deg);
}
/* Feed 加载更多 */
#homePage .home-feed-load-more-wrap {
  margin: -6px 0 16px;
  text-align: center;
}
#homePage .home-feed-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
#homePage .home-feed-load-more-btn:active {
  opacity: 0.88;
}
#homePage .home-feed-load-more-btn:focus-visible {
  outline: 2px solid var(--primary, #0d9488);
  outline-offset: 2px;
}
/* 活动推荐 Banner */
#homePage .home-banner-block {
  margin-bottom: 16px;
}
#homePage .home-banner-section-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}
#homePage .home-banner-carousel .carousel-item {
  cursor: pointer;
}
#homePage .home-banner-carousel .carousel-item:focus-visible {
  outline: 2px solid var(--primary, #0d9488);
  outline-offset: -2px;
}
#homePage .home-banner-carousel .carousel-item:active {
  opacity: 0.92;
}
#homePage .home-banner-carousel--swipe {
  height: 120px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#homePage .home-banner-carousel--swipe::-webkit-scrollbar {
  display: none;
}
#homePage .home-banner-carousel--swipe .carousel-inner {
  display: flex;
  width: auto;
  height: 100%;
  animation: none !important;
  transform: none !important;
}
#homePage .home-banner-carousel--swipe .carousel-item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
#homePage .home-banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
#homePage .home-banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
#homePage .home-banner-dot.is-active {
  background: var(--primary, #0d9488);
  transform: scale(1.15);
}
#homePage .home-banner-carousel--single .home-banner-dots {
  display: none;
}
/* 本周热门：横滑 compact 卡片 */
#homePage .home-hot-section {
  margin-bottom: 4px;
}
#homePage .home-hot-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#homePage .home-hot-section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}
#homePage .home-hot-section-more {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #0d9488);
  cursor: pointer;
}
#homePage .home-hot-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#homePage .home-hot-scroll::-webkit-scrollbar {
  display: none;
}
#homePage .home-hot-scroll .home-hot-card {
  flex: 0 0 148px;
  width: 148px;
  scroll-snap-align: start;
}
#homePage .home-hot-empty {
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: center;
}
#homePage .home-hot-empty-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}
#homePage .home-hot-empty-btn {
  border: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary, #0d9488);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#homePage .home-hot-empty-btn:active {
  opacity: 0.9;
}
#homePage .home-hot-empty-btn:focus-visible {
  outline: 2px solid var(--primary, #0d9488);
  outline-offset: 2px;
}
#homePage .home-hot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
#homePage .home-hot-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: left;
  cursor: pointer;
}
#homePage .home-hot-card:active {
  opacity: 0.92;
}
#homePage .home-hot-card:focus-visible {
  outline: 2px solid var(--primary, #0d9488);
  outline-offset: 2px;
}
#homePage .home-hot-card-thumb {
  width: 100%;
  height: 80px;
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}
#homePage .home-hot-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#homePage .home-hot-card-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #0d9488);
  font-size: 24px;
  opacity: 0.72;
  background: linear-gradient(145deg, #f0fdfa 0%, #e2e8f0 100%);
}
#homePage .home-hot-card-thumb--empty[data-cat="ticket"] {
  background: linear-gradient(145deg, #ecfdf5 0%, #99f6e4 100%);
  color: #0f766e;
}
#homePage .home-hot-card-thumb--empty[data-cat="rental"] {
  background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 100%);
}
#homePage .home-hot-card-thumb--empty[data-cat="parttime"] {
  background: linear-gradient(145deg, #fff7ed 0%, #fed7aa 100%);
  color: #c2410c;
}
#homePage .home-hot-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
#homePage .home-hot-card-price {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #0d9488);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#homePage .home-hot-card-meta {
  margin: 4px 0 0;
  margin-top: auto;
  font-size: 11px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#homePage .home-hot-card-tag {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}
#homePage .home-hot-card-tag--hot {
  background: #fee2e2;
  color: #b91c1c;
}
#homePage .home-hot-grid--single {
  grid-template-columns: 1fr;
  max-width: calc(50% - 5px);
}
/* 主页 Feed：双列竖版卡片（详情页仍单列） */
#homePage .home-feed-grid-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
#homePage .home-feed-grid-card:active {
  opacity: 0.92;
}
#homePage .home-feed-grid-card:focus-visible {
  outline: 2px solid var(--primary, #0d9488);
  outline-offset: 2px;
}
#homePage .home-feed-grid-card--featured {
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35), 0 2px 8px rgba(245, 158, 11, 0.1);
}
#homePage .home-feed-grid-card-media {
  position: relative;
  flex-shrink: 0;
}
#homePage .home-feed-grid-card-badges {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
  z-index: 1;
}
#homePage .home-feed-grid-card-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  background: rgba(15, 23, 42, 0.52);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#homePage .home-feed-grid-card-badge--hot {
  background: rgba(220, 38, 38, 0.88);
}
#homePage .home-feed-grid-card-badge--vip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(251, 191, 36, 0.95) 100%);
  color: #fff;
}
#homePage .home-feed-grid-card-badge--cat {
  background: rgba(13, 148, 136, 0.88);
}
#homePage .home-feed-grid-card-thumb {
  width: 100%;
  height: 102px;
  flex-shrink: 0;
  background: #f1f5f9;
  overflow: hidden;
}
#homePage .home-feed-grid-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#homePage .home-feed-grid-card-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #0d9488);
  font-size: 28px;
  opacity: 0.72;
  background: linear-gradient(145deg, #f0fdfa 0%, #e2e8f0 100%);
}
#homePage .home-feed-grid-card-thumb--empty[data-cat="ticket"] {
  background: linear-gradient(145deg, #ecfdf5 0%, #99f6e4 100%);
  color: #0f766e;
}
#homePage .home-feed-grid-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px 8px 9px;
  gap: 3px;
}
#homePage .home-feed-grid-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#homePage .home-feed-grid-card-primary {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#homePage .home-feed-grid-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 2px;
  min-width: 0;
}
#homePage .home-feed-grid-card-price {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary, #0d9488);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
#homePage .home-feed-grid-card-price .hub-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
}
#homePage .home-feed-grid-card-time {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}
#homePage .home-feed-grid-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 38px;
  overflow: hidden;
}
#homePage .home-feed-grid-card-tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  background: #f1f5f9;
  color: #475569;
}
#homePage .home-feed-grid-card-tag--lease,
#homePage .home-feed-grid-card-tag--cat {
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}
#homePage .home-feed-grid-card-tag--bill {
  background: #ecfdf5;
  color: #047857;
}
#homePage .home-feed-grid-card-tag--hot {
  background: #fee2e2;
  color: #b91c1c;
}
#homePage .home-feed-grid-card-tag--vip {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #fff;
}
#homePage .home-feed-grid-card-meta {
  margin: auto 0 0;
  padding-top: 2px;
  font-size: 10px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
