/* phpBB Garage legacy MOD integration for proflat/phpBB 3.3
   Local-only compatibility layer: keeps old Garage templates usable in proflat. */

.section-garage #page-body,
.section-garage_vehicle #page-body,
.section-garage_modification #page-body,
.section-garage_quartermile #page-body,
.section-garage_dynorun #page-body,
.section-garage_track #page-body,
.section-garage_blog #page-body,
.section-garage_guestbook #page-body,
.section-garage_service #page-body,
.section-garage_premium #page-body {
	clear: both;
}

#garage {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.45;
}

/* Keep the legacy "latest updated" Garage menu at the bottom of Garage pages. */
#garage > .panel.bg3 > .inner > div[style] {
	display: flex;
	flex-direction: column;
}

#garage *,
#garage *::before,
#garage *::after {
	box-sizing: border-box;
}

#garage .panel {
	border-radius: 3px;
	border: 1px solid #d7d7d7;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	margin-bottom: 10px;
}

#garage .inner {
	padding: 10px;
}

#garage span.corners-top,
#garage span.corners-bottom,
#garage span.corners-top span,
#garage span.corners-bottom span {
	display: none !important;
}

/* Main Garage tabs: scoped so proflat's normal tabs are not affected. */
#garage > #tabs {
	margin: 0 0 10px;
	padding: 0;
	min-height: 0;
	overflow-x: auto;
	overflow-y: hidden;
}

#garage > #tabs ul,
#garage #gtabs ul {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#garage > #tabs li,
#garage #gtabs li {
	display: block;
	margin: 0;
	padding: 0;
}

#garage > #tabs a,
#garage #gtabs a {
	display: block;
	padding: 8px 9px;
	border-radius: 4px;
	background: #f2f4f7;
	border: 1px solid #d6dbe1;
	color: #555;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}

#garage > #tabs li.activetab a,
#garage #gtabs li.activetab a,
#garage > #tabs a:hover,
#garage #gtabs a:hover {
	background: #e85a4f;
	border-color: #e85a4f;
	color: #fff;
}


#garage > #tabs li.garage-action-tab {
	margin-left: auto;
}

#garage > #tabs li.responsive-tab {
	display: none !important;
}

#garage > #tabs li.garage-action-tab a {
	background: #2f8f46;
	border-color: #2f8f46;
	color: #fff;
}

#garage .tabbg {
	background: none !important;
	padding: 0;
}

/* Side menu + main content */
#garage-toggle {
	display: none;
}

#garage-toggle-handle {
	display: none;
}

#garage-menu {
	float: none;
	order: 2;
	width: 100%;
	margin: 10px 0 0 0;
}

#garage-main {
	float: none;
	clear: both;
	order: 1;
	width: 100%;
	margin-bottom: 10px;
}

#garage::after,
#garage .panel::after,
#garage .inner::after,
#garage .forabg::after,
#garage ul.garage_list::after,
#garage ul.topiclist::after {
	content: "";
	display: block;
	clear: both;
}

#garage-menu .panel,
#garage-menu .vehicles-mini,
#garage-latest-updated {
	background: #f7f7f7;
	border: 1px solid #d7d7d7;
	border-radius: 3px;
	margin: 0 0 10px 0;
}

#garage-latest-updated {
	clear: both;
	order: 3;
	width: 100%;
	margin-top: 18px;
}

#garage-latest-updated h3 {
	font-size: 18px;
	line-height: 1.3;
}

#garage-latest-updated .index_block,
#garage-latest-updated .index_block_header {
	font-size: 14px;
	line-height: 1.4;
}

#garage-menu .vehicles-mini .inner,
#garage-latest-updated .inner {
	padding: 10px;
}

#garage-menu .panel h3,
#garage-menu .vehicles-mini h3,
#garage-latest-updated h3,
#garage-main h3 {
	margin-top: 0;
	padding-bottom: 6px;
	border-bottom: 1px solid #e2e2e2;
	font-size: 1.2em;
}

#garage-menu dl,
#garage-latest-updated dl {
	margin: 0;
}

#garage-menu dl.mini,
#garage-latest-updated dl.mini {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 8px;
}

#garage-menu dt,
#garage-latest-updated dt {
	font-weight: 700;
	margin-bottom: 4px;
}

#garage-menu dd,
#garage-latest-updated dd {
	margin: 0;
	line-height: 1.35;
}

