/* ============================================================
   DPrime 德璞资本 · 前台样式（完整最新版）
   覆盖模块：基础 / 头部 / 通栏幻灯片 / 文章列表 / 分页 / 详情
             底部 / 在线客服（含图片消息）/ 移动端汉堡导航 / 响应式
   ============================================================ */

/* ========== 全局重置 & 变量 ========== */
*{margin:0;padding:0;box-sizing:border-box}
:root{
    --red:#C8102E;
    --red-light:#E63946;
    --red-bg:#FEF0F0;
    --text:#1a1a1a;
    --t2:#666;
    --t3:#999;
    --bd:#e5e5e5;
    --bg:#f7f7f7;
    --sh:0 2px 12px rgba(0,0,0,.06);
    --r:8px;
}
html,body{overflow-x:hidden}
body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;outline:none;background:none}
input,textarea,select{font-family:inherit;outline:none}
img{max-width:100%;display:block}

/* ========== 顶部导航 ========== */
.top-bar{
    background:#fff;
    border-bottom:1px solid var(--bd);
    position:sticky;
    top:0;
    z-index:100;
}
.top-inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
    height:64px;
    display:flex;
    align-items:center;
    gap:32px;
}
.logo{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:22px;
    font-weight:800;
    color:var(--red);
    letter-spacing:-.5px;
    flex-shrink:0;
}
.logo-icon{
    width:36px;height:36px;
    background:var(--red);
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-weight:900;
    font-size:16px;
}
.logo-sub{
    font-size:11px;
    font-weight:400;
    color:var(--t3);
    letter-spacing:0;
}
.nav-links{
    display:flex;
    gap:4px;
    flex:1;
    overflow-x:auto;
}
.nav-links a{
    padding:8px 14px;
    font-size:14px;
    color:var(--t2);
    border-radius:6px;
    white-space:nowrap;
    transition:.2s;
}
.nav-links a:hover,
.nav-links a.active{
    color:var(--red);
    background:var(--red-bg);
    font-weight:600;
}
.top-actions{
    display:flex;
    gap:10px;
    flex-shrink:0;
}
.btn{
    padding:8px 20px;
    border-radius:6px;
    font-size:14px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    transition:.2s;
    cursor:pointer;
}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-light)}
.btn-outline{background:transparent;color:var(--red);border:1.5px solid var(--red)}
.btn-outline:hover{background:var(--red-bg)}
.btn-gray{background:#f0f0f0;color:var(--t2)}
.btn-gray:hover{background:#e0e0e0}
.btn-sm{padding:5px 12px;font-size:12px}

/* 顶部联系方式条 */
.contact-strip{
    background:#fff;
    border-bottom:1px solid var(--bd);
    font-size:12px;
    color:var(--t3);
}
.contact-strip-inner{
    max-width:1200px;
    margin:0 auto;
    padding:6px 20px;
    display:flex;
    gap:24px;
    flex-wrap:wrap;
    align-items:center;
}
.contact-strip-inner span{display:inline-flex;align-items:center;gap:4px}

/* ========== 主体容器 ========== */
.main-wrap{
    max-width:1200px;
    margin:0 auto;
    padding:24px 20px 40px;
}

/* ========== 通栏工具类 ========== */
.full-bleed{
    position:relative;
    left:50%;
    transform:translateX(-50%);
    width:100vw;
    max-width:100vw;
    margin-left:0;
    margin-right:0;
    border-radius:0 !important;
}

/* ========== 通栏轮播幻灯片 ========== */
.hero-slider{
    position:relative;
    height:420px;
    overflow:hidden;
    background:#8B0000;
    margin-bottom:28px;
}
.hs-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity .8s ease;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
}
.hs-slide.active{opacity:1;z-index:1}
.hs-slide::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.25) 55%,rgba(0,0,0,.05) 100%);
}
.hs-inner{
    position:relative;
    z-index:2;
    max-width:1200px;
    width:100%;
    margin:0 auto;
    padding:0 40px;
    color:#fff;
}
.hs-inner h1{
    font-size:30px;
    font-weight:800;
    margin-bottom:12px;
    line-height:1.3;
}
.hs-inner p{
    font-size:14.5px;
    opacity:.92;
    max-width:720px;
    line-height:1.85;
}
.hero-tags{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.hero-tag{
    background:rgba(255,255,255,.18);
    padding:5px 14px;
    border-radius:20px;
    font-size:12px;
    backdrop-filter:blur(4px);
}
.hs-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    width:42px;height:42px;
    border-radius:50%;
    background:rgba(0,0,0,.28);
    color:#fff;
    font-size:22px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
    opacity:.75;
    cursor:pointer;
}
.hs-arrow:hover{background:var(--red);opacity:1}
.hs-prev{left:18px}
.hs-next{right:18px}
.hs-dots{
    position:absolute;
    left:50%;
    bottom:18px;
    transform:translateX(-50%);
    z-index:3;
    display:flex;
    gap:8px;
}
.hs-dot{
    width:8px;height:8px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    cursor:pointer;
    transition:.25s;
}
.hs-dot.active{width:22px;border-radius:4px;background:#fff}

/* ========== 平台介绍 ========== */
.intro-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-bottom:20px;
}
.intro-card{
    background:#fff;
    border-radius:var(--r);
    padding:20px;
    box-shadow:var(--sh);
    border-top:3px solid var(--red);
}
.intro-card h3{font-size:15px;margin-bottom:6px}
.intro-card p{font-size:13px;color:var(--t2);line-height:1.7}

