/*
 * The Hog Race adjustment layer.
 * Keep future Hog Race-only styling in this file so the other sections remain untouched.
 */

.pat-root--compact {
	margin-bottom: 0;
}

.pat-root--compact .pat-view-controls {
	align-items: stretch;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.8rem;
	padding: 0.55rem;
}

.pat-root--compact .pat-view-switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
}

.pat-root--compact .pat-view-button {
	font-size: 0.68rem;
	min-height: 34px;
	padding: 0.55rem 0.35rem;
}

.pat-root--compact .pat-week-control {
	justify-content: space-between;
	width: 100%;
}

.pat-root--compact .pat-week-control select {
	min-height: 34px;
	min-width: 76px;
	padding-bottom: 0.3rem;
	padding-top: 0.3rem;
}

.pat-root--compact .pat-section {
	margin-bottom: 0;
	padding: 0.9rem 0.7rem 0.75rem;
}

.pat-root--compact .pat-section-heading {
	margin-bottom: 0.8rem;
}

.pat-root--compact .pat-section-heading h3 {
	font-size: 1.15rem;
}

.pat-root--compact .pat-podium {
	align-items: end;
	gap: 0.4rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	min-height: 180px;
	padding-top: 0.5rem;
}

.pat-root--compact .pat-podium-card,
.pat-root--compact .pat-podium-card--1,
.pat-root--compact .pat-podium-card--2,
.pat-root--compact .pat-podium-card--3 {
	min-height: 0;
	padding: 0.85rem 0.3rem 0.65rem;
}

.pat-root--compact .pat-podium-card--1 {
	min-height: 170px;
}

.pat-root--compact .pat-podium-card--2 {
	min-height: 154px;
}

.pat-root--compact .pat-podium-card--3 {
	min-height: 142px;
}

.pat-root--compact .pat-medal {
	border-width: 2px;
	font-size: 0.82rem;
	height: 34px;
	top: -17px;
	width: 34px;
}

.pat-root--compact .pat-podium-site {
	font-size: 0.74rem;
	line-height: 1.15;
	margin: 0.75rem 0 0.55rem;
	min-height: 3.45em;
	overflow-wrap: anywhere;
}

.pat-root--compact .pat-podium-score .pat-accuracy {
	font-size: clamp(1.15rem, 5vw, 1.45rem);
}

.pat-root--compact .pat-podium-score small {
	font-size: 0.52rem;
	line-height: 1.15;
	margin-top: 0.25rem;
}
