/* ====================================================
   千万级体育门户：积分榜专属样式 (Standings)
   ==================================================== */

/* --- 1. 外围容器与导航 --- */
.portal-table-container {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-top: 3px solid var(--theme-primary);
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.see64-league-matrix-nav {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

/* --- 2. 积分榜核心表格排版 --- */
.see64-table-standings {
    width: 100%; /* 强制撑满 */
    border-collapse: collapse;
}
.see64-table-standings th {
    background-color: #f8f9fa;
    color: #666;
    font-weight: normal;
    font-size: 13px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 16px 12px; /* 增加呼吸感 */
}
.see64-table-standings td {
    font-size: 14px;
    color: #333;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px dashed #eee;
    padding: 16px 12px; /* 增加呼吸感 */
}
.see64-table-standings tr:hover {
    background-color: #fcfcfc;
}

/* 核心魔法：让球队列占据将近一半的宽度，推开右侧数据 */
.see64-td-team {
    width: 45%;
    text-align: left !important;
    font-weight: 500;
}
.see64-td-team a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}
.see64-td-team a:hover {
    color: var(--theme-primary);
}
.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* --- 3. 排名与胜平负徽章 --- */
.see64-rank-box {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    background: #e5e5e5;
    color: #666;
    text-align: center;
}
/* 默认前10名高亮 (根据赛事需要可后续调整) */
tr:nth-child(1) .see64-rank-box, tr:nth-child(2) .see64-rank-box, tr:nth-child(3) .see64-rank-box,
tr:nth-child(4) .see64-rank-box, tr:nth-child(5) .see64-rank-box, tr:nth-child(6) .see64-rank-box,
tr:nth-child(7) .see64-rank-box, tr:nth-child(8) .see64-rank-box, tr:nth-child(9) .see64-rank-box,
tr:nth-child(10) .see64-rank-box {
    background: var(--theme-primary);
    color: #fff;
}

.see64-form-box {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    color: #fff;
    font-size: 11px;
    margin-right: 2px;
    border-radius: 2px;
    font-weight: bold;
}
.form-w { background-color: #dc3545; }
.form-d { background-color: #6c757d; }
.form-l { background-color: #198754; }


/* --- 4. 现代 iOS 风格选项卡 (Tabs) --- */
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; animation: jztFadeIn 0.3s ease; }
@keyframes jztFadeIn { 
    from { opacity: 0; transform: translateY(5px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.see64-conf-tabs {
    display: inline-flex;
    background: #f0f2f5; 
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 25px;
    list-style: none;
    border: none;
}
.see64-conf-tabs .nav-item { 
    margin: 0; 
    padding: 0; 
}
.see64-conf-tabs .nav-link {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    padding: 8px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}
.see64-conf-tabs .nav-link:hover { 
    color: var(--theme-primary); 
}
.see64-conf-tabs .nav-link.active {
    background: #fff !important; 
    color: var(--theme-primary) !important; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}


/* --- 5. 移动端 (Mobile) 完美适配 --- */
@media (max-width: 768px) {
    .container.mt-2 { margin-top: 0 !important; }
    .container { padding-left: 8px !important; padding-right: 8px !important; }
    
    .portal-table-container {
        padding: 15px 10px;
        margin-bottom: 20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .portal-table-container h1 { font-size: 16px !important; }
    
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #eee;
        border-radius: 6px;
        margin-bottom: 15px;
    }
    
    .see64-league-matrix-nav {
        padding: 8px 10px !important;
        border-radius: 4px;
        margin-bottom: 12px !important;
    }
    .see64-league-matrix-nav .tit {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        gap: 6px !important;
    }
    .see64-league-matrix-nav .nav-list { gap: 5px !important; }
    .see64-league-matrix-nav a {
        padding: 3px 10px !important;
        font-size: 11px !important;
        border-radius: 20px !important;
        font-weight: bold;
    }
    .see64-league-matrix-nav a.active {
        box-shadow: 0 1px 3px rgba(236,72,153,0.3);
    }
    
    /* 移动端表格紧凑化 */
    .see64-table-standings th, 
    .see64-table-standings td {
        white-space: nowrap; /* 移动端禁止折行 */
        padding: 12px 6px; /* 压缩间距 */
        font-size: 13px;
    }
    .see64-td-team {
        width: auto; /* 取消 45% 的强占位 */
        min-width: 120px;
    }
    .see64-td-team a { gap: 6px; }
    .team-logo { width: 20px; height: 20px; }
    
    /* 移动端选项卡 */
    .see64-conf-tabs .nav-link {
        padding: 6px 15px;
        font-size: 13px;
        margin-right: 5px;
    }
}
/* PBN_HASH: yXh4eBcQOsYWP8JEfGARvzMHp5ir2Ig9 */
