
/* Extracted from page-football-schedule.php */

:root { --main-purple: #8C6BE7; --light-purple: #f8f6ff; }
.page-wrap { padding-bottom: 50px; font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;}
.breadcrumb { font-size: 13px; color: #888; padding: 10px 0 15px; }
.breadcrumb a { color: #555; text-decoration: none; }
.breadcrumb a:hover { color: var(--main-purple); }
.layout-grid { display: flex; gap: 20px; align-items: flex-start; }
.col-main { flex: 1; min-width: 0; background: #fff; border: 1px solid #e8e8e8; }
.col-side { width: 320px; flex-shrink: 0; }
/* 状态 Tab：不沾满整行，紧凑排列 */
.c-tabs { display: flex; background: #fafafa; border-bottom: 1px solid #e8e8e8; padding: 0 15px; }
.c-tabs a { padding: 15px 25px; font-size: 16px; font-weight: bold; color: #555; text-decoration: none; position: relative; transition: 0.2s; }
.c-tabs a:hover { color: var(--main-purple); }
.c-tabs a.active { color: var(--main-purple); }
.c-tabs a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: var(--main-purple); }
/* 日期：实体小方块，不自动拉伸 */
.c-dates { padding: 15px 20px; display: flex; gap: 12px; border-bottom: 1px solid #f0f0f0; background: #fff; flex-wrap: wrap; }
.c-dates a { width: 85px; padding: 8px 0; text-align: center; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #555; transition: 0.2s; display: flex; flex-direction: column; }
.c-dates a:hover { border-color: #bbb; background: #fafafa; }
.c-dates a.active { border-color: var(--main-purple); background: var(--main-purple); color: #fff; pointer-events: none; }
.c-dates a .d-date { font-size: 14px; font-weight: bold; margin-bottom: 2px; }
.c-dates a .d-week { font-size: 12px; }
.c-dates a:not(.active) .d-week { color: #888; }
/* 列表行：严谨对齐 */
.m-row { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px dashed #eee; transition: 0.2s; color: #333; text-decoration: none; }
.m-row:hover { background: var(--light-purple); }
.m-row:last-child { border-bottom: none; }
.m-time { width: 50px; font-size: 14px; font-weight: bold; color: #444; flex-shrink: 0; }
.m-status { width: 50px; text-align: center; font-size: 12px; color: #888; margin-right: 15px; flex-shrink: 0; }
.m-status.live { color: #e60012; font-weight: bold; animation: pulse 1.5s infinite; }
.m-team { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; min-width: 0; }
.m-team.h { justify-content: flex-end; text-align: right; }
.m-team.a { justify-content: flex-start; text-align: left; }
.m-team a { color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.m-team a:hover { color: var(--main-purple); }
.m-team img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.m-score { width: 60px; text-align: center; font-size: 18px; font-weight: 900; color: #333; font-family: Impact, sans-serif; letter-spacing: 1px; flex-shrink: 0; }
.m-act { width: 80px; text-align: right; color: var(--main-purple); font-size: 13px; font-weight: bold; flex-shrink: 0;}
.m-act span { border: 1px solid var(--main-purple); padding: 4px 10px; border-radius: 3px; transition: 0.2s; }
.m-row:hover .m-act span { background: var(--main-purple); color: #fff; }
/* 侧边栏 Widget */
.wg { background: #fff; border: 1px solid #e8e8e8; margin-bottom: 20px; }
.wg-hd { padding: 12px 15px; background: #fafafa; border-bottom: 1px solid #eee; border-left: 4px solid var(--main-purple); font-size: 16px; font-weight: bold; display: flex; justify-content: space-between; align-items: center;}
.wg-hd a { font-size: 12px; color: #888; font-weight: normal; text-decoration: none;}
.wg-ul { list-style: none; padding: 15px; margin: 0; }
.wg-ul li { margin-bottom: 12px; padding-left: 10px; position: relative; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-ul li:last-child { margin-bottom: 0; }
.wg-ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: #ccc; }
.wg-ul a { color: #444; text-decoration: none; }
.wg-ul a:hover { color: var(--main-purple); }
.v-item { display: flex; gap: 10px; margin-bottom: 15px; align-items: flex-start; }
.v-item:last-child { margin-bottom: 0; }
.v-img { width: 110px; height: 65px; background: #000; flex-shrink: 0; position: relative; }
.v-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.3s;}
.v-item:hover .v-img img { opacity: 1; }
.v-img::after { content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 16px; }
.v-tit { font-size: 13px; color: #333; line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-item:hover .v-tit { color: var(--main-purple); }
@media (max-width: 768px) {
    .layout-grid { flex-direction: column; }
    .col-side { width: 100%; }
    .m-row { flex-wrap: wrap; padding: 12px 10px; }
    .m-status { margin-right: 5px; width: 40px; }
    .m-time { width: auto; font-size: 12px; margin-right: 10px; }
    .m-act { display: none; }
    .m-matchup { width: 100%; display: flex; justify-content: space-between; order: 4; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #f5f5f5;}
    .m-team a { max-width: 90px; }
}
@keyframes pulse { 50% { opacity: 0.5; } }

/* Extracted from page-basketball-schedule.php */

    /* ==========================================
       扁平化专业体育门户 UI 设计 (拒绝 AI 卡片风)
       ========================================== */
    /* 核心容器：白底、极细边框、去除大阴影，顶部 NBA 蓝强调线 */
    .schedule-wrapper { max-width: 1200px; margin: 30px auto; background: #ffffff; border: 1px solid #e5e5e5; border-top: 3px solid #1d428a; }
    /* 模块标题栏 */
    .schedule-header { padding: 15px 20px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background-color: #fafafa; }
    .schedule-title { font-size: 18px; font-weight: 700; color: #222; margin: 0; display: flex; align-items: center; }
    .schedule-title::before { content: ''; display: inline-block; width: 4px; height: 16px; background-color: #1d428a; margin-right: 10px; border-radius: 2px; }
    /* 日期导航：紧凑的胶囊切换组，而非分散的按钮 */
    .date-nav-group { display: flex; border: 1px solid #dcdcdc; border-radius: 4px; overflow: hidden; }
    .date-nav-group a { padding: 6px 24px; font-size: 14px; color: #555; background: #fff; text-decoration: none; border-right: 1px solid #dcdcdc; transition: all 0.2s; }
    .date-nav-group a:last-child { border-right: none; }
    .date-nav-group a:hover { background: #f5f5f5; color: #1d428a; }
    .date-nav-group a.active { background: #1d428a; color: #fff; font-weight: bold; pointer-events: none; }
    /* 列表表头 (增加对齐感) */
    .match-th { display: flex; padding: 10px 20px; background-color: #fff; border-bottom: 2px solid #eee; font-size: 13px; color: #888; text-align: center; }
    /* 列表行：全宽、底部实线分割、极简背景 */
    .match-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f0f0f0; transition: background-color 0.15s ease; background-color: #fff; }
    /* 交互感：鼠标悬停时整行微弱的浅灰蓝变色，提升阅读焦点 */
    .match-row:hover { background-color: #f8fafd; } 
    /* 各列宽度分配 */
    .m-col-time { width: 80px; text-align: left; font-size: 14px; color: #777; font-family: Arial, sans-serif; }
    .m-col-teams { flex: 1; display: flex; align-items: center; justify-content: center; }
    .m-col-action { width: 120px; text-align: right; }
    /* 球队与比分对齐 */
    .team-box { display: flex; align-items: center; width: 200px; }
    .team-home { justify-content: flex-end; text-align: right; padding-right: 20px; }
    .team-away { justify-content: flex-start; text-align: left; padding-left: 20px; }
    .team-box img { width: 28px; height: 28px; object-fit: contain; margin: 0 10px; }
    .team-box a { color: #333; font-size: 16px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
    .team-box a:hover { color: #1d428a; }
    /* 比分区域：去掉色块，使用纯文本扁平排版 */
    .score-box { width: 120px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .score-txt { font-size: 24px; font-weight: 900; color: #222; font-family: 'Arial Black', Impact, sans-serif; letter-spacing: 1px; line-height: 1; margin-bottom: 4px; }
    .status-badge { font-size: 12px; font-weight: 500; }
    /* 状态颜色区分（扁平文本色，而非大色块背景） */
    .st-ns { color: #999; } /* 未开始 */
    .st-live { color: #e60012; font-weight: bold; animation: pulse 2s infinite; } /* 进行中 */
    .st-ft { color: #666; } /* 完赛 */
    @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }
    /* 交互按钮：空心线框风格，取代厚重的实心按钮 */
    .btn-action { display: inline-block; padding: 5px 12px; font-size: 13px; border-radius: 3px; text-decoration: none; transition: all 0.2s; text-align: center; }
    .btn-gray { border: 1px solid #ddd; color: #666; background: transparent; }
    .btn-gray:hover { border-color: #aaa; color: #333; }
    .btn-blue { border: 1px solid #1d428a; color: #1d428a; background: #f0f4f8; }
    .btn-blue:hover { background: #1d428a; color: #fff; }
    /* 联赛分组标题样式 (篮球蓝底风格) */
    .league-group-title { background: #f0f4f8; padding: 12px 20px; font-size: 16px; font-weight: bold; color: #1d428a; border-left: 4px solid #1d428a; border-bottom: 1px solid #ddd; margin-top: 20px; display: flex; align-items: center;}