#finpro-footer {
    --pf-bg:#fff;
    --pf-line:#e6e8ec;
    --pf-text:#1f2937;
    --pf-muted:#6b7280;
    --pf-sub:#9ca3af;
    --pf-accent:#5b21b6;
    --pf-gutter:max(16px,min(3.6vw,48px));
    background:var(--pf-bg);
    border-top:1px solid var(--pf-line);
    color:var(--pf-text);
    flex-shrink:0;
    font-size:14px;
    margin-top:auto;
    overflow-x:clip;
    position:relative;
    width:100%;
}
#finpro-footer *,#finpro-footer *::before,#finpro-footer *::after{
    box-sizing:border-box;
}
#finpro-footer a{text-decoration:none;color:inherit;}
#finpro-footer img{display:block;border:0;max-width:100%;}
#finpro-footer ul,#finpro-footer ol,#finpro-footer li{
    margin:0;padding:0;list-style:none;
}
#finpro-footer button{font:inherit;background:none;border:0;color:inherit;}

/* 容器最大宽度1600px */
#finpro-footer .portal-footer__container{
    max-width:1600px;
    margin:0 auto;
    padding:0 var(--pf-gutter);
    width:100%;
}

/*顶部服务亮点【4等分，压缩上下padding】*/
#finpro-footer .portal-footer__highlights{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px 24px;
    padding:20px 0 16px;
}
#finpro-footer .portal-footer__highlight{
    display:flex;
    gap:12px;
    align-items:flex-start;
}
#finpro-footer .portal-footer__highlight-icon{
    width:40px;height:40px;
    flex:0 0 40px;
}
#finpro-footer .portal-footer__highlight-title{
    font-size:14px;
    font-weight:600;
    margin-bottom:4px;
    color:var(--pf-text);
}
#finpro-footer .portal-footer__highlight-desc{
    font-size:12px;
    color:var(--pf-muted);
}

#finpro-footer .portal-footer__divider{
    height:1px;
    background:var(--pf-line);
    margin:24px 0;
}

/*五列主体网格 */
#finpro-footer .portal-footer__main{
    padding:20px 0 8px;
}
#finpro-footer .portal-footer__cols{
    display:grid !important;
    grid-template-columns:repeat(5, minmax(0,1fr)) !important;
    gap:28px 20px !important;
    align-items:start !important;
    width:100%;
}
#finpro-footer .portal-footer__col{
    width:100%;
    min-width:0;
}
#finpro-footer .portal-footer__col-title{
    font-size:14px;
    font-weight:600;
    margin:0 0 12px 0;
}
#finpro-footer .portal-footer__links{
    display:flex;
    flex-direction:column;
    gap:8px;
}
#finpro-footer .portal-footer__link{
    font-size:13px;
    color:var(--pf-muted);
    transition:color .2s;
}
#finpro-footer .portal-footer__link:hover{
    color:var(--pf-accent);
}

/*二维码模块，修复图片下沉 */
#finpro-footer .portal-footer__contact-qrs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:12px;
}
#finpro-footer .portal-footer__contact-qr{
    width:72px;
    height:72px;
    border:1px solid var(--pf-line);
    overflow:hidden;
}
#finpro-footer .portal-footer__contact-qr-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block !important;
    vertical-align:top;
}
#finpro-footer .portal-footer__contact-hotline{
    font-size:12px;
    color:var(--pf-muted);
    margin-bottom:12px;
}
#finpro-footer .portal-footer__contact-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 18px;
    background:var(--pf-accent);
    color:#fff;
    border-radius:4px;
    font-size:13px;
    font-weight:500;
    text-decoration:none;
}

