/* ===== 淘客通 - 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #f39c12;
    --bg: #f5f5f5;
    --white: #ffffff;
    --dark: #333333;
    --gray: #666666;
    --light-gray: #999999;
    --border: #e0e0e0;
    --green: #27ae60;
    --blue: #3498db;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

/* ===== 页面容器 ===== */
.page {
    display: none;
    min-height: 100vh;
    padding-bottom: 80px;
}

.page.active {
    display: block;
}

/* ===== 首页顶部 ===== */
.home-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.city-selector {
    position: relative;
}

.city-display {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.city-display .arrow {
    font-size: 10px;
    color: var(--gray);
}

.city-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    min-width: 120px;
    overflow: hidden;
}

.city-dropdown.show {
    display: block;
}

.city-option {
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.city-option:hover,
.city-option.active {
    background: var(--bg);
    color: var(--primary);
    font-weight: 600;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg);
    border-radius: 20px;
}

.search-box .icon {
    font-size: 14px;
    color: var(--light-gray);
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    font-size: 14px;
    outline: none;
    color: var(--dark);
}

.search-box input::placeholder {
    color: var(--light-gray);
}

/* ===== 轮播图 ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    cursor: pointer;
}

.carousel-slide svg,
.carousel-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.slide-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary);
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 6px;
}

.slide-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.slide-info {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.slide-price {
    font-size: 14px;
    font-weight: 600;
    color: #ffeb3b;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--dark);
    z-index: 10;
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--white);
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary);
    width: 16px;
    border-radius: 3px;
}

/* ===== 快捷导航 ===== */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 16px;
    background: var(--white);
    margin-bottom: 10px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px;
}

.quick-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 24px;
}