#garage-menu dl.mini dd,
#garage-latest-updated dl.mini dd {
	padding: 8px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 3px;
}

/* Old Garage list/table layout helpers */
#garage ul.garage_list,
#garage ul.topiclist {
	list-style: none;
	margin: 0;
	padding: 0;
}

#garage ul.garage_list {
	min-width: 860px;
}

#garage ul.garage_list li,
#garage ul.topiclist li.row {
	clear: both;
	padding: 8px 10px;
	border-top: 1px solid #e6e6e6;
}

#garage ul.garage_list dl {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0;
	width: 100%;
}

#garage ul.garage_list dt.gcamera_image {
	float: none;
	flex: 0 0 34px;
	width: 34px;
	padding: 6px 4px;
	margin: 0;
}

#garage ul.garage_list [class*="gwidth-"] {
	float: none;
	flex-shrink: 1;
	min-width: 0;
	word-break: normal;
	overflow-wrap: anywhere;
}

#garage ul.garage_list li:first-child,
#garage ul.topiclist li.row:first-child {
	border-top: 0;
}

#garage .forabg {
	background: #f7f7f7;
	border: 1px solid #d7d7d7;
	border-radius: 3px;
	margin-bottom: 10px;
	padding: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#garage .forabg .header {
	background: #4b4f54;
	color: #fff;
	font-weight: 700;
	border-radius: 3px 3px 0 0;
}

#garage .forabg .header a,
#garage .forabg .header dt,
#garage .forabg .header dd {
	color: #fff;
}

#garage .bg1,
#garage .row1 {
	background-color: #fbfbfb;
}

#garage .bg2 {
	background-color: #f2f2f2;
}

#garage .bg3 {
	background-color: #fff;
}

#garage dt,
#garage dd {
	min-height: 1px;
}

#garage dt.index_block_header,
#garage dd.index_block_header,
#garage dt.index_block,
#garage dd.index_block {
	float: left;
	width: 33.333%;
	text-align: center;
	padding: 8px 10px;
	margin: 0;
	font-size: 14px;
}

#garage .gwidth-5 { width: 5%; }
#garage .gwidth-7 { width: 7%; }
#garage .gwidth-8 { width: 8%; }
#garage .gwidth-10 { width: 10%; }
#garage .gwidth-12 { width: 12%; }
#garage .gwidth-14 { width: 14%; }
#garage .gwidth-15 { width: 15%; }
#garage .gwidth-16 { width: 16%; }
#garage .gwidth-20 { width: 20%; }
#garage .gwidth-25 { width: 25%; }
#garage .gwidth-30 { width: 30%; }
#garage .gwidth-40 { width: 40%; }
#garage .gwidth-50 { width: 50%; }
#garage .gwidth-60 { width: 60%; }
#garage .gwidth-70 { width: 70%; }
#garage .gwidth-80 { width: 80%; }

#garage [class*="gwidth-"] {
	float: left;
	padding: 7px 8px;
	margin: 0;
}

#garage ul.garage_list li.header [class*="gwidth-"],
#garage ul.garage_list li.header .gcamera_image {
	font-size: 13px;
	line-height: 1.25;
	font-weight: 700;
	text-transform: none;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

#garage .garage-image-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
	margin: 8px 0;
}

#garage .garage-image-gallery a,
#garage .gcamera_image {
	display: inline-block;
	padding: 4px;
	background: #fff;
	border: 1px solid #d7d7d7;
	border-radius: 3px;
}

#garage ul.garage_list .gcamera_image {
	background: transparent;
	border: 0;
	border-radius: 0;
}

#garage .garage-image-gallery img,
#garage .gcamera_image img,
#garage img {
	max-width: 100%;
	height: auto;
}

#garage .garage-camera-icon,
#garage .garage-edit-icon,
#garage .garage-delete-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

#garage .garage-camera-icon { background-image: url("./images/garage_camera.gif"); }
#garage .garage-edit-icon { background-image: url("./images/garage_edit.gif"); }
#garage .garage-delete-icon { background-image: url("./images/garage_delete.gif"); }

.icon-garage {
	background-image: url("./images/icon_garage.gif");
	background-repeat: no-repeat;
	background-position: 0 50%;
	padding-left: 18px;
}

