/* ============================================
   办厂易移动端样式 - Mobile CSS
   ============================================ */

/* CSS变量 - 与PC版保持一致的配色 */
:root {
    --m-primary: #667eea;
    --m-primary-light: #8191ee;
    --m-primary-dark: #5567d5;
    --m-primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --m-secondary: #764ba2;
    --m-success: #52C41A;
    --m-warning: #FAAD14;
    --m-danger: #d02;
    --m-price: #d02;
    --m-text: #333333;
    --m-text-secondary: #666666;
    --m-text-light: #999999;
    --m-border: #E8E8E8;
    --m-bg: #F5F7FA;
    --m-bg-white: #FFFFFF;
    --m-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --m-tabbar-height: 56px;
    --m-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--m-text);
    background: var(--m-bg);
    line-height: 1.5;
    padding-bottom: calc(var(--m-tabbar-height) + var(--m-safe-bottom));
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

input, button, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* ============================================
   底部导航栏
   ============================================ */
.m-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--m-tabbar-height) + var(--m-safe-bottom));
    padding-bottom: var(--m-safe-bottom);
    background: var(--m-bg-white);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid var(--m-border);
    z-index: 1000;
}

.m-tabbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--m-text-light);
    font-size: 10px;
    transition: color 0.2s;
}

.m-tabbar-item.active {
    color: var(--m-primary);
}

.m-tabbar-icon {
    margin-bottom: 2px;
}

.m-tabbar-center {
    position: relative;
}

.m-tabbar-icon-center {
    width: 48px;
    height: 48px;
    background: var(--m-primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
    margin-top: -20px;
}

/* ============================================
   搜索栏
   ============================================ */
/* ============================================
   搜索模块（新版）
   ============================================ */
.m-search-module {
    background: white;
    margin-bottom: 10px;
}

.m-search-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 16px 24px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    position: relative;
    min-height: 120px;
    background-image: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%),
        url('/images/hero/bg.png');
    background-size: cover;
    background-position: center;
}

.m-search-city-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.m-search-city-btn svg {
    opacity: 0.9;
}

.m-search-slogan {
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.m-search-tabs {
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    border-radius: 16px 16px 0 0;
    margin-top: -16px;
}

.m-search-tab {
    flex: 1;
    text-align: center;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    position: relative;
    transition: color 0.3s;
}

.m-search-tab.active {
    color: #333;
    font-weight: 600;
}

.m-search-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(135deg, #9b59b6, #e74c3c);
    border-radius: 2px;
}

.m-search-form {
    padding: 16px;
}

.m-search-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.m-search-district-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.m-search-district-input::placeholder {
    color: #999;
}

.m-search-area-row {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0 16px;
    height: 44px;
}

.m-search-area-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.m-search-area-input::placeholder {
    color: #999;
    font-weight: 400;
}

.m-search-divider {
    color: #999;
    font-size: 13px;
    margin: 0 4px;
    flex-shrink: 0;
}

.m-search-separator {
    color: #999;
    font-size: 14px;
    margin: 0 8px;
    flex-shrink: 0;
}

.m-search-link {
    color: #9b59b6;
    font-size: 13px;
    white-space: nowrap;
    margin-left: 12px;
    flex-shrink: 0;
}

.m-search-price-row {
    display: flex;
}

.m-search-price-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.m-search-price-input::placeholder {
    color: #999;
}

.m-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.m-search-tag {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.m-search-tag.active {
    background: #fef5f7;
    border-color: #9b59b6;
    color: #9b59b6;
    font-weight: 500;
}

.m-search-submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
}

.m-search-submit-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* 区域选择弹窗 */
.m-district-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

.m-district-modal.active {
    display: block;
}

.m-district-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.m-district-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.m-district-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.m-district-header span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.m-district-header button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 20px;
    cursor: pointer;
}

