/**
 * 子页信息流列表 — #rentalListPage + #categoryListPage 共用（对齐房屋租赁工具栏/卡片）
 */
#rentalListPage.rental-list-page,
#categoryListPage.category-list-page {
  min-height: 100vh;
  background: var(--bg-body, #f8fafc);
  overflow-x: hidden;
  max-width: 100%;
}

#rentalListPage .rental-list-main,
#categoryListPage .category-list-main {
  padding-top: 6px;
  padding-bottom: 24px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ── Header ── */
#rentalListPage .rl-header-content,
#categoryListPage .rl-header-content,
#listingDetailPage .rl-header-content {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 8px;
}
#rentalListPage .rl-header-content .header-left,
#categoryListPage .rl-header-content .header-left,
#listingDetailPage .rl-header-content .header-left {
  justify-self: start;
}
#rentalListPage .rl-header-center,
#categoryListPage .rl-header-center,
#listingDetailPage .rl-header-center {
  justify-self: center;
  text-align: center;
  min-width: 0;
}
#rentalListPage .rl-header-title,
#categoryListPage .rl-header-title,
#listingDetailPage .rl-header-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}
#rentalListPage .rl-header-content .header-right,
#categoryListPage .rl-header-content .header-right,
#listingDetailPage .rl-header-content .header-right {
  justify-self: end;
}

/* ── 工具栏 ── */
#rentalListPage .rl-toolbar,
#categoryListPage .rl-toolbar {
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 2px;
  background: linear-gradient(to bottom, var(--bg-body, #f8fafc) 70%, transparent);
}

#rentalListPage .rl-toolbar-card,
#categoryListPage .rl-toolbar-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

#rentalListPage .rl-toolbar-block--search,
#categoryListPage .rl-toolbar-block--search {
  gap: 4px;
}

#rentalListPage .rl-toolbar-trail,
#categoryListPage .rl-toolbar-trail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

#rentalListPage .rl-filter-toggle,
#categoryListPage .rl-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

#rentalListPage .rl-filter-toggle.is-open,
#categoryListPage .rl-filter-toggle.is-open {
  border-color: var(--primary, #0d9488);
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}

#rentalListPage .rl-filter-toggle-badge,
#categoryListPage .rl-filter-toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary, #0d9488);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

#rentalListPage .rl-filter-drawer,
#categoryListPage .rl-filter-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

#rentalListPage .rl-filter-drawer.is-open,
#categoryListPage .rl-filter-drawer.is-open {
  display: flex;
}

#rentalListPage .rl-filter-drawer .rl-quick-row,
#categoryListPage .rl-filter-drawer .rl-quick-row {
  margin: 0;
}

#rentalListPage .rl-filter-drawer .rl-section-panel,
#categoryListPage .rl-filter-drawer .rl-section-panel {
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

#rentalListPage .rl-toolbar-block,
#categoryListPage .rl-toolbar-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

#rentalListPage .rl-toolbar-block--chips,
#categoryListPage .rl-toolbar-block--chips {
  gap: 8px;
}

#rentalListPage .rl-toolbar-block--filters,
#categoryListPage .rl-toolbar-block--filters {
  gap: 0;
}

#rentalListPage .rl-search-wrap,
#categoryListPage .rl-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-secondary, #f1f5f9);
}

#rentalListPage .rl-search-icon,
#categoryListPage .rl-search-icon {
  color: #94a3b8;
  font-size: 14px;
  flex-shrink: 0;
}

#rentalListPage .rl-search-input,
#categoryListPage .rl-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
  outline: none;
}

#rentalListPage .rl-search-input::placeholder,
#categoryListPage .rl-search-input::placeholder {
  color: #94a3b8;
}

#rentalListPage .rl-search-clear,
#categoryListPage .rl-search-clear {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

#rentalListPage .rl-city-hint,
#categoryListPage .rl-city-hint {
  font-size: 11px;
  color: #94a3b8;
  padding: 0 2px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rentalListPage .rl-lease-row,
