@charset "utf-8";
/* 城市首页 CSS - 重构版 2025-12-19 */
/* 与 TAG页、列表页、详情页 保持统一的现代UI风格 */

/* ================== Reset & Base ================== */
body {
    background: #f5f7fa;
    font-family: "Microsoft YaHei", "Heiti SC", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #3266A0;
    text-decoration: none;
}

a:visited {
    color: #555;
}

img {
    border: none;
}

ul,
li,
p,
h1,
h2,
h3,
figure {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ================== Small Nav (Top Bar) ================== */
#smallnav, .smallnav {
    width: 100%;
    height: 35px !important;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: content-box !important;
}

#smallnav #cont, .smallnav .cont {
    width: 1200px;
    height: 35px !important;
    line-height: 35px !important;
    color: #666;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    box-sizing: content-box !important;
}

#smallnav #cont .l {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
}



#smallnav #cont .r {
    /* float removed - using flex */
    font-size: 13px;
    display: flex;
    align-items: center;
}

#smallnav #cont a {
    color: #666;
    transition: color 0.2s;
    line-height: normal;
}

#smallnav #cont a:hover {
    color: #ff5a00;
    text-decoration: none;
    opacity: 1;
}

/* ================== Top Header ================== */
#top {
    width: 100%;
    height: 110px;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin: 0;
}

#top .top-inner {
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Defensive box-sizing reset for header elements to protect from sub-channel * {box-sizing:border-box} */
#top *, #nav *, #smallnav * {
    box-sizing: content-box;
}

#top .logo {
    margin: 20px 0 0 0;
    width: 260px !important;
    flex-shrink: 0 !important;
    padding-right: 20px;
    border-right: 1px solid #eef2f7;
    box-sizing: content-box !important;
}

#top .logo h1,
#top .logo div {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#top .logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

#top .logo img {
    margin-right: 0;
    margin-bottom: 5px;
}

#top .logo span {
    font-size: 12px;
    color: #053158;
    font-weight: normal;
    line-height: 1.4;
    display: inline-block;
    white-space: nowrap;
}

#top .cityName {
    position: absolute;
    z-index: 1000;
    top: 25px;
    left: 300px;
    color: #333;
    padding-top: 3px;
    line-height: 24px;
    font-weight: 600;
    font-size: 22px;
    text-align: center;
}

#top .cityName a {
    color: #3266A0;
    font-size: 12px;
    text-decoration: none;
    font-weight: 400;
    border: 1px solid #3266A0;
    background: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: normal;
}

#top .cityName a:hover {
    background: #3266A0;
    color: #fff;
}

#top .searchbar {
    margin: 35px 0 0 0;
}

#top .searchbar #searchForm {
    width: 450px;
    margin-left: 40px;
}

#top .searchbar .kw {
    box-sizing: border-box !important;
    border: 2px solid #3266A0;
    height: 38px;
    padding: 0 10px;
    flex: 1;
    width: auto;
    outline: none;
    font-size: 14px;
    border-right: none;
    color: #333;
    border-radius: 4px 0 0 4px;
    margin: 0;
    vertical-align: middle;
}

#top .searchbar .submit {
    box-sizing: border-box !important;
    background: #3266A0;
    color: #fff;
    border: none;
    height: 38px;
    width: 80px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    transition: background 0.2s;
    margin: 0;
    vertical-align: middle;
}

#top .searchbar .submit:hover {
    background: #2557a0;
}