.m-district-list {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.m-district-item {
    display: block;
    padding: 14px 20px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #666;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s;
}

.m-district-item.active {
    background: linear-gradient(135deg, #f5f0ff, #fef5f7);
    border-color: #9b59b6;
    color: #9b59b6;
    font-weight: 600;
}

.m-district-item:active {
    transform: scale(0.98);
}

/* 面积/价格选择器主体 */
.m-selector-body {
    padding: 16px;
}

.m-selector-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.m-selector-option {
    display: block;
    padding: 14px 20px;
    background: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #666;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s;
}

.m-selector-option.active {
    background: linear-gradient(135deg, #f5f0ff, #fef5f7);
    border-color: #9b59b6;
    color: #9b59b6;
    font-weight: 600;
}

.m-selector-option:active {
    transform: scale(0.98);
}

.m-selector-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 16px;
}

.m-selector-custom input {
    flex: 1;
    min-width: 0;
    width: 0;
    height: 44px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    text-align: center;
}

.m-selector-custom input::placeholder {
    color: #999;
    font-size: 13px;
}

.m-selector-custom span {
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}

.m-selector-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.m-selector-cancel,
.m-selector-confirm {
    height: 48px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.m-selector-cancel {
    background: #f5f5f5;
    color: #666;
}

.m-selector-cancel:active {
    background: #e8e8e8;
}

.m-selector-confirm {
    background: linear-gradient(135deg, #a8624d, #c97762);
    color: white;
    box-shadow: 0 4px 12px rgba(168, 98, 77, 0.3);
}

.m-selector-confirm:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(168, 98, 77, 0.3);
}

/* ============================================
   旧版搜索栏（保留兼容）
   ============================================ */
.m-search-bar {
    background: var(--m-primary-gradient);
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

.m-search-city {
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
}

.m-search-city svg {
    margin-left: 4px;
}

.m-search-input-wrap {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 0 12px;
    height: 40px;
}

.m-search-input-wrap svg {
    color: var(--m-text-light);
    margin-right: 8px;
    flex-shrink: 0;
}

.m-search-input {
    flex: 1;
    height: 100%;
    font-size: 14px;
    color: var(--m-text);
}

.m-search-input::placeholder {
    color: var(--m-text-light);
}

.m-search-btn {
    background: var(--m-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 14px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ============================================
   功能入口
   ============================================ */
.m-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 16px;
    background: white;
    margin-bottom: 10px;
}

.m-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
}

.m-nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.m-nav-icon.rent {
    background: linear-gradient(135deg, #d293ff, #764ba2);
}

.m-nav-icon.sale {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.m-nav-icon.park {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.m-nav-icon.land {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.m-nav-icon svg {
    color: white;
}

.m-nav-text {
    font-size: 12px;
    color: var(--m-text);
}

/* ============================================
   标签筛选
   ============================================ */
.m-tags {
    display: flex;
    overflow-x: auto;
    padding: 12px 16px;
    background: white;
    margin-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.m-tags::-webkit-scrollbar {
    display: none;
}

.m-tag {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 16px;
    background: var(--m-bg);
    color: var(--m-text-secondary);
    font-size: 13px;
    margin-right: 10px;
    transition: all 0.2s;
}

.m-tag.active,
.m-tag:active {
    background: rgba(102, 126, 234, 0.1);
    color: var(--m-primary);
}

.m-tag:last-child {
    margin-right: 0;
}

/* ============================================
   区域筛选栏
   ============================================ */
.m-filter-bar {
    display: flex;
    background: white;
    padding: 10px 16px;
    border-bottom: 1px solid var(--m-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.m-filter-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--m-text);
}

.m-filter-item.active {
    color: var(--m-primary);
}

.m-filter-item svg {
    margin-left: 4px;
    transition: transform 0.2s;
}

.m-filter-item.active svg {
    transform: rotate(180deg);
}

/* ============================================
   房源卡片列表
   ============================================ */
.m-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--m-border);
}

.m-list-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--m-text);
    display: flex;
    align-items: center;
}

.m-list-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--m-primary);
    border-radius: 2px;
    margin-right: 8px;
}

.m-list-more {
    font-size: 12px;
    color: var(--m-text-light);
    display: flex;
    align-items: center;
}

.m-list-more svg {
    margin-left: 4px;
}

/* ========== 应用入口网格 ========== */
.m-app-grid {
    background: #fff;
    margin: 10px 12px 0;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}
.m-app-grid-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 16px 8px 12px;
    gap: 4px 0;
}
.m-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 6px 0;
}
.m-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}
.m-app-item:active .m-app-icon {
    transform: scale(0.92);
}
.m-app-item span {
    font-size: 12px;
    color: #333;
    line-height: 1;
}