#categoryListPage .rl-lease-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 0 1px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#rentalListPage .rl-lease-row::-webkit-scrollbar,
#categoryListPage .rl-lease-row::-webkit-scrollbar {
  display: none;
}

/* 第一排：排序固定 + 分类 Tab 横滑 */
#rentalListPage .rl-chip-toolbar-row,
#categoryListPage .rl-chip-toolbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#rentalListPage .rl-chip-scroll,
#categoryListPage .rl-chip-scroll {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 12px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 12px), transparent 100%);
}

#rentalListPage .rl-sort-pill,
#categoryListPage .rl-sort-pill {
  flex-shrink: 0;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  margin-left: auto;
}

#rentalListPage .rl-chip-scroll::-webkit-scrollbar,
#categoryListPage .rl-chip-scroll::-webkit-scrollbar {
  display: none;
}

#rentalListPage .rl-chip-scroll .my-posts-filter-chip,
#categoryListPage .rl-chip-scroll .my-posts-filter-chip {
  flex-shrink: 0;
}

#rentalListPage .rl-section-panel--inline,
#categoryListPage .rl-section-panel--inline {
  margin-top: 4px;
}

#rentalListPage .rl-filter-bar.rl-filter-bar--triple,
#categoryListPage .rl-filter-bar.rl-filter-bar--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#rentalListPage .rl-lease-row .my-posts-filter-chip,
#categoryListPage .rl-lease-row .my-posts-filter-chip {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
  cursor: pointer;
}

#rentalListPage .rl-lease-row .my-posts-filter-chip.is-active,
#categoryListPage .rl-lease-row .my-posts-filter-chip.is-active {
  border-color: var(--primary, #0d9488);
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}

#rentalListPage .rl-filter-bar,
#categoryListPage .rl-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

#rentalListPage .rl-filter-bar.rl-filter-bar--single,
#categoryListPage .rl-filter-bar.rl-filter-bar--single {
  grid-template-columns: 1fr;
  max-width: 168px;
}

#rentalListPage .rl-filter-bar.rl-filter-bar--compact,
#categoryListPage .rl-filter-bar.rl-filter-bar--compact {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 12px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 12px), transparent 100%);
}

#rentalListPage .rl-filter-bar.rl-filter-bar--compact::-webkit-scrollbar,
#categoryListPage .rl-filter-bar.rl-filter-bar--compact::-webkit-scrollbar {
  display: none;
}

#rentalListPage .rl-filter-bar.rl-filter-bar--compact .rl-filter-pill,
#categoryListPage .rl-filter-bar.rl-filter-bar--compact .rl-filter-pill {
  flex-shrink: 0;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-secondary, #f1f5f9);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  gap: 4px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#rentalListPage .rl-filter-bar.rl-filter-bar--compact .rl-filter-pill.is-active,
#categoryListPage .rl-filter-bar.rl-filter-bar--compact .rl-filter-pill.is-active {
  background: var(--primary, #0d9488);
  color: #fff;
  border-color: var(--primary, #0d9488);
}

#rentalListPage .rl-filter-bar.rl-filter-bar--compact .rl-filter-pill.is-active .rl-filter-caret,
#categoryListPage .rl-filter-bar.rl-filter-bar--compact .rl-filter-pill.is-active .rl-filter-caret {
  opacity: 0.9;
  color: #fff;
}

#rentalListPage .rl-chip-scroll .my-posts-filter-chip,
#categoryListPage .rl-chip-scroll .my-posts-filter-chip {
  flex-shrink: 0;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.25;
}

#rentalListPage .rl-filter-item,
#categoryListPage .rl-filter-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 6px;
  min-height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  min-width: 0;
  line-height: 1.2;
}

