* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 960px;
    margin: 0 auto;
    /*    overflow-x: hidden;*/
}

.tab-wrap {
    margin: 0px auto;
    max-width: 961px;
    width: 100%;
    position: fixed;
    /* 鍥哄畾瀹氫綅 */
    top: 0;
    /* 璐寸揣椤堕儴 */
    z-index: 999;
    /* 纭繚鍦ㄦ渶涓婂眰锛屼笉琚叾浠栧唴瀹硅鐩� */
    justify-content: center;
    align-items: center;
}

.tab-nav {
    display: flex;
    height: 80px;
    line-height: 80px;
    font-weight: bold;
    font-size: 32px;
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.tab-nav li {
    justify-content: center;
    align-items: center;
    width: 50%;
}

.tab-item {
    width: 100%;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.tab-item.unselected {
    background-color: #eee;
    color: #666;
}

.tab-item.unselected .icon {
    color: #666;
}

.tab-item.selected {
    background-color: #df0000;
    color: #fff;
}

.tab-item.selected .icon {
    color: #fff;
}

.tab-content {
    margin-top: 210px;
    padding: 0px;
    border-radius: 4px;
}

.hide {
    display: none;
}

.dingbu {
    position: fixed;
    height: 50px;
    background: rgba(95, 82, 82, 0.178);
    width: 50px;
    right: 10px;
    bottom: 25px;
    border-radius: 50%;
    /* 鏂囧瓧灞呬腑 */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 榛樿闅愯棌 */
    display: none;
    cursor: pointer;
}

.dingbu p {
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
    font-weight: bold;
}

.dingbu:hover {
    background: rgb(90, 76, 76);
}

.dingbu a {
    text-decoration: none;
}

@media screen and (max-width: 420px) {
    .tab-nav {
        font-size: 28px;
    }
    @media screen and (max-width: 380px) {
        .tab-nav {
            font-size: 24px;
        }
        @media screen and (max-width: 330px) {
            .tab-nav {
                font-size: 20px;
            }