.m-house-list {
    background: white;
}

.m-house-card {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--m-border);
}

.m-house-card:last-child {
    border-bottom: none;
}

.m-house-img {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
    background: var(--m-bg);
}

.m-house-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-house-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--m-primary);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.m-house-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.m-house-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--m-text);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-house-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.m-house-tag {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--m-bg);
    color: var(--m-text-secondary);
}

.m-house-tag.highlight {
    background: rgba(102, 126, 234, 0.1);
    color: var(--m-primary);
}

.m-house-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--m-text-light);
    margin-top: 6px;
}

.m-house-meta span {
    margin-right: 12px;
}

.m-house-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
}

.m-house-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--m-price);
}

.m-house-price .unit {
    font-size: 12px;
    font-weight: 400;
}

.m-house-area {
    font-size: 12px;
    color: var(--m-text-secondary);
}

/* ============================================
   新版房产卡片样式（网格布局）
   ============================================ */
.m-property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 12px 12px;
}

.m-property-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.m-property-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.m-property-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.m-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-property-location {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    color: white;
    font-size: 11px;
}

.m-property-location svg {
    flex-shrink: 0;
}

.m-property-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.m-property-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.m-property-type {
    padding: 2px 6px;
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    flex-shrink: 0;
}

.m-property-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.m-property-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.m-property-desc span {
    white-space: nowrap;
}

.m-property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.m-feature-tag {
    padding: 3px 8px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    font-size: 10px;
    color: #666;
}

.m-property-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.m-property-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.m-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
}

.m-price-unit {
    font-size: 11px;
    color: #999;
}

/* ============================================
   详情页
   ============================================ */
.m-detail-header {
    position: relative;
}

.m-detail-back {
    position: absolute;
    top: 12px;
    left: 12px;
    top: calc(12px + env(safe-area-inset-top, 0px));
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

.m-detail-share {
    position: absolute;
    top: 12px;
    right: 12px;
    top: calc(12px + env(safe-area-inset-top, 0px));
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

.m-detail-swiper {
    width: 100%;
    height: 250px;
    background: var(--m-bg);
}

.m-detail-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-detail-title {
    background: white;
    padding: 16px;
}

.m-detail-title h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--m-text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.m-detail-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.m-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--m-price);
}

.m-detail-price .unit {
    font-size: 14px;
    font-weight: 400;
}

.m-detail-section {
    background: white;
    margin-top: 10px;
    padding: 16px;
}

.m-detail-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--m-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.m-detail-section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--m-primary);
    border-radius: 2px;
    margin-right: 8px;
}

.m-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.m-detail-info-item {
    display: flex;
    font-size: 13px;
}

.m-detail-info-label {
    color: var(--m-text-light);
    width: 60px;
    flex-shrink: 0;
}

.m-detail-info-value {
    color: var(--m-text);
    flex: 1;
}

.m-detail-desc {
    font-size: 14px;
    color: var(--m-text-secondary);
    line-height: 1.8;
}

/* 底部操作栏 */
.m-detail-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 16px;
    padding-bottom: calc(10px + var(--m-safe-bottom));
    display: flex;
    align-items: center;
    border-top: 1px solid var(--m-border);
    z-index: 100;
}

.m-detail-footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    color: var(--m-text-secondary);
    font-size: 10px;
}

