/* 全站页脚 v70：通栏浅灰底 + 居中内容容器；横向三栏（品牌 / 链接 / 联系）+ 底栏。配合 footer.py */
.app{overflow-x:clip}
footer.sf{display:block;position:relative;box-sizing:border-box!important;align-self:stretch!important;width:auto!important;max-width:none!important;
 margin:auto calc(50% - 50vw) 0!important;padding:0;border:0;border-radius:0!important;box-shadow:none!important;
 background:#F5F6F8;border-top:1px solid rgba(60,60,67,.12);color:#1D1D1F;font-size:14px;line-height:20px}
.app>:has(+footer.sf){margin-bottom:32px}
.sf-in{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:32px var(--edge,16px) 0}
.sf-main{display:grid;grid-template-columns:1fr;gap:28px}
.sf-brand{display:flex;align-items:flex-start;gap:12px}
.sf-logo{flex:none;width:40px;height:40px;border-radius:10px;box-shadow:0 0 0 .5px rgba(0,0,0,.08)}
.sf-bt{display:flex;flex-direction:column;gap:2px;min-width:0}
.sf-bt b{font-size:17px;line-height:22px;font-weight:700;color:#1D1D1F}
.sf-bt span{font-size:14px;line-height:20px;color:#3C3C43}
.sf-bt small{margin-top:6px;font-size:12px;line-height:18px;color:#6C6C70;max-width:320px}
.sf-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.sf-h{margin:0 0 10px;font-size:13px;line-height:18px;font-weight:600;color:#1D1D1F;letter-spacing:.2px}
.sf-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.sf-a{display:inline-flex;align-items:center;min-height:24px;color:#3C3C43;text-decoration:none;border-radius:6px;transition:color .15s}
@media (hover:hover) and (pointer:fine){.sf-a:hover{color:#0066CC;text-decoration:underline;text-underline-offset:3px}}
.sf-a:focus-visible{outline:2px solid #0071E3;outline-offset:2px}
.sf-ct li{display:flex;gap:12px;align-items:baseline;min-height:24px}
.sf-k{flex:none;width:44px;color:#6C6C70;font-size:13px}
.sf-cv{color:#3C3C43}
.sf-bar{display:flex;flex-direction:column;gap:4px;margin-top:28px;padding:16px 0 20px;border-top:1px solid rgba(60,60,67,.12);font-size:12px;line-height:18px;color:#6C6C70}
.sf-v{font-variant-numeric:tabular-nums}
/* 手机：页脚底色延伸到底部 tab 栏后面，替代空白占位 */
@media (max-width:1023.98px){
 footer.sf{padding-bottom:88px}
 .sf~div.sp{height:0!important}
}
@media (min-width:768px){
 .sf-in{padding:40px var(--edge) 0}
 .sf-main{grid-template-columns:minmax(0,1.2fr) minmax(0,1.6fr) minmax(0,1fr);gap:32px}
 .sf-bar{flex-direction:row;justify-content:space-between;align-items:center}
}
@media (min-width:1024px){
 .sf-in{padding:48px var(--edge) 0}
 .sf-main{grid-template-columns:minmax(260px,1.3fr) minmax(0,1.5fr) minmax(220px,1fr);gap:48px}
 .sf-cols{gap:48px}
 .sf-bar{margin-top:40px;padding:20px 0 24px}
}
/* 通用提示（js/footer.js、nav.js?v=11190140 使用） */
.sf-toast{position:fixed;left:50%;bottom:calc(108px + env(safe-area-inset-bottom));transform:translate(-50%,12px);opacity:0;pointer-events:none;z-index:30;padding:10px 16px;border-radius:980px;background:rgba(29,29,31,.92);color:#fff;font-size:14px;line-height:20px;transition:opacity 200ms,transform 320ms var(--spring,ease)}
.sf-toast.on{opacity:1;transform:translate(-50%,0)}
@media (min-width:1024px){.sf-toast{bottom:40px}}
.note-b{margin-left:4px;vertical-align:middle}
@media (max-width:767.98px){
 .s-note{text-align:center;text-wrap:balance}
 .s-note .note-b{display:flex!important;margin:8px auto 0!important;width:max-content!important}
}

/* v75 页脚对齐：电脑端统一 4 列网格（品牌 | 常用入口 | 帮助与合作 | 联系我们）；减少上下留白；说明文字不落单字 */
/* v129 电脑端品牌块恢复 v86：logo 左、文案右左对齐，三行与 logo 垂直居中，避免「塞百通」与说明小字横轴错位 */
/* v143 品牌三行金字塔：约束标语折行宽度，避免说明行换行后比标语还窄 */
.sf-bt span{display:inline-block;max-width:9.5em;text-wrap:balance;text-align:inherit}
.sf-bt small{text-wrap:pretty;display:inline-block;max-width:min(100%,20em);text-align:inherit}
@media (min-width:360px){
 .sf-bt small{white-space:nowrap;max-width:none}
}
@media (max-width:359.98px){
 .sf-bt small{white-space:normal;text-wrap:balance}
}
@media (min-width:1024px){
 .sf-in{padding-top:32px!important}
 .sf-main{grid-template-columns:minmax(300px,1.5fr) repeat(3,minmax(0,1fr))!important;column-gap:48px!important;align-items:start}
 .sf-cols{display:contents!important}
 .sf-brand{flex-direction:row!important;align-items:center!important;align-self:center!important;gap:12px!important;text-align:left}
 .sf-logo{width:48px;height:48px;margin-top:0;border-radius:12px}
 .sf-bt{align-items:flex-start!important;width:auto;max-width:320px;gap:2px}
 .sf-bt b,.sf-bt span{width:auto;text-align:left}
 .sf-bt b{font-size:15px;line-height:18px}
 .sf-bt span{font-size:13px;line-height:20px}
 .sf-bt small{margin-top:6px;max-width:320px;width:auto;align-self:auto;text-align:left}
 .sf-bar{margin-top:24px!important;padding:16px 0 20px!important}
}

/* v80 法律链接行：电脑端隐藏（桌面页脚保持 v79 四列）；手机端由下方 max-width 规则显示 */
.sf-legal{display:none}
@media (min-width:1024px){
 .sf-legal{display:none!important}
}
/* v80 手机/平板页脚（<1024）：去掉常用入口等分栏，品牌纵向居中，法律链接与版权居中 */
@media (max-width:1023.98px){
 .sf-cols,.sf-ct{display:none!important}
 .sf-main{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;align-items:center!important;gap:16px!important}
 .sf-brand{flex-direction:column!important;align-items:center!important;align-self:center!important;gap:8px!important;text-align:center}
 .sf-logo{width:48px!important;height:48px!important;margin-top:0!important;border-radius:12px!important}
 .sf-bt{align-items:center!important;text-align:center;gap:4px!important}
 .sf-bt b{font-size:16px!important;line-height:20px!important}
 .sf-bt span{font-size:13px!important;line-height:18px!important}
 .sf-bt small{margin-top:4px!important;max-width:20em;text-align:center}
 .sf-legal{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 2px;padding:4px 8px 0;text-align:center}
 .sf-legal-a{color:#3C3C43;text-decoration:none;font-size:13px;line-height:20px;padding:4px 6px;border-radius:6px}
 @media (hover:hover) and (pointer:fine){.sf-legal-a:hover{color:#0066CC;text-decoration:underline;text-underline-offset:3px}}
 .sf-legal-a:focus-visible{outline:2px solid #0071E3;outline-offset:2px}
 .sf-legal-a + .sf-legal-a::before{content:"·";margin-right:8px;color:#C7C7CC;pointer-events:none}
 .sf-bar{flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center;gap:4px!important;margin-top:16px!important;padding:16px 0 20px!important}
 .sf-c,.sf-v{text-align:center}
}
/*dark:auto 由 theme.py 生成，勿手改*/
:where(html[data-theme=dark]) footer.sf{background-color:#0F141B;border-top:1px solid rgba(255,255,255,0.12);color:#E6EAF0}
:where(html[data-theme=dark]) .sf-bt b{color:#E6EAF0}
:where(html[data-theme=dark]) .sf-bt span{color:#E6EAF0}
:where(html[data-theme=dark]) .sf-bt small{color:#B4BCC8}
:where(html[data-theme=dark]) .sf-h{color:#E6EAF0}
:where(html[data-theme=dark]) .sf-a{color:#E6EAF0}
@media (hover:hover) and (pointer:fine){:where(html[data-theme=dark]) .sf-a:hover{color:#7BB8F4}}
:where(html[data-theme=dark]) .sf-a:focus-visible{outline:2px solid #7BB7F4}
:where(html[data-theme=dark]) .sf-k{color:#B4BCC8}
:where(html[data-theme=dark]) .sf-cv{color:#E6EAF0}
:where(html[data-theme=dark]) .sf-bar{border-top:1px solid rgba(255,255,255,0.12);color:#B4BCC8}
@media (max-width:1023.98px){:where(html[data-theme=dark]) .sf-legal-a{color:#E6EAF0}@media (hover:hover) and (pointer:fine){:where(html[data-theme=dark]) .sf-legal-a:hover{color:#7BB8F4}}:where(html[data-theme=dark]) .sf-legal-a:focus-visible{outline:2px solid #7BB7F4}:where(html[data-theme=dark]) .sf-legal-a + .sf-legal-a::before{color:#5C6673}}
/*/dark:auto*/