#garage .submit-buttons,
#garage .display-options {
	clear: both;
	padding: 10px 0;
	text-align: center;
}

#garage ul.manage-vehicle-icons {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 8px 0 12px;
	list-style: none;
}

#garage ul.manage-vehicle-icons li {
	float: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	background: none !important;
}

#garage ul.manage-vehicle-icons li a {
	display: block !important;
	width: auto !important;
	height: auto !important;
	padding: 7px 10px;
	border-radius: 4px;
	background: #f2f4f7 !important;
	border: 1px solid #d6dbe1;
	color: #444;
	font-weight: 700;
	text-decoration: none;
}

#garage ul.manage-vehicle-icons li a:hover {
	background: #e85a4f !important;
	border-color: #e85a4f;
	color: #fff;
}

#garage ul.manage-vehicle-icons li span {
	display: inline !important;
}

#garage input.inputbox,
#garage select,
#garage textarea {
	max-width: 100%;
}

#garage .pagination {
	margin: 8px 0;
}

#garage-copyright {
	clear: both;
	padding: 10px 0;
	font-size: .85em;
	text-align: center;
	color: #888;
}

@media (max-width: 900px) {
	#garage-toggle,
	#garage-menu,
	#garage-main {
		float: none;
		width: 100% !important;
		margin-right: 0;
	}

	#garage-toggle {
		display: none;
	}
}

@media (max-width: 650px) {
	#garage [class*="gwidth-"],
	#garage dt.index_block_header,
	#garage dd.index_block_header,
	#garage dt.index_block,
	#garage dd.index_block {
		float: none;
		width: 100% !important;
		text-align: left;
	}

	#garage ul.garage_list [class*="gwidth-"] {
		width: auto !important;
		text-align: inherit;
	}

	#garage > #tabs a,
	#garage #gtabs a {
		padding: 9px 11px;
		font-size: 13px;
	}
}

/* Garage image lightbox overlay */
html.garage-lightbox-open,
html.garage-lightbox-open body {
	overflow: hidden;
}

#garage-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
}

#garage-lightbox.is-open {
	display: block;
}

#garage-lightbox .garage-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .86);
}

#garage-lightbox .garage-lightbox-dialog {
	position: absolute;
	inset: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#garage-lightbox .garage-lightbox-image {
	display: block;
	max-width: calc(100vw - 48px);
	max-height: calc(100vh - 94px);
	width: auto;
	height: auto;
	background: #111;
	box-shadow: 0 6px 30px rgba(0, 0, 0, .65);
	border-radius: 3px;
}

#garage-lightbox button {
	position: absolute;
	z-index: 2;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, .88);
	color: #222;
	font-weight: 700;
	cursor: pointer;
	line-height: 1;
}

#garage-lightbox button:hover {
	background: #fff;
}

#garage-lightbox .garage-lightbox-close {
	top: 8px;
	right: 8px;
	width: 42px;
	height: 42px;
	font-size: 32px;
}

#garage-lightbox .garage-lightbox-prev,
#garage-lightbox .garage-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 64px;
	font-size: 44px;
}

#garage-lightbox .garage-lightbox-prev {
	left: 8px;
}

#garage-lightbox .garage-lightbox-next {
	right: 8px;
}

#garage-lightbox .garage-lightbox-caption {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 8px;
	padding: 8px 12px;
	border-radius: 3px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	text-align: center;
	font-size: 13px;
}

#garage-lightbox .garage-lightbox-caption a {
	color: #fff;
	font-weight: 700;
	margin-left: 12px;
	text-decoration: underline;
}

@media (max-width: 700px) {
	#garage-lightbox .garage-lightbox-dialog {
		inset: 6px;
	}

	#garage-lightbox .garage-lightbox-image {
		max-width: calc(100vw - 12px);
		max-height: calc(100vh - 86px);
	}

	#garage-lightbox .garage-lightbox-prev,
	#garage-lightbox .garage-lightbox-next {
		width: 34px;
		height: 52px;
		font-size: 34px;
		background: rgba(255, 255, 255, .72);
	}

	#garage-lightbox .garage-lightbox-close {
		width: 38px;
		height: 38px;
	}
}

/* Small vehicle thumbnails in Garage overview lists */
#garage .garage-list-thumb-link {
	display: inline-block;
	margin-top: 6px;
}