.m-detail-footer-actions svg {
    margin-bottom: 2px;
}

.m-detail-btn-call {
    flex: 1;
    height: 44px;
    background: var(--m-primary-gradient);
    color: white;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
}

.m-detail-btn-call svg {
    margin-right: 8px;
}

/* ============================================
   弹窗
   ============================================ */
.m-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.m-modal.show {
    display: block;
}

.m-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.m-modal-content {
    position: absolute;
    background: white;
    border-radius: 16px 16px 0 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70%;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.m-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--m-border);
    font-size: 16px;
    font-weight: 500;
}

.m-modal-close {
    font-size: 24px;
    color: var(--m-text-light);
    line-height: 1;
}

.m-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

/* 城市列表 */
.m-city-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.m-city-item {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--m-bg);
    font-size: 13px;
    color: var(--m-text);
}

.m-city-item.active {
    background: rgba(102, 126, 234, 0.1);
    color: var(--m-primary);
}

/* ============================================
   加载状态
   ============================================ */
.m-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--m-text-light);
}

.m-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--m-border);
    border-top-color: var(--m-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.m-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--m-text-light);
}

.m-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ============================================
   工具类
   ============================================ */
.text-primary {
    color: var(--m-primary) !important;
}

.text-secondary {
    color: var(--m-text-secondary) !important;
}

.text-light {
    color: var(--m-text-light) !important;
}

.text-center {
    text-align: center !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.p-16 {
    padding: 16px !important;
}

.bg-white {
    background: white !important;
}

/* ============================================
   无限滚动加载更多
   ============================================ */
.m-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--m-text-light);
    font-size: 13px;
    text-align:center;
}

.m-load-more.loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--m-border);
    border-top-color: var(--m-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

/* ============================================
   筛选下拉面板
   ============================================ */
.m-filter-panel {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}

.m-filter-panel.show {
    display: block;
}

.m-filter-panel-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.m-filter-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    max-height: 60%;
    overflow-y: auto;
    padding: 12px 16px;
    animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.m-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.m-filter-option {
    padding: 8px 16px;
    background: var(--m-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--m-text);
}

.m-filter-option.active {
    background: rgba(102, 126, 234, 0.1);
    color: var(--m-primary);
}

/* ============================================
   移动端媒体查看器
   ============================================ */
.m-media-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 9999;
    flex-direction: column;
}

.m-viewer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.m-viewer-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.m-viewer-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-viewer-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.m-viewer-content video {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}

.m-viewer-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

.m-viewer-thumbnails {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.m-viewer-thumbnails::-webkit-scrollbar {
    display: none;
}

.m-viewer-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
}

.m-viewer-thumb.active {
    border-color: var(--m-primary);
}

.m-viewer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-thumb-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-thumb-play-icon svg {
    width: 16px;
    height: 16px;
}

/* 点击图片打开查看器 */
.m-detail-swiper {
    cursor: pointer;
    position: relative;
}

.m-detail-swiper::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0.8;
}

.m-detail-swiper img {
    cursor: pointer;
}

/* 查看器动画 */
.m-media-viewer {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 视频播放控制 */
.m-viewer-content video::-webkit-media-controls {
    z-index: 1;
}

/* 视频加载错误提示 */
.m-video-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
}

.m-video-error-content {
    text-align: center;
    color: white;
}

.m-video-error-content svg {
    opacity: 0.6;
    margin-bottom: 12px;
}

.m-video-error-content p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* 视频缩略图图标 */
.m-thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   周边配套 - Nearby Facilities
   ============================================ */
.m-nearby-facilities {
    padding: 0;
}

.m-map-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.m-map-container #nearbyMap {
    width: 100%;
    height: 100%;
}

