* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #fff;
    color: #333;
}
#container {
    height: 550px !important;
    width: 100%;
    height: 550px !important;
}
.stats-bar {
    display: flex;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}
.stat-item {
    flex: 1;
    text-align: center;
}
.stat-item .num {
    font-size: 20px;
    font-weight: 700;
    color: #2f6fed;
    line-height: 1.2;
}
.stat-item .label {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}
.province-panel {
    padding: 14px 20px 18px;
}
.section-header {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
}
.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.province-item {
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.province-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2f6fed;
}
.province-item.active {
    background: #2f6fed;
    border-color: #2f6fed;
    color: #fff;
}
.province-item .count {
    color: #2f6fed;
    font-weight: 600;
    font-size: 11px;
    color: #94a3b8;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 10px;
}
.province-item.active .count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.modal-mask {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.modal-mask.show {
    display: flex;
}
.modal {
    background: #fff;
    border-radius: 12px;
    width: 80%;
    max-width: 320px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-close {
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #333;
}
.city-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.city-item {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.city-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2f6fed;
}
.city-item .arrow {
    font-size: 12px;
    color: #cbd5e1;
}
.info-window {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: #fff;
}
.info-header {
    padding: 16px 16px 8px;
    text-align: center;
}
.info-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}
.info-content {
    padding: 0 16px 16px;
    text-align: center;
}
.info-content p {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
}
.info-content .photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.info-content img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

/* 弹窗里的城市标签 */
.city-tags-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.city-tag-item {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}
.city-tag-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2f6fed;
}

/* 心愿相关样式 */
.stat-item.wish .num {
    color: #f59e0b;
}
.province-item.wish {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.province-item.wish:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #b45309;
}
.city-tag-item.wish {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.city-tag-item.wish:hover {
    background: #fef3c7;
    border-color: #f59e0b;
}
.wish-section-title {
    font-size: 12px;
    color: #f59e0b;
    margin: 12px 0 6px;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
    #container {
        height: 300px !important;
    }
    .stats-bar {
        padding: 8px 12px;
    }
    .stat-item .num {
        font-size: 18px;
    }
    .stat-item .label {
        font-size: 10px;
    }
    .province-panel {
        padding: 10px 12px 15px;
    }
    .province-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .province-item {
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
    .section-header {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .modal {
        width: 95%;
        padding: 15px;
    }
}


