body.theme-white.theme-sunset #foot-menu {
    background: #F8F1E4;
}
.foot-menu {
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    padding: 2.5rem 0;
    border: 1px solid #30323D;
    border-left: none;
    border-right: none;
}

#foot-menu * {
    -webkit-font-smoothing: auto;
}

/* 2610产品端复盘优化：调整 .foot-menu a 相关样式。 */
.foot-menu a {
    display: flex;
    flex-direction: column;
    color: rgba(0,0,0,0.9);
    align-items: center;
    width: auto !important;
}
#foot-menu h3.footer-link {
    font-weight: normal;
}
.foot-menu i {
    font-size: 1.6rem;
}
.foot-menu img {
    max-width: 2.125rem;
}
body.theme-dark .foot-menu img.mode-dark {
    display: block;
}
body.theme-dark .foot-menu img.mode-white {
    display: none;
}
body.theme-white .foot-menu img.mode-dark,body.theme-sunset .foot-menu img.mode-dark {
    display: none;
}
body.theme-white .foot-menu img.mode-white,body.theme-sunset .foot-menu img.mode-white {
    display: block;
}

body.theme-dark .contact-link img.mode-dark {
    display: block;
}
body.theme-dark .contact-link img.mode-white {
    display: none;
}
body.theme-white .contact-link img.mode-dark,body.theme-sunset .contact-link img.mode-dark {
    display: none;
}
body.theme-white .contact-link img.mode-white,body.theme-sunset .contact-link img.mode-white {
    display: block;
}

.foot-menu span {
    margin-top: .75rem;
    font-size: .9rem;
}
.footer-desc {
    margin-top: 1.5rem;
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: .5rem 0;
}
.footer-desc b {
    color: rgba(0,0,0,0.9);
    font-size: 1rem;
}
.footer-desc p {
    color: rgba(0,0,0,.7);
    font-size: .9rem;
    padding: 1rem 0;
    line-height: normal;
}
.footer-link {
    display: flex;
    flex-direction: column;
}
.footer-link a {
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(204, 204, 204);
}
.footer-link span {
    color: rgba(0,0,0,.5);
}
.contact-link {
    padding: 1rem 0 2.5rem;
    border-bottom: 1px solid rgb(204, 204, 204);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link img {
    max-width: 2rem;
    margin: 0 1rem;
}

.contact-link i {
    font-size: 1.6rem;
    margin: 0 1rem;
}

/* 2610产品端复盘优化：调整 .contact-link .contact-label 相关样式。 */
.contact-link .contact-label {
    display: none;
}

.line-container {
    width: 100%;
    height: 1px;
    background-color: #aca4a4;
    margin: 2rem 0;
}

body.theme-dark .line-container {
    background-color: #444444;
}

body.theme-dark .foot-menu a {
    color: #fff;
}
body.theme-dark .footer-desc b {
    color: #fff;
}
body.theme-dark .footer-desc p {
    color: rgba(255,255,255,.7);
}
body.theme-dark .footer-link span {
    color: rgba(255,255,255,.5);
}
body.theme-dark .footer-link a {
    border-bottom: 1px solid rgb(68, 68, 68);
}
body.theme-dark .footer-desc {
    border-bottom: 1px solid rgb(68, 68, 68);
}
body.theme-dark .contact-link {
    border-bottom: 1px solid rgb(68, 68, 68);
}

@media(max-width: 767px) {
    .footer-desc b {
        font-size: 1.2rem
    }
    .foot-menu img {
        max-width: 1.5rem;
    }
    .footer-desc p {
        padding: .5rem 0;
    }
    .contact-link img {
        max-width: 2.25rem;
    }
    .contact-link i {
        margin: 0 .8rem;
    }
}

/* 站点介绍独立分段，移动端继续使用纵向地址布局。 */
/* 2610产品端复盘优化：调整 #foot-menu .footer-desc--design p 相关样式。 */
#foot-menu .footer-desc--design p {
    margin: 0;
    padding: 0;
}

/* 2610产品端复盘优化：调整 #foot-menu .footer-desc--design .footer-desc-intro 相关样式。 */
#foot-menu .footer-desc--design .footer-desc-intro {
    padding-top: 0.5rem;
}

/* 2610产品端复盘优化：调整 #foot-menu .footer-desc--design .footer-desc-browser 相关样式。 */
#foot-menu .footer-desc--design .footer-desc-browser {
    padding-bottom: 0.5rem;
}

