.tips-10{
    justify-content: space-between;
}

.tips-10 .page-boxs{
    width: 48.6%;
}

@media screen and (max-width: 1080px) {
    .tips-10{
        flex-direction: column;
    }

    .tips-10 .left-tips,.tips-10 .right-tips{
        width: 100%;
    }
}


.left-tips,right-tips{
    min-height: 650px;
}

/* Tips列表样式 */
.tips-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 15px;
}

.tips-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #F7F9FC;
}

.tips-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.tips-badge {
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.tips-content {
    display: flex;
    flex-direction: column;
    gap: 12px;

}

/* 投注类型和盈利在同一行 */
.tips-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tips-type {
    font-size: 12px;
    color: #666;
}

.sport-type {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-top: 6px;
}

.profit-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.profit-label {
    font-size: 12px;
    color: #666;
}

.profit-value {
    font-size: 14px;
    font-weight: 600;
}

.profit-value.positive {
    color: #04BB35;
}

.profit-value.negative {
    color: #e53e3e;
}

.profit-trend {
    font-size: 12px;
}

/* 平板端样式 */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .tips-lists {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px 0;
    }

    .tips-item {
        padding: 14px;
    }
}

/* 手机端样式 */
@media screen and (max-width: 767px) {
    .tips-lists {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 15px;
    }

    .tips-item {
        padding: 12px;
    }

    .tips-header {
        margin-bottom: 12px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }

    .user-name {
        font-size: 13px;
    }

    .tips-badge {
        font-size: 11px;
        padding: 3px 6px;
    }
}


/*
*
*/
/*------------排行榜開始了-----------------*/
/* 前三排行榜样式 */

.top-three-ranks {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 45px 10px 20px;
    position: relative;
}

.rank-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.rank-item.rank-second{
    padding-top: 25px;
}

.rank-item.rank-third{
    padding-top: 40px;
}

.rank-number{
    position: absolute; right: 20px; top:15px;
    font-family: AaJiJiaHei, AaJiJiaHei;
    font-size: 44px; color: #FDF2D6;
}

.rank-item.rank-third .rank-number{
    color: #E7E7E7;
}

.rank-item.rank-second .rank-number{
    color: #FAE6D9;
}


/* 皇冠样式 */
.rank-crown {

}

.rank-crown img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 排名卡片 */
.rank-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 30px 16px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    min-width: 100%;
    margin-top: 30px;
}

/* 头像样式 */
.rank-avatar {
    position: absolute;
    top: -40px;
    left:10%;
    width: 80%;
    text-align: center;
}

.rank-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 排名信息 */
.rank-info {
    margin-top: 15px;
}

