/* =====================================================================
 * season-history.css — Season-by-Season History (bare /football/schedule/)
 *
 * Conditionally loaded by goldendome_enqueue_season_history_css() on the
 * season-history hub only. The table is the sitewide `.data-table` treatment;
 * this sheet adds just the surface-specific touches:
 *   1. Horizontal scroll wrapper so the 7-column table never crushes its
 *      columns on mobile (60% of traffic).
 *   2. Left-aligned Season + Coach cells (non-wrapping links).
 *   3. The bowl cell's name + result sub-line, with W/L coloring.
 *   4. The footnote caption under the table.
 *
 * The in-content leaderboard below the table reuses the shared `.schedule-ad`
 * wrapper (centered 728 frame + sunk section-break band) from the bundle — no
 * rule needed here.
 *
 * Colors come from tokens (--win, --loss, --text-muted). Layout spacing
 * follows the per-surface sheet convention (raw px), mirroring head-coaches.css
 * and bowl-history.css.
 * ===================================================================== */

/* 1. Mobile horizontal scroll. */
.page--season-history .season-history-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.page--season-history .season-history-table {
	width: 100%;
	/* 7 columns; scrolls sideways on mobile rather than reflowing to mush. */
	min-width: 720px;
}

/* 2. Season + Coach columns — left-aligned, kept on one line. */
.page--season-history .season-history-table__season {
	text-align: left;
	white-space: nowrap;
}

.page--season-history .season-history-table__coach {
	text-align: left;
	white-space: nowrap;
}

/* 3. Bowl cell — one line per bowl (CFP-era seasons have two), name over a
 *    quiet result sub-line. */
.page--season-history .season-history-table__bowl {
	text-align: left;
}

.page--season-history .season-history-table__bowl-line {
	display: block;
}

.page--season-history .season-history-table__bowl-line + .season-history-table__bowl-line {
	margin-top: 6px;
}

.page--season-history .season-history-table__bowl-result {
	display: block;
	font-size: 0.8125rem;
	color: var(--text-muted);
}

/* W/L coloring on the bowl result. */
.page--season-history .season-history-table__bowl-result--w {
	color: var(--win);
	font-weight: 600;
}

.page--season-history .season-history-table__bowl-result--l {
	color: var(--loss);
	font-weight: 600;
}

/* Rank cell — keep the "#" tight to the number. */
.page--season-history .season-history-table__rank {
	white-space: nowrap;
}

/* Current-season jump link in the deck. */
.page--season-history .season-history-current-link {
	white-space: nowrap;
}

/* 4. Footnote under the table — quiet, small caption. */
.page--season-history .season-history-note {
	margin-top: 14px;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--text-muted);
}