/* 2610产品端复盘优化：调整 @media (min-width: 768px) 相关样式。 */
@media (min-width: 768px) {
    /* 分割线上下统一留白 40px，移除横幅底部留白和旧分隔占位的叠加。 */
    #foot-menu {
        padding-top: 2.5rem;
    }

    #foot-menu > .line-container {
        display: none;
    }

    body .horizontal-block {
        padding-bottom: 0;
    }

    .horizontal-block > a:last-of-type {
        margin-bottom: 0;
    }

    .horizontal-block a img {
        display: block;
    }

    /* 桌面栏目横向等分，复用现有节点；其余页脚区块仍占满整行。 */
    #foot-menu > .container:not(.line-container) {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    #foot-menu > .container > .foot-menu,
    #foot-menu > .container > .footer-desc,
    #foot-menu > .container > .contact-link {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }

    #foot-menu .footer-link {
        min-width: 0;
        margin: 1.75rem 0 0;
        padding: 0 0 1.75rem;
        border-bottom: 1px solid #ccc;
    }

    #foot-menu .footer-link a {
        padding: 1rem 0;
        border-bottom: 0;
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1.5714285714;
        white-space: nowrap;
    }

    body.theme-dark #foot-menu .footer-link {
        border-bottom-color: #30323D;
    }

    body.theme-dark #foot-menu .footer-link span {
        color: #B1B4BF;
    }

    #foot-menu .contact-link {
        gap: 2.5rem;
        padding: 1.75rem 0;
    }

    body.theme-dark #foot-menu .contact-link {
        border-bottom-color: #30323D;
    }

    #foot-menu .contact-link > a {
        display: flex;
        flex: 0 1 5rem;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
        width: 5rem;
        text-align: center;
        background-color: transparent !important;
    }

    #foot-menu .contact-link img {
        width: 2.5rem;
        height: 2.5rem;
        max-width: 2.5rem;
        margin: 0;
        object-fit: contain;
    }

    #foot-menu .contact-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.6666666667;
        white-space: nowrap;
    }

    body.theme-dark #foot-menu .contact-label {
        color: #fff;
    }

    body.theme-dark #foot-menu:has(.footer-desc--design) {
        background-color: #191A22;
    }

    #foot-menu .footer-desc--design {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 0 1.5rem;
        border-bottom-color: #30323D;
    }

    #foot-menu .footer-desc--design .footer-desc-title {
        display: block;
        color: #fff;
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.2;
    }

    #foot-menu .footer-desc--design .footer-desc-intro {
        padding-top: 0;
    }

    #foot-menu .footer-desc--design .footer-desc-intro p {
        color: #C0BFBF;
        font-size: 1.125rem;
        line-height: 1.3333333333;
    }

    #foot-menu .footer-desc--design .footer-desc-addresses {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1.75rem;
    }

    #foot-menu .footer-desc--design .footer-desc-addresses p {
        font-size: 1.125rem;
        line-height: 1.2222222222;
        white-space: nowrap;
    }

    #foot-menu .footer-desc--design .footer-desc-address-label {
        color: #9297A5;
    }

    #foot-menu .footer-desc--design .footer-desc-addresses a {
        color: var(--global-theme-color);
    }

    #foot-menu .footer-desc--design .footer-desc-browser {
        padding-bottom: 0;
        color: #9297A5;
        font-size: 1.125rem;
        line-height: 1.1111111111;
    }

    #foot-menu + #footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1.75rem 1rem;
        font-family: inherit;
        font-size: 0.875rem;
        line-height: 1.4285714286;
    }

    body.theme-dark #foot-menu + #footer {
        color: #9297A5;
        background-color: #191A22;
    }

    #foot-menu + #footer .protocol {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        margin: 0;
        padding: 0;
    }

    #foot-menu + #footer .protocol > a {
        color: inherit;
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1.4285714286;
    }

    #foot-menu + #footer .protocol > a:empty {
        display: none;
    }

    #foot-menu + #footer > .container {
        margin-top: 0;
        padding: 0;
    }

    #foot-menu + #footer .container p {
        margin: 0;
        color: inherit;
        font-size: 0.875rem;
        /* 覆盖模板内联的 1.2rem 行高，仅对桌面版权区生效。 */
        line-height: 1.4285714286 !important;
        letter-spacing: 0.075rem;
        text-shadow: none;
    }

    #foot-menu + #footer .container p a {
        color: var(--global-theme-color);
    }
}