/* 悬浮标签容器 */
.m-facility-tabs {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    max-width: 90%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.m-facility-tabs::-webkit-scrollbar {
    display: none;
}

.m-facility-tab {
    padding: 6px 14px;
    background: transparent;
    border: none;
    border-radius: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.m-facility-tab.active {
    background: var(--m-primary-gradient);
    color: white;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

/* 设施列表 */
.m-facility-list {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.m-facility-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.m-facility-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.m-facility-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.m-facility-item:active {
    background: #f8f9ff;
    transform: scale(0.98);
}

.m-facility-item.active {
    background: #f0f2ff;
    border-left-color: var(--m-primary);
}

.m-facility-info {
    flex: 1;
    min-width: 0;
}

.m-facility-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-facility-address {
    margin: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-facility-distance {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--m-primary);
    font-size: 13px;
    font-weight: 600;
    min-width: 70px;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: 12px;
}

.m-facility-distance svg {
    width: 14px;
    height: 14px;
    color: var(--m-primary);
}

/* 高德地图样式覆盖 */
.amap-logo,
.amap-copyright {
    display: none !important;
}

.amap-marker-label {
    border: none !important;
    border-radius: 6px;
}

.amap-marker-label > div {
    box-shadow: none !important;
}



/* ============================================
   首页资讯栏目
   ============================================ */
.m-article-section {
    background: white;
    margin-top: 10px;
}

.m-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--m-border);
}

.m-section-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--m-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.m-more-link {
    font-size: 12px;
    color: var(--m-text-light);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.m-more-link svg {
    margin-left: 2px;
}

.m-news-list {
    padding: 0 16px;
}

.m-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--m-border);
    text-decoration: none;
    color: inherit;
}

.m-news-item:last-child {
    border-bottom: none;
}

.m-news-item.no-cover .m-news-info {
    width: 100%;
}

.m-news-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.m-news-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--m-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.m-news-desc {
    font-size: 13px;
    color: var(--m-text-secondary, #666);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0;
}

.m-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--m-text-light, #999);
}

.m-news-cat {
    color: var(--m-primary);
    font-size: 12px;
}

.m-news-cover {
    flex-shrink: 0;
    width: 110px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--m-bg);
}

.m-news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== RentList 出租列表页样式 ===== */