/* ========== 板块 & 文章列表 ========== */
.section{margin-bottom:32px}
.section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
    border-left:4px solid var(--red);
    padding-left:12px;
}
.section-head h2{font-size:18px;font-weight:700}
.section-head .more{font-size:13px;color:var(--red);font-weight:600}
.section-head .more:hover{text-decoration:underline}

.article-list{display:flex;flex-direction:column;gap:12px}
.article-item{
    display:block;
    background:#fff;
    border-radius:var(--r);
    padding:16px 20px;
    box-shadow:var(--sh);
    border:1px solid transparent;
    transition:.2s;
    position:relative;
}
.article-item:hover{
    border-color:var(--red);
    transform:translateY(-1px);
    box-shadow:0 4px 16px rgba(200,16,46,.1);
}
.article-item.pinned{
    border-left:4px solid var(--red);
    background:linear-gradient(90deg,var(--red-bg),#fff 10%);
}
.article-title-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:6px;
    flex-wrap:wrap;
}
.article-title{
    font-size:15px;
    font-weight:700;
    flex:1;
    min-width:200px;
}
.badge-pin{
    background:var(--red);
    color:#fff;
    font-size:10px;
    padding:1px 7px;
    border-radius:3px;
    font-weight:600;
}
.article-excerpt{
    font-size:13px;
    color:var(--t2);
    line-height:1.7;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-bottom:8px;
}
.article-meta{
    font-size:12px;
    color:var(--t3);
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}
.article-meta .cat{color:var(--red);font-weight:600}

/* ========== 分页 ========== */
.pagination{
    display:flex;
    justify-content:center;
    gap:6px;
    margin-top:20px;
    flex-wrap:wrap;
}
.pagination a,
.pagination span{
    min-width:34px;
    height:34px;
    padding:0 10px;
    border-radius:6px;
    font-size:13px;
    background:#fff;
    border:1px solid var(--bd);
    color:var(--t2);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.pagination a:hover{border-color:var(--red);color:var(--red)}
.pagination .active{
    background:var(--red);
    color:#fff;
    border-color:var(--red);
    font-weight:700;
}
.pagination .disabled{opacity:.4}

/* ========== 文章详情 ========== */
.detail-panel{
    background:#fff;
    border-radius:var(--r);
    padding:28px 32px;
    box-shadow:var(--sh);
}
.detail-panel h1{font-size:22px;margin-bottom:12px}
.detail-meta{
    font-size:12px;
    color:var(--t3);
    margin-bottom:20px;
    padding-bottom:16px;
    border-bottom:1px solid var(--bd);
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}
.detail-content{
    font-size:15px;
    line-height:1.9;
    word-break:break-word;
}
.detail-content .art-img{
    max-width:100%;
    height:auto;
    border-radius:6px;
    margin:12px 0;
    display:block;
}
.back-link{
    display:inline-block;
    color:var(--red);
    font-size:13px;
    font-weight:600;
    margin-bottom:16px;
}

/* ============================================================
   底部（完整独立版，无冲突）
   ============================================================ */
footer.footer{
    background:#fff;
    border-top:1px solid var(--bd);
    margin:0;
    padding:0;
    color:var(--text);
    font-size:13px;
    line-height:1.7;
}
footer.footer *,
footer.footer *::before,
footer.footer *::after{box-sizing:border-box}

footer.footer .footer-top{
    background:#fafafa;
    border-bottom:1px solid var(--bd);
}
footer.footer .footer-grid{
    max-width:1200px;
    margin:0 auto;
    padding:40px 20px;
    display:grid;
    grid-template-columns:1.7fr 1fr 1.3fr 1.4fr auto;
    gap:36px;
    align-items:start;
}
footer.footer .f-col{
    min-width:0;
    overflow-wrap:break-word;
    word-break:break-word;
}
footer.footer .f-col h4{
    font-size:14px;
    font-weight:700;
    color:var(--text);
    margin:0 0 14px;
    padding:0 0 0 10px;
    position:relative;
    line-height:1.4;
    border:none;
}
footer.footer .f-col h4::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:3px;
    height:14px;
    background:var(--red);
    border-radius:2px;
}

