/* ========== 天堂房产模块 ========== */
.property-module {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 50;
}
.property-trigger {
    background: transparent;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.property-trigger:hover {
    transform: scale(1.02);
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
}
.property-icon {
    font-size: 16px;
    opacity: 0.7;
}
.property-text {
    font-size: 12px;
    color: #aa9966;
    font-weight: normal;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.property-sub {
    font-size: 10px;
    color: #ccaa77;
    margin-left: 3px;
    opacity: 0.6;
}
/* 房产列表弹窗 */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.property-modal-content {
    background: #fffef7;
    border-radius: 24px;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.property-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e8e0d0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #faf8f0;
}
.property-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #8B7355;
}
.property-modal-actions {
    display: flex;
    gap: 12px;
}
.property-buy-btn {
    background: #8B7355;
    border: none;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}
.property-buy-btn:hover {
    background: #6B5A4A;
}
.property-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.property-list {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}
.property-loading {
    text-align: center;
    padding: 50px;
    color: #aaa;
}
/* 房产卡片 */
.property-card {
    background: #faf8f0;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid #e8e0d0;
    transition: all 0.2s;
}
.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #8B7355;
}
.property-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.property-card-icon {
    font-size: 28px;
}
.property-card-level {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
}
.residence-badge {
    font-size: 11px;
    color: #DAA520;
    background: rgba(218,165,32,0.15);
    padding: 3px 10px;
    border-radius: 20px;
}
.property-card-no {
    font-size: 12px;
    color: #aa9a7a;
    margin-bottom: 8px;
}
.property-card-info {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #7a6a5a;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.property-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.property-card-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}
.btn-view-cert {
    background: #8B7355;
    color: #fff;
}
.btn-set-residence {
    background: #DAA520;
    color: #fff;
}
.btn-sell {
    background: #ccaa88;
    color: #fff;
}
/* 购买弹窗 */
.property-buy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
}
.property-buy-content {
    background: #fffef7;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.property-buy-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e8e0d0;
    display: flex;
    justify-content: space-between;
    background: #faf8f0;
}
.property-buy-title {
    font-size: 18px;
    font-weight: bold;
    color: #8B7355;
}
.property-buy-body {
    padding: 24px;
}
.property-levels {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.level-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #faf8f0;
    border-radius: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.level-option.selected {
    border-color: #DAA520;
    background: #fff8e8;
}
.level-option-icon {
    font-size: 32px;
    margin-right: 15px;
}
.level-option-info {
    flex: 1;
}
.level-option-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}
.level-option-size {
    font-size: 12px;
    color: #aa9a7a;
}
.level-option-price {
    font-size: 16px;
    font-weight: bold;
    color: #DAA520;
}
.address-select {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e0d8c8;
    background: #faf8f0;
    font-size: 14px;
}
.property-preview {
    text-align: center;
    padding: 20px;
    background: #faf8f0;
    border-radius: 16px;
    margin-top: 20px;
}
.preview-icon {
    font-size: 48px;
    margin-bottom: 10px;
}
.preview-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
.preview-size {
    font-size: 12px;
    color: #aa9a7a;
}
.preview-price {
    font-size: 14px;
    font-weight: bold;
    color: #DAA520;
    margin-top: 8px;
}
.property-buy-footer {
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #e8e0d0;
    background: #faf8f0;
}
.property-confirm-btn {
    flex: 1;
    background: #8B7355;
    border: none;
    padding: 10px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
}
.property-cancel-btn {
    flex: 1;
    background: #e8e0d0;
    border: none;
    padding: 10px;
    border-radius: 30px;
    cursor: pointer;
}
/* 房产证弹窗 */
.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 100020;
    display: flex;
    align-items: center;
    justify-content: center;
}
.certificate-content {
    background: #fffef7;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.certificate-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e8e0d0;
    display: flex;
    justify-content: space-between;
    background: #faf8f0;
}
.certificate-title {
    font-size: 16px;
    font-weight: bold;
    color: #8B7355;
}
.certificate-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}
.certificate-body {
    padding: 24px;
}
.certificate-card {
    background: linear-gradient(145deg, #f5e6c8, #ecd9b4);
    border: 3px double #DAA520;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.certificate-card .certificate-title {
    font-size: 20px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 15px;
    letter-spacing: 4px;
}
.certificate-card .certificate-icon {
    font-size: 48px;
    margin: 15px 0;
}
.certificate-card .certificate-info {
    text-align: left;
    margin: 15px 0;
}
.certificate-card .certificate-info p {
    margin: 8px 0;
    font-size: 13px;
    border-bottom: 1px dashed #d4b88c;
    padding-bottom: 5px;
}
.certificate-card .certificate-seal {
    margin-top: 20px;
    font-size: 40px;
    opacity: 0.7;
}
.certificate-footer {
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #e8e0d0;
}
.certificate-download {
    flex: 1;
    background: #8B7355;
    border: none;
    padding: 10px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .property-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    .property-card-info {
        gap: 10px;
        flex-direction: column;
    }
    .property-card-actions {
        flex-wrap: wrap;
    }
    .level-option {
        padding: 12px;
    }
    .level-option-icon {
        font-size: 24px;
    }
    .certificate-content {
        width: 95%;
    }
    .property-trigger {
        padding: 2px 6px;
    }
    .property-icon {
        font-size: 14px;
    }
    .property-text {
        font-size: 11px;
        max-width: 140px;
    }
    .certificate-card .certificate-seal {
        font-size: 24px;  /* 手机端缩小到24px */
        margin-top: 10px;
    }    
    .certificate-card .certificate-title {
        font-size: 16px;  /* 标题也适当缩小 */
    }    
    .certificate-card .certificate-icon {
        font-size: 32px;  /* 图标缩小 */
        margin: 8px 0;
    }    
    .certificate-card .certificate-info p {
        font-size: 11px;  /* 文字缩小 */
        margin: 5px 0;
    }    
    .certificate-qrcode img {
        width: 60px !important;
        height: 60px !important;
    }
}
	
}
/* 房产证二维码样式 */
.certificate-qrcode {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 8px 0;
    border-top: 1px dashed #d4b88c;
    border-bottom: 1px dashed #d4b88c;
}
.certificate-qrcode canvas,
.certificate-qrcode img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}