body {
	--fsAddBuffer: 22px;
}
[id='chesspuzzle_leaderboard_atf'],
[id='chesspuzzle_mrec'],
[id='chesspuzzle_mrec_2'],
[id='chesspuzzle_mobile_leaderboard'],
[id='chesspuzzle_medrec_3'],
[id='chesspuzzle_incontent_1'],
[id='chesspuzzle_incontent_2'],
[id='chesspuzzle_incontent_3'],
[id='chesspuzzle_desktop_leaderboard_btf'],
[id='chesspuzzle_mrec_4'],
[id='chesspuzzle_mrec_5'] {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: calc(var(--height) + var(--fsAddBuffer));
	height: calc(var(--height) + var(--fsAddBuffer));
	width: 100%;
}
[id='chesspuzzle_incontent_1'] {
		--height: 100px;
}
[id='chesspuzzle_incontent_2'] {
		--height: 100px;
}
[id='chesspuzzle_incontent_3'] {
		--height: 100px;
}
[id='chesspuzzle_leaderboard_atf'] {
		--height: 50px;
}
[id='chesspuzzle_mobile_leaderboard'] {
		--height: 50px;
}
[id='chesspuzzle_mrec'] {
		--height: 250px;
}
@media only screen and (min-width: 768px) {
	[id='chesspuzzle_desktop_leaderboard_btf'] {
		--height: 90px;
	}
	[id='chesspuzzle_incontent_1'] {
		--height: 90px;
	}
	[id='chesspuzzle_incontent_2'] {
		--height: 90px;
	}
	[id='chesspuzzle_incontent_3'] {
		--height: 90px;
	}
	[id='chesspuzzle_leaderboard_atf'] {
		--height: 90px;
	}
	[id='chesspuzzle_medrec_3'] {
		--height: 250px;
	}
	[id='chesspuzzle_mobile_leaderboard'] {
		display: none; 
	}
	[id='chesspuzzle_mrec'] {
		--height: 250px;
	}
	[id='chesspuzzle_mrec_2'] {
		--height: 250px;
	}
	[id='chesspuzzle_mrec_4'] {
		--height: 600px;
	}
	[id='chesspuzzle_mrec_5'] {
		--height: 280px;
	}
}
