/* ---- 积分榜卡片 ---- */
.sc-card { background:#fff; border-radius:6px; box-shadow:0 1px 6px rgba(0,0,0,.06); overflow:hidden; }

/* ---- 顶部信息栏 ---- */
.sc-top { display:flex; align-items:center; justify-content:space-between; height:40px; padding:0 16px; background:linear-gradient(135deg,#f9fcf9,#eef5ee); border-bottom:1px solid #dce8dc; }
.sc-top-left { display:flex; align-items:center; gap:8px; }
.sc-league { font-size:15px; font-weight:700; color:#1a1a1a; margin:0; }
.sc-season-tag { font-size:12px; color:#339966; border:1px solid #339966; padding:1px 9px; border-radius:3px; font-weight:600; white-space:nowrap; }
.sc-top-right select { padding:5px 28px 5px 10px; font-size:12px; border:1px solid #ddd; border-radius:4px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 8px center; appearance:none; -webkit-appearance:none; cursor:pointer; color:#555; }
.sc-top-right select:focus { outline:none; border-color:#339966; }
/* ---- 赛季切换条 ---- */
.season-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 16px;
    background: #1e2a32;
    border-bottom: 1px solid #2a3a45;
}
.season-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.season-link {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    color: #ccc;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
}
.season-link:hover {
    color: #4cda8a;
    border-color: #4cda8a;
    background: rgba(76,218,138,0.12);
    text-decoration: none;
}
.season-link.active {
    color: #fff;
    background: #339966;
    border-color: #339966;
}
.season-link.active:hover {
    color: #fff !important;
    background: #339966 !important;
    border-color: #339966 !important;
}

/* ---- 维度标签（足球） ---- */
.sc-tabs { display:flex; flex-wrap:wrap; gap:6px; padding:10px 16px; background:#fff; border-bottom:1px solid #f0f0f0; }
.sc-tab { padding:5px 14px; font-size:12.5px; color:#666; background:#f5f6f8; border:none; border-radius:16px; cursor:pointer; transition:all .15s; font-weight:500; line-height:1.6; }
.sc-tab:hover { background:#e8e8e8; color:#333; }
.sc-tab.active { background:#339966; color:#fff; font-weight:600; }

/* ---- 表格区域 ---- */
.sc-body { padding:0; }
.sc-body .dimension-content { display:none; }
.sc-body .dimension-content.active { display:block; }
/* ---- 阶段区块（篮球） ---- */
.sc-stage { padding:0; }
.sc-stage-hd { padding:12px 16px 8px; margin:0; font-size:14px; font-weight:700; color:#333; border-bottom:2px solid #339966; }
.sc-stage:first-child .sc-stage-hd { padding-top:8px; }

/* ---- 表格样式 ---- */
.sc-table { width:100%; border-collapse:collapse; font-size:13px; }
.sc-table thead th { background:#fafafa; padding:10px 6px; font-weight:600; color:#888; font-size:11.5px; text-align:center; border-bottom:2px solid #e0e0e0; white-space:nowrap; }
.sc-table thead th:first-child { padding-left:16px; }
.sc-table thead th:nth-child(2) { text-align:left; }
.sc-table tbody td { padding:9px 6px; text-align:center; border-bottom:1px solid #f2f2f2; color:#333; }
.sc-table tbody td:first-child { padding-left:16px; }
.sc-table tbody td:nth-child(2) { text-align:left; font-weight:500; }
.sc-table tbody td:nth-child(2) a { color:#333; text-decoration:none; }
.sc-table tbody td:nth-child(2) a:hover { color:#339966; }
.sc-table tbody tr:hover { background:#fafcfe; }

/* ---- 排名列 ---- */
.sc-table .col-pos { width:48px; font-weight:700; color:#bbb; font-size:13px; }
.sc-table tbody tr:nth-child(1) .col-pos,
.sc-table tbody tr:nth-child(2) .col-pos,
.sc-table tbody tr:nth-child(3) .col-pos { color:#339966; }

/* ---- 积分列 ---- */
.sc-table .col-pts { width:52px; font-weight:700; color:#339966; font-size:14px; }
.sc-table .col-pct { font-size:11px; color:#999; margin-left:2px; }

/* ---- 升降级分区 ---- */
.sc-table tbody tr { border-left:3px solid transparent; }
.sc-table tbody tr:nth-child(1),
.sc-table tbody tr:nth-child(2),
.sc-table tbody tr:nth-child(3) { border-left-color:#339966; }
.sc-table tbody tr:nth-child(1) { background:#f5faf6; }
.sc-table tbody tr:nth-child(2) { background:#f5faf6; }
.sc-table tbody tr:nth-child(3) { background:#f5faf6; }

/* ---- 备注 ---- */
.sc-table .col-note { font-size:11px; color:#aaa; width:auto; }

.sc-empty-hint { padding:60px 0; font-size:15px; color:#999; }
.sc-empty { padding:50px 0; text-align:center; color:#bbb; font-size:14px; }
/* ---- 球队赛季数据 ---- */
.team-stats-table { width:100%; border-collapse:separate; border-spacing:0 10px; margin-bottom:20px; }
.team-stats-table .table-row { display:flex; background-color:#f9f9f9; margin-bottom:5px; transition:background-color 0.3s; }
.team-stats-table .table-row:hover { background-color:#e9e9e9; }
.team-stats-table .table-cell { flex:1; padding:10px; text-align:center; border-right:1px solid #ddd; }
.team-stats-table .table-cell:last-child { border-right:none; }
.team-stats-table .header { background-color:#396; color:white; font-weight:bold; }
.team-stats-details { display:flex; flex-wrap:wrap; gap:20px; }
.team-detail { flex:1 1 calc(50% - 10px); min-width:300px; background-color:#f9f9f9; padding:15px; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.1); }
.team-detail h3 { margin-top:0; color:#396; border-bottom:2px solid #396; padding-bottom:5px; margin-bottom:10px; }
.detail-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); gap:10px; }
.detail-item { display:flex; justify-content:space-between; align-items:center; background-color:#fff; padding:5px 10px; border-radius:4px; box-shadow:0 1px 3px rgba(0,0,0,0.1); }
.detail-item .label { font-weight:bold; color:#555; }
.detail-item .value { color:#396; }

/* ---- 赛事信息 ---- */
.competition-container { display:flex; align-items:flex-start; gap:20px; }
.competition-logo { flex-shrink:0; width:150px!important; height:150px!important; border-radius:10px; overflow:hidden; }
.competition-logo img { width:100%; height:100%; object-fit:cover; }
.competition-info { display:flex; flex-wrap:wrap; gap:5px; }
.competition-info-item { flex:1 1 calc(50% - 10px); min-width:200px; }
.competition-info-label { font-weight:bold; color:#555; display:inline-block; text-align:right; }
.competition-info-value { background-color:#f9f9f9; padding:8px; border-radius:4px; display:inline-block; width:calc(100% - 100px); }

/* ---- 联赛选项卡（覆盖 index2024.css） ---- */
.PAGE_league .league-tabs { margin-bottom:0!important; }
.PAGE_league .league-tab-header { background:#f1f1f1; height:40px; display:flex; border-bottom:1px solid #ddd; }
.PAGE_league .league-tab-header .tab-item { padding:0 16px; line-height:40px; background:#fff; cursor:pointer; margin-right:2px; font-size:13px; position:relative; top:0; transition:all 0.3s ease; text-decoration:none; color:#333; display:block; }
.PAGE_league .league-tab-header .tab-item:hover,
.PAGE_league .league-tab-header .tab-item.active { color:#396; font-weight:700; }
.PAGE_league .league-tab-header .tab-item.active { border-top:2px solid #396; height:40px; }
.PAGE_league .league-tab-content { background:#fff; padding:10px 12px; }
.PAGE_league .league-tab-pane { display:none; }
.PAGE_league .league-tab-pane.active { display:block; }
/* ---- 赛事搜索 ---- */
.PAGE_league_search .team-search { background:linear-gradient(135deg,#339966 0%,#44b78b 100%); border:1px solid #dee2e6; border-radius:5px; padding:10px; display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; color:white; }
.PAGE_league_search .team-search input[type="text"],
.PAGE_league_search .team-search select { flex:1; padding:8px; border:1px solid #ced4da; border-radius:4px; margin-right:10px; font-size:14px; background-color:white; appearance:none; -webkit-appearance:none; -moz-appearance:none; }
.PAGE_league_search .team-search select { flex:0 0 auto; width:100px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 8px center; padding-right:28px; }
.PAGE_league_search .team-search button { background-color:#339966; color:white; border:none; border-radius:4px; padding:8px 16px; cursor:pointer; font-size:14px; transition:background-color 0.3s ease; flex:0 0 auto; }
.PAGE_league_search .team-search button:hover { background-color:#187044; }
.PAGE_league_search .team-search input[type="text"]:focus,
.PAGE_league_search .team-search select:focus { outline:none; border-color:#339966; box-shadow:0 0 0 2px rgba(51,153,102,0.2); }

.PAGE_league_search .search-results { background:#fff; padding:20px; border-radius:5px; box-shadow:0 1px 3px rgba(0,0,0,0.1); min-height:800px; }
.PAGE_league_search .search-results .result-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:15px; padding-bottom:10px; border-bottom:2px solid #339966; }
.PAGE_league_search .search-results h2 { font-size:18px; color:#333; margin:0; }
.PAGE_league_search .back-to-list { font-size:13px; color:#666; text-decoration:none; padding:4px 10px; border-radius:3px; background:#f8f8f8; transition:all 0.3s ease; }
.PAGE_league_search .back-to-list:hover { background:#339966; color:#ffffff!important; }

.PAGE_league_search .league-list { list-style:none; padding:0; margin:0; }
.PAGE_league_search .league-item { position:relative; margin-bottom:15px; overflow:visible; z-index:1; }
.PAGE_league_search .league-main { position:relative; }
.PAGE_league_search .league-main > a { background:#f8f8f8; border-radius:4px; transition:all 0.3s ease; display:flex; align-items:center; padding:10px; text-decoration:none; color:#333; z-index:1; }
.PAGE_league_search .league-main > a:hover { background:#e8f5f0; }

.PAGE_league_search .league-submenu { display:none; position:absolute; left:0; right:0; top:100%; background:#fff; border-radius:4px; box-shadow:0 2px 8px rgba(0,0,0,0.15); z-index:1000; padding:5px 0; }
.PAGE_league_search .league-item:hover .league-submenu { display:block; }
.PAGE_league_search .submenu-item { display:flex; align-items:center; padding:8px 15px; color:#333; text-decoration:none; font-size:13px; transition:all 0.3s ease; }
.PAGE_league_search .submenu-item i { margin-right:8px; font-size:14px; width:16px; text-align:center; color:#666; position:relative; top:1px; line-height:1; }
.PAGE_league_search .submenu-item:hover { background:#e8f5f0; color:#339966; }
.PAGE_league_search .submenu-item:hover i { color:#339966; }

.PAGE_league_search .league-item img { width:24px; height:24px; margin-right:10px; border-radius:50%; }
.PAGE_league_search .league-item .league-name { flex:1; }
.PAGE_league_search .no-results { text-align:center; padding:40px 0; color:#999; font-size:16px; }
/* ---- 赛事列表（六列） ---- */
.PAGE_league .letter-link.active { background:#396; color:#fff!important; font-weight:700; }
.PAGE_league .group-content { margin:0 -5px; }
.PAGE_league .league-item { width:calc(100% / 6); padding:0 5px; box-sizing:border-box; margin-bottom:8px; }
.PAGE_league .league-main>a { padding:6px 8px; font-size:12px; border-radius:3px; }
/* ---- standings 页左右布局 ---- */
.PAGE_league .miaobao.mb15 { margin-bottom:10px; }
.PAGE_league .team-search { margin-bottom:12px!important; }
.PAGE_league .standings-wrap { gap:10px; align-items:stretch; }
.PAGE_league .standings-left { width:340px; flex-shrink:0; display:flex; flex-direction:column; min-height:800px; }
.PAGE_league .standings-left .letter-link { width:24px; height:24px; font-size:11px; }
.PAGE_league .standings-left .league-item { width:50%!important; padding:0 5px; margin-bottom:6px; }
.PAGE_league .standings-left .league-main>a { padding:5px 8px; font-size:12px; border-radius:3px; }
.PAGE_league .standings-left .league-item.active .league-main>a,
.PAGE_league .standings-left .league-main>a.active { color:#396 !important; font-weight:700 !important; background:#e8f5f0 !important; }
.PAGE_league .standings-left .standings-more-wrap { padding:4px 0 2px!important; }
.PAGE_league .standings-left .league-tabs,
.PAGE_league .standings-left .league-tab-content,
.PAGE_league .standings-left .league-content,
.PAGE_league .standings-left .league-group { display:flex; flex-direction:column; flex:1; min-height:0; }
.PAGE_league .standings-left .group-content { overflow-y:auto; flex:1; align-content:flex-start; }
.PAGE_league .standings-right { flex:1; min-width:0; }
.PAGE_league .standings-empty { text-align:center; padding:60px 0; color:#999; font-size:15px; }
.PAGE_league .standings-left .group-content.limited .league-item:nth-child(n+67) { display:none; }
.PAGE_league .standings-left .group-content.show-all .league-item:nth-child(n+67) { display:block; }
.PAGE_league .standings-btn-more { display:inline-block; padding:3px 16px; font-size:12px; color:#396; border:1px solid #396; border-radius:12px; background:#fff; cursor:pointer; text-decoration:none; transition:all .2s; }
.PAGE_league .standings-btn-more:hover { background:#396; color:#fff!important; }
