/* ============================================================
   乡村百科移动端 - 前端样式
   ============================================================ */

/* 重置 WordPress 默认主题样式干扰 */
.rural-app-page {
    background: #f4f5f7;
    font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}
.rural-app-page * { box-sizing: border-box; }
.rural-app-page a { text-decoration: none; color: inherit; }

.app-container {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px;
}

/* ===== 状态栏 ===== */
.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}
.status-bar .right { display: flex; gap: 6px; align-items: center; }

/* ===== 头部 ===== */
.app-header {
    padding: 14px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.app-header .brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-header .brand-mark {
    width: 34px; height: 34px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 16px;
}
.app-header .brand-name {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}
.app-header .brand-name small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #999;
    margin-top: 1px;
}
.app-header .header-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}
.app-header .header-actions i { font-size: 19px; color: #333; }
.app-header .header-actions .avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

/* ===== 搜索 ===== */
.search-section { padding: 0 24px 22px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f5f7;
    border-radius: 14px;
    padding: 13px 18px;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}
.search-box i { color: #bbb; font-size: 15px; }
.search-box .search-text { flex: 1; }
.search-box .search-btn {
    font-size: 12px;
    color: #1a1a1a;
    font-weight: 600;
    background: #ffffff;
    padding: 5px 14px;
    border-radius: 8px;
}

/* 搜索结果页搜索框 */
.rural-search-form {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    background: #fff;
}
.rural-search-form input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}
.rural-search-form input[type="text"]:focus { border-color: #1a1a1a; }
.rural-search-form button {
    padding: 10px 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
}

/* ===== 定位 ===== */
.location-line {
    padding: 0 24px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
.location-line i { color: #d4af37; font-size: 12px; }
.location-line .loc-text { font-weight: 500; color: #333; }
.location-line .loc-switch {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

/* ===== 区块通用 ===== */
.app-section {
    padding: 0 24px;
    margin-bottom: 28px;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.section-head h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    margin: 0;
}
.section-head .more {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ===== 最近使用 ===== */
.recent-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 0 24px 4px;
}
.recent-scroll::-webkit-scrollbar { display: none; }
.recent-card {
    min-width: 130px;
    background: #fafafa;
    border-radius: 16px;
    padding: 16px 14px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}
.recent-card .rc-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 15px;
    margin-bottom: 12px;
}
.recent-card .rc-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.recent-card .rc-meta { font-size: 11px; color: #aaa; }

/* ===== 核心功能 ===== */
.func-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 8px;
}
.func-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.func-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: #f7f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    position: relative;
}
.func-icon .dot {
    position: absolute;
    top: 4px; right: 4px;
    width: 6px; height: 6px;
    background: #d4af37;
    border-radius: 50%;
}
.func-item span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* 分隔线 */
.app-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 24px 28px;
}

/* ===== 村庄列表 ===== */
.village-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.village-item:last-child { border-bottom: none; }
.village-avatar {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}
.village-avatar img { width: 100%; height: 100%; object-fit: cover; }
.village-info { flex: 1; min-width: 0; }
.village-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.village-info .meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 12px;
}
.village-info .meta i { margin-right: 3px; color: #ccc; font-size: 10px; }
.village-distance {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 600;
    flex-shrink: 0;
    text-align: right;
}
.village-distance small {
    display: block;
    font-size: 10px;
    color: #bbb;
    font-weight: 400;
    margin-top: 2px;
}

/* ===== 专题卡片 ===== */
.topic-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 0 24px 4px;
}
.topic-scroll::-webkit-scrollbar { display: none; }
.topic-card {
    min-width: 160px;
    background: #fafafa;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}
.topic-card .tc-cover {
    height: 92px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.topic-card .tc-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 65%);
}
.topic-card .tc-cover .tc-count {
    position: absolute;
    bottom: 8px; right: 10px;
    font-size: 10px;
    color: #ffffff;
    z-index: 2;
    background: rgba(0,0,0,0.35);
    padding: 2px 8px;
    border-radius: 10px;
}
.topic-card .tc-body { padding: 12px 14px 14px; }
.topic-card .tc-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}
.topic-card .tc-body p { font-size: 11px; color: #999; }

/* ===== 路线列表 ===== */
.route-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.route-item:last-child { border-bottom: none; }
.route-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 17px;
    flex-shrink: 0;
}
.route-info { flex: 1; min-width: 0; }
.route-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.route-info .route-meta {
    font-size: 11px;
    color: #999;
    display: flex;
    gap: 12px;
}
.route-info .route-meta i { margin-right: 3px; color: #ccc; }
.route-arrow { color: #ccc; font-size: 14px; flex-shrink: 0; }

/* ===== 底部导航 ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0 20px;
    border-top: 1px solid #f0f0f0;
    z-index: 999;
}
.bottom-nav .nav-item {
    text-align: center;
    font-size: 10px;
    color: #bbb;
    flex: 1;
}
.bottom-nav .nav-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 3px;
}
.bottom-nav .nav-item.active {
    color: #1a1a1a;
    font-weight: 600;
}
.bottom-nav .nav-item.active i { color: #d4af37; }
.bottom-nav .nav-center { position: relative; top: -14px; }
.bottom-nav .nav-center .center-btn {
    width: 46px; height: 46px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 20px;
    margin: 0 auto 3px;
}

/* ===== 村庄详情页 ===== */
.detail-hero {
    position: relative;
    height: 220px;
    background: linear-gradient(160deg, #2d5a3d, #4a8f5e);
    overflow: hidden;
}
.detail-hero .hero-icon {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
    color: rgba(255,255,255,0.2);
}
.detail-hero .top-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
.detail-hero .nav-btn {
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.detail-hero .nav-actions { display: flex; gap: 10px; }
.detail-hero .hero-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 20px 16px;
    z-index: 5;
}
.detail-hero .hero-info h1 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.detail-hero .hero-info .alias {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-left: 8px;
}
.detail-hero .hero-info .loc {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}
.detail-hero .hero-info .loc i { color: #d4af37; }

.detail-stats {
    margin: -20px 20px 0;
    background: #fff;
    border-radius: 18px;
    padding: 16px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 6;
}
.detail-stats .stat-item {
    text-align: center;
    flex: 1;
    border-right: 1px solid #f0f0f0;
}
.detail-stats .stat-item:last-child { border-right: none; }
.detail-stats .num {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}
.detail-stats .num .unit { font-size: 12px; font-weight: 400; color: #999; }
.detail-stats .label { font-size: 11px; color: #999; margin-top: 2px; }

.detail-section {
    margin: 16px 20px 0;
    background: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.detail-section .sec-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.detail-section .sec-title .bar {
    width: 4px; height: 18px;
    background: #d4af37;
    border-radius: 2px;
}
.detail-section .sec-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.detail-section .sec-text {
    font-size: 14px;
    line-height: 1.75;
    color: #333;
}
.detail-section .sec-text strong { color: #1a1a1a; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}
.info-cell {
    background: #f7faff;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid #eef2f7;
}
.info-cell .cell-label { font-size: 11px; color: #999; margin-bottom: 3px; }
.info-cell .cell-value { font-size: 14px; font-weight: 600; color: #1a1a1a; }

.point-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.point-tag {
    background: #f4f5f7;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}
.point-tag.biz { background: #fef3e0; color: #b8860b; }

/* ===== UGC 投稿表单 ===== */
.submit-page {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    min-height: 100vh;
}
.submit-page h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.submit-page .page-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
}
.rural-submit-form .form-group { margin-bottom: 16px; }
.rural-submit-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.rural-submit-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.rural-submit-form input[type="text"],
.rural-submit-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}
.rural-submit-form input[type="text"]:focus,
.rural-submit-form textarea:focus { border-color: #1a1a1a; }
.rural-submit-form textarea { resize: vertical; }
.rural-submit-form .btn-submit {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}
.rural-submit-form .btn-submit:hover { background: #333; }
.rural-submit-form .form-tip {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 12px;
}
.submit-result {
    padding: 20px;
    text-align: center;
    background: #f4f5f7;
    border-radius: 12px;
    margin-top: 16px;
    display: none;
}
.submit-result.show { display: block; }
.submit-result.success { background: #e8f5e9; color: #2e7d32; }
.submit-result.error { background: #fdecea; color: #c62828; }

/* ===== 搜索结果页 ===== */
.search-results {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    padding-bottom: 40px;
}
.search-results .result-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}
.search-results .result-item {
    padding: 16px 24px;
    border-bottom: 1px solid #f5f5f5;
}
.search-results .result-item .result-type {
    font-size: 11px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.search-results .result-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.search-results .result-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-results .no-results {
    padding: 60px 24px;
    text-align: center;
    color: #999;
}
.search-results .no-results i { font-size: 48px; margin-bottom: 16px; color: #ddd; }

/* ============================================================
   PC 端适配（>= 768px）
   ============================================================ */
@media (min-width: 768px) {

    body { background: #f0f2f5; }

    /* ---- PC 顶部导航栏 ---- */
    .pc-navbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        height: 64px;
        background: #ffffff;
        border-bottom: 1px solid #e8e8e8;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }
    .pc-navbar .nav-left {
        display: flex;
        align-items: center;
        gap: 40px;
    }
    .pc-navbar .nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    .pc-navbar .nav-logo .logo-mark {
        width: 36px; height: 36px;
        background: #1a1a1a;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #d4af37;
        font-size: 16px;
    }
    .pc-navbar .nav-logo .logo-text {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
    }
    .pc-navbar .nav-logo .logo-text small {
        display: block;
        font-size: 10px;
        font-weight: 400;
        color: #999;
        margin-top: 1px;
    }
    .pc-navbar .nav-menu {
        display: flex;
        gap: 32px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .pc-navbar .nav-menu li { margin: 0; }
    .pc-navbar .nav-menu a {
        font-size: 14px;
        color: #555;
        font-weight: 500;
        text-decoration: none;
        padding: 22px 0;
        border-bottom: 2px solid transparent;
        transition: all 0.2s;
    }
    .pc-navbar .nav-menu a:hover,
    .pc-navbar .nav-menu a.active {
        color: #1a1a1a;
        border-bottom-color: #d4af37;
    }
    .pc-navbar .nav-right {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .pc-navbar .nav-search {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f4f5f7;
        border-radius: 10px;
        padding: 8px 14px;
        width: 260px;
        transition: all 0.2s;
    }
    .pc-navbar .nav-search:focus-within {
        background: #fff;
        box-shadow: 0 0 0 2px rgba(212,175,55,0.3);
    }
    .pc-navbar .nav-search i { color: #bbb; font-size: 14px; }
    .pc-navbar .nav-search input {
        border: none;
        background: transparent;
        outline: none;
        flex: 1;
        font-size: 13px;
        color: #333;
    }
    .pc-navbar .nav-search input::placeholder { color: #bbb; }
    .pc-navbar .nav-user {
        width: 36px; height: 36px;
        border-radius: 50%;
        background: #f4f5f7;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 16px;
        cursor: pointer;
    }
    .pc-navbar .nav-submit-btn {
        padding: 8px 20px;
        background: #1a1a1a;
        color: #fff;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s;
    }
    .pc-navbar .nav-submit-btn:hover { background: #333; }

    /* ---- 隐藏移动端专属元素 ---- */
    .status-bar,
    .app-header,
    .search-section,
    .location-line,
    .bottom-nav {
        display: none !important;
    }

    /* ---- 容器 ---- */
    .app-container {
        max-width: 1200px;
        margin: 0 auto;
        padding-bottom: 0 !important;
        background: #fff;
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
        min-height: calc(100vh - 64px);
    }

    /* ---- 区块 ---- */
    .app-section {
        padding: 0 40px;
        margin-bottom: 40px;
    }
    .section-head { margin-bottom: 20px; }
    .section-head h2 { font-size: 20px; }
    .app-divider { margin: 0 40px 40px; }

    /* ---- 最近使用 ---- */
    .recent-scroll {
        margin: 0 -40px;
        padding: 0 40px 4px;
        gap: 16px;
    }
    .recent-card {
        min-width: 200px;
        padding: 20px;
        transition: all 0.2s;
    }
    .recent-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .recent-card .rc-icon {
        width: 44px; height: 44px;
        font-size: 18px;
        margin-bottom: 14px;
    }
    .recent-card .rc-title { font-size: 15px; }

    /* ---- 核心功能 ---- */
    .func-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 16px 8px;
    }
    .func-icon {
        width: 56px; height: 56px;
        font-size: 22px;
        transition: all 0.2s;
    }
    .func-item:hover .func-icon {
        background: #1a1a1a;
        color: #d4af37;
    }
    .func-item span { font-size: 13px; }

    /* ---- 村庄列表 - 网格 ---- */
    .village-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .village-grid .village-item {
        display: flex;
        padding: 20px;
        border: 1px solid #f0f0f0;
        border-radius: 16px;
        border-bottom: 1px solid #f0f0f0 !important;
        transition: all 0.2s;
    }
    .village-grid .village-item:hover {
        border-color: #d4af37;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }
    .village-grid .village-avatar {
        width: 56px; height: 56px;
        border-radius: 14px;
        font-size: 22px;
    }

    /* ---- 专题卡片 ---- */
    .topic-scroll {
        margin: 0 -40px;
        padding: 0 40px 4px;
        gap: 16px;
    }
    .topic-card {
        min-width: 280px;
        transition: all 0.2s;
    }
    .topic-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    }
    .topic-card .tc-cover { height: 150px; }
    .topic-card .tc-body { padding: 16px 18px 18px; }
    .topic-card .tc-body h4 { font-size: 16px; }

    /* ---- 路线列表 ---- */
    .route-list-pc {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .route-list-pc .route-item {
        padding: 20px;
        border: 1px solid #f0f0f0;
        border-radius: 16px;
        border-bottom: 1px solid #f0f0f0 !important;
        transition: all 0.2s;
    }
    .route-list-pc .route-item:hover {
        border-color: #d4af37;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

    /* ---- PC 页脚 ---- */
    .pc-footer {
        background: #1a1a1a;
        color: #888;
        padding: 48px 40px 32px;
        margin-top: 40px;
    }
    .pc-footer .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
    .pc-footer .footer-brand .footer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
    }
    .pc-footer .footer-brand .footer-logo .logo-mark {
        width: 36px; height: 36px;
        background: #d4af37;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1a1a1a;
        font-size: 16px;
    }
    .pc-footer .footer-brand .footer-logo span {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
    }
    .pc-footer .footer-brand p {
        font-size: 13px;
        line-height: 1.7;
        color: #888;
    }
    .pc-footer .footer-col h4 {
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 16px;
    }
    .pc-footer .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .pc-footer .footer-col li { margin-bottom: 10px; }
    .pc-footer .footer-col a {
        font-size: 13px;
        color: #888;
        text-decoration: none;
        transition: color 0.2s;
    }
    .pc-footer .footer-col a:hover { color: #d4af37; }
    .pc-footer .footer-bottom {
        max-width: 1200px;
        margin: 32px auto 0;
        padding-top: 24px;
        border-top: 1px solid #333;
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: #666;
    }

    /* ---- 详情页 PC 布局 ---- */
    .detail-hero {
        height: 320px;
    }
    .detail-hero .hero-info {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px 24px;
    }
    .detail-hero .hero-info h1 { font-size: 36px; }
    .detail-hero .top-nav {
        max-width: 1200px;
        margin: 0 auto;
        padding: 16px 40px;
    }
    .detail-stats {
        max-width: 1120px;
        margin: -30px auto 0;
        padding: 24px 20px;
    }
    .detail-stats .num { font-size: 24px; }
    .detail-layout {
        max-width: 1200px;
        margin: 0 auto;
        padding: 32px 40px;
        display: grid;
        grid-template-columns: 1fr 340px;
        gap: 32px;
    }
    .detail-layout .detail-main .detail-section {
        margin: 0 0 24px 0;
    }
    .detail-layout .detail-sidebar {
        position: sticky;
        top: 88px;
        align-self: start;
    }
    .detail-layout .detail-sidebar .detail-section { margin: 0 0 20px 0; }

    /* ---- 投稿页 PC ---- */
    .submit-page {
        max-width: 720px;
        margin: 0 auto;
        padding: 40px 32px 60px;
    }
    .submit-page h2 { font-size: 26px; }

    /* ---- 搜索结果页 PC ---- */
    .search-results {
        max-width: 1200px;
        padding: 0;
    }
    .search-results .rural-search-form {
        max-width: 600px;
        margin: 0 auto;
        padding: 32px 40px 16px;
    }
    .search-results .result-header {
        max-width: 800px;
        margin: 0 auto;
        padding: 16px 40px;
    }
    .search-results .result-item {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px 40px;
        transition: background 0.2s;
    }
    .search-results .result-item:hover { background: #fafafa; }
    .search-results .result-item h3 { font-size: 17px; }
    .search-results .no-results { padding: 80px 40px; }
}

@media (min-width: 1024px) {
    .village-grid { grid-template-columns: repeat(3, 1fr); }
    .route-list-pc { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 移动端（< 768px）保持原样式 ===== */
@media (max-width: 767px) {
    .pc-navbar, .pc-footer, .detail-layout, .village-grid, .route-list-pc {
        display: none !important;
    }
}

@media (max-width: 440px) {
    .app-container { max-width: 100%; }
    .bottom-nav { max-width: 100%; }
}
