.footer-box {
    width: 100%;
    overflow: hidden;
    background-color: #0B0914;
}

.footer-outer {
    width: 100%;
    padding: 36px max(40px, calc((100% - 1700px) / 2));
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
}

.footer-top {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.footer-brand-col {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.footer-logo {
    display: block;
    width: 133px;
    height: 48px;
    object-fit: contain;
}

.footer-contact {
    display: inline-flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
}

.footer-contact-line {
    color: rgba(255, 255, 255, 0.55);
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
    text-decoration: none;
}

a.footer-contact-line:hover {
    color: #F160B1;
}

.footer-links {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.90);
    font-family: PingFang SC, sans-serif;
    font-size: calc(16px + var(--pc-font-boost, 0px));
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #F160B1;
}

.footer-links a + a {
    position: relative;
    margin-left: 30px;
}

.footer-links a + a::before {
    position: absolute;
    top: 50%;
    left: -15px;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.20);
    content: "";
    transform: translateY(-50%);
}

.footer-divider {
    align-self: stretch;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.55);
    font-family: PingFang SC, sans-serif;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-social:not(:has(.footer-icons)) {
    display: none;
}

.footer-social-label {
    display: none;
}

.footer-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.footer-icon-link {
    width: 38px;
    height: 38px;
    padding: 9px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 19px;
    line-height: 0;
    text-decoration: none;
}

.footer-icon-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer-icon-outer {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-to-top {
    display: none;
}

.footer-icon-divider {
    display: none;
}

@media (max-width: 767px) {
    .footer-box {
        padding: 0 16px 24px;
        box-sizing: border-box;
        background-color: transparent;
    }

    .footer-outer {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        align-items: center;
        gap: 18px;
        background: rgba(255, 255, 255, 0.10);
        border-radius: 18px;
        outline: 1px solid rgba(255, 255, 255, 0.10);
        outline-offset: -1px;
        border: none;
        box-sizing: border-box;
    }

    .footer-top,
    .footer-bottom {
        display: contents;
    }

    .footer-brand-col {
        order: 1;
        width: 100%;
        align-items: center;
        gap: 18px;
    }

    .footer-logo {
        width: 68px;
        height: 24px;
        flex-shrink: 0;
    }

    .footer-contact {
        display: flex;
        align-self: stretch;
        overflow: hidden;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .footer-contact-line {
        color: rgba(255, 255, 255, 0.55);
        font-size: calc(12px + var(--pc-font-boost, 0px));
        line-height: 18px;
        text-align: center;
        word-wrap: break-word;
    }

    .footer-links {
        order: 2;
        width: 241px;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0;
        white-space: normal;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.90);
        font-size: calc(12px + var(--pc-font-boost, 0px));
        line-height: 18px;
    }

    .footer-links a + a {
        margin-left: 0;
        position: relative;
        padding-left: 13px;
    }

    .footer-links a + a::before {
        left: 0;
        width: 1px;
        height: 12px;
        background: rgba(255, 255, 255, 0.10);
    }

    .footer-divider {
        order: 3;
        display: block;
        width: 100%;
        max-width: 303px;
        align-self: center;
        height: 1px;
        background: rgba(255, 255, 255, 0.10);
    }

    .footer-copy {
        order: 4;
        align-self: stretch;
        width: 100%;
        text-align: center;
        color: rgba(255, 255, 255, 0.55);
        font-size: calc(12px + var(--pc-font-boost, 0px));
        line-height: 18px;
        word-wrap: break-word;
    }

    .footer-social {
        order: 5;
        display: inline-flex;
        align-self: stretch;
        width: 100%;
        height: 38px;
        overflow: hidden;
        justify-content: space-between;
        align-items: center;
        padding-top: 0;
        border-top: none;
        box-sizing: border-box;
    }

    .footer-social:not(:has(.footer-icons)) {
        display: inline-flex;
        justify-content: flex-end;
    }

    .footer-social-label {
        display: none;
    }

    .footer-icons {
        width: auto;
        justify-content: flex-start;
        align-items: center;
        gap: 16px;
    }

    .footer-icon-link {
        width: 38px;
        height: 38px;
        padding: 9px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.10);
        border-radius: 19px;
        box-sizing: border-box;
    }

    .footer-icon-link .footer-icon-outer {
        width: 20px;
        height: 20px;
    }

    .footer-to-top {
        display: inline-flex;
        width: 36px;
        height: 36px;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 999px;
        outline: 1px solid rgba(255, 255, 255, 0.05);
        outline-offset: -1px;
        background: rgba(255, 255, 255, 0.10);
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-to-top img {
        display: block;
        width: 12px;
        height: 12px;
        object-fit: contain;
    }
}