/* ================== Search Input Wrapper ================== */
/* 2025-12-27 恢复自GitHub: 搜索栏容器，支持搜索历史和建议功能 */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* ================== Search History Dropdown ================== */
/* 2025-12-27 恢复自GitHub: 搜索历史下拉框 */
.search-history {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 120px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.clear-history {
    color: #3266A0;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
}

.clear-history:hover {
    color: #2850a0;
    text-decoration: underline;
}

.history-list {
    padding: 0;
    margin: 0;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, color 0.2s;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item i {
    font-size: 14px;
    color: #999;
    margin-right: 8px;
}

.history-item .keyword {
    flex: 1;
    font-size: 14px;
    color: #555;
}

.history-item:hover,
.history-item.active {
    background: #f0f7ff;
    color: #3266A0;
}

.history-item:hover .keyword,
.history-item.active .keyword {
    color: #3266A0;
}

.history-item:hover i,
.history-item.active i {
    color: #3266A0;
}

/* ================== Search Suggestions Dropdown ================== */
/* 2025-12-27 恢复自GitHub: 搜索建议下拉框 */
.search-suggestions {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 120px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
}

.suggestions-list {
    padding: 0;
    margin: 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, color 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item i {
    font-size: 14px;
    color: #999;
    margin-right: 8px;
    flex-shrink: 0;
}

.suggestion-item .keyword {
    flex: 1;
    font-size: 14px;
    color: #555;
}

.suggestion-item .keyword strong {
    color: #3266A0;
    font-weight: 600;
}

.suggestion-item .count {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    flex-shrink: 0;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f0f7ff;
}

.suggestion-item:hover .keyword,
.suggestion-item.active .keyword {
    color: #3266A0;
}

.suggestion-item:hover i,
.suggestion-item.active i {
    color: #3266A0;
}

.suggestion-item:hover .count,
.suggestion-item.active .count {
    color: #3266A0;
}

/* ================== Main Navigation ================== */
/* 2026-05-17 修复: 天地图API v4.0 CSS ID冲突 — 覆盖 #nav, #nav ul, #nav a, #nav li */
#nav {
    width: 100% !important;
    background: transparent !important;
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    z-index: auto !important;
    border: none !important;
    font-weight: normal !important;
}
/* 抵消天地图 #nav ul { width:110px; border:1px solid #CCC; background:#F9F9F9; } */
#nav ul {
    width: auto !important;
    border: none !important;
    background: transparent !important;
}
/* 抵消天地图 #nav a { display:block; width:100px; border-bottom:1px solid #CCC; } */
#nav a {
    width: auto !important;
    border-bottom: none !important;
}
/* 抵消天地图 #nav li { line-height:22px; position:relative; } */
#nav li {
    line-height: normal !important;
    position: static !important;
    float: none !important;
    width: auto !important;
}

.nav-top-wrap {
    width: 100%;
    background: linear-gradient(to right, #3266A0, #2557a0);
    box-shadow: 0 4px 12px rgba(50, 102, 160, 0.15);
}

.nav-bottom-wrap {
    width: 100%;
    background: #eef2f7;
    border-bottom: 1px solid #e1e4e8;
    min-height: 40px;
}

.nav-inner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

#cont_top {
    height: 54px;
}

#cont_top ul {
    margin: 0;
    display: flex;
    align-items: center;
    height: 54px;
}

#cont_top ul li {
    display: block;
    height: 100%;
}

#cont_top ul li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 24px !important;
    font-size: 16px;
    font-weight: 500 !important;
    line-height: normal;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* 2026-05-22 解决天地图API v4.0注入的#nav a:hover {background:#EBD2A6} 冲突问题 - By Antigravity */
/* 采用html body前缀和多重级联将特异性拉升至极限，强力碾压天地图API的注入样式 */
html body #nav a:hover,
html body #nav ul li a:hover,
html body #nav ul li strong a:hover {
    background: transparent !important;
}

/* 升级为包含html body及strong子级的高特异性选择器，完美恢复现代蓝色半透明悬停背景 */
html body #nav #cont_top ul li a:hover,
html body #nav #cont_top ul li strong a:hover,
html body #nav #cont_top ul li.select a,
html body #nav #cont_top ul li.select strong a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Bottom Highlight Line Removed */
/*
#cont_top ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: #FF5A00;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#cont_top ul li a:hover::after,
#cont_top ul li.select a::after {
    width: 100%;
    left: 0;
}
*/