#rentalListPage .rl-filter-item.is-active,
#categoryListPage .rl-filter-item.is-active {
  border-color: var(--primary, #0d9488);
  color: var(--primary-hover, #0f766e);
  background: var(--primary-light, #f0fdfa);
}

#rentalListPage .rl-sort-pill.rl-filter-item,
#categoryListPage .rl-sort-pill.rl-filter-item {
  border-radius: 999px;
  padding: 6px 10px;
  min-height: 34px;
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-secondary, #64748b);
}

#rentalListPage .rl-sort-pill.rl-filter-item.is-active,
#categoryListPage .rl-sort-pill.rl-filter-item.is-active {
  background: var(--primary, #0d9488);
  color: #fff;
  border-color: var(--primary, #0d9488);
}

#rentalListPage .rl-filter-caret,
#categoryListPage .rl-filter-caret {
  font-size: 10px;
  opacity: 0.65;
}

#rentalListPage .rl-section-panel,
#categoryListPage .rl-section-panel {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

#rentalListPage .rl-panel-chips,
#categoryListPage .rl-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

#rentalListPage .rl-panel-chips .my-posts-filter-chip,
#categoryListPage .rl-panel-chips .my-posts-filter-chip {
  font-size: 12px;
  padding: 6px 12px;
  min-height: 34px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 999px;
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-secondary, #64748b);
  cursor: pointer;
}

#rentalListPage .rl-panel-chips .my-posts-filter-chip.is-active,
#categoryListPage .rl-panel-chips .my-posts-filter-chip.is-active {
  border-color: var(--primary, #0d9488);
  background: var(--primary, #0d9488);
  color: #fff;
}

#rentalListPage .rl-panel-reset,
#categoryListPage .rl-panel-reset {
  display: block;
  width: 100%;
  padding: 6px 0 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  cursor: pointer;
}

#rentalListPage .rl-active-filters,
#categoryListPage .rl-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

#rentalListPage .rl-active-filters--compact,
#categoryListPage .rl-active-filters--compact {
  flex-wrap: nowrap;
  gap: 6px;
  padding-top: 6px;
}

#rentalListPage .rl-active-filters-scroll,
#categoryListPage .rl-active-filters-scroll {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

#rentalListPage .rl-active-filters-scroll::-webkit-scrollbar,
#categoryListPage .rl-active-filters-scroll::-webkit-scrollbar {
  display: none;
}

#rentalListPage .rl-active-filters--compact .rl-active-chip,
#categoryListPage .rl-active-filters--compact .rl-active-chip {
  flex-shrink: 0;
  padding: 4px 9px;
  font-size: 11px;
}

#rentalListPage .rl-active-filters--compact .rl-active-clear-all,
#categoryListPage .rl-active-filters--compact .rl-active-clear-all {
  flex-shrink: 0;
  margin-left: 0;
  padding: 4px 6px;
  font-size: 11px;
  color: var(--primary-hover, #0f766e);
}

#rentalListPage .rl-active-filters-label,
#categoryListPage .rl-active-filters-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  flex-shrink: 0;
}

#rentalListPage .rl-active-chip,
#categoryListPage .rl-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--primary, #0d9488);
  border-radius: 999px;
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.25;
}

#rentalListPage .rl-active-clear-all,
#categoryListPage .rl-active-clear-all {
  margin-left: auto;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

#rentalListPage .rl-result-line,
#categoryListPage .rl-result-line {
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

#rentalListPage .rl-result-line--zero .rl-result-primary,
#categoryListPage .rl-result-line--zero .rl-result-primary {
  color: #64748b;
  font-weight: 500;
}

#rentalListPage .rl-result-relax-link,
#categoryListPage .rl-result-relax-link {
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

/* 快捷筛选（租房） */
#rentalListPage .rl-quick-row,
#categoryListPage .rl-quick-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

#rentalListPage .rl-quick-label,
#categoryListPage .rl-quick-label {
  flex-shrink: 0;
  width: 28px;
  padding-top: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

#rentalListPage .rl-quick-scroll,
#categoryListPage .rl-quick-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

#rentalListPage .rl-quick-chip,
#categoryListPage .rl-quick-chip {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

#rentalListPage .rl-quick-chip.is-active,
#categoryListPage .rl-quick-chip.is-active {
  border-color: var(--primary, #0d9488);
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}

