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

.footer-muted-text {
    color: #A3A3A3;
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}

.footer-outer {
    align-self: stretch;
    width: 100%;
    max-width: 1554px;
    padding: 36px 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    display: flex;
    box-sizing: border-box;
    margin: 0 auto;
}

.footer-brand {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    display: inline-flex;
}

.footer-brand-lockup {
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: inline-flex;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-logo {
    width: auto;
    height: 36px;
    display: block;
}

.footer-icon-link--h5 {
    display: none;
}

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

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

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

.footer-contact {
    display: none;
}

.footer-contact-line {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #A3A3A3;
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
    text-decoration: none;
}

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

.footer-icon-link {
    display: block;
    line-height: 0;
    width: 24px;
    height: 24px;
}

.footer-contact-sep {
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.20);
}

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

.footer-icon-outer {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
    display: block;
    object-fit: contain;
}

.footer-icon-divider {
    width: 1px;
    height: 15px;
    background: white;
}

.footer-copy {
    color: #A3A3A3;
    font-size: 12px;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}

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

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

.h5-tabbar {
    display: none;
}

@media (max-width: 1200px) {
    .footer-outer {
        padding-left: 48px;
        padding-right: 48px;
    }
}

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

    .footer-outer {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.05);
        overflow: hidden;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-row {
        display: contents;
    }

    .footer-brand {
        gap: 4px;
        order: 1;
        width: 100%;
    }

    .footer-brand-lockup {
        gap: 4px;
    }

    .footer-logo {
        width: auto;
        height: 32px;
        display: block;
        flex-shrink: 0;
    }

    .footer-brand .footer-muted-text {
        display: none;
    }

    .footer-copy {
        order: 2;
        color: white;
        font-size: 12px;
        line-height: 18px;
    }

    .footer-links {
        order: 3;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        white-space: normal;
        gap: 12px;
        width: 100%;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.60);
        font-size: 12px;
        line-height: 18px;
    }

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

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

    .footer-contact {
        display: none;
    }

    .footer-social {
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        box-sizing: border-box;
    }

    .footer-social-label {
        display: block;
        color: white;
        font-size: 14px;
        font-family: PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 20px;
    }

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

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

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

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

    body.has-h5-tabbar .h5-tabbar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        width: 100%;
        padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
        background: #101010;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .h5-tabbar-item {
        flex: 1 1 0;
        padding: 2px 16px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
        display: flex;
        text-decoration: none;
        color: #808080;
        font-size: 12px;
        font-family: PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        text-align: center;
    }

    .h5-tabbar-icon {
        width: 24px;
        height: 24px;
        display: block;
        object-fit: contain;
    }

    .h5-tabbar-item.is-active {
        color: #FADC44;
    }

    body.has-h5-tabbar {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}
