.custom-tabbar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 20px 25px;
}

.custom-tabbar-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* 创建渐变白色阴影 */
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.8) 100%
    );
    filter: blur(8px); /* 均匀模糊 */
    z-index: -1;
    pointer-events: none;
}

.custom-tabbar {
    height: 60px;
    display: flex;
    background: rgba(255,255,255,0.8);
    box-shadow: 0px -1px 7px 0px rgba(66,69,74,0.1);
    border-radius: 30px;
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(10px);
    z-index: 998;
    box-sizing: border-box;
}


.tab-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 10px;
    line-height: 15px;
    text-align: right;
    font-style: normal;
    margin: 3px;
}

.tab-item img {
    width: 20px;
    height: 20px;
    margin-top: 8px;
}

.tab-item-content {
    position: relative;
}

.tab-item span {
    margin-top: 4px;
}

.active {
    color: #DF3736;
    background: rgba(238,238,238,0.8);
    border-radius: 25px;
}

.badge {
    position: absolute;
    top: 0;
    left: 25px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: #ff3b30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: white;
    font-size: 10px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(255, 59, 48, 0.2);
}

/* 纯红点样式 */
.dot {
    position: absolute;
    border-radius: 4px;
    background: #ff3b30;
    width: 8px;
    height: 8px;
    top: 3px;
    left: 20px;
    /* top: 15rpx; */
    /* right: 8vw; */
}