#rentalListPage .rl-rent-band-grid,
#categoryListPage .rl-rent-band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#rentalListPage .rl-rent-band-chip,
#categoryListPage .rl-rent-band-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  text-align: left;
}

#rentalListPage .rl-rent-band-chip.is-active,
#categoryListPage .rl-rent-band-chip.is-active {
  border-color: var(--primary, #0d9488);
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}

#rentalListPage .rl-rent-band-hint,
#categoryListPage .rl-rent-band-hint {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
}

/* ── 列表 ── */
#rentalListPage .rl-feed-grid,
#categoryListPage .rl-feed-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  min-width: 0;
  max-width: 100%;
}

#rentalListPage .rl-list-card,
#categoryListPage .rl-list-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  min-height: 96px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#rentalListPage .rl-list-card:active,
#categoryListPage .rl-list-card:active {
  opacity: 0.92;
}

#rentalListPage .rl-list-card--featured,
#categoryListPage .rl-list-card--featured {
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.22);
}

#rentalListPage .rl-list-thumb,
#categoryListPage .rl-list-thumb {
  flex-shrink: 0;
  width: 108px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

#rentalListPage .rl-list-thumb img,
#categoryListPage .rl-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#rentalListPage .rl-list-thumb--empty,
#categoryListPage .rl-list-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #0d9488);
  font-size: 28px;
  opacity: 0.35;
}

#rentalListPage .rl-list-body,
#categoryListPage .rl-list-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#rentalListPage .rl-list-row1,
#categoryListPage .rl-list-row1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

#rentalListPage .rl-list-title,
#categoryListPage .rl-list-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

#rentalListPage .rl-list-price,
#categoryListPage .rl-list-price {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary, #0d9488);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  align-self: flex-start;
}

#rentalListPage .rl-list-price .hub-price-row,
#categoryListPage .rl-list-price .hub-price-row {
  max-width: 100%;
  justify-content: flex-start;
}

#rentalListPage .rl-list-price .hub-price-amt,
#categoryListPage .rl-list-price .hub-price-amt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rentalListPage .rl-list-tags,
#categoryListPage .rl-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#rentalListPage .rl-list-tag,
#categoryListPage .rl-list-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

#rentalListPage .rl-list-tag--lease,
#categoryListPage .rl-list-tag--lease {
  background: var(--primary-light, #f0fdfa);
  color: var(--primary-hover, #0f766e);
}

#rentalListPage .rl-list-tag--bill,
#categoryListPage .rl-list-tag--bill {
  background: #ecfdf5;
  color: #047857;
}

#rentalListPage .rl-list-tag--gender,
#rentalListPage .rl-list-tag--school,
#categoryListPage .rl-list-tag--gender,
#categoryListPage .rl-list-tag--school {
  background: #f1f5f9;
  color: #475569;
}

#rentalListPage .rl-list-tag--hot,
#categoryListPage .rl-list-tag--hot {
  background: #fee2e2;
  color: #b91c1c;
}

#rentalListPage .rl-list-tag--vip,
#categoryListPage .rl-list-tag--vip {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #fff;
}

#rentalListPage .rl-list-desc,
#categoryListPage .rl-list-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

#rentalListPage .rl-list-foot,
#categoryListPage .rl-list-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  font-size: 11px;
  color: #94a3b8;
  min-width: 0;
}

#rentalListPage .rl-list-loc,
#categoryListPage .rl-list-loc {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#rentalListPage .rl-list-loc i,
#categoryListPage .rl-list-loc i {
  margin-right: 2px;
  font-size: 10px;
}

#rentalListPage .rl-list-time,
#categoryListPage .rl-list-time {
  flex-shrink: 0;
}

/* ── 空态 ── */
#rentalListPage .rl-empty,
#categoryListPage .rl-empty {
  text-align: center;
  padding: 32px 20px;
  font-size: 14px;
  color: #64748b;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#rentalListPage .rl-empty-smart,
#categoryListPage .rl-empty-smart {
  text-align: center;
}

#rentalListPage .rl-similar-block,
#categoryListPage .rl-similar-block {
  width: 100%;
  min-width: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  text-align: left;
}