.quick-icon.blue { background: linear-gradient(135deg, #667eea, #764ba2); }
.quick-icon.yellow { background: linear-gradient(135deg, #f093fb, #f5576c); }
.quick-icon.green { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.quick-icon.red { background: linear-gradient(135deg, #fa709a, #fee140); }

.quick-item span {
    font-size: 13px;
    color: var(--dark);
    font-weight: 500;
}

/* ===== 区块标题 ===== */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px 6px;
    background: var(--white);
}

.section-title h2 {
    font-size: 18px;
    font-weight: 700;
}

.section-title .more {
    font-size: 13px;
    color: var(--light-gray);
    cursor: pointer;
}

/* ===== 楼盘卡片 ===== */
.building-list {
    padding: 0 15px;
    background: var(--white);
}

.building-card {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.building-card:last-child {
    border-bottom: none;
}

.building-card:active {
    background: var(--bg);
}

.building-img {
    position: relative;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.building-img svg,
.building-img img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.watermark {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 8px;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    padding: 1px 4px;
    border-radius: 2px;
}

.building-info {
    flex: 1;
    min-width: 0;
}

.building-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.building-name h3 {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.building-name .tag {
    flex-shrink: 0;
    padding: 2px 6px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-size: 11px;
}

.building-area {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}

.building-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.building-tags::-webkit-scrollbar {
    display: none;
}

.building-tags span {
    padding: 2px 8px;
    background: var(--bg);
    border-radius: 4px;
    font-size: 11px;
    color: var(--gray);
}

.building-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.building-price .unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    margin-left: 2px;
}

/* ===== 页面头部 ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header .back {
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    color: var(--dark);
}

.header .title {
    font-size: 16px;
    font-weight: 600;
}

.header .right {
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
    color: var(--gray);
}

/* ===== 子筛选 ===== */
.sub-filter {
    display: flex;
    gap: 16px;
    padding: 10px 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.sub-filter span {
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.sub-filter span.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* ===== 筛选栏 ===== */
.filter-bar {
    display: flex;
    padding: 10px 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    gap: 8px;
    align-items: center;
}

.filter-select {
    flex: 1;
    padding: 8px 20px 8px 6px;
    font-size: 13px;
    color: var(--gray);
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
}

.filter-select:focus {
    border-color: var(--primary);
}

.filter-btn-more {
    flex: 0.8;
    padding: 8px 0;
    font-size: 13px;
    color: var(--gray);
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.filter-sort {
    width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 6px;
}

/* ===== 底部筛选面板 ===== */
.filter-sheet-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
}

.filter-sheet-overlay.show {
    display: block;
}

.filter-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    animation: sheetSlideUp 0.3s ease;
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.filter-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.filter-sheet-close {
    font-size: 18px;
    color: var(--gray);
    cursor: pointer;
    width: 32px;
}

.filter-sheet-title {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.filter-sheet-reset {
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    width: 32px;
    text-align: right;
}

.filter-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-sheet-group {
    margin-bottom: 24px;
}

.filter-sheet-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.filter-sheet-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.filter-sheet-option {
    padding: 10px 0;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-sheet-option.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.filter-sheet-footer {
    padding: 12px 20px 24px;
    border-top: 1px solid var(--border);
}

.filter-sheet-confirm {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== 搜索提示 ===== */
.search-tip {
    padding: 40px 20px;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

.search-tip .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ===== 楼盘详情页 ===== */
.detail-page {
    background: var(--bg);
    padding-bottom: 80px;
}

.detail-section {
    background: var(--white);
    margin-bottom: 10px;
    padding: 15px;
}

.detail-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-section-title .more {
    font-size: 12px;
    color: var(--light-gray);
    font-weight: 400;
    cursor: pointer;
}

/* 详情轮播图 */
.detail-carousel {
    position: relative;
    overflow: hidden;
}

.detail-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.detail-carousel-slide {
    min-width: 100%;
}

.detail-carousel-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.detail-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--dark);
    z-index: 10;
}

.detail-carousel-arrow.prev { left: 10px; }
.detail-carousel-arrow.next { right: 10px; }

.detail-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
}

/* 楼盘信息 */
.detail-building-info h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 9px;
    margin-top: -6px;
}

.detail-building-info h3 {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: -6px;
}

.detail-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.detail-tags::-webkit-scrollbar {
    display: none;
}

.detail-tag {
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-tag.selling {
    background: #e8f5e9;
    color: var(--green);
}

.detail-tag.selling-point {
    background: var(--bg);
    color: #1a3a6e;
}

.detail-price-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.detail-price-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-price-item .val {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.detail-price-item .label {
    font-size: 12px;
    color: var(--light-gray);
}

.detail-sales-progress {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--gray);
}

.detail-sales-progress .on-sale {
    color: var(--green);
}

.detail-vip-offer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    color: var(--white);
    margin-bottom: 14px;
}

.detail-vip-offer > div:first-child {
    flex: 1;
    padding-left: 30px;
}

.detail-vip-offer > div:first-child > div:first-child {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.detail-vip-offer > div:first-child > div:last-child {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 2px;
}

.detail-vip-offer-btn {
    padding: 8px 16px;
    background: var(--white);
    color: #667eea;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.detail-address-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
    font-size: 13px;
}

.addr-pin-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
    vertical-align: middle;
    object-fit: cover;
}

.detail-address-row .addr-text {
    color: var(--gray);
    display: flex;
    align-items: center;
}

.detail-address-row .send-btn {
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
    border: 1px solid var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.detail-action-btns {
    display: flex;
    gap: 13px;
}

.detail-action-btn {
    flex: 1;
    padding: 11px 7px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-btn-price {
    background: #fff3e0;
    color: #f57c00;
}

.detail-btn-special {
    background: #fce4ec;
    color: #c2185b;
}

/* 电话区域 - 与VIP区域样式完全一致 */
.detail-phone-section {
    padding: 15px;
    background: var(--white);
}

.detail-phone-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    background: #e8f5e9;
    border-radius: 10px;
    color: #333;
}

.detail-phone-number {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.detail-phone-note {
    font-size: 12px;
    color: #666;
    padding-left: 20px;
}

.detail-phone-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    animation: phonePulse 1.5s ease-in-out infinite;
    transform: rotate(-45deg);
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* 户型鉴赏 */
.detail-house-type-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-house-type-nav button {
    padding: 6px 14px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.detail-house-type-nav button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.detail-house-type-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.detail-house-type-scroll::-webkit-scrollbar {
    display: none;
}

.detail-house-type-card {
    min-width: 215px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
}

.detail-house-type-card img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}

.detail-house-type-info {
    padding: 10px;
}

.detail-house-type-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-house-type-info p {
    font-size: 12px;
    color: var(--gray);
}

.detail-house-type-btns {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.detail-house-type-btn {
    flex: 1;
    padding: 13px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.detail-btn-low-price {
    background: #e3f2fd;
    color: #1976d2;
}

.detail-btn-interpret {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* 购房交流群 */
.detail-group-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.detail-group-avatars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    overflow: hidden;
}

.detail-group-avatars img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    animation: avatarBounce 2s ease-in-out infinite;
}

.detail-group-avatars img:nth-child(1) { animation-delay: 0s; }
.detail-group-avatars img:nth-child(2) { animation-delay: 0.2s; }
.detail-group-avatars img:nth-child(3) { animation-delay: 0.4s; }
.detail-group-avatars img:nth-child(4) { animation-delay: 0.6s; }
.detail-group-avatars img:nth-child(5) { animation-delay: 0.8s; }
.detail-group-avatars img:nth-child(6) { animation-delay: 1.0s; }
.detail-group-avatars img:nth-child(7) { animation-delay: 1.2s; }
.detail-group-avatars img:nth-child(8) { animation-delay: 1.4s; }
.detail-group-avatars img:nth-child(9) { animation-delay: 1.6s; }

@keyframes avatarBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.detail-group-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.detail-group-info p {
    font-size: 12px;
    color: var(--gray);
}

.detail-qa-scroll {
    background: var(--bg);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    height: 28px;
    overflow: hidden;
    position: relative;
}

.detail-qa-track {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
}

.detail-qa-item {
    font-size: 13px;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detail-qa-item .user {
    color: var(--primary);
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

.detail-qa-item .text {
    color: var(--gray);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 置业顾问 */
.detail-advisor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-advisor-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: var(--bg);
    border-radius: 10px;
}

.detail-advisor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.detail-advisor-info {
    flex: 1;
}

.detail-advisor-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.detail-advisor-info .position {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 2px;
}

.detail-advisor-info .status {
    font-size: 11px;
    color: var(--green);
    margin-bottom: 2px;
}

.detail-advisor-info .rating {
    font-size: 12px;
    color: var(--secondary);
}

.detail-advisor-call {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: block;
    animation: phonePulse 1.5s ease-in-out infinite;
    overflow: hidden;
    line-height: 0;
}

.detail-advisor-call img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* ===== 视频解析区域（参考图精确样式） ===== */
.video-parse-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 10px;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-parse-container .video-parse-bg,
.video-parse-container .video-parse-mask {
    pointer-events: none;
}

.video-parse-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a3d 100%);
    color: transparent;
}

.video-parse-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* 中央大播放按钮 */
.video-parse-big-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    pointer-events: auto;
    padding: 0;
    outline: none;
}

/* 左侧信息卡片 */
.video-parse-card {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 56%;
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.video-parse-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #5dd68a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(93,214,138,0.4);
    white-space: nowrap;
}

.video-parse-tag .play-icon {
    font-size: 10px;
    width: 18px;
    height: 18px;
    background: #fff;
    color: #5dd68a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.video-parse-info {
    padding: 28px 14px 14px;
}

.video-parse-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-parse-info h3 .name-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.video-parse-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    position: relative;
}

.video-parse-progress .dot-left,
.video-parse-progress .dot-right {
    font-size: 8px;
    color: #333;
}

.video-parse-progress .dot-mid {
    font-size: 12px;
    color: #333;
}

.video-parse-progress .line {
    flex: 1;
    height: 1px;
    border-top: 1px dashed #999;
    min-width: 20px;
}

.video-parse-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}



/* 右侧时间轴（标签-圆点-时间垂直排列） */
.video-parse-timeline {
    position: absolute;
    right: 0px;
    top: 10px;
    bottom: 10px;
    width: 130px;
    z-index: 5;
    overflow: hidden;
}

.v-tl-line {
    position: absolute;
    left: 20px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    border-left: 1px dashed rgba(255,255,255,0.45);
    z-index: 0;
}

.v-tl-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.4s ease;
}

.v-tl-node {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    height: 58px;
    justify-content: center;
    padding-left: 30px;
}

.v-tl-node .v-tl-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
    background: rgba(0,0,0,0.6);
    color: #fff;
}

.v-tl-node .v-tl-dot {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 2px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.v-tl-node .v-tl-time {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    padding-left: 2px;
}

/* 激活状态 - 绿色高亮 */
.v-tl-node.active .v-tl-label {
    background: #5dd68a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(93,214,138,0.4);
}

.v-tl-node.active .v-tl-dot {
    background: #5dd68a;
    border-color: #fff;
    box-shadow: 0 0 6px rgba(93,214,138,0.8);
}

.v-tl-node.active .v-tl-time {
    color: #fff;
}

.detail-video-form {
    display: flex;
    gap: 10px;
}

.detail-video-form input {
    flex: 1;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.detail-video-form button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* 楼盘详情 - 图标区域 */
.detail-feature-icons {
    display: flex;
    justify-content: space-around;
    padding: 12px 0 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.feature-icon-item svg {
    width: 36px;
    height: 36px;
}

.feature-icon-item span {
    font-size: 13px;
    color: #333;
}

/* 楼盘详情 - 信息列表 */
.detail-info-list {
    padding: 4px 0;
}

.detail-info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    flex-wrap: wrap;
}

.detail-info-row.three-col {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 12px;
}

.detail-info-row.three-col > div {
    display: flex;
    align-items: center;
    gap: 2px;
}

.info-label {
    color: #999;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-size: 14px;
}

.info-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #e0e0e0;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    margin-left: 4px;
    cursor: help;
}

.info-tag.gold {
    display: inline-block;
    background: #d4a853;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.detail-hidden {
    display: none;
}

/* 楼盘动态 */
/* 楼盘动态 - 卡片式布局（无线框） */
.detail-news-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-news-card {
    padding: 12px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.detail-news-card:last-child {
    border-bottom: none;
}

.news-card-q {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

.news-card-time-bottom {
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 8px;
}

.detail-news-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #e74d3e, #d44638);
    border: 1px solid #c0392b;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.news-card-q {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-a {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.detail-news-hidden {
    display: none;
}

/* 周边配套 */
.detail-around-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.detail-around-item:last-child {
    border-bottom: none;
}

.detail-around-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.detail-around-item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.detail-around-hidden {
    display: none;
}

/* 看房预约 */
.detail-booking-section {
    text-align: center;
}

.detail-booking-car {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

.detail-booking-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-booking-form input {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.detail-booking-form button {
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 免责声明 */
.detail-disclaimer {
    font-size: 12px;
    color: var(--light-gray);
    line-height: 1.8;
}

/* 底部固定栏 */
.detail-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    padding: 10px 15px 30px;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 100;
    gap: 9px;
}

.detail-bottom-btn {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-bottom-btn .btn-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 置业顾问图标抖动动画 */
.detail-btn-consult .btn-icon {
    animation: consultShake 0.8s ease-in-out infinite;
}

/* 电话咨询图标放大缩小动画 */
.detail-btn-call-bottom .btn-icon-img {
    animation: callPulse 1.2s ease-in-out infinite;
}

.detail-bottom-btn .btn-icon-img {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
}

/* 抖动动画：左右摇摆 */
@keyframes consultShake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(8deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(6deg); }
    40% { transform: rotate(-6deg); }
    50% { transform: rotate(3deg); }
    60% { transform: rotate(-3deg); }
    70% { transform: rotate(1deg); }
    80% { transform: rotate(-1deg); }
    90% { transform: rotate(0deg); }
}

/* 放大缩小动画 */
@keyframes callPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.detail-btn-consult {
    background: #1a8c6a;
    color: var(--white);
}

.detail-btn-call-bottom {
    background: var(--primary);
    color: var(--white);
}

/* 弹窗表单 */
.detail-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 400;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.detail-modal-overlay.show {
    display: flex;
}

.detail-modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.detail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.detail-form-group {
    margin-bottom: 16px;
}

.detail-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--dark);
}

.detail-form-group input,
.detail-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.detail-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.vip-valid-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border: 1px solid #ffe082;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
    margin-top: 10px;
}

.vip-valid-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.detail-address-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fff9e6;
    border: 1px solid #ffe082;
    border-radius: 8px;
    font-size: 12px;
    color: #856404;
    line-height: 1.5;
}

.detail-address-tip .tip-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 购房交流群表单深绿色边框 */
.group-form .detail-form-group input,
.group-form .detail-form-group select {
    border: 1px solid #2e7d32;
}

.group-form .detail-form-group input:focus,
.group-form .detail-form-group select:focus {
    border-color: #1b5e20;
}

.detail-form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
}

/* ===== 热搜榜 ===== */
.rank-banner {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
}

.rank-banner h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rank-banner p {
    font-size: 12px;
    opacity: 0.8;
    letter-spacing: 4px;
}

.rank-list {
    padding: 15px;
    background: var(--white);
}

.rank-card {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.rank-card:last-child {
    border-bottom: none;
}

.rank-num {
    font-size: 14px;
    font-weight: 700;
    width: 50px;
    flex-shrink: 0;
}

.rank-num.red { color: var(--primary); }
.rank-num.orange { color: #ff9800; }
.rank-num.yellow { color: #ffc107; }
.rank-num.gray { color: var(--light-gray); }

.rank-img {
    flex-shrink: 0;
}

.rank-img svg,
.rank-img img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.rank-info .name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rank-info .area {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 6px;
}

/* ===== 房产资讯 ===== */
.news-search {
    padding: 10px 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.hot-news {
    padding: 16px 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.hot-news h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.hot-news .meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.news-tabs {
    display: flex;
    gap: 0;
    padding: 0 15px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.news-tabs span {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.news-tabs span.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.news-list {
    padding: 0 15px;
    background: var(--white);
}

.news-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.news-item:last-child {
    border-bottom: none;
}

.news-thumb {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    background: var(--bg);
    border-radius: 8px;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-content h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-content .meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.meta .tag {
    font-size: 11px;
    padding: 2px 8px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 4px;
    white-space: nowrap;
}

.meta time {
    font-size: 11px;
    color: var(--light-gray);
    white-space: nowrap;
}

/* 资讯详情 */
.news-detail {
    padding: 20px 15px;
    background: var(--white);
    min-height: 60vh;
}

.news-detail h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-detail .meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.news-detail p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #444;
}

/* ===== 帮我找房 ===== */
.find-banner {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}

.find-form {
    padding: 20px 15px;
    background: var(--white);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

/* 滑块 */
.slider-container {
    padding: 10px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--gray);
}

.slider-track {
    position: relative;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 10px 0;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    width: 0%;
}

.slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.tooltip {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--primary);
}

.slider-hint {
    text-align: center;
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 8px;
}

/* 区域网格 */
.area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.area-item {
    padding: 10px 0;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.area-item.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

/* ===== 响应式 ===== */
@media (max-width: 380px) {
    .area-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .building-img svg,
    .building-img img {
        width: 100px;
        height: 75px;
    }
}

/* ===== 电话授权弹窗 ===== */
.auth-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.auth-overlay.show {
    display: block;
}

.auth-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    width: 300px;
    padding: 28px 24px 24px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: authIn 0.25s ease;
}

.auth-box.show {
    display: block;
}

@keyframes authIn {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
}

.auth-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.auth-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.auth-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}

.auth-phone-display {
    margin-bottom: 16px;
    text-align: center;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
}

.auth-phone-display .auth-phone-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.auth-phone-display .auth-phone-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.auth-phone-edit {
    margin-bottom: 16px;
    text-align: left;
}

.auth-phone-edit label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.auth-phone-edit input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    letter-spacing: 1px;
    outline: none;
}

.auth-phone-edit input:focus {
    border-color: #4caf50;
}

.auth-phone-tip {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 6px;
    text-align: center;
}

.auth-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.auth-countdown {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* ===== 自定义提示弹窗（替代原生alert） ===== */
.toast-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.toast-overlay.show {
    display: block;
}

.toast-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    width: 280px;
    padding: 24px 20px 20px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: toastIn 0.2s ease;
}

.toast-box.show {
    display: block;
}

@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.toast-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.toast-body {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.toast-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

/* ===== 首页底部公司信息页脚 ===== */
.home-footer {
    background: #f5f5f5;
    padding: 18px 12px 25px;
    margin-top: 15px;
    text-align: center;
    font-size: 11px;
    color: #888;
    border-top: 1px solid #e8e8e8;
    line-height: 2;
}

.home-footer .footer-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.home-footer .footer-divider {
    margin: 0 8px;
    color: #ccc;
}

.home-footer a {
    color: #888;
    text-decoration: none;
}

.home-footer a:hover {
    color: var(--primary);
}

.home-footer .footer-copyright {
    margin-top: 6px;
    font-size: 10px;
    color: #aaa;
}

@media (min-width: 768px) {
    body {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .detail-bottom-bar {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
}
