/* 强制清除所有移动样式，确保PC环境下不会应用移动样式 */
.pc-environment .match-item, 
.pc-environment .matches-list,
.pc-environment .match-date,
.pc-environment .match-status,
.pc-environment .match-league,
.pc-environment .match-teams,
.pc-environment .team,
.pc-environment .match-vs,
.pc-environment .match-action,
.pc-environment .btn-watch {
    all: revert;
}
.live{
    background: #1890ff;
    color: #fff;
    
}
.upcoming{
    background: #666;
    color: #fff;
    border-radius: 2px;
}
.finished{
    background: #477e65;
    color: #fff;
    }
/* 页面容器 */
.matches-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 12px 20px;
    color: #666;
    font-size: 14px;
    background: #fff;
    border-radius: 2px;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
    padding: 0 4px;
}
.breadcrumb a:hover {
    color: #1890ff !important;
}
.breadcrumb span{padding:0 5px;}
/* 筛选器样式 */
.filters-section {
    background: #fff;
    border-radius: 2px;
    padding: 20px;
    margin-bottom: 10px;
}

.filter-group {
    margin-bottom: 15px;
    
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-label i {
    color: #1890ff;
    font-size: 16px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-option:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.filter-option.active {
    background: #e6f7ff;
    color: #1890ff;
    border-color: #1890ff;
}

.filter-option .count {
    background: rgba(24,144,255,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* PC环境样式 - 确保这些样式优先级高于基本样式 */
.pc-environment .matches-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.pc-environment .match-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    margin-bottom: 0 !important;
    transition: all 0.3s !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #fff !important;
}

.pc-environment .match-item:last-child {
    border-bottom: none !important;
}

.pc-environment .match-item:hover {
    background-color: #f9fbff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(24,144,255,0.1) !important;
    z-index: 1 !important;
}

.pc-environment .match-date {
    width: 80px !important;
    text-align: center !important;
    padding-right: 15px !important;
    border-right: 1px dashed #eee !important;
    margin-right: 15px !important;
}

.pc-environment .match-day {
    font-size: 13px !important;
    color: #999 !important;
    margin-bottom: 5px !important;
}

.pc-environment .match-time {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
}

.pc-environment .match-status {
    width: 80px !important;
    text-align: center !important;
}

.pc-environment .status-badge {
    padding: 4px 10px !important;
    font-size: 12px !important;
    border-radius: 30px !important;
    display: inline-block !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

/* 未开始状态 */
.pc-environment .status-not_started {
    background-color: #f0f2f5 !important;
    color: #666 !important;
    border-left: 3px solid #999 !important;
}

/* 进行中状态 */
.pc-environment .status-ongoing {
    background-color: #e6f7ff !important;
    color: #1890ff !important;
    border-left: 3px solid #1890ff !important;
    animation: pulse 1.5s infinite !important;
}

/* 已结束状态 */
.pc-environment .status-finished {
    background-color: #f6ffed !important;
    color: #52c41a !important;
    border-left: 3px solid #52c41a !important;
}

/* 延期/取消状态 */
.pc-environment .status-postponed, 
.pc-environment .status-cancelled {
    background-color: #fff2e8 !important;
    color: #fa541c !important;
    border-left: 3px solid #fa541c !important;
}

.pc-environment .match-league {
    width: 250px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 15px !important;
}

.pc-environment .league-logo {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    object-fit: contain !important;
    padding: 2px !important;
    border: 1px solid #f0f0f0 !important;
    background: #f9f9f9 !important;
    transition: all 0.3s !important;
}

.pc-environment .league-link:hover .league-logo {
    transform: scale(1.1) !important;
    border-color: #1890ff !important;
}

.pc-environment .league-name {
    font-size: 14px !important;
    color: #555 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 210px !important;
    transition: all 0.3s !important;
}

.pc-environment .match-teams {
    flex: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 30px !important;
}

.pc-environment .team {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s !important;
}

.pc-environment .team-logo {
    width: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
    padding: 2px !important;
    border: 1px solid #f0f0f0 !important;
    object-fit: contain !important;
    background: #f9f9f9 !important;
    transition: all 0.3s !important;
}

.pc-environment .team-link:hover .team-logo {
    transform: scale(1.1) !important;
    border-color: #1890ff !important;
}

.pc-environment .team-name {
    font-size: 15px !important;
    color: #333 !important;
    font-weight: 500 !important;
    max-width: 180px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: all 0.3s !important;
}

.pc-environment .team-link {
    text-decoration: none !important;
    color: inherit !important;
    width: 50% !important;
}

.pc-environment .match-vs {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #999 !important;
    background: #f7f7f7 !important;
    width: 120px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transform: translateX(-80px);
}

.pc-environment .match-action {
    width: 100px !important;
    text-align: right !important;
}

.pc-environment .btn-watch {
    padding: 6px 12px !important;
    font-size: 13px !important;
    border-radius: 20px !important;
    background: #1890ff !important;
    color: white !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.045) !important;
}

.pc-environment .btn-watch:hover {
    background: #40a9ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 10px rgba(24,144,255,0.3) !important;
}

.pc-environment .btn-watch i {
    font-size: 14px !important;
}

.pc-environment .match-day-header {
    background-color: #f0f7ff !important;
    padding: 12px 20px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #e6f0fa !important;
    font-size: 14px !important;
    color: #1890ff !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pc-environment .match-day-header i {
    font-size: 16px !important;
}

/* H5环境样式 - 针对移动设备的自适应布局 */
.h5-environment .matches-list {
    background: transparent !important;
    box-shadow: none !important;
}
.h5-environment .match-item{
	
}
.h5-environment .match-item {
   display: flex !important;
   padding: 0 20px;
   margin-bottom: 15px !important;
   border-bottom: 1px solid #f0f0f0;
}

.h5-environment .date-status-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.h5-environment .match-date {
    margin: auto;
    width: 200px;
}

.h5-environment .match-day {
    font-size: 14px !important;
    color: #999 !important;
}

.h5-environment .match-time {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
}

.h5-environment .match-status {
 
}

.h5-environment .status-badge {
    padding: 6px 12px !important;
    border-radius: 2px !important;
    font-weight: 500 !important;
    align-items: center !important;
    gap: 5px !important;
}

/* 未开始状态 */
.h5-environment .status-not_started {
    background: #eee;
    color: #666 !important;
}
.h5-environment .status-not_started:before {
    color: #999 !important;
}

/* 进行中状态 */
.h5-environment .status-ongoing {
    background: linear-gradient(to right, #e6f7ff, #ecf6ff) !important;
    color: #1890ff !important;
    border: 1px solid #ecf6ff !important;
    animation: pulse 1.5s infinite !important;
}
.h5-environment .status-ongoing:before {
    content: '•' !important;
    color: #1890ff !important;
    animation: blink 1s infinite !important;
}

/* 已结束状态 */
.h5-environment .status-finished {
    background: #198754;
    color: #fff !important;
}
.h5-environment .status-finished:before {
    color: #52c41a !important;
}

/* 延期/取消状态 */
.h5-environment .status-postponed,
.h5-environment .status-cancelled {
    background: linear-gradient(to right, #fff2e8, #fff5ee) !important;
    color: #fa541c !important;
    border: 1px solid #ffcb9a !important;
}
.h5-environment .status-postponed:before,
.h5-environment .status-cancelled:before {
    content: '•' !important;
    color: #fa541c !important;
}

.h5-environment .match-league {
    width: 200px;
    display: flex !important;
    align-items: center !important;
    padding: 10px !important;
}

.h5-environment .league-logo {
    width: 24px !important;
    height: 24px !important;
    border-radius: 4px !important;
    object-fit: contain !important;
}

.h5-environment .league-name {
    font-size: 16px !important;
    color: #666 !important;
    flex: 1 !important;
}

.h5-environment .match-teams {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 10px 0 20px 0 !important;
    margin: 0 !important;
}

.h5-environment .team {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    width: 96% !important;
}

.h5-environment .team-logo {
    width: 48px !important;
    height: 48px !important;
    padding: 2px !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 50% !important;
    background: white !important;
    object-fit: contain !important;
}

.h5-environment .team-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    max-width: 100% !important;
    max-height: 40px !important;
    overflow: hidden !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.h5-environment .team-link {
    text-decoration: none !important;
    color: inherit !important;
    width: 80% !important;
}

.h5-environment .match-vs {
    font-size: 16px !important;
    font-weight: bold !important;
    width: 180px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #999 !important;
}

.h5-environment .match-action {
    width: 16%;
    display: flex;
    align-items: center;
}

.h5-environment .btn-watch {
    padding: 8px 0;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}

.h5-environment .btn-watch i {
    font-size: 16px !important;
}

.h5-environment .match-day-header {
    background-color: transparent !important;
    color: #666 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 15px 10px 8px 10px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.h5-environment .no-matches {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1) !important;
    padding: 30px 20px !important;
    text-align: center !important;
}

.h5-environment .pagination {
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.h5-environment .page-item {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 通用链接样式 */
.match-item a {
    text-decoration: none !important;
     width: 100% !important;
}

.team-link:hover .team-name {
    color: #1890ff !important;
}

.league-link:hover .league-name {
    color: #1890ff !important;
}

.league-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
}

/* Back to top button */
.back-to-top{position:fixed;right:20px;bottom:20px;width:40px;height:40px;border-radius:50%;background:#1890ff;color:#fff;border:none;display:none;align-items:center;justify-content:center;font-size:20px;transition:all .3s;}
.back-to-top.show{display:flex}

/* No matches styling */
.no-matches {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.no-matches i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

.no-matches p {
    font-size: 16px;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
}

.page-item:hover {
    background: #f0f7ff;
    color: #1890ff;
}

.page-item.active {
    background: #1890ff;
    color: white;
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
} 

@media (max-width: 768px) {
   .h5-environment .match-item {
   flex-direction: column;
   padding: 10px 0;
}
.h5-environment .match-action{
    margin: 0 auto;
    width: 36%;
}
.h5-environment .match-date {
    margin: auto;
    width: 100px;
}
}