/* ==========底部信息区：备案｜友情链接｜快速导航 压缩高度========== */
#finpro-footer .portal-footer__bottom-info{
    padding:12px 0;
    border-top:1px solid var(--pf-line);
    border-bottom:1px solid var(--pf-line);
}
#finpro-footer .portal-footer__bottom-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 14px;
    padding:4px 0;
    width:100%;
}
#finpro-footer .portal-footer__bottom-label{
    font-size:12px;
    font-weight:700;
    color:#4b5563;
    flex:0 0 auto;
}
#finpro-footer .portal-footer__link-list{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:0;
    flex:1;
    min-width:0;
}
#finpro-footer .portal-footer__bottom-link{
    font-size:12px;
    color:var(--pf-muted);
    text-decoration:none;
    max-width:200px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
#finpro-footer .portal-footer__bottom-link:hover{
    color:var(--pf-accent);
}
#finpro-footer .portal-footer__link-sep{
    font-size:12px;
    color:#cfd4dc;
    margin:0 10px;
    user-select:none;
    flex:0 0 auto;
}

/*仅友情链接行上面一条虚线，快速导航取消上边框 */
#finpro-footer .portal-footer__friendlink-row{
    border-top:1px dashed #eee;
    margin-top:4px;
    padding-top:8px;
}
#finpro-footer .portal-footer__quicknav-row{
    margin-top:4px;
    padding-top:4px;
    border:none;
}

/*备案 */
#finpro-footer .filing-itme{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    color:var(--pf-muted);
    text-decoration:none;
    max-width:320px;
    white-space:normal;
    flex-shrink:1;
}
#finpro-footer .filing-icon{
    width:16px;height:16px;
    object-fit:contain;
    flex:0 0 16px;
}
#finpro-footer .filing-title{
    font-size:12px;
    color:var(--pf-muted);
}

/* ==========版权核心布局｜左右两端对齐，中间自动留白========== */
#finpro-footer .portal-footer__base {
    padding:14px 0 18px;
    border-top:1px solid var(--pf-line);
}
#finpro-footer .portal-footer__base-inner{
    display:flex !important;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    width:100%;
}
#finpro-footer .portal-footer__copyright-left{
    flex:0 0 auto;
}
#finpro-footer .portal-footer__copyright-right{
    flex:0 0 auto;
}
#finpro-footer .portal-footer__copyright-text {
    font-size:12px;
    color:var(--pf-muted);
    white-space:nowrap;
}
#finpro-footer .portal-footer__legal-inline {
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:0;
}
#finpro-footer .portal-footer__legal-inline-link {
    font-size:12px;
    color:var(--pf-muted);
    text-decoration:none;
    white-space:nowrap;
}
#finpro-footer .portal-footer__legal-inline-link:hover {
    color:var(--pf-accent);
}
#finpro-footer .portal-footer__legal-sep {
    font-size:12px;
    color:#c4c9d2;
    margin:0 8px;
    user-select:none;
    flex:0 0 auto;
}
#finpro-footer .portal-footer__locale-icon {
    font-size:12px;
    color:var(--pf-muted);
    margin:0 8px;
}
#finpro-footer .portal-footer__locale-text {
    font-size:12px;
    color:var(--pf-muted);
    white-space:nowrap;
}

/*PC隐藏移动端按钮 */
.portal-footer__acc-trigger-mobile{
    display:none;
}
.portal-footer__acc-panel--collapsed{
    display:none !important;
}

/*移动端720px：垂直堆叠，左对齐 */
@media (max-width:720px){
    #finpro-footer .portal-footer__highlights{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #finpro-footer .portal-footer__cols{
        grid-template-columns:1fr !important;
    }
    .portal-footer__title-desktop{
        display:none !important;
    }
    .portal-footer__acc-trigger-mobile{
        display:flex !important;
        width:100%;
        justify-content:space-between;
        align-items:center;
        background:transparent;
        border:none;
        padding:12px 0;
        font-size:14px;
        font-weight:600;
    }
    #finpro-footer .portal-footer__base-inner{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }
    #finpro-footer .portal-footer__legal-inline{
        flex-wrap:wrap;
        justify-content:flex-start;
    }
    #finpro-footer .filing-itme{
        max-width:100%;
    }
}