#rentalListPage .rl-similar-title,
#categoryListPage .rl-similar-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

#rentalListPage .rl-feed-grid--similar,
#categoryListPage .rl-feed-grid--similar {
  gap: 8px;
}

#rentalListPage .rl-feed-grid--similar .rl-list-card,
#categoryListPage .rl-feed-grid--similar .rl-list-card {
  padding: 8px;
  gap: 8px;
  min-height: 0;
}

#rentalListPage .rl-feed-grid--similar .rl-list-row1,
#categoryListPage .rl-feed-grid--similar .rl-list-row1 {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

#rentalListPage .rl-feed-grid--similar .rl-list-thumb,
#categoryListPage .rl-feed-grid--similar .rl-list-thumb {
  width: 84px;
  height: 64px;
}

#rentalListPage .rl-feed-grid--similar .rl-list-title,
#categoryListPage .rl-feed-grid--similar .rl-list-title {
  font-size: 13px;
  width: 100%;
  max-width: 100%;
}

#rentalListPage .rl-feed-grid--similar .rl-list-price,
#categoryListPage .rl-feed-grid--similar .rl-list-price {
  font-size: 14px;
  max-width: 100%;
  text-align: left;
  align-self: flex-start;
}

#rentalListPage .rl-feed-grid--similar .rl-list-price .hub-price-row,
#categoryListPage .rl-feed-grid--similar .rl-list-price .hub-price-row {
  justify-content: flex-start;
}

#rentalListPage .rl-feed-grid--similar .rl-list-desc,
#categoryListPage .rl-feed-grid--similar .rl-list-desc {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#rentalListPage .rl-empty-block,
#categoryListPage .rl-empty-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

#rentalListPage .rl-empty-btn,
#categoryListPage .rl-empty-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: var(--primary, #0d9488);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#rentalListPage .rl-empty-btn-muted,
#categoryListPage .rl-empty-btn-muted {
  background: #f1f5f9;
  color: #475569;
}

#rentalListPage .rl-empty-title,
#categoryListPage .rl-empty-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

#rentalListPage .rl-empty-sub,
#categoryListPage .rl-empty-sub {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

#rentalListPage .rl-empty-actions,
#categoryListPage .rl-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

#rentalListPage .rl-relax-chips,
#categoryListPage .rl-relax-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

#rentalListPage .rl-relax-chip,
#categoryListPage .rl-relax-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

@media (max-width: 480px) {
  #rentalListPage .rl-list-thumb,
  #categoryListPage .rl-list-thumb {
    width: 96px;
    height: 72px;
  }

  #rentalListPage .rl-list-row1,
  #categoryListPage .rl-list-row1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  #rentalListPage .rl-list-title,
  #categoryListPage .rl-list-title {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  #rentalListPage .rl-list-price,
  #categoryListPage .rl-list-price {
    align-self: flex-start;
    max-width: 100%;
    text-align: left;
    font-size: 14px;
  }

  #rentalListPage .rl-list-price .hub-price-row,
  #categoryListPage .rl-list-price .hub-price-row {
    justify-content: flex-start;
  }

  #rentalListPage .rl-list-desc,
  #categoryListPage .rl-list-desc {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  #rentalListPage .rl-feed-grid--similar .rl-list-thumb,
  #categoryListPage .rl-feed-grid--similar .rl-list-thumb {
    width: 80px;
    height: 60px;
  }
}

@media (max-width: 380px) {
  #rentalListPage .rl-list-thumb,
  #categoryListPage .rl-list-thumb {
    width: 88px;
    height: 66px;
  }
  #rentalListPage .rl-toolbar-card,
  #categoryListPage .rl-toolbar-card {
    padding: 10px;
    gap: 8px;
  }
  #rentalListPage .rl-filter-bar,
  #categoryListPage .rl-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #rentalListPage .rl-filter-bar.rl-filter-bar--single,
  #categoryListPage .rl-filter-bar.rl-filter-bar--single {
    grid-template-columns: 1fr;
    max-width: none;
  }
}
