.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 50px;
    margin: 0;
    display: flex;
}

body {
    padding-top: 90px;
}

.box-top {
    width: 100%;
    min-width: 1350px;
    background-color: #232322;
    padding: 20px;
}

.box-top-right {}

.top-ui {
    margin-bottom: 40px;
    width: 100%;
    min-width: 800px;
    height: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-ui li {
    margin-bottom: 60px;
    width: 10%;
    min-width: 50px;
    margin: 0 0px;
    text-align: center;
    display: block;
}

.top-ui li:first-child {
    margin-bottom: -15px;
    margin-right: auto;
}

.top-ui a {
    margin-bottom: 40px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}

.top-ui a:hover {
    color: white;
}

.top-ui img {
    height: 40px;
    margin-top: 5px;
    padding: 0;
    display: inline;
    position: relative;
    top: -10px;
}

/* ========== 中屏（平板/窄窗口）适配：解除 PC 端固定最小宽度，避免横向溢出 ========== */
@media (max-width: 1350px) {
    .box-top {
        min-width: unset;
    }

    .top-ui {
        min-width: unset;
    }
}

/* ========== 手机端导航栏适配 ========== */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .box-top {
        min-width: unset;
        padding: 8px 8px;
    }

    .top-ui {
        min-width: unset;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 0;
        height: auto;
        align-items: center;
        margin: 0;
    }

    .top-ui li {
        width: auto;
        min-width: unset;
        margin: 0;
    }

    .top-ui li:first-child {
        margin: 0;
        margin-right: auto;
    }

    .top-ui a {
        font-size: 13px;
        margin: 0;
        padding: 0 4px;
        line-height: 1;
    }

    .top-ui img {
        height: 24px;
        margin: 0 !important;
        padding: 0;
        top: 0;
        vertical-align: middle;
    }
}