.match-list {
    padding: 0;
    background: #ffffff;
    border-radius: 4px;
    overflow: visible;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



/* 日期分组样式 */
.date-group {
    background: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
.date-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.date-group:hover {
    background: #e9ecef;
}
.date-group .date-info {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}
.date-group .toggle-icon {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s;
}
.date-group.collapsed .toggle-icon {
    transform: rotate(-90deg);
}
.date-group-content {
    max-height: none;
    opacity: 1;
    transition: opacity 0.3s ease-out;
    overflow: visible;
}
.date-group.collapsed .date-group-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* 赛事列表样式 */
.match-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    cursor: pointer;
}
.match-item:hover {
    background-color: #f8f9fa;
}
.match-time {
    width: 100px;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
    font-weight: bold;
}
.match-league {
    /* width: 140px; */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
}
.league-logo {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    flex-shrink: 0;
    loading: lazy;
}
.match-teams {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.match-teams-clickable {
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 5px 5px;
    border-radius: 4px;
}
/* .match-teams-clickable:hover {
    background-color: #e9ecef;
} */
.team-logo {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    flex-shrink: 0;
    loading: lazy;
}
.team-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    font-size: 14px;
    color: #333;
    word-wrap: break-word;
    text-align: center;
}
.vs {
    margin: 0 10px;
    font-weight: bold;
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}
.match-live {
    width: 100px;
    text-align: center;
    flex-shrink: 0;
}
.live-link {
    display: inline-block;
    padding: 4px 12px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s;
}
.live-link:hover {
    background: #ee5a52;
}

/* 状态标签 */
.match-status {
    width: 80px;
    text-align: center;
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
}

.no-matches {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
    background: #f8f9fa;
}

/* 篮球赛事样式 */
.basketball .live-link {
    background: #4ecdc4;
}
.basketball .live-link:hover {
    background: #45b7aa;
}

/* 比赛状态颜色 */
.home-page-match-status.live {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    animation: pulse-live 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.home-page-match-status.upcoming {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.home-page-match-status.ended {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: #fff;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.home-page-match-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 进行中的比赛动态效果 */
@keyframes pulse-live {
    0% {
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 2px 16px rgba(255, 107, 107, 0.7);
    }
    100% {
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
}

/* 状态指示器 */
.status-live::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, #ff6b6b, #ee5a52);
    border-radius: 2px;
    animation: blink-live 1.5s infinite;
}

@keyframes blink-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-live {
    position: relative;
    border-left: 4px solid #ff6b6b;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.05), transparent);
}

.status-upcoming {
    border-left: 4px solid #667eea;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.03), transparent);
}

.status-ended {
    border-left: 4px solid #95a5a6;
    opacity: 0.7;
}

/* 比赛项整体样式 */
.home-page-match-item {
    transition: all 0.3s ease;
}

.home-page-match-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-live.home-page-match-item:hover {
    transform: translateX(5px) scale(1.01);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* 错误状态 */
.error {
    text-align: center;
    padding: 20px;
    color: #ff6b6b;
    font-size: 14px;
    background: #fff5f5;
    border: 1px solid #ffdddd;
    border-radius: 4px;
    margin: 10px;
}

@media (max-width: 768px) {
    .date-group {
        padding: 10px;
        font-size: 13px;
    }
    .date-group .date-info {
        font-size: 13px;
    }
    .match-item {
        flex-wrap: wrap;
        padding: 10px;
        align-items: center;
    }
    .match-time {
        width: 100%;
        margin-bottom: 8px;
        font-size: 13px;
    }
    .match-league {
        flex: 1;
        margin-right: 10px;
        font-size: 12px;
        min-width: 0;
    }
    .match-teams {
        flex: 2;
        justify-content: flex-start;
        min-width: 0;
    }
    .match-live {
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }
    .match-status {
        margin-top: 5px;
    }
    .team-logo {
        width: 24px;
        height: 24px;
        margin: 0 6px;
    }
    .team-name {
        max-width: 70px;
        font-size: 12px;
    }
    .vs {
        margin: 0 6px;
        font-size: 11px;
    }
    .live-link {
        font-size: 12px;
        padding: 6px 16px;
        border-radius: 16px;
        transition: all 0.3s ease;
    }
    .live-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    
    /* 移动端状态样式 */
    .home-page-match-status.live,
    .home-page-match-status.upcoming,
    .home-page-match-status.ended {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .status-live {
        border-left-width: 3px;
    }
    
    .home-page-match-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .date-group {
        padding: 8px;
        font-size: 12px;
    }
    .date-group .date-info {
        font-size: 12px;
    }
    .match-item {
        padding: 8px;
    }
    .match-time {
        font-size: 12px;
    }
    .match-league {
        font-size: 11px;
        flex: 1;
    }
    .match-teams {
        flex: 2;
    }
    .team-name {
        max-width: 60px;
        font-size: 11px;
    }
    .team-logo {
        width: 20px;
        height: 20px;
        margin: 0 4px;
    }
    .vs {
        margin: 0 4px;
        font-size: 10px;
    }
    .live-link {
        font-size: 11px;
        padding: 5px 14px;
    }
    
    /* 小屏幕状态样式 */
    .home-page-match-status.live,
    .home-page-match-status.upcoming,
    .home-page-match-status.ended {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    @keyframes pulse-live {
        0%, 100% { box-shadow: 0 1px 4px rgba(255, 107, 107, 0.3); }
        50% { box-shadow: 0 1px 8px rgba(255, 107, 107, 0.5); }
    }
}