/* 搜索栏 */
.m-rent-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 8px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.m-rent-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.m-rent-city-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}
.m-rent-city-btn svg { color: #999; }
.m-rent-search-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 0 12px;
    height: 36px;
}
.m-rent-search-icon { color: #999; flex-shrink: 0; margin-right: 6px; }
.m-rent-search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #333;
}
.m-rent-search-wrap input::placeholder { color: #bbb; }
.m-rent-search-btn {
    flex-shrink: 0;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    height: 36px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.m-rent-search-btn:active { opacity: .85; }

/* 四栏筛选条 */
.m-rent-filter-bar {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 52px;
    z-index: 99;
}
.m-rent-filter-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 0;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: color .2s;
    user-select: none;
}
.m-rent-filter-tab span { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-rent-filter-tab svg { transition: transform .2s; color: #999; flex-shrink: 0; }
.m-rent-filter-tab.active { color: #ff6600; }
.m-rent-filter-tab.active svg { color: #ff6600; }
.m-rent-filter-tab.open svg { transform: rotate(180deg); color: #ff6600; }
.m-rent-filter-tab.open { color: #ff6600; }

/* 面板遮罩和下拉 */
.m-panel-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
}
.m-panel-overlay.show { display: block; }
.m-panel-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
}
.m-panel-dropdown {
    position: relative;
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1;
    animation: panelSlideDown .2s ease;
}
@keyframes panelSlideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 区域二级联动 */
.m-panel-district { padding: 0; }
.m-district-columns {
    display: flex;
    min-height: 280px;
}
.m-district-left {
    width: 35%;
    background: #f7f7f7;
    overflow-y: auto;
    max-height: 320px;
}
.m-district-right {
    flex: 1;
    overflow-y: auto;
    max-height: 320px;
    padding: 4px 0;
}
.m-district-item {
    padding: 12px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    position: relative;
}
.m-district-item.active {
    background: #fff;
    color: #ff6600;
    font-weight: 600;
}
.m-district-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: #ff6600;
    border-radius: 0 2px 2px 0;
}
.m-circle-item {
    padding: 10px 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.m-circle-item.active { color: #ff6600; font-weight: 500; }
.m-check-icon { display: none; }
.m-circle-item.active .m-check-icon { display: block; color: #ff6600; }

/* 网格选项（面积、特色等） */
.m-panel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.m-panel-grid-item {
    flex: 0 0 calc(33.33% - 6px);
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    border: 1px solid transparent;
}
.m-panel-grid-item:active { transform: scale(.97); }
.m-panel-grid-item.active {
    color: #ff6600;
    background: #fff5f0;
    border-color: #ff6600;
    font-weight: 500;
}

/* 自定义范围输入 */
.m-panel-custom-range {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}
.m-panel-custom-range input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    text-align: center;
}
.m-panel-custom-range input:focus { border-color: #ff6600; }
.m-range-divider { color: #ccc; font-size: 14px; }

/* 面板底部按钮 */
.m-panel-actions {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
}
.m-panel-btn-reset,
.m-panel-btn-confirm {
    flex: 1;
    padding: 10px 0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}
.m-panel-btn-reset {
    background: #f5f5f5;
    color: #666;
}
.m-panel-btn-confirm {
    background: #ff6600;
    color: #fff;
}
.m-panel-btn-reset:active,
.m-panel-btn-confirm:active { opacity: .85; }

/* 筛选面板滚动 */
.m-panel-scroll {
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 面板分组标题 */
.m-panel-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 16px 0 10px;
}
.m-panel-section-title:first-child { margin-top: 4px; }
.m-section-unit {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

/* 排序列表 */
.m-sort-list { padding: 0; }
.m-sort-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
}
.m-sort-item:last-child { border-bottom: none; }
.m-sort-item.active { color: #ff6600; font-weight: 500; }
.m-sort-item.active svg { color: #ff6600; }

/* 快捷标签横条 */
.m-quick-tags {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.m-quick-tags::-webkit-scrollbar { display: none; }
.m-quick-tag {
    flex-shrink: 0;
    padding: 4px 12px;
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .15s;
    border: 1px solid transparent;
}
.m-quick-tag.active {
    color: #ff6600;
    background: #fff5f0;
    border-color: #ff6600;
}
.m-quick-tag-divider {
    flex-shrink: 0;
    width: 1px;
    height: 16px;
    background: #e0e0e0;
}

/* 区域推荐卡片 */
.m-district-recommend {
    padding: 12px;
    background: #fff;
    margin-bottom: 8px;
}
.m-district-recommend-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.m-district-recommend-cards {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.m-district-recommend-cards::-webkit-scrollbar { display: none; }
.m-district-recommend-card {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: linear-gradient(135deg, #fff5f0, #fff);
    border-radius: 10px;
    text-decoration: none;
    min-width: 90px;
    border: 1px solid #ffe8d9;
}
.m-drc-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.m-drc-count {
    font-size: 11px;
    color: #999;
}

/* 房源卡片（左图右文） */
.m-rent-card {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
}
.m-rent-card:active { background: #fafafa; }
.m-rent-card-img {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}
.m-rent-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.m-card-location {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 6px;
    font-size: 10px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-rent-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}
.m-rent-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.m-rent-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 3px 0;
}
.m-card-meta-item {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}
.m-card-meta-sep {
    font-size: 10px;
    color: #ddd;
    margin: 0 4px;
}
.m-rent-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin: 2px 0;
}
.m-card-tag {
    font-size: 10px;
    color: #ff6600;
    background: #fff5f0;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}
.m-rent-card-bottom {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
}
.m-rent-card-area {
    font-size: 12px;
    color: #666;
}
.m-rent-card-area strong {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.m-rent-card-price {
    font-size: 11px;
    color: #ff6600;
}
.m-rent-card-price strong {
    font-size: 16px;
    font-weight: 700;
}
