
/* 比賽TIPS列表樣式 */
.tips-lists {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tips-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef;
}

.tips-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #CC0303;
}

.tips-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #e9ecef;
}

.tips-time {
    font-size: 12px;
    color: #000;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tips-time span:last-child{
    color: #999;
}

.tips-price {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #FFF3CD;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #FFE69C;
}

.tips-price img {
    width: 18px;
    height: 18px;
}

.tips-price span {
    font-size: 12px;
    font-weight: bold;
    color: #CC0303;
    position: relative;
    top: 2px;
}

.tips-card-body {
    padding: 16px; padding-bottom: 25px;
}

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

.tips-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.profit-info::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 49.5%;
    width:1px;
    height: 70%;
    background: #D9D9D9 ;
}

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

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.confidence-rating {
    display: flex;
    flex-direction: column;
}

.confidence-label {
    font-size: 13px;
    color: #CC0303;
    font-weight: 500;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 14px;
    color: #ddd;
    transition: color 0.3s ease;
}

.star.active {
    color: #CC0303;
}

.bet-info {
    text-align: center;
    width: 106px;
    justify-content: center;
}

.bet-type {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;

}

.sport-type {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.bet-range {
    font-size: 12px;
    color: #CC0303;
    font-weight: bold;
    background: #FFF5F5;
    padding: 2px 3px;
    border-radius: 4px;
}

.bet-category {
    font-size: 14px;
    color: #383E47;
}

.profit-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.profit-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.profit-value {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

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

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

/* 大屏幕適配 */


/* 中等屏幕適配 */
@media (max-width: 1200px) {
    .tips-lists {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* 平板響應式 */
@media (max-width: 1024px) {
    .tips-lists {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .tips-card-body {
        padding: 14px;
    }

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

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

    .sport-type {
        font-size: 13px;
    }

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

/* 手機響應式 */
@media (max-width: 768px) {
    .tips-lists {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tips-card-header {
        padding: 10px 12px;
    }

    .tips-card-body {
        padding: 12px;
    }

    .nor-header{
        padding-left: 15px;
    }

    .g-boxs{
        height: auto;
    }


    
    .tips-price img {
        width: 16px;
        height: 16px;
    }

}

/* 小屏手機響應式 */
@media (max-width: 480px) {
    .tips-lists {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .tips-card {
        margin: 0;
    }

    .tips-card-header {
        padding: 8px 12px;
    }

    .tips-card-body {
        padding: 10px;
    }
    
    .confidence-label{
        text-align: right;
    }
    
    .bet-type{
        padding-top: 1px;
    }

    .tips-price span{
        top: 0;
    }

}

/* 超小屏幕適配 */
@media (max-width: 360px) {
    .tips-lists {
        padding: 0 5px;
    }

    .tips-card-body {
        padding: 8px;
    }

    .user-info {
        gap: 6px;
    }

    .confidence-rating {
        gap: 4px;
    }

    .stars {
        gap: 1px;
    }
}