/* season.css - 赛季总览（重构版 - S/A/B分组） */
.scene--season { background: var(--color-bg); }
.season { height: 100%; display: flex; flex-direction: column; }
.season__header {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    padding: 12px 16px; background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-surface); gap: 8px;
}
.season__header h2 { font-size: 18px; margin: 0; }
.season__phase-info { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.season__phase { font-size: 13px; color: var(--color-gold); font-weight: 600; }
.season__round { font-size: 12px; color: var(--color-text-dim); }
.season__my-group { font-size: 12px; color: var(--color-accent); }

/* 标签栏 */
.season__tabs {
    display: flex; gap: 0; background: var(--color-surface);
    border-bottom: 1px solid var(--color-surface-light);
}
.season-tab {
    flex: 1; padding: 10px; text-align: center; font-size: 13px; font-weight: 600;
    background: transparent; border: none; border-bottom: 2px solid transparent;
    color: var(--color-text-dim); cursor: pointer; transition: all 0.2s;
    font-family: var(--font-main);
}
.season-tab:hover { color: var(--color-text); }
.season-tab--active { color: var(--color-gold); border-bottom-color: var(--color-gold); }
.season__content { flex: 1; overflow-y: auto; padding: 16px; }

/* ===== 分组排名 ===== */
.season-groups { display: flex; flex-direction: column; gap: 20px; }
.group-section {
    background: var(--color-surface); border-radius: var(--radius-lg);
    padding: 14px; border: 1px solid var(--color-surface-light);
}
.group-section--mine { border-color: var(--color-gold); box-shadow: 0 0 12px rgba(240,192,64,0.15); }
.group-section__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; }
.group-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 22px; border-radius: 4px; font-size: 12px;
    font-weight: 800; color: #fff;
}
.group-badge--s { background: linear-gradient(135deg, #f4a261, #e76f51); }
.group-badge--a { background: linear-gradient(135deg, #2a9d8f, #264653); }
.group-badge--b { background: linear-gradient(135deg, #457b9d, #1d3557); }
.group-mine-tag { font-size: 11px; color: var(--color-gold); background: rgba(240,192,64,0.15); padding: 2px 8px; border-radius: 10px; }
.group-legend { display: flex; gap: 12px; margin-top: 6px; font-size: 11px; color: var(--color-text-dim); }
.legend-promo { color: var(--color-success); }
.legend-relegate { color: var(--color-danger); }

/* 积分表 */
.standings-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.standings-table--compact { font-size: 12px; }
.standings-table th {
    text-align: left; padding: 6px 8px; font-size: 10px;
    color: var(--color-text-dim); border-bottom: 1px solid var(--color-surface-light);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.standings-table td { padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.standings-row--me { background: rgba(240,192,64,0.1); }
.standings-row--me td { font-weight: 600; }
.standings-row--promo td:first-child { color: var(--color-success); font-weight: 700; }
.standings-row--relegate td:first-child { color: var(--color-danger); font-weight: 700; }
.standings-team-cell { display: flex; align-items: center; gap: 4px; }
.standings-logo .img-wrapper { vertical-align: middle; }
.star-me { color: var(--color-gold); font-size: 11px; }
.streak-cell { font-size: 11px; white-space: nowrap; }

/* ===== 赛程 ===== */
.season-schedule {}
.phase-timeline { display: flex; gap: 4px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.phase-item {
    display: flex; align-items: center; gap: 6px; padding: 6px 10px;
    background: var(--color-surface); border-radius: var(--radius); font-size: 11px;
    white-space: nowrap; min-width: fit-content;
}
.phase-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-surface-light); flex-shrink: 0; }
.phase-item--done .phase-item__dot { background: var(--color-success); }
.phase-item--active { background: rgba(240,192,64,0.15); border: 1px solid var(--color-gold); }
.phase-item--active .phase-item__dot { background: var(--color-gold); box-shadow: 0 0 6px var(--color-gold); }
.phase-item--future { opacity: 0.5; }
.schedule-section-title { font-size: 14px; margin: 0 0 12px; }
.round-list { display: flex; flex-direction: column; gap: 16px; }
.round-group { background: var(--color-surface); border-radius: var(--radius-lg); padding: 12px; }
.round-group--current { border: 1px solid var(--color-gold); }
.round-group__title { font-size: 13px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.round-current-badge { font-size: 10px; background: var(--color-gold); color: #000; padding: 1px 6px; border-radius: 8px; font-weight: 700; }
.match-list { display: flex; flex-direction: column; gap: 6px; }

/* 比赛卡片 */
.match-card {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    background: var(--color-bg); border-radius: var(--radius); font-size: 12px;
    border-left: 3px solid transparent;
}
.match-card--mine { border-left-color: var(--color-gold); background: rgba(240,192,64,0.05); }
.match-card--played { opacity: 0.85; }
.match-card__teams { display: flex; align-items: center; gap: 6px; flex: 1; }
.match-card__team { display: flex; align-items: center; gap: 3px; font-weight: 600; }
.match-card__team--winner { color: var(--color-gold); }
.match-card__vs { color: var(--color-text-dim); font-size: 10px; }
.match-card__result { font-size: 11px; color: var(--color-text-dim); }
.match-card__result--pending { color: var(--color-accent); }
.match-card__result .score { font-weight: 700; color: var(--color-text); }
.match-card__result .kills { font-size: 10px; margin-left: 4px; }
.match-card__group { font-size: 10px; color: var(--color-text-dim); background: var(--color-surface); padding: 1px 6px; border-radius: 6px; }

/* ===== 我的战绩 ===== */
.my-history {}
.history-summary { display: flex; gap: 12px; margin-bottom: 16px; }
.summary-stat {
    flex: 1; text-align: center; padding: 12px 8px;
    background: var(--color-surface); border-radius: var(--radius-lg);
}
.summary-val { display: block; font-size: 24px; font-weight: 800; color: var(--color-text); }
.summary-stat--win .summary-val { color: var(--color-success); }
.summary-stat--lose .summary-val { color: var(--color-danger); }
.summary-label { font-size: 11px; color: var(--color-text-dim); margin-top: 2px; }
.match-history-list { display: flex; flex-direction: column; gap: 4px; }
.history-row {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px;
    background: var(--color-surface); border-radius: var(--radius);
    border-left: 3px solid transparent; font-size: 12px;
}
.history-row--win { border-left-color: var(--color-success); }
.history-row--lose { border-left-color: var(--color-danger); }
.history-row__result { font-weight: 800; width: 20px; text-align: center; }
.history-row--win .history-row__result { color: var(--color-success); }
.history-row--lose .history-row__result { color: var(--color-danger); }
.history-row__vs { color: var(--color-text-dim); font-size: 10px; }
.history-row__opponent { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.history-row__score { font-weight: 700; }
.history-row__kills { font-size: 10px; color: var(--color-text-dim); }
.history-row__phase, .history-row__group { font-size: 10px; color: var(--color-text-dim); margin-left: auto; }

/* ===== 全联赛战报 ===== */
.league-report h3 { margin: 0 0 12px; font-size: 15px; }
.league-list { display: flex; flex-direction: column; gap: 4px; }
.league-item {
    display: flex; align-items: center; gap: 6px; padding: 8px 10px;
    background: var(--color-surface); border-radius: var(--radius); font-size: 12px;
}
.league-item--mine { background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.2); }
.league-item__group { font-size: 10px; color: var(--color-text-dim); min-width: 28px; }
.league-item__team { display: flex; align-items: center; gap: 3px; font-weight: 600; min-width: 50px; }
.league-item__team--winner { color: var(--color-gold); }
.league-item__score { font-weight: 800; margin: 0 4px; }
.league-item__kills { font-size: 10px; color: var(--color-text-dim); margin-left: auto; }

.season-empty { text-align: center; color: var(--color-text-dim); padding: 40px 0; font-size: 14px; }

/* ===== 比赛结算的联赛战报 ===== */
.other-results { margin-top: 16px; padding: 12px; background: var(--color-surface); border-radius: var(--radius-lg); }
.other-results__title { font-size: 13px; margin: 0 0 8px; color: var(--color-accent); }
.other-results__list { display: flex; flex-direction: column; gap: 4px; }
.other-result-row {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 12px; padding: 4px 0;
}
.other-result-score { font-weight: 800; min-width: 28px; text-align: center; }
.winner-text { color: var(--color-gold); font-weight: 700; }