#garage .garage-list-thumb {
	display: block;
	max-width: 96px;
	max-height: 62px;
	width: auto;
	height: auto;
	object-fit: cover;
	border: 1px solid #d6dbe1;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

#garage .garage-list-thumb:hover {
	border-color: #e85a4f;
}

/* Clickable Garage vehicle rows */
#garage li.garage-row-clickable {
	cursor: pointer;
}

#garage li.garage-row-clickable:hover {
	background-color: #eef5fb !important;
}

#garage li.garage-row-clickable:hover dd.index_block:first-child a:first-child {
	text-decoration: underline;
}

/* Better readable 1/4 mile table */
#garage .garage-quartermile-results ul.garage_list {
	min-width: 0;
}

#garage .garage-quartermile-results li.header dl {
	align-items: center;
}

#garage .garage-quartermile-results li.header dd {
	font-size: 12px;
	line-height: 1.2;
	padding: 10px 6px;
	white-space: normal;
}

#garage .garage-quartermile-results li.row dd {
	padding: 10px 6px;
	line-height: 1.35;
}

#garage .garage-quartermile-results .garage-qm-user {
	font-weight: 700;
}

#garage .garage-quartermile-results .garage-qm-vehicle {
	font-size: 13px;
}

#garage .garage-quartermile-results .garage-qm-time {
	font-family: Arial, Helvetica, sans-serif;
	font-variant-numeric: tabular-nums;
	text-align: left;
}

#garage .garage-quartermile-results .garage-qm-speed {
	display: block;
	font-size: 11px;
	color: #666;
	white-space: nowrap;
}

@media (max-width: 1000px) {
	#garage .garage-quartermile-results > .inner > ul.garage_list:first-of-type {
		display: none;
	}

	#garage .garage-quartermile-results ul.garage_list,
	#garage .garage-quartermile-results ul.garage_list dl {
		min-width: 0;
	}

	#garage .garage-quartermile-results ul.garage_list dl {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 10px;
		align-items: stretch;
	}

	#garage .garage-quartermile-results li.row {
		padding: 12px;
		border: 1px solid #ddd;
		border-radius: 4px;
		margin: 0 0 10px;
		background: #fff !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	}

	#garage .garage-quartermile-results dt.gcamera_image {
		grid-column: 1 / -1;
		width: auto;
		min-height: 0;
		padding: 0;
	}

	#garage .garage-quartermile-results dt.gcamera_image:empty {
		display: none;
	}

	#garage .garage-quartermile-results li.row dd {
		width: auto !important;
		flex: none;
		padding: 7px 8px;
		background: #f7f7f7;
		border: 1px solid #e5e5e5;
		border-radius: 3px;
		font-size: 13px;
		min-height: 44px;
	}

	#garage .garage-quartermile-results li.row dd::before {
		display: block;
		margin-bottom: 3px;
		font-size: 10px;
		line-height: 1.1;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .03em;
		color: #777;
	}

	#garage .garage-quartermile-results li.row dd:nth-of-type(1),
	#garage .garage-quartermile-results li.row dd:nth-of-type(2) {
		grid-column: 1 / -1;
	}

	#garage .garage-quartermile-results li.row dd:nth-of-type(1)::before { content: "Benutzer"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(2)::before { content: "Fahrzeug"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(3)::before { content: "Reaktion"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(4)::before { content: "60 Fuß"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(5)::before { content: "330 Fuß"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(6)::before { content: "1/8 Meile"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(7)::before { content: "1000 Fuß"; }
	#garage .garage-quartermile-results li.row dd:nth-of-type(8)::before { content: "1/4 Meile"; }

	#garage .garage-quartermile-results .garage-qm-time {
		font-size: 15px;
		font-weight: 700;
	}

	#garage .garage-quartermile-results .garage-qm-speed {
		display: inline-block;
		margin-left: 4px;
		font-size: 12px;
	}
}

/* Better readable dynorun / performance table */
#garage .garage-dynorun-results ul.garage_list {
	min-width: 0;
}

#garage .garage-dynorun-results li.header dl {
	align-items: center;
}

#garage .garage-dynorun-results li.header dd {
	font-size: 12px;
	line-height: 1.2;
	padding: 10px 6px;
	white-space: normal;
}

#garage .garage-dynorun-results li.row dd {
	padding: 10px 6px;
	line-height: 1.35;
}