.rank-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.rank-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.badge {
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.red-badge {
    background: #e53e3e;
    color: white;
}

.blue-badge {
    background: #3182ce;
    color: white;
}

.rank-profit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.profit-label {
    color: #666;
}

.profit-value {
    color: #04BB35;
    font-weight: 600;
}

/* 不同排名的高度 */
.rank-first .rank-card {
    min-height: 140px;
    background: linear-gradient( 180deg, #FEFAEF 0%, #FFFFFF 100%);
}

.rank-second .rank-card {
    min-height: 140px;
    background: linear-gradient( 180deg, #FEF9F5 0%, #FFFFFF 100%);
}

.rank-third .rank-card {
    min-height: 140px;
    background: linear-gradient( 180deg, #EFEFEF 0%, #FFFFFF 100%);
}

/* 冠军皇冠特殊样式 */
.rank-first .rank-crown img {
    width: 50px;
    height: 50px;
}

.rank-first .rank-crown {
    top: -35px;
}

/* 手机端样式 */
@media screen and (max-width: 767px) {
    .top-three-ranks {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 15px;
    }

    .rank-item {
        width: 100%;
        max-width: 280px;
    }

    .rank-card {
        min-width: auto;
        width: 100%;
    }

    /* 手机端按排名顺序排列 */
    .rank-first {
        order: 1;
    }

    .rank-second {
        order: 2;
    }

    .rank-third {
        order: 3;
    }

    /* 手机端统一高度 */
    .rank-first .rank-card,
    .rank-second .rank-card,
    .rank-third .rank-card {
        height: 140px;
    }
}

/* 平板端样式 */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .top-three-ranks {
        gap: 15px;
        padding: 30px 15px 15px;
    }

    .rank-card {
        min-width: 120px;
        padding: 25px 12px 12px;
    }

    .rank-name {
        font-size: 13px;
    }

    .badge {
        font-size: 9px;
        padding: 2px 4px;
    }

    .rank-profit {
        font-size: 11px;
    }
}

@media screen and (max-width: 527px) {
    .rank-item {
        max-width: 90vw;
    }

    .top-three-ranks{
        gap: 15px;
    }

    .rank-item{
        padding-top: 10px !important;
    }

    .rank-list-item .user-name{
        font-size: 12px;
    }
}


/* 排行榜列表样式 */
.rank-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.rank-list-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.rank-list-item:last-child {
    border-bottom: none;
}

.rank-list-item:hover {
    background-color: #f8f9fa;
}

.rank-list-item .rank-numbers {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin-right: 16px;
    flex-shrink: 0;
}

.rank-list-item .user-info {
    display: flex;
    align-items: center;
    width: 28%;
    margin-right: 16px;
    min-width: 0;
}

.rank-list-item .user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.rank-list-item .user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-list-item .user-badges {
    display: flex;
    gap: 6px;
    margin-right: 16px;
    flex-shrink: 0;
    width: 20%;
}

.rank-list-item .badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    color: #fff;
    white-space: nowrap;
}

.rank-list-item .red-badge {
    background-color: #e53e3e;
}

.rank-list-item .blue-badge {
    background-color: #3182ce;
}

.rank-list-item .profit-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 16px;
    flex-shrink: 0;
    flex:1;
}

.rank-list-item .profit-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.rank-list-item .profit-value {
    font-size: 16px;
    font-weight: 600;
    color: #04BB35;
}

.rank-list-item .arrow-icon {
    color: #ccc;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.rank-list-item .arrow-icon span {
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.rank-list-item:hover .arrow-icon span {
    transform: translateX(3px);
}

/* 手机端排行榜列表样式 */
@media screen and (max-width: 767px) {
    .rank-list-item {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .rank-list-item .rank-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-right: 12px;
    }

    .rank-list-item .user-info {
        margin-right: 12px;
        flex: 1;
        min-width: 120px;
    }

    .rank-list-item .user-avatar {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }

    .rank-list-item .user-name {
        font-size: 13px;
    }

    .rank-list-item .user-badges {
        gap: 4px;
        margin-right: 12px;
        flex-wrap: wrap;
    }

    .rank-list-item .badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    .rank-list-item .profit-info {
        margin-right: 12px;
    }

    .rank-list-item .profit-label {
        font-size: 11px;
    }

    .rank-list-item .profit-value {
        font-size: 13px;
    }

    .rank-list-item .arrow-icon {
        font-size: 16px;
    }

    .left-tips,right-tips{
        min-height: 380px;
    }
}

/* 平板端排行榜列表样式 */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .rank-list-item {
        padding: 14px 18px;
    }

    .rank-list-item .rank-number {
        width: 30px;
        height: 30px;
        font-size: 15px;
        margin-right: 14px;
    }

    .rank-list-item .user-avatar {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .rank-list-item .user-badges {
        gap: 5px;
        margin-right: 14px;
    }

    .rank-list-item .badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    .rank-list-item .profit-info {
        margin-right: 14px;
    }
}





/*下面是全頁面，中小屏幕適應*/
@media screen and (min-width: 1299px) and (max-width: 1480px) {
    .tips-10 .page-boxs.left-tips{
        width: 57.5%;
    }

    .tips-10 .right-tips.page-boxs{
        width: 41.5%;
    }

    .rank-list-item .user-badges{
        width: 28%;
    }

    .rank-list-item .user-info{
        width: 29%;
    }

}
@media screen and (min-width: 767px) and (max-width: 1298px) {
    .tips-lists{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }




}

@media screen and (max-width: 480px) {
    .tips-row .profit-label{
        text-align: right;
    }
    
    .rank-list-item .user-info{
        flex-direction: column; max-width: 105px;
    }
    
    .rank-list-item .profit-info{
        flex: none; max-width: 70px;
    }
    
    .rank-list-item {
        padding: 12px 10px;
        flex-wrap:nowrap;
    }
}


