/* Zion Lions - Tournament page. Loaded after zion_public.min.css. Not minified. */

.trHead {
	margin-bottom: 1.6rem;
}

.trHead .sectionTitle {
	margin-bottom: .6rem;
}

.trDates {
	font-size: 1.6rem;
	font-weight: 800;
}

.trNotes {
	margin-top: .6rem;
	font-size: 1.4rem;
	color: var(--muted, rgba(255, 255, 255, .72));
}

.trSummary {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin: 0 0 2rem 0;
}

.trSummary[hidden],
.trTools[hidden],
.trSwitch[hidden],
.trLocs[hidden] {
	display: none;
}

.trSumItem {
	flex: 1 1 22rem;
	padding: 1.4rem 1.8rem;
	border: .1rem solid rgba(255, 255, 255, .12);
	border-left: .5rem solid var(--accent, #d61f26);
	border-radius: 1.2rem;
	background: var(--panel, #0d1117);
}

.trSumItem span {
	display: block;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .65);
}

.trSumItem b {
	display: block;
	margin-top: .4rem;
	font-size: 2rem;
	line-height: 1.2;
}

.trSwitch {
	margin-bottom: 1.6rem;
}

.trSwitchLabel {
	margin-bottom: .6rem;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .7;
}

.trTourList {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
	gap: 1rem;
}

.trTourCard {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: 1.2rem 1.4rem;
	text-align: left;
	color: #fff;
	font: inherit;
	cursor: pointer;
	background: rgba(255, 255, 255, .05);
	border: .1rem solid rgba(255, 255, 255, .14);
	border-radius: .8rem;
}

.trTourCard:hover {
	background: rgba(255, 255, 255, .09);
}

.trTourCard[aria-pressed="true"] {
	border-color: var(--accent, #d61f26);
	box-shadow: inset 0 0 0 .1rem var(--accent, #d61f26);
}

.trTourTag {
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .75;
}

.trTourCard.upcoming .trTourTag {
	color: #ffd45e;
	opacity: 1;
}

.trTourCard.current .trTourTag {
	color: #7ee2a0;
	opacity: 1;
}

.trTourName {
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.2;
}

.trTourDates {
	font-size: 1.3rem;
	opacity: .75;
}

/* filter chips */
.trTools {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem 2.4rem;
	margin-bottom: 1rem;
}

.trToolGroup {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
}

.trChip {
	min-height: 3.8rem;
	padding: 0 1.4rem;
	border: .1rem solid rgba(255, 255, 255, .22);
	border-radius: 99rem;
	background: rgba(255, 255, 255, .04);
	color: rgba(255, 255, 255, .85);
	font-family: inherit;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}

.trChip:hover {
	background: rgba(255, 255, 255, .10);
}

.trChip[aria-pressed="true"] {
	background: var(--accent, #d61f26);
	border-color: var(--accent, #d61f26);
	color: #fff;
}

.trDay {
	margin: 2.8rem 0 1.2rem 0;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .8);
}

.trDay::before {
	content: "";
	display: inline-block;
	width: .5rem;
	height: 1.6rem;
	margin-right: 1rem;
	background: var(--accent, #d61f26);
	vertical-align: -.2rem;
}

/* game cards */
.trCards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
	gap: 1.4rem;
}

.trGame {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.4rem 1.6rem;
	border: .1rem solid rgba(255, 255, 255, .12);
	border-left: .5rem solid rgba(255, 255, 255, .25);
	border-radius: 1.2rem;
	background: var(--panel, #0d1117);
	scroll-margin-top: 2rem;
}

.trGame.isFinal {
	border-left-color: var(--hmWin, #2fbf71);
}

.trGame.isLive {
	border-left-color: var(--accent, #d61f26);
}

.trGame.isUs {
	box-shadow: 0 0 0 .2rem rgba(214, 31, 38, .55);
}

.trGameHead {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.trNo {
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.trRound {
	font-size: 1.2rem;
	font-weight: 700;
	color: rgba(255, 255, 255, .6);
}

.trStatus {
	margin-left: auto;
	padding: .3rem 1rem;
	border-radius: .6rem;
	background: rgba(255, 255, 255, .08);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, .85);
}

.trStatus.isFinal {
	background: rgba(47, 191, 113, .16);
	color: var(--hmWin, #2fbf71);
}

.trStatus.isLive {
	background: rgba(214, 31, 38, .22);
	color: #ff8a8f;
}

.trTeams {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}

.trTeam {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	min-height: 3.6rem;
}

.trTeamName {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.trTeam.isPending .trTeamName {
	font-weight: 500;
	font-style: italic;
	color: rgba(255, 255, 255, .55);
}

.trTeam.isLose {
	color: rgba(255, 255, 255, .55);
}

.trScore {
	flex: 0 0 auto;
	min-width: 3.6rem;
	text-align: right;
	font-family: var(--hmDisplay, "Barlow Condensed", "Arial Narrow", system-ui, sans-serif);
	font-size: 3.2rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.trTeam.isWin .trScore {
	font-weight: 800;
}

.trGameFoot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .4rem 1.2rem;
	padding-top: .9rem;
	border-top: .1rem solid rgba(255, 255, 255, .10);
	font-size: 1.2rem;
	font-weight: 700;
	color: rgba(255, 255, 255, .65);
}

.trGameFoot a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: .2rem;
}

/* bracket view: one column per round, scrolls sideways on small screens */
.trBracket {
	display: flex;
	align-items: stretch;
	gap: 2rem;
	padding-bottom: 1.2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.trCol {
	flex: 0 0 26.5rem;
	display: flex;
	flex-direction: column;
}

.trColTitle {
	margin-bottom: 1rem;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

.trColGames {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 1.2rem;
}

.trGame.isCompact .trRound {
	display: none;
}

.trGame.isCompact .trTeamName {
	font-size: 1.4rem;
}

.trGame.isCompact .trScore {
	font-size: 2.6rem;
}

.trEmpty {
	padding: 2.4rem;
	border: .1rem dashed rgba(255, 255, 255, .2);
	border-radius: 1.2rem;
	color: rgba(255, 255, 255, .75);
	text-align: center;
}

/* locations */
.trLocs {
	margin-top: 3.2rem;
}

.trLocRow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .4rem 1.4rem;
	padding: .9rem 0;
	border-bottom: .1rem solid rgba(255, 255, 255, .08);
	font-size: 1.4rem;
}

.trLocRow b {
	flex: 0 0 12rem;
}

.trLocRow span {
	flex: 1 1 20rem;
	color: rgba(255, 255, 255, .75);
}

.trLocRow a {
	color: #fff;
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.trUpdated {
	margin-top: 2rem;
	font-size: 1.2rem;
	color: rgba(255, 255, 255, .55);
}

@media (max-width: 600px) {
	.trCards {
		grid-template-columns: 1fr;
	}

	.trCol {
		flex-basis: 25rem;
	}
}


/* print / save as PDF: a clean black on white copy of every game and result */
.trPrintOnly {
	display: none;
}

@media print {
	@page {
		margin: 1.2cm;
	}

	html,
	body {
		height: auto !important;
		overflow: visible !important;
		background: #fff !important;
		color: #000 !important;
		font-size: 10px;
	}

	.siteHeader,
	.heroCourtShort,
	.footer,
	.trTools,
	.trSwitch,
	.modalOverlay,
	.modal,
	.zttBtn,
	.navToggle,
	.navOverlay,
	.zpwaBar,
	.trUpdated {
		display: none !important;
	}

	.siteShell,
	.siteMain,
	.section,
	.wrap,
	.card {
		background: transparent !important;
		box-shadow: none !important;
		border: 0 !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
		max-width: none !important;
		width: 100% !important;
	}

	.trPrintOnly {
		display: block;
		margin: 0 0 .6rem 0;
		font-size: 1.2rem;
		font-weight: 800;
		letter-spacing: .1em;
		text-transform: uppercase;
		color: #444;
	}

	.trHead .sectionTitle {
		color: #000 !important;
		font-size: 2.8rem;
	}

	.trDates,
	.trNotes {
		color: #333 !important;
		font-size: 1.4rem;
	}

	.trSummary {
		display: flex;
		flex-wrap: wrap;
		gap: 1.2rem;
		margin: 1rem 0;
	}

	.trSumItem {
		background: #fff !important;
		border: .1rem solid #999 !important;
		color: #000 !important;
	}

	.trSumItem span,
	.trSumItem b {
		color: #000 !important;
	}

	.trDay {
		color: #000 !important;
		margin: 1.6rem 0 .8rem 0;
		font-size: 1.4rem;
		break-after: avoid;
	}

	.trCards {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.trGame,
	.trGame.isFinal,
	.trGame.isLive,
	.trGame.isUs {
		background: #fff !important;
		color: #000 !important;
		border: .1rem solid #888 !important;
		box-shadow: none !important;
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.trNo,
	.trRound,
	.trTeamName,
	.trScore,
	.trGameFoot,
	.trGameFoot a,
	.trStatus {
		color: #000 !important;
		background: transparent !important;
		border-color: #888 !important;
	}

	.trTeam.isLose,
	.trTeam.isLose .trTeamName,
	.trTeam.isLose .trScore,
	.trTeam.isPending .trTeamName {
		color: #555 !important;
	}

	.trTeam.isWin .trTeamName,
	.trTeam.isWin .trScore {
		font-weight: 900 !important;
	}

	.trGameFoot {
		border-top: .1rem solid #bbb !important;
	}

	.trLocs {
		margin-top: 1.6rem !important;
		break-inside: avoid;
	}

	.trLocs .trDay,
	.trLocRow,
	.trLocRow b,
	.trLocRow span {
		color: #000 !important;
	}

	.trLocRow a {
		display: none;
	}
}


/* printable bracket (hidden on screen, shown only when "Print Bracket" is used) */
.trPrintBracket {
	display: none;
}

@page bracket {
	size: landscape;
	margin: .8cm;
}

@media print {
	.isPrintBracket .trPrintBracket {
		display: block;
		page: bracket;
		margin: 0;
	}

	.isPrintBracket .trHead,
	.isPrintBracket #trBody,
	.isPrintBracket .trSummary,
	.isPrintBracket .trLocs {
		display: none !important;
	}

	.trPrintPage {
		break-after: page;
		page-break-after: always;
	}

	.trPrintPage:last-of-type {
		break-after: auto;
		page-break-after: auto;
	}

	.trPrintSvg {
		display: block;
		width: 100%;
		height: auto;
	}

	.trPrintFoot {
		margin-top: .6rem;
		font-size: 1.1rem;
		color: #000;
		text-align: center;
	}

	.trPrintLocs {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: .3rem 1.6rem;
		margin-bottom: .4rem;
	}
}

/* several placement games stacked in one column, each with its own title */
.trColGames .trColTitle {
	margin: 1.4rem 0 .2rem 0;
}

.trColGames .trColTitle:first-child {
	margin-top: 0;
}
