/* 模板B live.css —— 浅色直播筛选页 */
/* 浅色打底 */
body { background-color: #f3f5f9; color: var(--text-main); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; margin: 0; padding: 0; }

/* 核心筛选区（浅色卡片） */
.live-filter-section {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-card);
}

/* 状态切换按钮 */
.match-status-tabs { display: flex; margin-bottom: 20px; gap: 2px; }
.status-btn {
    display: inline-block; padding: 12px 35px; font-size: 15px;
    text-decoration: none; transition: all 0.2s ease; box-sizing: border-box;
    text-align: center;
}
.status-btn.active {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: #fff; border-radius: 10px 0 0 10px; font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}
.status-btn.normal {
    background: #f3f5f9; color: var(--text-muted);
    border-radius: 0 10px 10px 0;
}
.status-btn.normal:hover { background: var(--bg-hover); color: var(--primary-blue); }

/* 日期时间轴 */
.match-date-axis {
    display: flex; gap: 12px; margin-bottom: 5px;
    flex-wrap: wrap;
}
.date-item-btn {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-width: 100px; height: 65px;
    background: #f8fafc; border: 1px solid var(--border-color);
    border-radius: 12px; color: var(--text-main); text-decoration: none; font-size: 14px;
    transition: all 0.2s ease; cursor: pointer;
}
.date-item-btn .weekday-text { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.date-item-btn:hover { background: var(--bg-hover); color: var(--primary-blue); transform: translateY(-1px); }
.date-item-btn.active {
    background: var(--bg-hover); border: 1px solid var(--primary-blue);
    border-bottom: 4px solid var(--primary-blue); color: var(--primary-blue); font-weight: bold;
}
.date-item-btn.active .weekday-text { color: var(--primary-blue); }
.date-item-btn.active .today-text { font-size: 16px; }

.time-notice-bar { font-size: 13px; color: var(--text-muted); margin-top: 8px; padding-left: 2px; }

/* 赛事列表区 */
.watch-guide-title { display: flex; align-items: center; font-size: 17px; color: var(--text-main); font-weight: 700; margin: 30px 0 18px 0; }
.watch-guide-title::before { content: ""; display: inline-block; width: 4px; height: 18px; background-color: var(--primary-blue); margin-right: 12px; border-radius: 2px; }

/* 赛事卡片（浅色） */
.dynamic-match-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 25px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px; margin-bottom: 15px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
}
.dynamic-match-item:hover {
    border-color: var(--primary-blue); transform: translateX(2px); background: var(--bg-hover);
}
.match-meta { display: flex; align-items: center; gap: 20px; flex: 1; }
.match-time { font-size: 20px; font-weight: 900; color: var(--text-main); font-family: "Avenir", "Helvetica Neue", sans-serif; min-width: 60px; }
.match-league { font-size: 12px; color: var(--primary-blue); background: var(--bg-hover); padding: 5px 10px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.match-teams { font-size: 17px; font-weight: 700; color: var(--text-main); line-height: 1.5; flex: 1; }

/* 按钮 */
.match-action-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff; padding: 10px 25px; border-radius: 10px; font-size: 14px;
    font-weight: bold; text-decoration: none; transition: all 0.2s ease;
    white-space: nowrap; text-align: center;
}
.match-action-btn:hover { box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); transform: scale(1.02); }
.match-action-btn.end { background: linear-gradient(135deg, #9ca3af, #6b7280); color: #fff; }
.match-action-btn.end:hover { box-shadow: none; transform: none; }

.no-data-tip { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 15px; background: #fff; border: 1px dashed var(--border-color); border-radius: 14px; }

/* 手机端 */
@media screen and (max-width: 768px) {
    .main-layout { display: flex; flex-direction: column; }
    .container { padding: 0 12px; }

    .live-filter-section { padding: 15px; margin-bottom: 15px; border-radius: 12px; }

    .match-status-tabs { width: 100%; display: flex; margin-bottom: 15px; gap: 0; }
    .status-btn { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; border-radius: 8px !important; }

    .match-date-axis {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px;
        padding-bottom: 5px;
    }
    .match-date-axis::-webkit-scrollbar { display: none; }

    .date-item-btn { min-width: 80px; height: 60px; flex-shrink: 0; }
    .date-item-btn .today-text { font-size: 14px; }
    .date-item-btn .weekday-text { font-size: 11px; margin-top: 3px; }

    .dynamic-match-item {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        text-align: center;
        border-radius: 12px;
        gap: 12px;
    }
    .match-meta {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }
    .match-time { font-size: 16px; min-width: auto; font-weight: bold; }
    .match-league { font-size: 11px; padding: 3px 8px; }
    .match-teams {
        font-size: 16px;
        font-weight: 800;
        width: 100%;
        display: block;
        margin: 5px 0 8px 0;
        color: var(--text-main);
    }

    .dynamic-match-item > div:last-child { width: 100%; }
    .match-action-btn {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 14px;
        box-sizing: border-box;
        border-radius: 8px;
    }
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; padding-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-muted); font-size: 14px; transition: all 0.2s; cursor: pointer; }
.pagination a:hover { background: var(--bg-hover); color: var(--primary-blue); border-color: var(--primary-blue); }
.pagination .current { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); font-weight: bold; }