/* 区域链接 */
#cont_bottom,
.botton1 {
    height: 40px;
    line-height: 40px;
    background: transparent;
    margin: 0;
    padding: 0 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#cont_bottom a,
.botton1 a {
    margin: 0 12px;
    color: #555 !important;
    font-size: 13px;
    font-weight: normal !important;
    padding: 0 !important;
    transition: all 0.2s;
    position: relative;
    display: block !important;
    white-space: nowrap;
    line-height: normal;
}

#cont_bottom a:hover,
.botton1 a:hover {
    color: #FF5A00 !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ================== Main Content Area ================== */
#content {
    width: 1200px;
    margin: 0px auto;
    animation: fadeInUp 0.5s ease-out;
    display: flow-root;
    /* 建立 BFC，防止内部浮动元素溢出，解耦外部 clear: both */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#top, #nav, #smallnav, #top *, #nav *, #smallnav * {
    box-sizing: content-box !important;
}
/* ================== Flexbox Layout Helpers ================== */
.row-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.row-flex * {
    box-sizing: border-box;
}

.row-flex form {
    margin: 0;
    padding: 0;
}

.col-left {
    width: 899px;
}

.col-right {
    width: 290px;
}

.mt10 {
    margin-top: 10px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mr10 {
    margin-right: 10px;
}

.of {
    overflow: hidden;
}

/* ================== Box1 - 带标题框 ================== */
.box1 {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f7;
    overflow: hidden;
}

.box1 .t {
    height: 44px;
    line-height: 44px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid #eef2f7;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box1 .t .l {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.box1 .t .l h2 {
    font-size: 16px;
    margin: 0;
    padding: 0;
    display: inline;
    font-weight: 600;
}



.box1 .t .r a {
    color: #999;
    font-size: 13px;
    transition: color 0.2s;
}

.box1 .t .r a:hover {
    color: #FF5A00;
}

.box1 .cont {
    padding: 0 15px;
}

/* ================== Box2 - 信息列表框 ================== */
.box2 {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f7;
    padding: 0;
    overflow: hidden;
}

.box2 .t {
    height: 44px;
    line-height: 44px;
    border-bottom: 2px solid #3266A0;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.box2 .t .l {
    font-size: 17px;
    color: #333;
    font-weight: 600;
}

.box2 .t .l h2 {
    font-size: 17px;
    margin: 0;
    padding: 0;
    display: inline;
    font-weight: 600;
}

.box2 .t .l a {
    color: #3266A0;
}

.box2 .t .m {
    display: flex;
    align-items: center;
}

.box2 .t .m ul li {
    color: #999;
    width: 70px;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border-radius: 4px;
}

.box2 .t .m .current {
    color: #333;
    background: #f5f5f5;
}

.box2 .t .r a {
    color: #999;
    font-size: 13px;
}

.box2 .t .r a:hover {
    color: #FF5A00;
}

.box2 .infoCont {
    padding: 15px 15px 5px 15px;
}

.box2 .infoCont .cont {
    display: none;
}

.text-red {
    color: #cc0000 !important;
}

/* ================== 杂项工具类 ================== */
.breadcrumb-nav {
    font-size: 13px;
    color: #a5a5a5;
    padding: 2px 0 10px;
    line-height: 1.4;
}
.breadcrumb-nav a {
    color: #a5a5a5;
    transition: color 0.2s;
}
.breadcrumb-nav a:hover {
    color: #3266A0;
}
.img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

.pb10 {
    padding-bottom: 10px;
}

.copyright-link {
    color: #666;
    transition: color 0.2s;
}

.copyright-link:hover {
    color: #3266A0;
}

/* ================== 响应式适配 ================== */
@media (max-width: 767px) {

    #content,
    #nav #cont,
    #smallnav #cont,
    #top,
    .links,
    .footer #cont {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .row-flex {
        flex-direction: column;
    }

    .col-left,
    .col-right,
    .w209,
    .w578,
    .w193,
    .w756,
    .w233 {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .box1,
    .box2 {
        margin-bottom: 15px;
    }

    .alist li {
        width: 100%;
    }

    .alist li img {
        width: 100%;
        height: auto;
    }

    .infolist1 .cont1 {
        justify-content: space-between;
    }

    .infolist1 .cont1 li {
        width: 48%;
    }

    .infolist1 .cont2 li,
    .infolist1 .cont3 li {
        width: 100%;
    }
}

@media (max-width: 767px) {

    /* Layout */
    #content,
    #nav .nav-inner,
    #smallnav #cont,
    #top .top-inner,
    .links,
    .footer #cont {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Top Section */
    #top {
        height: auto;
        padding-bottom: 10px;
    }

    #top .top-inner {
        flex-direction: column;
        height: auto;
    }

    #top .logo {
        width: 100%;
        border-right: none;
        margin: 10px 0;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    #top .cityName {
        position: static;
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    /* Searchbar Mobile Fix - 2025-12-27 Restored */
    #top .searchbar {
        display: block;
        /* Removed display: none */
        margin: 0;
        width: 100%;
    }

    #top .searchbar form {
        width: 100%;
        display: flex;
    }

    #top .searchbar .kw {
        width: 100%;
        flex: 1;
    }

    #top .searchbar .submit {
        width: 80px;
        flex-shrink: 0;
    }

    /* List Items Mobile Fix */
    .infolist1 .cont1 {
        grid-template-columns: 1fr;
        /* Single column */
    }

    .infolist1 .cont1 li {
        width: 100%;
        margin: 0 auto;
    }

    #nav #cont_top ul {
        flex-wrap: wrap;
        height: auto;
    }

    #nav #cont_top ul li a {
        padding: 0 8px;
        font-size: 13px;
        line-height: 40px;
    }

    /* Hide some elements on mobile if needed */
    .user-actions-col {
        display: none;
    }
}