/* 品牌列 */
footer.footer .f-logo{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:20px;
    font-weight:800;
    color:var(--red);
    letter-spacing:-.5px;
    margin:0 0 12px;
    text-decoration:none;
}
footer.footer .f-logo-icon{
    width:32px;height:32px;
    background:var(--red);
    color:#fff;
    border-radius:7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:16px;
    flex-shrink:0;
}
footer.footer .f-logo-sub{
    font-size:11px;
    font-weight:400;
    color:var(--t3);
    letter-spacing:0;
}
footer.footer .f-desc{
    font-size:12.5px;
    color:var(--t2);
    line-height:1.85;
    margin:0 0 14px;
}
footer.footer .f-social{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:4px;
}
footer.footer .f-social a{
    display:inline-block;
    font-size:12px;
    padding:4px 12px;
    border:1px solid var(--bd);
    border-radius:20px;
    color:var(--t2);
    text-decoration:none;
    transition:.2s;
    line-height:1.4;
}
footer.footer .f-social a:hover{
    border-color:var(--red);
    color:var(--red);
    background:var(--red-bg);
}

/* 列表 */
footer.footer .f-links,
footer.footer .f-contact{
    list-style:none;
    margin:0;
    padding:0;
}
footer.footer .f-links li,
footer.footer .f-contact li{
    font-size:12.5px;
    color:var(--t2);
    line-height:1.7;
    margin:0 0 9px;
    padding:0;
}
footer.footer .f-links li:last-child,
footer.footer .f-contact li:last-child{margin-bottom:0}
footer.footer .f-links a{
    color:var(--t2);
    text-decoration:none;
    transition:.2s;
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
footer.footer .f-links a:hover{color:var(--red)}
footer.footer .f-articles a{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* 服务时间 */
footer.footer .f-work{
    margin-top:14px;
    padding-top:12px;
    border-top:1px dashed var(--bd);
    font-size:12px;
    color:var(--t3);
    line-height:1.9;
}
footer.footer .f-work-title{
    display:block;
    font-weight:600;
    color:var(--t2);
    margin-bottom:2px;
}
footer.footer .f-work div{
    font-size:12px;
    color:var(--t3);
    line-height:1.8;
}

/* 二维码 */
footer.footer .f-qr{min-width:0}
footer.footer .f-qr-wrap{
    display:flex;
    flex-direction:column;
    gap:14px;
    align-items:center;
}
footer.footer .f-qr-item{text-align:center}
footer.footer .f-qr-item img{
    width:96px;height:96px;
    object-fit:cover;
    border:1px solid var(--bd);
    border-radius:8px;
    padding:4px;
    background:#fff;
    display:block;
    margin:0 auto;
    transition:.2s;
}
footer.footer .f-qr-item img:hover{
    border-color:var(--red);
    box-shadow:0 4px 14px rgba(200,16,46,.12);
}
footer.footer .f-qr-item span{
    display:block;
    margin-top:6px;
    font-size:11.5px;
    color:var(--t3);
}

/* 友情链接 */
footer.footer .footer-friend{border-bottom:1px solid var(--bd)}
footer.footer .footer-friend-inner{
    max-width:1200px;
    margin:0 auto;
    padding:14px 20px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 16px;
    font-size:12px;
    line-height:1.6;
}
footer.footer .f-friend-label{
    color:var(--t3);
    font-weight:600;
    flex-shrink:0;
}
footer.footer .footer-friend-inner a{
    color:var(--t2);
    text-decoration:none;
    transition:.2s;
}
footer.footer .footer-friend-inner a:hover{color:var(--red)}

/* 风险提示 */
footer.footer .footer-risk{
    background:#FFF8F0;
    border-bottom:1px solid #FFE6CC;
}
footer.footer .footer-risk-inner{
    max-width:1200px;
    margin:0 auto;
    padding:12px 20px;
    font-size:12px;
    color:#8A5A00;
    line-height:1.8;
}

/* 版权 */
footer.footer .footer-bottom{
    max-width:1200px;
    margin:0 auto;
    padding:16px 20px 20px;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    border:none;
    text-align:left;
}
footer.footer .f-copy{
    font-size:12px;
    color:var(--t3);
    line-height:1.7;
}
footer.footer .f-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 16px;
    font-size:12px;
    color:var(--t3);
}
footer.footer .f-meta a{
    color:var(--t3);
    text-decoration:none;
    transition:.2s;
}
footer.footer .f-meta a:hover{color:var(--red)}

/* ============================================================
   在线客服（含图片消息）
   ============================================================ */
.chat-fab{
    position:fixed;
    right:24px;
    bottom:24px;
    width:56px;height:56px;
    border-radius:50%;
    background:var(--red);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    box-shadow:0 4px 16px rgba(200,16,46,.35);
    z-index:200;
    cursor:pointer;
    transition:transform .2s;
}
.chat-fab:hover{transform:scale(1.08)}
.chat-fab .chat-badge{
    position:absolute;
    top:-2px;
    right:-2px;
    background:#FFB800;
    color:#000;
    font-size:10px;
    font-weight:700;
    width:18px;height:18px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}
.chat-panel{
    position:fixed;
    right:24px;
    bottom:92px;
    width:360px;
    max-height:520px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 8px 40px rgba(0,0,0,.16);
    z-index:201;
    display:none;
    flex-direction:column;
    overflow:hidden;
}
.chat-panel.open{display:flex}
.chat-head{
    background:var(--red);
    color:#fff;
    padding:14px 16px;
    font-weight:700;
    font-size:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.chat-head button{
    background:none;
    color:#fff;
    font-size:20px;
    line-height:1;
    padding:0 4px;
}
.chat-body{
    flex:1;
    padding:14px;
    overflow-y:auto;
    background:#fafafa;
    display:flex;
    flex-direction:column;
    gap:10px;
    min-height:260px;
    max-height:340px;
}
.msg{
    max-width:80%;
    padding:9px 13px;
    border-radius:10px;
    font-size:13px;
    line-height:1.6;
    word-break:break-word;
}
.msg.user{
    align-self:flex-end;
    background:var(--red);
    color:#fff;
    border-bottom-right-radius:3px;
}
.msg.admin{
    align-self:flex-start;
    background:#fff;
    color:var(--text);
    border:1px solid var(--bd);
    border-bottom-left-radius:3px;
}
.msg.system{
    align-self:center;
    background:transparent;
    color:var(--t3);
    font-size:11px;
    padding:2px;
    max-width:100%;
    text-align:center;
}
.msg.img-msg{
    padding:4px;
    background:transparent;
    max-width:85%;
    border:none;
}
.msg.img-msg.user,
.msg.img-msg.admin{
    background:transparent;
    border:none;
}
.msg-img{
    max-width:100%;
    max-height:220px;
    border-radius:8px;
    cursor:pointer;
    display:block;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    transition:.2s;
}
.msg-img:hover{box-shadow:0 4px 14px rgba(200,16,46,.18)}

.chat-input-row{
    display:flex;
    border-top:1px solid var(--bd);
    background:#fff;
    align-items:stretch;
}
.chat-input-row input[type=text]{
    flex:1;
    border:none;
    padding:13px 10px;
    font-size:13px;
    min-width:0;
}
.chat-input-row .chat-img-btn{
    background:none;
    font-size:18px;
    padding:0 10px;
    color:var(--t2);
    flex-shrink:0;
    transition:.2s;
    display:flex;
    align-items:center;
}
.chat-input-row .chat-img-btn:hover{color:var(--red)}
.chat-input-row .chat-send-btn{
    background:var(--red);
    color:#fff;
    padding:0 18px;
    font-weight:600;
    font-size:13px;
    flex-shrink:0;
}

/* ========== 返回顶部 ========== */
.back-top{
    position:fixed;
    right:24px;
    bottom:92px;
    width:42px;height:42px;
    border-radius:50%;
    background:#fff;
    color:var(--red);
    border:1px solid var(--bd);
    box-shadow:0 4px 14px rgba(0,0,0,.1);
    font-size:18px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:.25s;
    z-index:199;
    cursor:pointer;
}
.back-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.back-top:hover{
    background:var(--red);
    color:#fff;
    border-color:var(--red);
}

/* ============================================================
   移动端汉堡导航
   ============================================================ */
.nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:42px;height:42px;
    border-radius:8px;
    background:transparent;
    margin-left:auto;
    flex-shrink:0;
    transition:background .2s;
    cursor:pointer;
}
.nav-toggle span{
    display:block;
    width:22px;height:2px;
    background:var(--red);
    border-radius:2px;
    transition:transform .3s,opacity .3s;
}
.nav-toggle:hover{background:var(--red-bg)}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mobile-mask{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:300;
    opacity:0;
    visibility:hidden;
    transition:opacity .3s,visibility .3s;
}
.mobile-mask.show{opacity:1;visibility:visible}

.mobile-menu{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    width:82%;
    max-width:320px;
    background:#fff;
    z-index:301;
    transform:translateX(100%);
    transition:transform .32s cubic-bezier(.4,0,.2,1);
    display:flex;
    flex-direction:column;
    box-shadow:-8px 0 30px rgba(0,0,0,.15);
    visibility:hidden;
}
.mobile-menu.open{
    transform:translateX(0);
    visibility:visible;
}
.mm-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 18px;
    border-bottom:1px solid var(--bd);
    flex-shrink:0;
}
.mm-brand{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:18px;
    font-weight:800;
    color:var(--red);
}
.mm-brand .mm-logo-icon{
    width:30px;height:30px;
    background:var(--red);
    color:#fff;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:14px;
}
.mm-close{
    width:34px;height:34px;
    border-radius:8px;
    background:#f5f5f5;
    color:var(--t2);
    font-size:20px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
}
.mm-close:hover{
    background:var(--red-bg);
    color:var(--red);
}
.mm-body{flex:1;overflow-y:auto}
.mm-nav{list-style:none;padding:6px 0}
.mm-nav li a{
    display:flex;
    align-items:center;
    padding:14px 20px;
    font-size:15px;
    color:var(--text);
    border-left:3px solid transparent;
    transition:.2s;
}
.mm-nav li a:hover,
.mm-nav li a.active{
    background:var(--red-bg);
    color:var(--red);
    border-left-color:var(--red);
    font-weight:600;
}
.mm-arrow{
    margin-left:auto;
    color:var(--t3);
    font-size:15px;
}
.mm-actions{
    padding:14px 20px;
    display:flex;
    flex-direction:column;
    gap:10px;
    border-top:1px solid var(--bd);
}
.mm-actions .btn{
    width:100%;
    padding:11px;
    font-size:14px;
}
.mm-contact{
    padding:14px 20px 24px;
    border-top:1px solid var(--bd);
    font-size:12px;
    color:var(--t3);
    line-height:1.9;
}
.mm-contact-title{
    font-size:12px;
    font-weight:600;
    color:var(--t2);
    margin-bottom:6px;
}

