/* ===== 未来魔方全局补丁 v1（2026-09-15）=====
   收敛自各页面重复内联块：弹窗组件/导航响应式/mb-tab/页脚/横向溢出修复
   由全站统一引入，页面级不再重复粘贴 ===== */

@media(max-width:1024px){.mobile-menu.active{height:calc(100vh - 70px)!important;height:calc(100dvh - 70px)!important;min-height:0!important}}

/* ===== 移动端底部导航（统一版）===== */
/* PC端默认隐藏 */
.mb-tab{display:none !important;}
/* 移动端(≤768px)显示 */
@media (max-width:768px){
  .mb-tab{display:flex !important;position:fixed;bottom:0;left:0;right:0;z-index:999;align-items:center;background:rgba(7,16,30,.94);backdrop-filter:blur(22px) saturate(170%);-webkit-backdrop-filter:blur(22px) saturate(170%);border-top:1px solid rgba(30,111,255,.18);padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -10px 36px rgba(4,10,20,.6)}
  .mb-tab::before{content:"";position:absolute;top:-1px;left:16%;right:16%;height:1px;background:linear-gradient(90deg,transparent,rgba(0,212,255,.55) 30%,rgba(30,111,255,.65) 70%,transparent);pointer-events:none}
  .mb-tab a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;color:#7a8ca6;text-decoration:none;padding:3px 0;border-radius:14px;position:relative;transition:color .22s ease,transform .16s ease;-webkit-tap-highlight-color:transparent}
  .mb-tab a svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:filter .22s ease,transform .22s ease}
  .mb-tab a:active{transform:scale(.9)}
  .mb-tab a.on{color:#00d4ff;font-weight:600}
  .mb-tab a.on svg{filter:drop-shadow(0 0 6px rgba(0,212,255,.55))}
  .mb-tab a.on::after{content:"";position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:22px;height:3px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#1e6fff,#00d4ff);box-shadow:0 0 10px rgba(0,212,255,.65)}
  body{padding-bottom:64px}
}

/* 修复导航栏响应式断点：1024px显示PC导航，768px以下显示移动端菜单 */
@media (max-width: 1024px) {
    .main-nav { display: flex !important; }
    .mobile-toggle { display: none !important; }
    .header-btn { display: flex !important; }
}
@media (max-width: 768px) {
    .main-nav { display: none !important; }
    .mobile-toggle { display: flex !important; }
    .header-btn { display: none !important; }
}

/* 修复移动端横向溢出 */
.site-footer .footer-grid .footer-col{min-width:0;overflow:hidden}
.site-footer .footer-grid .footer-col *{max-width:100%}
.site-footer .footer-brand .logo{max-width:100%;flex-wrap:wrap}
.site-footer .footer-brand .logo-text{max-width:100%;flex-wrap:wrap}
.site-footer .footer-brand .logo-name,.site-footer .footer-brand .logo-sub{max-width:100%;white-space:normal;word-break:break-word}

@media (max-width:768px){





}
.privacy-pop{position:fixed;inset:0;background:rgba(10,22,40,.55);z-index:1000;display:none;align-items:center;justify-content:center;padding:20px}
.privacy-pop.show{display:flex}
.privacy-pop .box{background:#fff;border-radius:16px;max-width:460px;padding:26px 24px;box-shadow:0 12px 40px rgba(0,0,0,.22);text-align:center}
.privacy-pop .box h3{font-size:17px;color:#0a1628;margin:0 0 10px}
.privacy-pop .box p{font-size:13px;color:#4a5568;line-height:1.7;margin:0 0 18px;text-align:left}
.privacy-pop .box button{background:#1b5e8f;color:#fff;border:0;border-radius:8px;padding:10px 32px;font-size:14px;cursor:pointer}

.human-pop{position:fixed;inset:0;background:rgba(10,22,40,.5);z-index:1002;display:none;align-items:center;justify-content:center;padding:20px}
.human-pop.show{display:flex}
.human-pop .box{background:#fff;border-radius:16px;max-width:420px;width:100%;padding:26px;box-shadow:0 12px 40px rgba(0,0,0,.2);position:relative}
.human-pop .box h3{font-size:17px;color:#0a1628;margin:0 0 16px}
.human-pop .x{position:absolute;right:14px;top:10px;border:0;background:none;font-size:22px;color:#8a94a6;cursor:pointer}
.human-pop .box input,.human-pop .box textarea{width:100%;padding:10px 12px;border:1px solid #d5dbe5;border-radius:8px;font-size:14px;box-sizing:border-box;margin-bottom:12px}
.human-pop .box textarea{min-height:80px}
.human-pop .box button{width:100%;padding:12px;background:#1b5e8f;color:#fff;border:0;border-radius:8px;font-size:15px;cursor:pointer}
.human-pop .msg{font-size:13px;text-align:center;margin-top:8px;display:none}
.human-pop .msg.ok{display:block;color:#15803d}
.human-pop .msg.err{display:block;color:#b91c1c}

/* ===== 移动端页脚重构 v2（仅影响移动端 ≤768px，PC 端不变）===== */
@media (max-width:768px){
.site-footer{padding-top:2.5rem}
.footer-inner{padding:0 1.25rem}
.footer-grid{gap:1.1rem;margin-bottom:1.75rem}
.footer-brand{text-align:center;padding:1.4rem 1.1rem;background:linear-gradient(145deg,rgba(30,111,255,.10),rgba(0,212,255,.04));border:1px solid rgba(30,111,255,.22);border-radius:16px;margin-bottom:.25rem}
.footer-brand .logo{justify-content:center;margin-bottom:.75rem}
.footer-brand p{font-size:.85rem;line-height:1.8}
.footer-col h3{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:.85rem .2rem;margin-bottom:0;font-size:.95rem;letter-spacing:.02em;user-select:none;-webkit-tap-highlight-color:transparent}
.footer-col h3::after{content:"";position:static;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #00d4ff;margin-left:auto;transform:rotate(0deg);transition:transform .25s ease;background:none}
.footer-col.collapsed h3::after{transform:rotate(180deg)}
.footer-col.collapsed a{display:none}
.footer-col a{display:block;font-size:.85rem;padding:.45rem .2rem}
.footer-col a:hover{padding-left:.2rem}
.footer-contact-item{margin-bottom:.55rem}
.footer-contact-icon{width:30px;height:30px;font-size:.9rem}
.footer-contact-text{font-size:.85rem}
.footer-bottom{padding:.9rem 0 1.25rem}
.footer-bottom p{font-size:.72rem;line-height:1.7;padding:0 .75rem}
.footer-links{gap:.9rem;margin-top:.45rem}
.footer-links a{font-size:.75rem}
.site-footer .nl-sub{padding:0 0 1.1rem!important;margin-bottom:1.25rem!important;flex-direction:column;align-items:stretch!important;gap:8px!important}
.site-footer .nl-sub input{width:100%;min-width:0!important;margin:0!important}
.site-footer .nl-sub button{width:100%;padding:.75rem 18px!important}
}


/* ===== \u7f51\u683c/\u5361\u7247\u5b50\u9879\u9632\u6ea2\u51fa\uff082026-09-15 \u8ffd\u52a0\uff09===== */
.grid > *, .card, .card *{min-width:0;max-width:100%}
.card p, .card .card-desc, .card h3, .card .card-title{overflow-wrap:break-word;word-break:break-word;white-space:normal}
.grid .card{min-width:0}

/* ===== \u5168\u5c40\u6a2a\u5411\u6ea2\u51fa\u515c\u5e95\uff082026-09-15 \u8ffd\u52a0\uff09===== */
html, body{overflow-x:hidden!important;max-width:100%}
