/* Shared UX: condensed tables, touch targets, shells */

/* Condense legacy scoring and team-stat tables; roster views control their own columns. */
.STHSPHPTeam_PlayersScoringTable thead th:nth-child(n+12),
.STHSPHPTeam_PlayersScoringTable tbody td:nth-child(n+12),
.STHSPHPTeam_GoaliesScoringTable thead th:nth-child(n+10),
.STHSPHPTeam_GoaliesScoringTable tbody td:nth-child(n+10),
.STHSPHPTeamsStatSub_Table thead th:nth-child(n+10),
.STHSPHPTeamsStatSub_Table tbody td:nth-child(n+10) {
	display: none !important;
}

/* Standings: thead has colspan team cell; tbody has rank + team */
.standings-shell .STHSPHPStanding_Table thead th:nth-child(n+7):not(.standings-home-col):not(.standings-visitor-col),
.standings-shell .STHSPHPStanding_Table tbody td:nth-child(n+8):not(.standings-home-col):not(.standings-visitor-col) {
	display: none !important;
}

/* Hide stale toggle markup if an older cached script still inserts it. */
.cchl-cols-toggle { display: none !important; }

/* Sticky first meaningful name column when scrolling wide tables */
.team-roster-table-wrap,
.standings-table-scroll,
.roster-page-table-wrap,
.team-stats-tab .team-roster-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Touch-friendlier controls */
@media screen and (max-width: 980px) {
	.STHSTodayGame_GameFinal a,
	.home-news-item__actions a,
	.tablesorter_ColumnSelectorButton,
	.tablesorter_Reset,
	.roster-page-filter-link,
	input.tablesorter-filter,
	select.tablesorter-filter {
		min-height: 40px !important;
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		font-size: 14px !important;
	}

	.roster-page-filter-chip input[type="number"],
	.roster-page-filter-chip input[type="checkbox"] {
		min-height: 28px;
		min-width: 28px;
	}

	#cssmenu #menu-button {
		min-height: 44px;
		line-height: 44px;
		padding: 0 16px;
	}
}