#garage .garage-dynorun-results .garage-dyno-user {
	font-weight: 700;
}

#garage .garage-dynorun-results .garage-dyno-vehicle,
#garage .garage-dynorun-results .garage-dyno-centre {
	font-size: 13px;
}

#garage .garage-dynorun-results .garage-dyno-value {
	font-family: Arial, Helvetica, sans-serif;
	font-variant-numeric: tabular-nums;
	text-align: left;
}

#garage .garage-dynorun-results .garage-dyno-unit {
	display: block;
	font-size: 11px;
	color: #666;
	white-space: nowrap;
}

@media (max-width: 1000px) {
	#garage .garage-dynorun-results > .inner > ul.garage_list:first-of-type {
		display: none;
	}

	#garage .garage-dynorun-results ul.garage_list,
	#garage .garage-dynorun-results ul.garage_list dl {
		min-width: 0;
	}

	#garage .garage-dynorun-results ul.garage_list dl {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 10px;
		align-items: stretch;
	}

	#garage .garage-dynorun-results li.row {
		padding: 12px;
		border: 1px solid #ddd;
		border-radius: 4px;
		margin: 0 0 10px;
		background: #fff !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	}

	#garage .garage-dynorun-results dt.gcamera_image {
		grid-column: 1 / -1;
		width: auto;
		min-height: 0;
		padding: 0;
	}

	#garage .garage-dynorun-results dt.gcamera_image:empty {
		display: none;
	}

	#garage .garage-dynorun-results li.row dd {
		width: auto !important;
		flex: none;
		padding: 7px 8px;
		background: #f7f7f7;
		border: 1px solid #e5e5e5;
		border-radius: 3px;
		font-size: 13px;
		min-height: 44px;
	}

	#garage .garage-dynorun-results li.row dd::before {
		display: block;
		margin-bottom: 3px;
		font-size: 10px;
		line-height: 1.1;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .03em;
		color: #777;
	}

	#garage .garage-dynorun-results li.row dd:nth-of-type(1),
	#garage .garage-dynorun-results li.row dd:nth-of-type(2),
	#garage .garage-dynorun-results li.row dd:nth-of-type(3) {
		grid-column: 1 / -1;
	}

	#garage .garage-dynorun-results li.row dd:nth-of-type(1)::before { content: "Benutzer"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(2)::before { content: "Fahrzeug"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(3)::before { content: "Prüfstand"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(4)::before { content: "PS"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(5)::before { content: "Drehmoment"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(6)::before { content: "Ladedruck"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(7)::before { content: "Lachgas"; }
	#garage .garage-dynorun-results li.row dd:nth-of-type(8)::before { content: "Max. Leistung"; }

	#garage .garage-dynorun-results .garage-dyno-value {
		font-size: 15px;
		font-weight: 700;
	}

	#garage .garage-dynorun-results .garage-dyno-unit {
		display: inline-block;
		margin-left: 4px;
		font-size: 12px;
	}
}

/* Compact single-line Garage performance tables (quartermile + dynorun) */
#garage .garage-quartermile-results,
#garage .garage-dynorun-results,
#garage .garage-quartermile-results > .inner,
#garage .garage-dynorun-results > .inner {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#garage .garage-quartermile-results ul.garage_list,
#garage .garage-dynorun-results ul.garage_list {
	min-width: 900px;
}

#garage .garage-quartermile-results .garage-qm-speed,
#garage .garage-dynorun-results .garage-dyno-unit {
	display: inline;
	margin-left: 3px;
	font-size: inherit;
	color: inherit;
	white-space: nowrap;
}

