/* 地区导航样式 */
.region-nav {
    margin-top: 1rem;
}

.region-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #ff6600;
}

.region-title {
    margin: 0 0 0.8rem 0;
    font-size: 1.1rem;
    color: #333;
}

.region-title a {
    color: #ff6600;
    text-decoration: none;
}

.region-title a:hover {
    text-decoration: underline;
}

.competition-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.competition-link {
    padding: 0.4rem 0.8rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.competition-link:hover,
.competition-link.active {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* 数据筛选按钮样式 */
.data-type-btn {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.data-type-btn:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.data-type-btn.active {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* 表格样式 */
table {
    width: 100%;
    margin-top: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    table-layout: fixed;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

td,
th {
    padding: 0.5rem 0.3rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

/* 积分榜等宽列样式 */
table.data-table th:nth-child(3),
/* 场次 */
table.data-table th:nth-child(4),
/* 胜 */
table.data-table th:nth-child(5),
/* 平 */
table.data-table th:nth-child(6),
/* 负 */
table.data-table th:nth-child(7),
/* 进球 */
table.data-table th:nth-child(8),
/* 失球 */
table.data-table th:nth-child(9),
/* 净胜 */
table.data-table th:nth-child(10) {
    /* 积分 */
    width: 8%;
    text-align: center;
}

table.data-table td:nth-child(3),
/* 场次 */
table.data-table td:nth-child(4),
/* 胜 */
table.data-table td:nth-child(5),
/* 平 */
table.data-table td:nth-child(6),
/* 负 */
table.data-table td:nth-child(7),
/* 进球 */
table.data-table td:nth-child(8),
/* 失球 */
table.data-table td:nth-child(9),
/* 净胜 */
table.data-table td:nth-child(10) {
    /* 积分 */
    text-align: center;
}

/* 排名列 */
table.data-table th:nth-child(1),
table.data-table td:nth-child(1) {
    width: 6%;
    text-align: center;
}

/* 球队列 */
table.data-table th:nth-child(2),
table.data-table td:nth-child(2) {
    width: 30%;
}

tr:hover {
    background-color: #f8f9fa;
}

/* 队伍名称样式 - 确保主队和客队字体一致 */
td img:not(.match-table-team-logo) {
    vertical-align: middle;
    margin-right: 2px;
}

td>img:not(.match-table-team-logo)+span {

    font-weight: 500;
    color: #333;
    line-height: 1.3;
    word-break: keep-all;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 主队和客队列样式优化 */
td:nth-child(2),
/* 主队列 */
td:nth-child(4) {
    /* 客队列 */
    white-space: nowrap;
    min-width: 100px;
    padding: 0.4rem 0.3rem;
}

/* 确保表格单元格内容垂直居中 */
td {
    vertical-align: middle;
}

/* 主容器默认样式 */
.main-container {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 侧边栏默认样式 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* 主内容区域默认样式 */
.main-content {
    flex: 1;
    min-width: 0;
}

/* 只隐藏侧边栏，保留赛事筛选模块 */
.sidebar {
    display: none;
}

/* 主内容区域宽度调整 */
.main-content {
    width: 100%;
    max-width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }

    .competition-levels {
        justify-content: center;
    }

    .filter-controls {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-group {
        flex: 1;
        min-width: 140px;
    }

    .filter-group select {
        width: 100%;
    }

    .data-type-buttons {
        justify-content: center;
    }

    /* 手机端数据筛选按钮紧凑样式 */
    .data-type-btn {
        padding: 0.4rem 0.4rem;
        font-size: 0.8rem;
        margin: 2px;
    }

    .data-type-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.25rem;
    }

    /* 手机端表格优化 */
    table {
        font-size: 1rem;
    }

    td,
    th {
        padding: 0.3rem 0.2rem;
    }

    /* 手机端积分榜等宽列样式 */
    table.data-table th:nth-child(3),
    /* 场次 */
    table.data-table th:nth-child(4),
    /* 胜 */
    table.data-table th:nth-child(5),
    /* 平 */
    table.data-table th:nth-child(6),
    /* 负 */
    table.data-table th:nth-child(7),
    /* 进球 */
    table.data-table th:nth-child(8),
    /* 失球 */
    table.data-table th:nth-child(9),
    /* 净胜 */
    table.data-table th:nth-child(10) {
        /* 积分 */
        width: 9%;
        font-size: 0.75rem;
        padding: 0.3rem 0.1rem;
    }

    table.data-table td:nth-child(3),
    /* 场次 */
    table.data-table td:nth-child(4),
    /* 胜 */
    table.data-table td:nth-child(5),
    /* 平 */
    table.data-table td:nth-child(6),
    /* 负 */
    table.data-table td:nth-child(7),
    /* 进球 */
    table.data-table td:nth-child(8),
    /* 失球 */
    table.data-table td:nth-child(9),
    /* 净胜 */
    table.data-table td:nth-child(10) {
        /* 积分 */
        font-size: 0.75rem;
        padding: 0.3rem 0.1rem;
    }

    /* 手机端排名列 */
    table.data-table th:nth-child(1),
    table.data-table td:nth-child(1) {
        width: 8%;
        font-size: 0.75rem;
        padding: 0.3rem 0.1rem;
    }

    /* 手机端球队列 */
    table.data-table th:nth-child(2),
    table.data-table td:nth-child(2) {
        width: 28%;
        font-size: 0.75rem;
    }

    /* 手机端队伍名称和logo优化 */
    td img:not(.match-table-team-logo) {
        width: 16px;
        height: 16px;
        margin-right: 3px;
    }

    td>img:not(.match-table-team-logo)+span {
        font-size: 0.75rem;
        max-width: 70px;
    }

    /* 手机端主客队列优化 */
    td:nth-child(1),
    td:nth-child(2),
    /* 主队列 */
    td:nth-child(4) {
        /* 客队列 */
        min-width: 80px;
        padding: 0.3rem 0.2rem;
        font-size: 0.75rem;
    }

    /* 手机端比分列优化 */
    td:nth-child(3) {
        /* 比分列 */
        padding: 0.3rem 0.1rem;
        min-width: 40px;
        font-size: 0.75rem;
    }

    /* 隐藏不必要的列（不适用于赛程表格） */
    table:not(.schedule-table) td:nth-child(8),
    /* 失球列 */
    table:not(.schedule-table) th:nth-child(8) {
        /* 失球表头 */
        display: none;
    }
}

/* 赛程表格桌面端优化 */
table.schedule-table {
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
}

table.schedule-table th {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;

}

table.schedule-table td {
    text-align: center;
    vertical-align: middle;
}

.schedule-round-header {
    background: #e9ecef;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    color: #495057;
    margin-top: 0.75rem;
}

.schedule-round-header:first-child {
    margin-top: 0;
}

table.schedule-table.schedule-round-group {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    border-collapse: collapse;
}

@media (max-width: 768px) {

    /* 赛程表格移动端优化 */
    .schedule-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    table.schedule-table {
        font-size: 0.7rem;
        min-width: 360px;
    }

    table.schedule-table th:nth-child(1),
    table.schedule-table td:nth-child(1) {
        width: 25%;
    }

    table.schedule-table th:nth-child(2),
    table.schedule-table td:nth-child(2) {
        width: 25%;
    }

    table.schedule-table th:nth-child(3) {
        width: 20%;

    }

    table.schedule-table td:nth-child(3) {
        width: 20%;
        font-size: 0.7rem;
    }

    table.schedule-table th:nth-child(4) {
        width: 30%;

    }

    table.schedule-table td:nth-child(4) {
        width: 30%;
        font-size: 0.7rem;
    }

    table.schedule-table td {
        padding: 0.2rem 0.1rem;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }

    table.schedule-table th {
        padding: 0.2rem 0.1rem;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }

    .schedule-round-header {
        font-size: 0.7rem;
        padding: 0.2rem 0.2rem;
    }

    .schedule-container table {
        margin-top: 0;
        font-size: 0.8rem;
    }
}

/* 红黄牌榜样式 */
.cards-table-container {
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table.cards-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table.cards-table th {
    background: #f8f9fa;
    color: #333;
    padding: 12px 8px;
    font-weight: bold;
    font-size: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

table.cards-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    font-size: 0.75rem;
}

table.cards-table tr:hover {
    background: #f8f9fa;
}

/* 红黄牌榜特定列宽 */
table.cards-table th:nth-child(1) {
    /* 排名 */
    width: 5%;
    min-width: 35px;
}

table.cards-table th:nth-child(2) {
    /* 球员 */
    width: 22%;
    min-width: 120px;
}

table.cards-table th:nth-child(3) {
    /* 球队 */
    width: 38%;
    min-width: 220px;
}

table.cards-table th:nth-child(4),
/* 号码 */
table.cards-table th:nth-child(5),
/* 黄牌 */
table.cards-table th:nth-child(6) {
    /* 红牌 */
    width: 8%;
    min-width: 50px;
}

/* 球员头像样式 */
.player-avatar {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.player-avatar:hover {
    transform: scale(1.1);
}

/* 红黄牌数字样式 */
table.cards-table td:nth-child(4) {
    /* 黄牌 */
    text-align: center;
}

table.cards-table td:nth-child(5) {
    /* 红牌 */
    text-align: center;
}

table.cards-table td:nth-child(6) {
    /* 总积分 */
    text-align: center;
    font-weight: bold;
}

/* 返回链接样式 */
.back-to-detail-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.back-to-detail-link:hover {
    background: #e9ecef;
    text-decoration: none;
    transform: translateX(-2px);
}

/* 移动端红黄牌榜优化 */
table.cards-table {
    font-size: 0.75rem;
}

table.cards-table th,
table.cards-table td {
    padding: 8px 4px;
}

table.cards-table th:nth-child(1) {
    /* 排名 */
    width: 8%;
}

table.cards-table th:nth-child(2),
/* 球员 */
table.cards-table th:nth-child(3) {
    /* 球队 */
    width: 42%;
}

table.cards-table th:nth-child(4) {
    /* 号码 - 小屏幕隐藏 */
    display: none;
}

table.cards-table th:nth-child(5) {
    /* 黄牌 */
    width: 15%;
    font-weight: bold;
    font-size: 0.75rem;
    color: #ffc107;
}

table.cards-table th:nth-child(6) {
    /* 红牌 */
    width: 15%;
    font-weight: bold;
    font-size: 0.75rem;
    color: #dc3545;
}

table.cards-table th:nth-child(7) {
    /* 总牌数 */
    width: 15%;
    font-weight: bold;
    font-size: 0.75rem;
    color: #6f42c1;
}

/* 隐藏号码列 */
table.cards-table td:nth-child(4) {
    display: none;
}

/* 移动端隐藏部分列 */
table.cards-table th:nth-child(8),
/* 出场次数 */
table.cards-table td:nth-child(8),
table.cards-table th:nth-child(9),
/* 出场时间 */
table.cards-table td:nth-child(9) {
    display: none;
}

.player-avatar {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

/* 时间显示格式控制 */
.match-time-full {
    display: inline;
}

.match-time-mobile {
    display: none;
}

/* 手机端时间格式切换 */
.match-time-full {
    display: none;
}

.match-time-mobile {
    display: inline;
}

/* 射手榜样式 */
.goals-table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.goals-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.goals-table th {
    background: #f8f9fa;
    color: #333;
    padding: 12px 8px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
}

.goals-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.goals-table tr:hover {
    background: #f8f9fa;
}

.goals-table tr:nth-child(1) {
    background-color: #f8f9fa;
    font-weight: bold;
}

.goals-table tr:nth-child(2) {
    background-color: #f8f9fa;
    font-weight: bold;
}

.goals-table tr:nth-child(3) {
    background-color: #f8f9fa;
    font-weight: bold;
}

.goals-table tr:nth-child(4) {
    background-color: #f8f9fa;
    font-weight: bold;
}

.player-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.goals-table a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.goals-table a:hover {
    color: #007bff;
}

@media (max-width: 768px) {

    /* 移动端射手榜优化 */
    table.goals-table {
        font-size: 0.75rem;
    }

    table.goals-table th,
    table.goals-table td {
        padding: 8px 4px;
    }

    table.goals-table th:nth-child(1) {
        /* 排名 */
        width: 15%;
        text-align: center;
    }

    table.goals-table th:nth-child(2) {
        /* 球员 */
        width: 25%;
        text-align: center;
    }

    table.goals-table th:nth-child(3) {
        /* 号码 - 小屏幕隐藏 */
        display: none;
    }

    table.goals-table th:nth-child(4) {
        /* 球队 */
        width: 35%;
        text-align: center;
    }

    table.goals-table th:nth-child(5) {
        /* 进球数 */
        width: 15%;
        font-weight: bold;
        text-align: center;
        display: table-cell;
    }

    /* 隐藏号码列 */
    table.goals-table td:nth-child(3) {
        display: none;
    }

    /* 确保所有重要列显示 */
    table.goals-table th:nth-child(1),
    /* 排名 */
    table.goals-table th:nth-child(2),
    /* 球员 */
    table.goals-table th:nth-child(4),
    /* 球队 */
    table.goals-table th:nth-child(5),
    /* 进球数 */
    table.goals-table td:nth-child(1),
    /* 排名 */
    table.goals-table td:nth-child(2),
    /* 球员 */
    table.goals-table td:nth-child(4),
    /* 球队 */
    table.goals-table td:nth-child(5),
    /* 进球数 */
        {
        display: table-cell;
        text-align: center;
    }

    .player-avatar {
        width: 20px;
        height: 20px;
        margin-right: 4px;
    }

    /* 射手榜特定列宽 */
    table.goals-table th:nth-child(1) {
        /* 排名 */
        width: 5%;
        min-width: 35px;
    }

    table.goals-table th:nth-child(2) {
        /* 球员 */
        width: 22%;
        min-width: 120px;
    }

    table.goals-table th:nth-child(3) {
        /* 号码 */
        width: 8%;
        min-width: 50px;
    }

    table.goals-table th:nth-child(4) {
        /* 球队 */
        width: 38%;
        min-width: 220px;
    }

    table.goals-table th:nth-child(5) {
        /* 进球数 */
        width: 8%;
        min-width: 50px;
    }

    /* 移动端出场时间榜样式 */
    table.time-table {
        font-size: 0.75rem;
    }

    table.time-table th,
    table.time-table td {
        padding: 8px 4px;
    }

    table.time-table th:nth-child(1) {
        /* 排名 */
        width: 10%;
        text-align: center;
    }

    table.time-table th:nth-child(2) {
        /* 球员 */
        width: 25%;
        text-align: center;
    }

    table.time-table th:nth-child(3) {
        /* 号码 */
        width: 8%;
        text-align: center;
    }

    table.time-table th:nth-child(4) {
        /* 球队 */
        width: 37%;
        text-align: center;
    }

    table.time-table th:nth-child(5),
    /* 场次 */
    table.time-table th:nth-child(6) {
        /* 分钟 */
        width: 10%;
        text-align: center;
    }
}

/* 红黄牌榜特定列宽 */
table.cards-table th:nth-child(1) {
    /* 排名 */
    width: 5%;
    min-width: 35px;
}

table.cards-table th:nth-child(2) {
    /* 球员 */
    width: 22%;
    min-width: 120px;
}

table.cards-table th:nth-child(3) {
    /* 球队 */
    width: 38%;
    min-width: 220px;
}

table.cards-table th:nth-child(4) {
    /* 号码 */
    width: 8%;
    min-width: 50px;
}

table.cards-table th:nth-child(5),
/* 黄牌 */
table.cards-table th:nth-child(6),
/* 红牌 */
table.cards-table th:nth-child(7) {
    /* 总牌数 */
    width: 8%;
    min-width: 45px;
}

/* 红黄牌榜前三名样式 */
table.cards-table tbody tr:nth-child(1) td,
table.cards-table tbody tr:nth-child(2) td,
table.cards-table tbody tr:nth-child(3) td {
    background-color: #fff5f5;
    font-weight: 500;
}

/* 红黄牌榜所有内容居中 */
table.cards-table th,
table.cards-table td {
    text-align: center;
}

/* 红黄牌榜列标题颜色统一 */
table.cards-table th {
    color: inherit;
    font-weight: bold;
}

/* 红黄牌榜球员和球队列内容居中 */
table.cards-table td:nth-child(2),
table.cards-table td:nth-child(3) {
    text-align: center;
}

table.cards-table td:nth-child(2)>div,
table.cards-table td:nth-child(3)>div {
    justify-content: center;
}

/* 射手榜所有内容居中 */
table.goals-table th,
table.goals-table td {
    text-align: center;
}

/* 射手榜列标题颜色统一 */
table.goals-table th {
    color: inherit;
    font-weight: bold;
}

/* 射手榜球员和球队列内容居中 */
table.goals-table td:nth-child(2),
table.goals-table td:nth-child(3) {
    text-align: center;
}

table.goals-table td:nth-child(2)>div,
table.goals-table td:nth-child(3)>div {
    justify-content: center;
}

/* 出场时间榜专门样式 */
table.time-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table.time-table th {
    background: #f8f9fa;
    color: #333;
    padding: 12px 8px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
}

table.time-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

table.time-table tr:hover {
    background: #f8f9fa;
}

table.time-table a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

table.time-table a:hover {
    color: #007bff;
}

table.time-table th:nth-child(1) {
    width: 10%;
    min-width: 50px;
}

table.time-table th:nth-child(2) {
    width: 25%;
    min-width: 130px;
}

table.time-table th:nth-child(3) {
    width: 8%;
    min-width: 50px;
}

table.time-table th:nth-child(4) {
    width: 37%;
    min-width: 200px;
}

table.time-table th:nth-child(5),
table.time-table th:nth-child(6) {
    width: 10%;
    min-width: 50px;
}

table.time-table td:nth-child(2)>div,
table.time-table td:nth-child(4)>div {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 出场时间榜前三名样式 */
table.time-table tbody tr:nth-child(1) td,
table.time-table tbody tr:nth-child(2) td,
table.time-table tbody tr:nth-child(3) td {
    background-color: #fff5f5;
    font-weight: 500;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* 赛果卡片样式 - 完整定义 */
.match-result-card {
    background: #fff;
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.match-serial {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #f0f0f0;
    color: #666;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
}

.match-teams-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
}

.match-teams-row.has-serial {
    padding-right: 36px;
}

.match-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
}

.match-team.home-team {
    justify-content: flex-end;
}

.match-team.away-team {
    justify-content: flex-start;
}

.match-team a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.match-team.home-team a {
    justify-content: flex-end;
}

.match-team.away-team a {
    justify-content: flex-start;
}

.match-team .team-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

div.match-result-card div.match-team img,
div.match-result-card div.match-team a img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    vertical-align: middle;
    max-width: 28px;
    max-height: 28px;
    min-width: 28px;
    min-height: 28px;
}

.match-score {
    text-align: center;
    min-width: 70px;
    flex: 0 0 auto;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-score .score {
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
}

.match-meta {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* 分组比赛样式 */
.group-section {
    margin-bottom: 2rem;
}

.group-title {
    color: #ff6600;
    margin-bottom: 1rem;
}

.sub-group-section {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #ffcc00;
}

.sub-group-title {
    color: #ff9900;
    margin-bottom: 0.8rem;
}

.match-table {
    table-layout: fixed;
    width: 100%;
}

.match-table th {
    text-align: center;
}

.match-table th:nth-child(1) {
    width: 40%;
}

.match-table th:nth-child(2) {
    width: 20%;
}

.match-table th:nth-child(3) {
    width: 40%;
}

.match-team-link,
.match-score-link {
    text-decoration: none;
    color: inherit;
}

.handicap-score {
    font-size: 0.75em;
    color: #666;
}

.no-data-text {
    color: #666;
    margin-top: 2rem;
}

/* 手机端赛果卡片样式 */
.match-team .team-name {
    font-size: 0.8rem;
}


/* ===== 球队Logo样式定义 ===== */
/* 赛果卡片中的球队Logo */
div.match-result-card img.match-table-team-logo,
div.match-result-card img.group-match-team-logo,
div.match-result-card img.group-match-team-logo-away,
div.match-result-card a img.match-table-team-logo,
div.match-result-card a img.group-match-team-logo,
div.match-result-card a img.group-match-team-logo-away {
    width: 28px !important;
    height: 28px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    max-width: 28px !important;
    max-height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
}

/* 比分区域左右间距 */
.match-score {
    padding: 0 48px !important;
}

/* 手机端Logo尺寸调整 */
@media (max-width: 768px) {

    div.match-result-card img.match-table-team-logo,
    div.match-result-card img.group-match-team-logo,
    div.match-result-card img.group-match-team-logo-away,
    div.match-result-card a img.match-table-team-logo,
    div.match-result-card a img.group-match-team-logo,
    div.match-result-card a img.group-match-team-logo-away {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
    }

    .match-score {
        padding: 0 24px !important;
    }


}