/* ============================================================
   响应式
   ============================================================ */

/* 中屏：底部 4 列 + 二维码换行 */
@media (max-width:1100px){
    footer.footer .footer-grid{
        grid-template-columns:1.4fr 1fr 1.2fr 1.2fr;
        gap:26px;
    }
    footer.footer .f-qr{grid-column:1 / -1}
    footer.footer .f-qr-wrap{
        flex-direction:row;
        justify-content:flex-start;
    }
}

/* 移动端：汉堡导航 + 通用收缩 */
@media (max-width:860px){
    .top-inner{
        flex-wrap:nowrap;
        height:60px;
        gap:12px;
        padding:0 16px;
    }
    .top-inner .nav-links,
    .top-inner .top-actions{display:none !important}
    .nav-toggle{display:flex}

    .contact-strip-inner{
        gap:12px;
        font-size:11px;
        padding:6px 16px;
    }

    .main-wrap{padding:16px 16px 32px}

    .hero-slider{height:320px}
    .hs-inner{padding:0 20px}
    .hs-inner h1{font-size:22px}
    .hs-arrow{width:34px;height:34px;font-size:18px}
    .hs-prev{left:8px}
    .hs-next{right:8px}

    .intro-grid{grid-template-columns:1fr}
    .detail-panel{padding:20px}

    footer.footer .footer-grid{
        grid-template-columns:1fr 1fr;
        gap:24px;
        padding:28px 16px;
    }
    footer.footer .f-brand,
    footer.footer .f-qr{grid-column:1 / -1}
    footer.footer .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .chat-panel{
        width:calc(100vw - 32px);
        right:16px;
        bottom:84px;
    }
    .back-top{
        right:16px;
        bottom:84px;
    }
}

/* 超小屏 */
@media (max-width:520px){
    footer.footer .footer-grid{grid-template-columns:1fr}
    .article-title{min-width:0;font-size:14px}
    .hs-inner h1{font-size:20px}
    .hs-inner p{font-size:13px}
}

/* 桌面端兜底：隐藏移动菜单相关元素 */
@media (min-width:861px){
    .mobile-menu,
    .mobile-mask,
    .nav-toggle{display:none !important}
}