/* 共用 H5 页脚：沿用最新首页优化样式，所有 footer-part 页面保持一致。 */
/* 2610产品端复盘优化：调整 @media (max-width: 767.98px) 相关样式。 */
@media (max-width: 767.98px) {
    body.theme-dark #foot-menu,
    body.theme-dark #foot-menu + #footer {
        background-color: #191A22 !important;
    }

    /* 保留原分隔元素，清除旧通用 .line-container 的大块内边距。 */
    body #foot-menu > .line-container {
        box-sizing: content-box;
        width: calc(100% - 2rem);
        height: 0;
        margin: 1rem auto;
        padding: 0 !important;
        border: 0;
        border-top: 1px solid #30323D;
    }

    body #foot-menu > .container:not(.line-container) {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    body #foot-menu .foot-menu {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 1rem 0;
    }

    body #foot-menu .foot-menu a {
        min-width: 0;
        color: #F2F3F5;
    }

    body #foot-menu .foot-menu img {
        max-width: 1.25rem;
    }

    body #foot-menu .foot-menu span {
        margin-top: 0.375rem;
        max-width: 100%;
        overflow-wrap: anywhere;
        text-align: center;
        font-size: 0.75rem;
        font-weight: 500;
        line-height:1.5;
    }

    body #foot-menu .footer-desc--design {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0 0 1rem;
        border-bottom: 1px solid #30323D;
    }

    body #foot-menu .footer-desc--design .footer-desc-title {
        display: block;
        color: #fff;
        font-size: 1.25rem;
        font-weight: 500;
        line-height:1.25;
    }

    body #foot-menu .footer-desc--design .footer-desc-intro {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
    }

    body #foot-menu .footer-desc--design p {
        margin: 0;
        padding: 0;
        color: #B1B4BF;
        font-size: 0.875rem;
        font-weight: 400;
        line-height:1.428571429;
    }

    body #foot-menu .footer-desc--design .footer-desc-addresses {
        display: block;
    }

    body #foot-menu .footer-desc-addresses p {
        line-height: 1.1875rem;
    }

    body #foot-menu .footer-desc-addresses p + p {
        margin-top: 0.5rem;
    }

    body #foot-menu .footer-desc-address-label {
        color: #B1B4BF;
    }

    body #foot-menu .footer-desc-addresses a {
        color: var(--global-theme-color);
    }

    body #foot-menu .footer-desc--design .footer-desc-browser {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.875rem;
        line-height:1.428571429;
    }

    body #foot-menu .footer-link {
        margin: 0;
        padding: 0;
    }

    body #foot-menu .footer-link a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #30323D;
    }

    body #foot-menu .footer-link span {
        color: #B1B4BF;
        font-size: 0.875rem;
        font-weight: 400;
        line-height:1.428571429;
    }

    body #foot-menu .contact-link {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid #30323D;
        color: #fff;
    }

    body #foot-menu .contact-link a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.375rem;
        min-width: 0;
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        color: #fff;
    }

    body #foot-menu .contact-link img {
        width: 1.9375rem;
        height: 1.9375rem;
        max-width: 1.9375rem;
        margin: 0;
        border-radius: 50%;
        background-color: #30323D;
        object-fit: contain;
    }

    body #foot-menu .contact-link .contact-label {
        display: block;
        color: #fff;
        font-size: 0.6875rem;
        font-weight: 400;
        line-height:1.454545455;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    body #foot-menu + #footer,
    body.theme-dark.dark-mode #foot-menu + #footer {
        padding: 1rem;
        color: #9297A5;
        font-size: 0.625rem;
        line-height:1.4;
        text-shadow: none;
    }

    body #foot-menu + #footer .protocol {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.25rem 0.625rem;
        margin: 0;
        padding: 0;
    }

    body #foot-menu + #footer .protocol a {
        color: #9297A5;
        font-size: 0.6875rem;
        font-weight: 400;
        line-height:1.545454545;
    }

    body #foot-menu + #footer .container {
        margin-top: 0.5rem;
        padding: 0;
    }

    body #foot-menu + #footer .container p {
        margin: 0;
        color: #9297A5;
        font-size: 0.625rem;
        line-height:1.4 !important;
        letter-spacing: 0.01875rem;
        text-shadow: none;
    }
}