@media (max-width: 1000px) {
	#garage .garage-quartermile-results > .inner > ul.garage_list:first-of-type,
	#garage .garage-dynorun-results > .inner > ul.garage_list:first-of-type {
		display: block;
	}

	#garage .garage-quartermile-results ul.garage_list,
	#garage .garage-dynorun-results ul.garage_list {
		min-width: 900px;
	}

	#garage .garage-quartermile-results ul.garage_list dl,
	#garage .garage-dynorun-results ul.garage_list dl {
		display: flex;
		align-items: stretch;
		gap: 0;
		margin: 0;
		width: 100%;
	}

	#garage .garage-quartermile-results li.row,
	#garage .garage-dynorun-results li.row {
		padding: 0;
		border: 0;
		border-radius: 0;
		margin: 0;
		box-shadow: none;
	}

	#garage .garage-quartermile-results dt.gcamera_image,
	#garage .garage-dynorun-results dt.gcamera_image {
		grid-column: auto;
		flex: 0 0 34px;
		width: 34px;
		min-height: 0;
		padding: 8px 4px;
		display: block;
	}

	#garage .garage-quartermile-results dt.gcamera_image:empty,
	#garage .garage-dynorun-results dt.gcamera_image:empty {
		display: block;
	}

	#garage .garage-quartermile-results li.row dd,
	#garage .garage-dynorun-results li.row dd {
		flex: 0 0 auto;
		padding: 8px 6px;
		background: transparent;
		border: 0;
		border-radius: 0;
		font-size: 12px;
		font-weight: normal;
		line-height: 1.3;
		min-height: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#garage .garage-quartermile-results li.row dd::before,
	#garage .garage-dynorun-results li.row dd::before {
		display: none;
		content: none;
	}

	#garage .garage-quartermile-results li.row dd:nth-of-type(1),
	#garage .garage-quartermile-results li.row dd:nth-of-type(2),
	#garage .garage-dynorun-results li.row dd:nth-of-type(1),
	#garage .garage-dynorun-results li.row dd:nth-of-type(2),
	#garage .garage-dynorun-results li.row dd:nth-of-type(3) {
		grid-column: auto;
	}

	#garage .garage-quartermile-results .garage-qm-time,
	#garage .garage-dynorun-results .garage-dyno-value {
		font-size: 12px;
		font-weight: normal;
	}

	#garage .garage-quartermile-results .garage-qm-speed,
	#garage .garage-dynorun-results .garage-dyno-unit {
		display: inline;
		margin-left: 3px;
		font-size: 12px;
	}
}

/* Align compact single-line performance table headers with row values */
@media (max-width: 1000px) {
	#garage .garage-quartermile-results li.header dd,
	#garage .garage-quartermile-results li.row dd,
	#garage .garage-dynorun-results li.header dd,
	#garage .garage-dynorun-results li.row dd {
		box-sizing: border-box;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#garage .garage-quartermile-results .gwidth-8,
	#garage .garage-dynorun-results .gwidth-8 {
		flex: 0 0 8% !important;
		width: 8% !important;
	}

	#garage .garage-quartermile-results .gwidth-10,
	#garage .garage-dynorun-results .gwidth-10 {
		flex: 0 0 10% !important;
		width: 10% !important;
	}

	#garage .garage-quartermile-results .gwidth-12,
	#garage .garage-dynorun-results .gwidth-12 {
		flex: 0 0 12% !important;
		width: 12% !important;
	}

	#garage .garage-quartermile-results .gwidth-14,
	#garage .garage-dynorun-results .gwidth-14 {
		flex: 0 0 14% !important;
		width: 14% !important;
	}

	#garage .garage-quartermile-results .gwidth-20,
	#garage .garage-dynorun-results .gwidth-20 {
		flex: 0 0 20% !important;
		width: 20% !important;
	}

	#garage .garage-quartermile-results li.header dd,
	#garage .garage-dynorun-results li.header dd {
		padding: 9px 6px;
		font-size: 12px;
		min-height: 48px;
		display: flex;
		align-items: center;
	}

	#garage .garage-quartermile-results li.row dd,
	#garage .garage-dynorun-results li.row dd {
		padding: 9px 6px;
		display: flex;
		align-items: center;
	}
}

/* Garage page typography harmonized with Garage tab sizing; tabs are intentionally untouched. */
#garage > .panel,
#garage-main,
#garage-menu,
#garage-latest-updated,
#garage .garage_list,
#garage ul.topiclist,
#garage table,
#garage fieldset,
#garage dl,
#garage p {
	font-size: 11px;
	line-height: 1.2;
}

#garage-main h3,
#garage-menu h3,
#garage-latest-updated h3,
#garage > .panel h3 {
	font-size: 13px;
	line-height: 1.2;
}

#garage .garage_list li,
#garage ul.topiclist li.row,
#garage .index_block,
#garage .index_block_header {
	font-size: 11px;
	line-height: 1.2;
}

#garage input,
#garage select,
#garage textarea,
#garage .button1,
#garage .button2,
#garage .button {
	font-size: 11px;
}