/* ================== From global.css ================== */
.f12 {
    font-size: 12px;
}

.f14 {
    font-size: 14px;
}

.f16 {
    font-size: 16px;
}

.f18 {
    font-size: 18px;
}

.b {
    font-weight: bold;
}

.mr0 {
    margin-right: 0;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mb10 {
    margin-bottom: 10px;
}

.ml10 {
    margin-left: 10px;
}

/* .clear 类已删除 - 2025-12-26 - 布局使用 flexbox，不再需要浮动清除 */

.of {
    overflow: hidden;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}


.tStyle {
    height: 28px;
    border-bottom: 1px solid #D5DDE6
}

.tStyle .div1 {
    font-size: 18px;
    width: 100px;
    border-bottom: 1px solid #95C1ED;
    color: #43719F;
    height: 28px;
    line-height: 28px;
    font-weight: bold;
}

/* 未使用的工具类已删除 - 2025-12-27 */

/* ================== Footer ================== */
.footer {
    /* clear: both 已删除 - 2025-12-26 */
    width: 100%;
    background: #fff;
    border-top: 1px solid #e7e7e7;
    padding: 40px 0;
    margin-top: 0px;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.footer .cont {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer a {
    line-height: inherit;
}

.footer .c1 {
    margin-bottom: 15px;
}

.footer .c1 .sep {
    color: #dcdcdc;
}

.footer .c1 a {
    margin: 0 8px;
    color: #555;
    text-decoration: none;
}

.footer .c1 a:hover {
    color: #3266A0;
    text-decoration: none;
}

.footer .c2 {
    color: #999;
    font-size: 13px;
    font-family: Arial, sans-serif;
}

.footer .c2 a {
    color: #999;
    text-decoration: none;
}

.footer .c2 a:hover {
    color: #3266A0;
    text-decoration: none;
}

/* 底部举报弹窗样式 */
.report-box {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.report-box .report-icon {
    cursor: pointer;
    vertical-align: middle;
}

.report-box .report-popup {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #fff;
    padding: 5px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.report-box:hover .report-popup {
    display: block;
}

/* 搜索功能CSS已删除 - 2025-12-27 */





@media screen and (max-width: 768px) {

    /* Layout */
    .content,
    .smallnav .cont,
    .top .cont {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Top Navigation */
    .top {
        height: auto;
        padding: 10px 0;
    }

    .top .cont {
        flex-direction: column;
        align-items: stretch;
    }

    .top .cont .l {
        justify-content: center;
        margin-bottom: 10px;
    }

    .top .cont .l img {
        height: 40px;
        width: auto;
    }

    .top .cont .l .nav {
        display: none;
    }

    /* Search Form */
    .top .cont .m form {
        width: 100%;
    }

    .top .cont .m .kw {
        width: 100%;
        height: 40px;
        font-size: 16px;
    }

    .top .cont .m .submit {
        height: 44px;
        width: 80px;
    }



    /* Touch-friendly enhancements */
    @media (hover: none) and (pointer: coarse) {

        .hot-tag,
        .history-item {
            min-height: 44px;
            display: flex;
            align-items: center;
        }

        .list-item:hover {
            background: transparent;
        }
    }
}



/* Enforce 1200px fixed width for Desktop >= 768px */


/* ================== 2026-05-17 移动端全站响应式修复 (v2) ================== */
/* 导航从横向滚动条改为flex-wrap换行显示，更自然友好 */

@media screen and (max-width: 767px) {

    /* ---- 全局基础 ---- */
    body {
        min-width: 0 !important;
        overflow-x: hidden;
        font-size: 14px;
    }

    /* ---- 顶部小条 (smallnav) ---- */
    #smallnav, .smallnav {
        height: auto !important;
        min-height: 35px;
    }
    #smallnav #cont, .smallnav .cont {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        flex-wrap: wrap;
        gap: 4px;
        height: auto !important;
        min-height: 35px;
        font-size: 12px;
    }
    #smallnav #cont .l {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60%;
    }
    #smallnav #cont .r {
        font-size: 12px;
        gap: 6px;
    }
    #smallnav #cont .r a {
        font-size: 12px;
    }

    /* ---- Header (顶部Logo+搜索) ---- */
    #top {
        height: auto !important;
        padding: 10px 0;
    }
    #top .top-inner {
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    #top .logo {
        width: auto !important;
        margin: 0 !important;
        padding-right: 0 !important;
        border-right: none !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    #top .logo img {
        height: 36px !important;
        width: auto !important;
    }
    #top .logo span {
        font-size: 11px;
        white-space: normal;
    }
    #top .cityName {
        position: static !important;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        font-weight: 600;
        padding: 0;
        margin: 0;
        line-height: 1.4;
    }
    #top .searchbar {
        margin: 0 !important;
        width: 100% !important;
    }
    #top .searchbar #searchForm {
        width: 100% !important;
        margin-left: 0 !important;
        display: flex;
    }
    #top .searchbar .kw {
        flex: 1 !important;
        width: auto !important;
        height: 40px !important;
        font-size: 14px;
    }
    #top .searchbar .submit {
        width: 64px !important;
        height: 40px !important;
        font-size: 14px;
    }
    .search-input-wrapper {
        width: 100%;
    }

    /* ---- 主导航 (#nav) — 换行显示，不用横向滚动条 ---- */
    /* 2026-05-17: 用户要求去掉滑动条，改用flex-wrap换行 */
    .nav-top-wrap {
        overflow: visible !important;
    }
    .nav-inner {
        width: 100% !important;
        min-width: 0;
        padding: 0;
    }
    #cont_top {
        height: auto !important;
    }
    #cont_top ul {
        flex-wrap: wrap !important;
        height: auto !important;
        padding: 3px 2px;
        gap: 0;
        margin: 0;
    }
    #cont_top ul li {
        height: auto !important;
        flex-shrink: 0;
    }
    #cont_top ul li a {
        padding: 7px 10px !important;
        font-size: 13px !important;
        height: auto !important;
        line-height: 1.4 !important;
        white-space: nowrap;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* ---- 区域子导航 (#cont_bottom / .botton1) — 换行显示 ---- */
    /* 2026-05-17: 同样去掉滑动条 */
    .nav-bottom-wrap {
        overflow: visible !important;
    }
    #cont_bottom, .botton1 {
        height: auto !important;
        min-height: 32px;
        padding: 5px 10px !important;
        white-space: normal !important;
        overflow: visible !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        gap: 4px 0;
    }
    #cont_bottom a, .botton1 a {
        margin: 2px 5px !important;
        white-space: nowrap !important;
        font-size: 12px;
        line-height: 1.6;
    }

    /* ---- 内容区 (#content) ---- */
    #content {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box !important;
    }
    .row-flex {
        flex-direction: column !important;
    }
    .col-left, .col-right {
        width: 100% !important;
    }

    /* ---- H1 标题防溢出 ---- */
    h1 {
        display: block !important;
        word-break: break-all !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    /* ---- 图片防溢出 ---- */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* ---- 页脚 (footer) 移动端修复 2026-05-17 ---- */
    /* 问题：固定1200px宽度 + 链接不换行 导致横向溢出 */
    .footer {
        padding: 20px 0 !important;   /* 从40px缩减，节省移动端垂直空间 */
    }
    .footer .cont {
        width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }
    .footer .c1 {
        display: flex !important;
        flex-wrap: wrap !important;   /* 链接允许换行 */
        justify-content: center !important;
        align-items: center !important;
        gap: 2px 0 !important;
        margin-bottom: 10px !important;
        line-height: 2 !important;
    }
    .footer .c1 a {
        margin: 0 6px !important;     /* 链接间距缩小 */
        font-size: 13px !important;
        white-space: nowrap !important;
    }
    .footer .c1 .sep {
        margin: 0 !important;
        font-size: 13px !important;
    }
    .footer .c2 {
        font-size: 12px !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.8 !important;
        padding: 0 4px !important;
    }
}

/* PC强制最小宽度：只对 >= 768px 设备生效 */
@media screen and (min-width: 768px) {
    body {
        min-width: 1200px;
        overflow-x: auto;
    }
}





