#root:has(> .site-view + footer.footer) {
    display: flex;
    flex-direction: column;
    min-block-size: 100vh;
    min-block-size: 100dvh;
}

#root > .site-view + footer.footer {
    margin-block-start: auto;
}

.home-page.pvp-home .home-shell {
    padding-block-end: clamp(18px, 3vw, 28px);
}

.footer .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 20px;
    padding-block-end: 8px;
}

.footer .footer-bottom > :first-child {
    grid-area: 1 / 1;
}

.footer .footer-bottom > :last-child {
    grid-area: 1 / 2;
}

.footer .footer-bottom > a[href="https://beian.miit.gov.cn/"] {
    grid-area: 2 / 1;
    justify-self: start;
    font-size: inherit !important;
    text-decoration: none !important;
}

.footer .footer-bottom > a[href="https://beian.miit.gov.cn/"]:is(:hover, :focus-visible) {
    color: color-mix(in srgb, currentColor 80%, white) !important;
}

html[data-theme="light"] .footer .footer-bottom > a[href="https://beian.miit.gov.cn/"]:is(:hover, :focus-visible) {
    color: color-mix(in srgb, currentColor 80%, #176294) !important;
}

@media (max-width: 700px) {
    .footer .footer-bottom {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer .footer-bottom > :last-child {
        grid-area: 2 / 1;
    }

    .footer .footer-bottom > a[href="https://beian.miit.gov.cn/"] {
        grid-area: 3 / 1;
    }
}
