.tms-ea-marketplace,
.tms-ea-auction-lot {
	--tms-ea-black: #0b0d0f;
	--tms-ea-text: #111111;
	--tms-ea-secondary: #4b5563;
	--tms-ea-muted: #6b7280;
	--tms-ea-line: #e2e5e8;
	--tms-ea-soft: #f3f5f4;
	--tms-ea-green: #1b8741;
	--tms-ea-green-hover: #239b4d;
	box-sizing: border-box;
	color: var(--tms-ea-text);
	font-family: inherit;
	margin: 0 auto;
	max-width: 1400px;
	padding: 32px 24px 64px;
	width: 100%;
}

/* Auction Purchases: private WooCommerce account history. */
.tms-ea-auction-purchases,
.tms-ea-auction-purchases * {
	box-sizing: border-box;
}

.tms-ea-auction-purchases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: 24px;
}

.tms-ea-auction-purchases__card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dfe3e0;
	border-radius: 8px;
}

.tms-ea-auction-purchases__card > img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.tms-ea-auction-purchases__content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
}

.tms-ea-auction-purchases__content h3,
.tms-ea-auction-purchases header h2 {
	margin: 0;
	color: #111;
	font-size: 22px;
	line-height: 1.25;
}

.tms-ea-auction-purchases__eyebrow {
	margin: 0;
	color: #1b8741;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.tms-ea-auction-purchases dl {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 14px;
	margin: 0;
}

.tms-ea-auction-purchases dd {
	margin: 0;
	text-align: right;
	font-weight: 700;
}

.tms-ea-auction-purchases__cta,
.tms-ea-auction-purchases__secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}

.tms-ea-auction-purchases__cta {
	background: #1b8741;
	color: #fff !important;
}

.tms-ea-auction-purchases__secondary {
	border: 1px solid #1b8741;
	color: #1b8741 !important;
}

.tms-ea-auction-purchases__detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin: 24px 0;
}

.tms-ea-auction-purchases__detail-grid section {
	padding: 24px;
	background: #fff;
	border: 1px solid #dfe3e0;
	border-radius: 8px;
}

.tms-ea-auction-purchases__pagination {
	display: flex;
	gap: 8px;
	margin-top: 24px;
}

@media (max-width: 1099px) {
	.tms-ea-auction-purchases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
	.tms-ea-auction-purchases__grid,
	.tms-ea-auction-purchases__detail-grid { grid-template-columns: 1fr; }
	.tms-ea-auction-purchases__content,
	.tms-ea-auction-purchases__detail-grid section { padding: 20px; }
}

.tms-ea-marketplace *,
.tms-ea-marketplace *::before,
.tms-ea-marketplace *::after,
.tms-ea-auction-lot *,
.tms-ea-auction-lot *::before,
.tms-ea-auction-lot *::after {
	box-sizing: border-box;
}

.tms-ea-marketplace [hidden],
.tms-ea-auction-lot [hidden] {
	display: none !important;
}

.tms-ea-marketplace--embedded,
.tms-ea-auction-lot--embedded {
	margin: 0;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.tms-ea-marketplace h1,
.tms-ea-marketplace h2,
.tms-ea-auction-lot h1,
.tms-ea-auction-lot h2 {
	color: var(--tms-ea-text);
	font-family: Orbitron, Arial, Helvetica, sans-serif;
	letter-spacing: 0;
}

.tms-ea-marketplace__hero {
	background: var(--tms-ea-black);
	color: #ffffff;
	min-height: 390px;
	padding: 70px clamp(24px, 6vw, 72px);
	position: relative;
}

.tms-ea-marketplace__hero::after {
	background: var(--tms-ea-green);
	bottom: 0;
	content: "";
	height: 5px;
	left: 0;
	position: absolute;
	width: 34%;
}

.tms-ea-marketplace__hero h1 {
	color: #ffffff;
	font-size: 4.4rem;
	line-height: 1.04;
	margin: 0 0 18px;
	max-width: 850px;
}

.tms-ea-marketplace__hero > p:not(.tms-ea-marketplace__eyebrow) {
	color: #d6dade;
	font-size: 1.15rem;
	line-height: 1.6;
	margin: 0;
	max-width: 650px;
}

.tms-ea-marketplace__eyebrow,
.tms-ea-auction-lot__eyebrow,
.tms-ea-marketplace__reference {
	color: var(--tms-ea-green);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.tms-ea-marketplace__hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.tms-ea-marketplace__button,
.tms-ea-marketplace__cta,
.tms-ea-marketplace__load-more,
.tms-ea-auction-lot__bid-area button,
.tms-ea-auction-lot__prelive a,
.tms-ea-auction-lot__eligibility a,
.tms-ea-auction-lot__dialog button {
	align-items: center;
	background: var(--tms-ea-green);
	background-image: none;
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.96rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 13px 24px;
	text-decoration: none;
	transition: background-color 160ms ease, box-shadow 160ms ease;
}

.tms-ea-post-sale button,
.tms-ea-post-sale__pay,
.tms-ea-post-sale__account a {
	align-items: center;
	background: var(--tms-ea-green);
	background-image: none;
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	margin: 6px 6px 6px 0;
	min-height: 46px;
	padding: 12px 22px;
	text-decoration: none;
}

.tms-ea-post-sale button:hover,
.tms-ea-post-sale__pay:hover,
.tms-ea-post-sale__account a:hover {
	background: var(--tms-ea-green-hover);
	color: #ffffff;
}

.tms-ea-post-sale button.tms-ea-post-sale__secondary {
	background: #3c4247;
}

.tms-ea-marketplace__button:hover,
.tms-ea-marketplace__cta:hover,
.tms-ea-marketplace__load-more:hover,
.tms-ea-auction-lot__bid-area button:hover,
.tms-ea-auction-lot__prelive a:hover,
.tms-ea-auction-lot__eligibility a:hover,
.tms-ea-auction-lot__dialog button:hover {
	background: var(--tms-ea-green-hover);
	color: #ffffff;
}

.tms-ea-marketplace__load-more {
	display: flex;
	margin: 28px auto 0;
}

.tms-ea-marketplace__load-more:disabled {
	background: #728078;
	cursor: wait;
}

.tms-ea-marketplace__button:focus-visible,
.tms-ea-marketplace__cta:focus-visible,
.tms-ea-auction-lot button:focus-visible,
.tms-ea-auction-lot a:focus-visible,
.tms-ea-marketplace a:focus-visible {
	box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--tms-ea-green);
	outline: 0;
}

.tms-ea-marketplace__button--outline {
	background: transparent;
	box-shadow: inset 0 0 0 1px #ffffff;
}

.tms-ea-marketplace__text-link {
	color: #ffffff;
	font-weight: 700;
	padding: 12px 8px;
}

.tms-ea-marketplace__connection,
.tms-ea-auction-lot__connection,
.tms-ea-auction-lot__message {
	background: #fff4d7;
	border-left: 4px solid #c28500;
	color: #5e4300;
	margin: 18px 0;
	padding: 12px 16px;
}

.tms-ea-auction-lot__message[data-type="success"] {
	background: #eaf7ef;
	border-left-color: var(--tms-ea-green);
	color: #145d30;
}

.tms-ea-auction-lot__message[data-type="error"] {
	background: #fff0f0;
	border-left-color: #b42318;
	color: #8a1c14;
}

.tms-ea-marketplace__section {
	padding: 58px 0 10px;
}

.tms-ea-marketplace__section-heading {
	align-items: end;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.tms-ea-marketplace__section-heading h2 {
	font-size: 2.5rem;
	line-height: 1.1;
	margin: 0;
}

.tms-ea-marketplace__section-heading > p {
	color: var(--tms-ea-secondary);
	margin: 0;
	max-width: 440px;
}

.tms-ea-marketplace.tms-ea-homepage-grid {
	--tms-ea-text: #ffffff;
	--tms-ea-secondary: #d1d5db;
	--tms-ea-muted: #b8c0c5;
	--tms-ea-line: #343a3d;
	max-width: none;
	min-width: 0;
	padding: 0;
	margin: 0;
}

.tms-ea-homepage-grid .tms-ea-marketplace__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.tms-ea-homepage-grid .tms-ea-marketplace__card,
.tms-ea-homepage-grid .tms-ea-homepage-grid__empty {
	background: #111416;
	color: var(--tms-ea-text);
	border: 1px solid var(--tms-ea-line);
	border-radius: 6px;
	overflow-wrap: anywhere;
}

.tms-ea-homepage-grid .tms-ea-marketplace__card h3,
.tms-ea-homepage-grid .tms-ea-marketplace__card h3 a,
.tms-ea-homepage-grid .tms-ea-homepage-grid__empty h3 {
	color: var(--tms-ea-text);
	font-size: 20px;
	line-height: 1.4;
	letter-spacing: 0;
}

.tms-ea-homepage-grid .tms-ea-marketplace__card-meta div {
	flex-wrap: wrap;
	gap: 4px 12px;
}

.tms-ea-homepage-grid .tms-ea-marketplace__reference { display: none; }

/* Divi owns embedded row width/gutters; do not apply a second inset inside it. */
.et_pb_row .tms-ea-marketplace:is(.tms-ea-marketplace--browse, .tms-ea-marketplace--embedded, .tms-ea-homepage-grid) {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}
.et_pb_row .tms-ea-recently-sold-grid .tms-ea-recently-sold-grid__inner {
	max-width: none;
}

/* WEB-002: browse chrome stays light; only the shared vehicle cards use dark tokens. */
.tms-ea-marketplace.tms-ea-marketplace--browse {
	width: 94%; max-width: 1440px; margin: 0 auto; padding: 64px 0;
	color: #111111; --tms-ea-green: #1b8741;
}
.tms-ea-marketplace--browse *, .tms-ea-marketplace--browse *::before, .tms-ea-marketplace--browse *::after { box-sizing: border-box; min-width: 0; letter-spacing: 0; }
.tms-ea-marketplace--browse [hidden] { display: none !important; }
.tms-ea-marketplace--browse .tms-ea-browse-heading h1 { color: #111111; font-size: 36px; line-height: 1.25; margin: 0 0 12px; overflow-wrap: anywhere; }
.tms-ea-marketplace--browse .tms-ea-browse-heading p { color: #4b5563; font-size: 16px; margin: 0 0 28px; }
.tms-ea-marketplace--browse input:not([type="hidden"]):not([type="checkbox"]), .tms-ea-marketplace--browse select {
	width: 100%; max-width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd0d3; border-radius: 4px; background: #ffffff; color: #111111; font: inherit; font-size: 16px;
}
.tms-ea-marketplace--browse input::placeholder { color: #626b76; opacity: 1; }
.tms-ea-marketplace--browse button[type="submit"] { flex-shrink: 0; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 4px; background: #1b8741; color: #ffffff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.tms-ea-marketplace--browse button[type="submit"]:hover { background: #239b4d; }
.tms-ea-marketplace--browse .tms-ea-browse-tabs { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid #dce0e2; margin-bottom: 24px; }
.tms-ea-marketplace--browse .tms-ea-browse-tabs a { flex: 0 0 auto; display: flex; align-items: center; min-height: 52px; padding: 0 0 12px; border-bottom: 3px solid transparent; color: #4b5563; font-size: 16px; text-decoration: none; white-space: nowrap; }
.tms-ea-marketplace--browse .tms-ea-browse-tabs a[aria-current="page"] { color: #1b8741; border-color: #1b8741; font-weight: 700; }
.tms-ea-marketplace--browse .tms-ea-browse-tools { position: relative; margin-bottom: 24px; }
.tms-ea-marketplace--browse .tms-ea-browse-count { position: absolute; top: 12px; left: 0; margin: 0; font-size: 17px; font-weight: 600; }
.tms-ea-marketplace--browse .tms-ea-browse-filters summary { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; min-height: 44px; margin-left: auto; padding: 8px 14px; border: 1px solid #cbd0d3; border-radius: 4px; cursor: pointer; font-size: 16px; color: #111111; }
.tms-ea-marketplace--browse .tms-ea-browse-filters summary::-webkit-details-marker { display: none; }
.tms-ea-marketplace--browse .tms-ea-browse-filters[open] summary { background: #eaf5ee; border-color: #1b8741; }
.tms-ea-marketplace--browse .tms-ea-browse-filter-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 24px 0 0; }
.tms-ea-marketplace--browse .tms-ea-browse-filter-options { display: contents; }
.tms-ea-marketplace--browse .tms-ea-browse-filter-fields label { display: grid; gap: 8px; color: #4b5563; font-size: 14px; }
.tms-ea-marketplace--browse .tms-ea-browse-filter-fields .tms-ea-browse-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.tms-ea-marketplace--browse .tms-ea-browse-check input { width: 20px; height: 20px; accent-color: #1b8741; }
.tms-ea-marketplace--browse .tms-ea-browse-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
.tms-ea-marketplace--browse .tms-ea-browse-filter-actions a, .tms-ea-marketplace--browse .tms-ea-browse-empty > a:not(.tms-ea-marketplace__button) { display: inline-flex; align-items: center; min-height: 44px; color: #1b8741; }
.tms-ea-marketplace--browse .tms-ea-marketplace__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 32px; align-items: center; padding: 32px; background: #050505; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break h2 { color: #ffffff; font-family: Orbitron, var(--et_global_heading_font, Arial), sans-serif; font-size: 24px; line-height: 1.35; margin: 0 0 10px; padding: 0; overflow-wrap: anywhere; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break p { color: #c9c9c9; font-size: 16px; line-height: 1.6; margin: 0; padding: 0; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 20px; border: 2px solid var(--tms-ea-green); border-radius: 4px; color: #ffffff; background: var(--tms-ea-green); font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .2s, border-color .2s; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break a:hover { background: #239b4d; border-color: #239b4d; color: #ffffff; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break a:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.tms-ea-marketplace--browse .tms-ea-browse-seller-break a span { flex-shrink: 0; font-size: 24px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card {
	--tms-ea-text: #ffffff; --tms-ea-secondary: #d0d4d8; --tms-ea-muted: #b9c0c6;
	background: #101010; border: 1px solid #242424; border-radius: 6px; color: #ffffff; overflow: hidden; transition: transform .2s, border-color .2s;
}
.tms-ea-marketplace--browse .tms-ea-marketplace__card-body { padding: 20px; gap: 0; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card h3, .tms-ea-marketplace--browse .tms-ea-marketplace__card h3 a { color: #ffffff; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card h3 { margin: 0 0 10px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__reference { display: none; }
.tms-ea-marketplace--browse .tms-ea-marketplace__specs, .tms-ea-marketplace--browse .tms-ea-marketplace__engagement { color: #b9c0c6; font-size: 14px; margin: 0 0 12px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card-meta { border-color: #303438; margin: auto 0 18px; padding-top: 16px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card-meta div { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: baseline; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card-meta span { color: #b9c0c6; font-size: 14px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card-meta strong { color: #ffffff; font-size: 18px; overflow-wrap: anywhere; }
.tms-ea-marketplace--browse [data-card-role="bid-count"] { color: #b9c0c6; margin: 0; font-size: 14px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__cta { min-height: 48px; white-space: normal; }
.tms-ea-marketplace--browse .tms-ea-marketplace__image-link img { transition: transform .2s; }
.tms-ea-marketplace--browse .tms-ea-browse-empty { padding: 40px 0; border-top: 1px solid #dce0e2; }
.tms-ea-marketplace--browse .tms-ea-browse-empty h2 { color: #111111; font-size: 22px; line-height: 1.4; margin: 0 0 20px; }
.tms-ea-marketplace--browse .tms-ea-browse-register { margin-left: 20px; }
.tms-ea-marketplace--browse .tms-ea-browse-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-size: 15px; }
.tms-ea-marketplace--browse .tms-ea-browse-pagination a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; color: #1b8741; border: 1px solid #cbd0d3; border-radius: 4px; }
.tms-ea-marketplace--browse :is(a, button, input, select, summary):focus-visible { outline: 2px solid #1b8741; outline-offset: 3px; }
.tms-ea-marketplace--browse .tms-ea-marketplace__card :is(a, button):focus-visible { outline-color: #ffffff; outline-offset: -3px; }
/* Native modal top layer keeps the drawer above Divi stacking/transform contexts. */
.tms-ea-marketplace--browse .tms-ea-filter-drawer {
	position: fixed; inset: 0 auto 0 0; width: 480px; max-width: 100%; height: 100vh; height: 100dvh; max-height: none;
	margin: 0; padding: 0; border: 0; border-radius: 0; background: #ffffff; color: #111111; overflow: hidden;
	box-shadow: 12px 0 48px #00000026; font-family: Arial, sans-serif;
}
.tms-ea-marketplace--browse .tms-ea-filter-drawer:not([open]) { display: none; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer[open] { display: flex; flex-direction: column; animation: tms-ea-filter-enter .22s ease-out; }
.tms-ea-filter-drawer::backdrop { background: #00000080; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: 24px 28px; border-bottom: 1px solid #e5e7eb; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer__header h2 { margin: 0; padding: 0; color: #111111; font-size: 24px; line-height: 1.3; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer__header button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f3f4f6; color: #111111; font: 30px/1 Arial, sans-serif; cursor: pointer; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer__header button:hover { background: #eaf5ee; color: var(--tms-ea-green); }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-fields { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 0; padding: 0; margin: 0; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 24px 16px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer label { font-size: 15px; font-weight: 600; color: #111111; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer label:has(select), .tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check { grid-column: 1 / -1; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check { justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #e5e7eb; font-size: 17px; cursor: pointer; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check input { appearance: none; position: relative; flex-shrink: 0; width: 48px; height: 28px; margin: 0; padding: 0; border: 1px solid #cbd0d3; border-radius: 999px; background: #e5e7eb; cursor: pointer; transition: background .15s; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px #00000026; transition: transform .15s; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check input:checked { background: var(--tms-ea-green); border-color: var(--tms-ea-green); }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check input:checked::after { transform: translateX(20px); }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex-shrink: 0; gap: 12px; padding: 20px 28px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid #e5e7eb; background: #ffffff; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-actions :is(a, button) { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 8px; border: 1px solid var(--tms-ea-green); border-radius: 4px; font-size: 16px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; }
.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-actions a:hover { background: #eaf5ee; }
.tms-ea-marketplace--browse .tms-ea-browse-filters summary[aria-expanded="true"] { background: #eaf5ee; border-color: var(--tms-ea-green); }
@keyframes tms-ea-filter-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (max-width: 480px) {
	.tms-ea-marketplace--browse .tms-ea-filter-drawer__header { padding: 18px 20px; }
	.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-options { padding: 24px 20px; gap: 20px 12px; }
	.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-filter-actions { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.tms-ea-marketplace--browse .tms-ea-filter-drawer[open] { animation: none; }
	.tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check input, .tms-ea-marketplace--browse .tms-ea-filter-drawer .tms-ea-browse-check input::after { transition: none; }
}
@media (hover: hover) and (pointer: fine) {
	.tms-ea-marketplace--browse .tms-ea-marketplace__card:hover { transform: translateY(-2px); border-color: #1b8741; }
	.tms-ea-marketplace--browse .tms-ea-marketplace__card:hover .tms-ea-marketplace__image-link img { transform: scale(1.015); }
}
@media (max-width: 1099px) {
	.tms-ea-marketplace.tms-ea-marketplace--browse { padding-top: 50px; }
	.tms-ea-marketplace--browse .tms-ea-marketplace__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.tms-ea-marketplace--browse .tms-ea-browse-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
	.tms-ea-marketplace.tms-ea-marketplace--browse { padding-top: 38px; }
	.tms-ea-marketplace--browse .tms-ea-browse-heading h1 { font-size: 28px; }
	.tms-ea-marketplace--browse .tms-ea-browse-seller-break { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; }
	.tms-ea-marketplace--browse .tms-ea-browse-seller-break h2 { font-size: 22px; }
	.tms-ea-marketplace--browse .tms-ea-browse-tabs { gap: 22px; }
	.tms-ea-marketplace--browse .tms-ea-marketplace__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tms-ea-marketplace--browse .tms-ea-browse-filter-fields { grid-template-columns: minmax(0, 1fr); }
	.tms-ea-marketplace--browse .tms-ea-marketplace__card-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.tms-ea-marketplace--browse .tms-ea-marketplace__card, .tms-ea-marketplace--browse .tms-ea-marketplace__image-link img { transition: none; transform: none !important; }
}
.tms-ea-homepage-grid .tms-ea-marketplace__card-body { padding: 22px; }
.tms-ea-homepage-grid .tms-ea-marketplace__specs { margin-bottom: 16px; }
.tms-ea-homepage-grid .tms-ea-marketplace__engagement { margin: 0 0 16px; }
.tms-ea-homepage-grid .tms-ea-marketplace__cta { min-height: 48px; white-space: normal; }
.tms-ea-live-grid .tms-ea-save-auction { color: #1b8741; }
.tms-ea-live-grid .tms-ea-save-prompt > div { --tms-ea-text: #111111; color: #111111; }
.tms-ea-live-grid .tms-ea-save-prompt :focus-visible { outline-color: #1b8741; }
.tms-ea-homepage-grid .tms-ea-homepage-grid__empty { padding: 28px; }
.tms-ea-homepage-grid .tms-ea-homepage-grid__empty p { color: var(--tms-ea-secondary); }
.tms-ea-recently-sold-grid .tms-ea-homepage-grid__empty p { margin: 0; }
.tms-ea-homepage-grid .tms-ea-homepage-grid__empty .tms-ea-marketplace__cta { width: auto; }
.tms-ea-homepage-grid a:focus-visible,
.tms-ea-homepage-grid button:focus-visible { outline: 3px solid #ffffff; outline-offset: -4px; }
/* Compact results band above the site footer; other card contexts stay unchanged. */
.tms-ea-marketplace.tms-ea-recently-sold-grid {
	--tms-ea-green: #1B8741;
	background: #101214; padding: 28px 24px; border-block: 1px solid #242a27;
	font-family: var(--et_global_body_font, inherit);
}
.tms-ea-recently-sold-grid *, .tms-ea-recently-sold-grid *::before, .tms-ea-recently-sold-grid *::after { box-sizing: border-box; }
.tms-ea-recently-sold-grid__inner { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 28px; max-width: 1440px; margin: 0 auto; }
.tms-ea-recently-sold-grid .tms-ea-recently-sold-grid__heading { min-width: 0; }
.tms-ea-recently-sold-grid .tms-ea-recently-sold-grid__heading p { margin: 0 0 10px; padding: 0; color: var(--tms-ea-green) !important; font-size: 13px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 0; }
.tms-ea-recently-sold-grid .tms-ea-recently-sold-grid__heading h2 { margin: 0; padding: 0; color: #fff !important; font-family: Orbitron, var(--et_global_heading_font, Arial), sans-serif; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__grid { min-width: 0; gap: 20px; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card { border-radius: 6px; background: #111416; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__image-link { aspect-ratio: 2.35 / 1; flex-shrink: 0; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__badges { top: 10px; left: 10px; right: 10px; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__status { padding: 5px 8px; border-radius: 4px; font-size: 11px; line-height: 1.2; background: var(--tms-ea-green); color: #fff; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); grid-template-rows: auto 1fr; gap: 4px 12px; padding: 12px; align-content: start; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card h3,
.tms-ea-recently-sold-grid .tms-ea-marketplace__card h3 a { margin: 0; padding: 0; color: #fff !important; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: 0; overflow-wrap: anywhere; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__specs { grid-column: 1; margin: 0; padding: 0; font-size: 12px; line-height: 1.5; color: #d1d5db; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card-meta { grid-column: 2; grid-row: 1 / 3; min-width: 0; margin: 0; padding: 0; border: 0; align-self: start; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card-meta div { display: grid; gap: 2px; text-align: right; min-width: 0; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card-meta span { font-size: 12px; line-height: 1.5; color: #d1d5db; }
.tms-ea-recently-sold-grid [data-card-role="price"] { font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 1099px) {
	.tms-ea-recently-sold-grid__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.tms-ea-recently-sold-grid .tms-ea-recently-sold-grid__heading h2 { max-width: 660px; }
}
@media (max-width: 699px) {
	.tms-ea-marketplace.tms-ea-recently-sold-grid { padding: 24px 16px; }
	.tms-ea-recently-sold-grid .tms-ea-recently-sold-grid__heading h2 { font-size: 21px; }
	.tms-ea-recently-sold-grid .tms-ea-marketplace__grid { gap: 16px; }
}

@media (max-width: 1099px) {
	.tms-ea-homepage-grid .tms-ea-marketplace__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
	.tms-ea-homepage-grid .tms-ea-marketplace__grid { grid-template-columns: minmax(0, 1fr); }
}

.tms-ea-live-grid__viewport {
	--tms-live-visible: 4;
	--tms-live-gap: 24px;
	min-width: 0;
	overflow: hidden;
}

.tms-ea-live-grid .tms-ea-marketplace__grid {
	grid-template-columns: repeat(var(--tms-live-visible), minmax(0, 1fr));
	gap: var(--tms-live-gap);
}

.tms-ea-live-grid .is-looping .tms-ea-marketplace__grid {
	display: flex;
	align-items: stretch;
}

.tms-ea-live-grid .is-looping .tms-ea-marketplace__card {
	box-sizing: border-box;
	flex: 0 0 calc((100% - (var(--tms-live-visible) - 1) * var(--tms-live-gap)) / var(--tms-live-visible));
	min-width: 0;
}

.tms-ea-live-grid__footer { display: flex; justify-content: center; margin-top: 30px; }
.tms-ea-live-grid .tms-ea-live-grid__footer .tms-ea-marketplace__cta {
	background: #1b8741 !important;
	color: #fff !important;
	border: 1px solid #1b8741;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	width: auto;
	margin: 0;
	padding: 12px 28px;
	box-sizing: border-box;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}
.tms-ea-live-grid .tms-ea-live-grid__footer .tms-ea-marketplace__cta::after { content: none !important; display: none !important; }
.tms-ea-live-grid .tms-ea-live-grid__footer .tms-ea-marketplace__cta:hover { background: #239b4d !important; transform: translateY(-2px); }
.tms-ea-live-grid .tms-ea-live-grid__footer .tms-ea-marketplace__cta:focus-visible { outline: 3px solid #1b8741; outline-offset: 3px; }
@media (max-width: 1099px) { .tms-ea-live-grid__viewport { --tms-live-visible: 2; } }
@media (max-width: 699px) { .tms-ea-live-grid__viewport { --tms-live-visible: 1; } }
@media (prefers-reduced-motion: reduce) {
	.tms-ea-live-grid .tms-ea-live-grid__footer .tms-ea-marketplace__cta { transition: none; }
	.tms-ea-live-grid .tms-ea-live-grid__footer .tms-ea-marketplace__cta:hover { transform: none; }
}

.tms-ea-marketplace__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tms-ea-marketplace__card {
	background: #ffffff;
	border: 1px solid var(--tms-ea-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.tms-ea-save-auction {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--tms-ea-line);
	border-radius: 999px;
	color: var(--tms-ea-text);
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tms-ea-save-auction:hover {
	background: #f7faf8;
	border-color: var(--tms-ea-green);
	color: var(--tms-ea-green);
}

.tms-ea-save-auction span[aria-hidden="true"] {
	color: var(--tms-ea-green);
	font-size: 1.4rem;
	line-height: 1;
}

.tms-ea-save-auction[aria-pressed="true"] {
	background: #eaf7ef;
	border-color: var(--tms-ea-green);
}

.tms-ea-save-auction--card {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
	height: 42px;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 42px;
	z-index: 2;
}

.tms-ea-marketplace__image-link {
	aspect-ratio: 16 / 10;
	background: #e9eceb;
	display: block;
	overflow: hidden;
	position: relative;
}

.tms-ea-marketplace__image-link img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.tms-ea-marketplace__card:hover .tms-ea-marketplace__image-link img {
	transform: scale(1.025);
}

.tms-ea-marketplace__image-placeholder {
	align-items: center;
	color: var(--tms-ea-muted);
	display: flex;
	height: 100%;
	justify-content: center;
}

.tms-ea-marketplace__status,
.tms-ea-auction-lot__status,
.tms-ea-reserve-badge {
	background: var(--tms-ea-black);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1;
	padding: 9px 12px;
	text-transform: uppercase;
}

.tms-ea-marketplace__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	left: 14px;
	position: absolute;
	right: 62px;
	top: 14px;
}

.tms-ea-reserve-badge--no-reserve {
	background: var(--tms-ea-green);
	color: #ffffff;
}

.tms-ea-reserve-badge {
	align-items: center;
	box-sizing: border-box;
	display: inline-flex;
	height: 30px;
	padding-bottom: 0;
	padding-top: 0;
	white-space: nowrap;
}

.tms-ea-reserve-badge--lowered {
	background: #e7f5ec;
	border: 1px solid #98d1ad;
	color: #115d2d;
}

.tms-ea-marketplace__status--live,
.tms-ea-auction-lot__status--live,
.tms-ea-marketplace__status--sold,
.tms-ea-auction-lot__status--sold {
	background: var(--tms-ea-green);
}

.tms-ea-marketplace__card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 22px;
}

.tms-ea-marketplace__card h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	margin: 0 0 9px;
}

.tms-ea-marketplace__card h3 a {
	color: var(--tms-ea-text);
	text-decoration: none;
}

.tms-ea-marketplace__specs {
	color: var(--tms-ea-secondary);
	margin: 0 0 20px;
}

.tms-ea-marketplace__engagement {
	color: var(--tms-ea-muted);
	display: flex;
	font-size: 0.86rem;
	gap: 12px;
	margin: -8px 0 18px;
}

.tms-ea-marketplace__card-meta {
	border-top: 1px solid var(--tms-ea-line);
	display: grid;
	gap: 12px;
	margin-top: auto;
	padding-top: 17px;
}

.tms-ea-marketplace__card-meta div {
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.tms-ea-marketplace__card-meta span {
	color: var(--tms-ea-muted);
}

.tms-ea-marketplace__card-meta strong {
	color: var(--tms-ea-text);
	text-align: right;
}

.tms-ea-marketplace__cta {
	margin-top: 20px;
	width: 100%;
}

.tms-ea-marketplace__empty {
	background: var(--tms-ea-soft);
	border-left: 4px solid var(--tms-ea-green);
	padding: 28px;
}

.tms-ea-marketplace__empty h3,
.tms-ea-marketplace__empty p {
	margin: 0;
}

.tms-ea-marketplace__empty p {
	color: var(--tms-ea-secondary);
	margin-top: 7px;
}

.tms-ea-marketplace__footer-cta {
	align-items: center;
	background: var(--tms-ea-black);
	color: #ffffff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-top: 64px;
	padding: 34px;
}

.tms-ea-marketplace__footer-cta h2 {
	color: #ffffff;
	font-size: 1.65rem;
	margin: 0;
}

.tms-ea-auction-lot__breadcrumbs {
	color: var(--tms-ea-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 8px;
	margin-bottom: 28px;
}

.tms-ea-auction-lot__breadcrumbs a,
.tms-ea-auction-lot__back a,
.tms-ea-auction-lot__premium a {
	color: var(--tms-ea-green);
	font-weight: 700;
}

.tms-ea-auction-lot__header {
	align-items: flex-start;
	border-bottom: 1px solid var(--tms-ea-line);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 30px;
	padding-bottom: 26px;
}

.tms-ea-auction-lot__header-actions {
	align-items: center;
	display: flex;
	flex: 0 1 360px;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

/* WEB-016: paired controls share the existing Save button treatment. */
.tms-ea-auction-lot__social-actions { display: flex; gap: 8px; max-width: 100%; }
.tms-ea-auction-lot__social-actions .tms-ea-save-auction { min-height: 44px; font-size: 14px; white-space: nowrap; }
.tms-ea-share-auction svg { flex: 0 0 20px; color: #1b8741; }
.tms-ea-share-auction[hidden], .tms-ea-share-options[hidden] { display: none !important; }
.tms-ea-share-auction:focus-visible, .tms-ea-share-options :is(a, button):focus-visible { outline: 2px solid #1b8741; outline-offset: 3px; }
.tms-ea-share-auction--card {
	position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px;
	min-height: 44px; padding: 0; background: #fff; color: #111; border-color: #dfe4e1;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
.tms-ea-marketplace__card:has(.tms-ea-share-auction--card:not([hidden])) > .tms-ea-save-auction--card { right: 66px; width: 44px; height: 44px; min-height: 44px; }
.tms-ea-marketplace__card:has(.tms-ea-share-auction--card:not([hidden])) .tms-ea-marketplace__badges { right: 118px; }
.tms-ea-recently-sold-grid .tms-ea-marketplace__card:has(.tms-ea-share-auction--card:not([hidden])) .tms-ea-marketplace__badges { right: 66px; }
.tms-ea-saved-auctions__card { position: relative; }
.tms-ea-share-options {
	position: fixed; inset: auto; margin: 0; padding: 6px; width: 200px; max-width: calc(100% - 16px);
	box-sizing: border-box; border: 1px solid #dfe4e1; border-radius: 8px; background: #fff; color: #111;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); z-index: 2147483647; font-family: Arial, sans-serif;
}
.tms-ea-share-options :is(a, button) {
	display: flex; align-items: center; width: 100%; min-height: 44px; box-sizing: border-box;
	padding: 10px 14px; border: 0; border-radius: 4px; background: transparent; box-shadow: none;
	color: #111; text-align: left; text-decoration: none; font: 600 15px/1.4 Arial, sans-serif; cursor: pointer;
}
.tms-ea-share-options :is(a, button):hover { background: #eaf7ef; color: #1b8741; }
.tms-ea-share-feedback:empty { display: none; }
.tms-ea-share-feedback {
	position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
	width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; padding: 12px 18px;
	border-radius: 6px; background: #101214; color: #fff; font: 600 15px/1.5 Arial, sans-serif; z-index: 2147483647;
}
.tms-ea-share-copy-buffer { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
	.tms-ea-auction-lot__header-actions { flex-basis: auto; width: 100%; justify-content: flex-start; }
	.tms-ea-auction-lot__social-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
	.tms-ea-auction-lot__social-actions .tms-ea-save-auction { width: 100%; min-width: 0; padding: 9px 8px; gap: 6px; }
}

.tms-ea-auction-lot__header h1 {
	font-size: 3.25rem;
	line-height: 1.08;
	margin: 0 0 10px;
	max-width: 920px;
}

.tms-ea-auction-lot__headline-specs {
	color: var(--tms-ea-secondary);
	font-size: 1.05rem;
	margin: 0;
}

.tms-ea-auction-lot__layout {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 2.25fr) minmax(340px, 0.9fr);
}

.tms-ea-auction-lot__vehicle,
.tms-ea-auction-lot__auction-panel {
	min-width: 0;
}

/* Bound the row independently of intrinsic original-image dimensions. */
.tms-ea-auction-lot__media-grid {
	aspect-ratio: 12 / 5;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
	grid-template-rows: minmax(0, 1fr);
}

.tms-ea-auction-lot__hero-image {
	aspect-ratio: auto;
	background: #e9eceb;
	border: 0;
	border-radius: 8px;
	cursor: zoom-in;
	display: grid;
	height: 100%;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	place-items: center;
	position: relative;
	width: 100%;
}

.tms-ea-auction-lot__media-count {
	background: rgba(0, 0, 0, 0.76);
	border-radius: 999px;
	bottom: 12px;
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 800;
	padding: 7px 10px;
	position: absolute;
	right: 12px;
}

.tms-ea-auction-lot__hero-image img {
	display: block;
	height: auto;
	inset: 0;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	position: absolute;
	width: auto;
}

.tms-ea-auction-lot__hero-image div {
	align-items: center;
	color: var(--tms-ea-muted);
	display: flex;
	height: 100%;
	justify-content: center;
}

.tms-ea-auction-lot__media-previews {
	display: grid;
	gap: 10px;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	min-height: 0;
	min-width: 0;
}

.tms-ea-auction-lot__media-previews:empty { display: none; }
.tms-ea-auction-lot__media-previews:has(> button:only-child) { grid-template-rows: minmax(0, 1fr); }

@media (min-width: 768px) {
	.tms-ea-auction-lot__media-grid:has(> .tms-ea-auction-lot__media-previews:empty) {
		aspect-ratio: 16 / 10;
		grid-template-columns: minmax(0, 1fr);
	}
	.tms-ea-auction-lot__media-grid:has(> .tms-ea-auction-lot__media-previews > button:only-child) {
		aspect-ratio: 16 / 5;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tms-ea-auction-lot__media-previews button {
	background: #e9eceb;
	border: 0;
	border-radius: 8px;
	cursor: zoom-in;
	display: grid;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	place-items: center;
	position: relative;
}

.tms-ea-auction-lot__media-previews img {
	display: block;
	height: auto;
	inset: 0;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	position: absolute;
	width: auto;
}

.tms-ea-auction-lot__media-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.tms-ea-auction-lot__media-actions button,
.tms-ea-auction-lot__history-button,
.tms-ea-auction-lot__calendar {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--tms-ea-line);
	border-radius: 999px;
	color: var(--tms-ea-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	min-height: 40px;
	padding: 10px 16px;
	text-decoration: none;
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.tms-ea-auction-lot__media-actions button:hover,
.tms-ea-auction-lot__history-button:hover,
.tms-ea-auction-lot__calendar:hover {
	background: #f7faf8;
	border-color: var(--tms-ea-green);
	color: var(--tms-ea-green);
}

.tms-ea-icon {
	display: inline-block;
	flex: 0 0 17px;
	height: 17px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	vertical-align: middle;
	width: 17px;
}

.tms-ea-auction-lot__gallery {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 12px 0 3px;
	scroll-snap-type: x proximity;
}

.tms-ea-auction-lot__gallery button {
	background: #ffffff;
	border: 2px solid transparent;
	border-radius: 6px;
	flex: 0 0 108px;
	height: 72px;
	overflow: hidden;
	padding: 0;
	scroll-snap-align: start;
}

.tms-ea-auction-lot__gallery button[aria-pressed="true"] {
	border-color: var(--tms-ea-green);
}

.tms-ea-auction-lot__gallery img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tms-ea-auction-lot__bids h2 {
	font-size: 1.75rem;
	line-height: 1.2;
	margin: 0 0 22px;
}

.tms-ea-auction-lot .tms-ea-auction-lot__details dl {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 16px 18px 18px;
	font-family: Arial, Helvetica, sans-serif;
}

.tms-ea-auction-lot .tms-ea-auction-lot__details dl div {
	background: rgba(17, 24, 39, 0.015);
	border: 1px solid var(--tms-ea-info-line);
	border-radius: 8px;
	min-width: 0;
	padding: 10px 12px;
}

.tms-ea-auction-lot .tms-ea-auction-lot__condition-report { margin: 24px 20px 20px; }
.tms-ea-auction-lot .tms-ea-auction-lot__condition-report[hidden] { display: none !important; }
.tms-ea-auction-lot .tms-ea-auction-lot__condition-report a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 18px;
	border: 0;
	border-radius: 8px;
	background: #1B8741;
	color: #fff !important;
	font: 600 16px/1.4 Arial, sans-serif;
	text-align: center;
	text-decoration: none;
	transition: transform .2s ease, background-color .2s ease;
}
.tms-ea-auction-lot .tms-ea-auction-lot__condition-report a::after { display: none !important; }
.tms-ea-auction-lot .tms-ea-auction-lot__condition-report svg { flex: 0 0 20px; }
.tms-ea-auction-lot .tms-ea-auction-lot__condition-report span { min-width: 0; overflow-wrap: anywhere; }
.tms-ea-auction-lot .tms-ea-auction-lot__condition-report a:focus-visible { outline: 2px solid #1B8741; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.tms-ea-auction-lot .tms-ea-auction-lot__condition-report a:hover { transform: translateY(-2px); background: #239b4d; }
}
@media (max-width: 767px) {
	.tms-ea-auction-lot .tms-ea-auction-lot__condition-report a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.tms-ea-auction-lot .tms-ea-auction-lot__condition-report a { transition: none; transform: none !important; }
}

.tms-ea-auction-lot__details dt {
	color: var(--tms-ea-muted);
	font-size: 12px;
	font-weight: 400;
	text-transform: none;
}

.tms-ea-auction-lot__details dd {
	color: var(--tms-ea-text);
	font-size: 16px;
	font-weight: 700;
	margin: 5px 0 0;
	overflow-wrap: anywhere;
}

.tms-ea-auction-lot .tms-ea-auction-lot__description {
	color: #1f2937;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.tms-ea-auction-lot__description > :first-child {
	margin-top: 0;
}

.tms-ea-auction-lot__description > :last-child {
	margin-bottom: 0;
}

.tms-ea-auction-lot {
	--tms-ea-info-line: rgba(17, 24, 39, 0.12);
	--tms-ea-info-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.tms-ea-auction-lot .tms-ea-auction-lot__details,
.tms-ea-auction-lot .tms-ea-auction-lot__content-section {
	background: #ffffff;
	border: 1px solid var(--tms-ea-info-line);
	border-radius: 8px;
	box-shadow: var(--tms-ea-info-shadow);
	margin-top: 32px;
	min-width: 0;
	overflow: hidden;
	padding: 0;
}

.tms-ea-auction-lot .tms-ea-auction-lot__details > h2,
.tms-ea-auction-lot .tms-ea-auction-lot__content-section > h2 {
	background: #fafbfa;
	border-bottom: 1px solid var(--tms-ea-info-line);
	color: var(--tms-ea-text);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
	margin: 0;
	overflow-wrap: anywhere;
	padding: 16px 18px;
}

.tms-ea-auction-lot__content-section > :not(h2) { padding: 18px; }

.tms-ea-auction-lot :is(.tms-ea-auction-lot__description, .tms-ea-auction-lot__service-prose) {
	min-width: 0;
	overflow-x: auto;
	overflow-wrap: anywhere;
}
.tms-ea-auction-lot__description p { margin: 0 0 14px; }
.tms-ea-auction-lot__description :is(ul, ol) { margin: 0 0 14px; padding-left: 18px; }
.tms-ea-auction-lot__description li + li { margin-top: 6px; }
.tms-ea-auction-lot :is(.tms-ea-auction-lot__description, .tms-ea-auction-lot__service-prose) :is(h3, h4) {
	color: var(--tms-ea-text); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.5; margin: 18px 0 10px; letter-spacing: 0;
}
.tms-ea-auction-lot :is(.tms-ea-auction-lot__description, .tms-ea-auction-lot__service-prose) a {
	color: var(--tms-ea-green); text-decoration: underline; text-underline-offset: 3px;
}
.tms-ea-auction-lot :is(.tms-ea-auction-lot__description, .tms-ea-auction-lot__service-prose) table {
	width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; border: 0; margin: 0; font-size: 15px; line-height: 1.5;
}
.tms-ea-auction-lot :is(.tms-ea-auction-lot__description, .tms-ea-auction-lot__service-prose) :is(th, td) {
	border: 0; border-bottom: 1px solid var(--tms-ea-info-line); padding: 12px 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere;
}
.tms-ea-auction-lot__options-section tr > :first-child { font-weight: 700; color: var(--tms-ea-text); }
@media (min-width: 641px) {
	.tms-ea-auction-lot__options-section tr:has(> :nth-child(2):last-child) > :first-child { width: 42%; }
}
.tms-ea-auction-lot__options-section tr:last-child > td { border-bottom: 0; }

.tms-ea-auction-lot .tms-ea-auction-lot__options-toggle { display: none !important; }
.tms-ea-auction-lot__options-section > [data-role="options"][hidden] { display: none !important; }
@media (max-width: 980px) {
	.tms-ea-auction-lot .tms-ea-auction-lot__options-section[data-disclosure-ready] > h2 { padding: 0; }
	.tms-ea-auction-lot__options-section[data-disclosure-ready] .tms-ea-auction-lot__options-title { display: none; }
	.tms-ea-auction-lot .tms-ea-auction-lot__options-section[data-disclosure-ready] .tms-ea-auction-lot__options-toggle {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		min-width: 0;
		min-height: 52px;
		box-sizing: border-box;
		padding: 16px 18px;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: inherit;
		font: inherit;
		letter-spacing: 0;
		text-align: left;
		text-transform: none;
		cursor: pointer;
		transition: background-color 120ms ease;
	}
	.tms-ea-auction-lot__options-toggle > :first-child { min-width: 0; overflow-wrap: anywhere; }
	.tms-ea-auction-lot__options-toggle [data-role="options-icon"] { flex: 0 0 24px; text-align: center; color: #1b8741; font: 24px/1 Arial, Helvetica, sans-serif; }
	.tms-ea-auction-lot .tms-ea-auction-lot__options-toggle:is(:hover, :focus-visible) { background: #eaf7ef; }
	.tms-ea-auction-lot .tms-ea-auction-lot__options-toggle:focus-visible { outline: 2px solid #1b8741; outline-offset: -3px; }
	.tms-ea-auction-lot .tms-ea-auction-lot__options-toggle::after { display: none; content: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tms-ea-auction-lot .tms-ea-auction-lot__options-section[data-disclosure-ready] .tms-ea-auction-lot__options-toggle { transition: none; }
}

@media (max-width: 640px) {
	.tms-ea-auction-lot__options-section table:not(:has(tr > :nth-child(3))) :is(tbody, tr, td) { display: block; width: 100%; }
	.tms-ea-auction-lot__options-section table:not(:has(tr > :nth-child(3))) tr { padding: 10px 0; }
	.tms-ea-auction-lot .tms-ea-auction-lot__options-section table:not(:has(tr > :nth-child(3))) td { width: 100%; padding: 6px 0; border-bottom: 0; }
	.tms-ea-auction-lot__options-section table:not(:has(tr > :nth-child(3))) td:first-child:not(:only-child) { color: var(--tms-ea-muted); font-size: 12px; text-transform: uppercase; }
	.tms-ea-auction-lot .tms-ea-auction-lot__options-section table:not(:has(tr > :nth-child(3))) tr:not(:last-child) { border-bottom: 1px solid var(--tms-ea-info-line); }
}

.tms-ea-auction-lot .tms-ea-auction-lot__service-prose {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	color: #1f2937;
	overflow-wrap: anywhere;
}

.tms-ea-auction-lot__service-prose p {
	margin: 0 0 14px;
}

.tms-ea-auction-lot__service-prose ul,
.tms-ea-auction-lot__service-prose ol {
	margin: 0 0 14px;
	padding: 0 18px;
}

.tms-ea-auction-lot__service-prose li + li {
	margin-top: 6px;
}

.tms-ea-auction-lot__service-prose > :last-child {
	margin-bottom: 0;
}

.tms-ea-auction-lot .tms-ea-auction-lot__service-prose .tms-ea-service-history-list {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tms-ea-auction-lot .tms-ea-service-history-list > li {
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: 16px;
	background: #fbfbfc;
	border: 1px solid #dfe2e6;
	border-radius: 8px;
}

.tms-ea-auction-lot .tms-ea-service-history-entry {
	display: grid;
	grid-template-columns: 14px minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px;
}

.tms-ea-auction-lot .tms-ea-service-history-dot {
	width: 10px;
	height: 10px;
	margin-top: 7px;
	border-radius: 50%;
	background: #1B8741;
	box-shadow: 0 0 0 4px rgba(27, 135, 65, .14);
}

.tms-ea-auction-lot .tms-ea-service-history-main {
	display: grid;
	gap: 4px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.tms-ea-auction-lot .tms-ea-service-history-workshop {
	color: #111111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
}

.tms-ea-auction-lot .tms-ea-service-history-date {
	color: #6B707A;
	font-size: 14px;
	line-height: 1.5;
}

.tms-ea-auction-lot .tms-ea-service-history-mileage {
	box-sizing: border-box;
	max-width: 100%;
	padding: 8px 14px;
	border-radius: 999px;
	background: #6B707A;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.tms-ea-auction-lot .tms-ea-service-history-entry {
		grid-template-columns: 10px minmax(0, 1fr) auto;
		column-gap: 8px;
	}
	.tms-ea-auction-lot .tms-ea-service-history-mileage {
		grid-column: 3;
		padding: 8px 12px;
		white-space: nowrap;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.tms-ea-auction-lot .tms-ea-service-history-mileage { white-space: nowrap; }
}

@media (max-width: 374px) {
	.tms-ea-auction-lot .tms-ea-service-history-list > li { padding: 12px; }
	.tms-ea-auction-lot .tms-ea-service-history-entry { column-gap: 6px; }
	.tms-ea-auction-lot .tms-ea-service-history-mileage { padding: 8px; }
}

.tms-ea-auction-lot__service-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tms-ea-auction-lot__service-note {
	background: #f8faf9;
	border: 1px solid var(--tms-ea-line);
	border-radius: 8px;
	color: var(--tms-ea-secondary);
	line-height: 1.6;
	margin: 0;
	padding: 15px 16px;
}

.tms-ea-auction-lot__service-list li {
	align-items: start;
	background: #f8faf9;
	border: 1px solid var(--tms-ea-line);
	border-radius: 8px;
	display: grid;
	gap: 12px;
	grid-template-columns: 14px minmax(0, 1fr);
	padding: 15px 16px;
}

.tms-ea-auction-lot__service-dot {
	background: var(--tms-ea-green);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(27, 135, 65, 0.13);
	height: 10px;
	margin-top: 5px;
	width: 10px;
}

.tms-ea-auction-lot__service-content {
	min-width: 0;
}

.tms-ea-auction-lot__service-top {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-width: 0;
}

.tms-ea-auction-lot__service-top strong {
	color: var(--tms-ea-text);
	font-size: 0.98rem;
	overflow-wrap: anywhere;
}

.tms-ea-auction-lot__service-mileage {
	background: #252a2e;
	border-radius: 999px;
	color: #ffffff;
	flex: 0 0 auto;
	font-size: 0.75rem;
	font-weight: 800;
	max-width: 100%;
	padding: 6px 10px;
	white-space: nowrap;
}

.tms-ea-auction-lot__service-content p {
	color: var(--tms-ea-muted);
	font-size: 0.86rem;
	line-height: 1.4;
	margin: 5px 0 0;
}

.tms-ea-auction-lot__auction-panel {
	align-self: start;
	background: var(--tms-ea-black);
	border-radius: 8px;
	color: #ffffff;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
	padding: 28px;
	position: sticky;
	top: 24px;
}

.tms-ea-auction-lot__price-block {
	border-bottom: 1px solid #34383c;
	padding-bottom: 24px;
}

.tms-ea-auction-lot__panel-state {
	color: #8fdbab;
	font-size: 0.78rem;
	font-weight: 800;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.tms-ea-auction-lot__engagement {
	color: #b8c0c6;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	gap: 9px 14px;
	margin-bottom: 22px;
}

.tms-ea-auction-lot__engagement > span {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	white-space: nowrap;
}

.tms-ea-auction-lot__engagement .tms-ea-icon {
	flex-basis: 15px;
	height: 15px;
	width: 15px;
}

.tms-ea-auction-lot__price-label {
	color: #b8c0c6;
	font-size: 0.94rem;
	margin: 0;
}

.tms-ea-auction-lot__price-block > strong {
	color: #ffffff;
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 2.75rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	margin: 7px 0 20px;
}

.tms-ea-auction-lot__next-minimum {
	align-items: center;
	border-top: 1px solid #34383c;
	color: #d7dce0;
	display: flex;
	gap: 11px;
	padding-top: 15px;
}

.tms-ea-auction-lot__next-minimum small,
.tms-ea-auction-lot__next-minimum strong {
	display: block;
}

.tms-ea-auction-lot__next-minimum small {
	color: #9fa8ae;
	font-size: 0.76rem;
	line-height: 1.2;
	text-transform: uppercase;
}

.tms-ea-auction-lot__next-minimum strong {
	color: #ffffff;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	margin-top: 2px;
}

.tms-ea-auction-lot__countdown {
	align-items: center;
	color: #ffffff;
	display: flex;
	font-size: 1rem;
	font-weight: 800;
	gap: 9px;
	margin: 18px 0 0;
	min-height: 24px;
	transition: background-color 160ms ease, color 160ms ease;
}

.tms-ea-auction-lot__countdown[data-urgency="ending"] {
	color: #9de4b7;
}

.tms-ea-auction-lot__countdown[data-urgency="imminent"] {
	background: #163a23;
	border-left: 3px solid var(--tms-ea-green);
	border-radius: 4px;
	color: #ffffff;
	font-size: 1.08rem;
	padding: 10px 12px;
}

.tms-ea-auction-lot__bid-area,
.tms-ea-auction-lot__prelive,
.tms-ea-auction-lot__result,
.tms-ea-auction-lot__premium,
.tms-ea-auction-lot__bids {
	border-bottom: 1px solid #34383c;
	padding: 24px 0;
}

.tms-ea-auction-lot__bid-area form,
.tms-ea-auction-lot__eligibility {
	display: grid;
	gap: 12px;
}

.tms-ea-auction-lot__eligibility .tms-ea-bid-auth-actions:empty {
	display: none;
}

.tms-ea-auction-lot__eligibility > p {
	margin: 0;
}

.tms-ea-auction-lot__amount {
	align-items: center;
	background: #ffffff;
	border: 2px solid #ffffff;
	border-radius: 6px;
	color: var(--tms-ea-text);
	display: flex;
	min-width: 0;
	min-height: 50px;
	padding-left: 15px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tms-ea-auction-lot__amount:focus-within {
	border-color: var(--tms-ea-green);
	box-shadow: 0 0 0 3px rgba(27, 135, 65, 0.3);
}

.tms-ea-auction-lot__amount input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--tms-ea-text);
	font-size: 1rem;
	font-weight: 700;
	min-width: 0;
	outline: 0;
	min-height: 48px;
	padding: 12px 12px 12px 6px;
	width: 100%;
}

.tms-ea-auction-lot [data-role="bid-form"] .tms-ea-auction-lot__amount input {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.tms-ea-auction-lot__bid-area button,
.tms-ea-auction-lot__prelive a,
.tms-ea-auction-lot__eligibility a {
	width: 100%;
}

.tms-ea-auction-lot .tms-ea-bid-auth-actions {
	display: grid;
	gap: 12px;
}

.tms-ea-auction-lot .tms-ea-bid-auth-actions a {
	box-sizing: border-box;
	font-size: 16px;
	font-weight: 700;
	margin: 0;
	min-height: 52px;
	width: 100%;
}

.tms-ea-auction-lot .tms-ea-bid-auth-actions__primary {
	border: 2px solid transparent;
}

.tms-ea-auction-lot .tms-ea-bid-auth-actions__secondary {
	background: transparent;
	border: 2px solid var(--tms-ea-green);
	color: #ffffff;
}

.tms-ea-auction-lot .tms-ea-bid-auth-actions__secondary:hover,
.tms-ea-auction-lot .tms-ea-bid-auth-actions__secondary:focus-visible {
	background: #163a23;
	border-color: var(--tms-ea-green-hover);
	color: #ffffff;
}

.tms-ea-auction-lot__bid-area button {
	border-radius: 6px;
	font-size: 1rem;
	min-height: 52px;
	padding: 14px 22px;
}

.tms-ea-auction-lot__bid-area button:disabled {
	background: #66706a;
	color: #e6e9e7;
	cursor: not-allowed;
	opacity: 0.72;
}

.tms-ea-auction-lot__eligibility strong,
.tms-ea-auction-lot__prelive strong,
.tms-ea-auction-lot__result strong {
	color: #ffffff;
	font-size: 1.12rem;
}

.tms-ea-auction-lot__readiness {
	border-top: 1px solid #34383c;
	display: grid;
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
}

.tms-ea-auction-lot__readiness-actions {
	display: grid;
	gap: 10px;
}

.tms-ea-auction-lot__eligibility p,
.tms-ea-auction-lot__prelive p,
.tms-ea-auction-lot__result p,
.tms-ea-auction-lot__premium p {
	color: #c4cbd0;
}

.tms-ea-auction-lot__premium strong {
	color: #ffffff;
}

.tms-ea-auction-lot__premium-heading {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	line-height: 1.45;
}

.tms-ea-auction-lot__premium-heading .tms-ea-icon {
	color: #8fdbab;
	margin-top: 2px;
}

.tms-ea-auction-lot__premium p {
	font-size: 0.88rem;
	line-height: 1.5;
	margin: 9px 0;
}

.tms-ea-auction-lot__premium a {
	font-size: 0.9rem;
}

.tms-ea-post-sale {
	background: #ffffff;
	border-radius: 7px;
	color: var(--tms-ea-text);
	margin: 16px 0;
	padding: 22px;
}

.tms-ea-post-sale h2 {
	font-size: 1.35rem;
	margin: 0 0 8px;
}

.tms-ea-post-sale__eyebrow {
	color: var(--tms-ea-green);
	font-size: 0.78rem;
	font-weight: 800;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.tms-ea-post-sale__price {
	display: block;
	font-size: 2rem;
	margin-bottom: 14px;
}

.tms-ea-post-sale dl,
.tms-ea-post-sale form {
	display: grid;
	gap: 10px;
	margin: 16px 0;
}

.tms-ea-post-sale dl div {
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.tms-ea-post-sale dd {
	font-weight: 700;
	margin: 0;
}

.tms-ea-post-sale input,
.tms-ea-post-sale select {
	background: #ffffff;
	border: 1px solid #b8c0c5;
	border-radius: 4px;
	color: var(--tms-ea-text);
	min-height: 46px;
	padding: 10px 12px;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.tms-ea-post-sale__offer-state,
.tms-ea-post-sale__payment,
.tms-ea-post-sale__account {
	background: var(--tms-ea-soft);
	border-left: 4px solid var(--tms-ea-green);
	margin: 14px 0;
	padding: 14px;
}

.tms-ea-post-sale__expires {
	color: var(--tms-ea-muted);
	font-size: 0.9rem;
}

.tms-ea-post-sale__payment h2 {
	margin-bottom: 14px;
}

.tms-ea-auction-lot .tms-ea-post-sale__winner-notice {
	background: #edf7ef;
	border: 1px solid #1b8741;
	border-left-width: 4px;
	border-radius: 6px;
	padding: 18px;
	margin-bottom: 18px;
	min-width: 0;
	box-sizing: border-box;
}
.tms-ea-auction-lot .tms-ea-post-sale__winner-notice h2 { color: #111111; margin: 0 0 10px; }
.tms-ea-auction-lot .tms-ea-post-sale__winner-notice p { color: #14351f; font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.tms-ea-auction-lot .tms-ea-post-sale__winner-notice p + p { margin-top: 10px; }

.tms-ea-auction-lot dialog.tms-ea-winner-payment {
	background: #fff; color: #111; border: 0; border-radius: 8px; padding: 0;
	width: min(680px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
	margin: auto; overflow: auto; box-shadow: 0 24px 90px #0006;
	font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5;
}
.tms-ea-auction-lot dialog.tms-ea-winner-payment:not([open]) { display: none; }
.tms-ea-winner-payment::backdrop { background: rgba(0, 0, 0, .76); }
.tms-ea-winner-payment__brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #000; padding: 14px 28px; }
.tms-ea-winner-payment__brand img { display: block; width: 190px; max-width: calc(100% - 60px); height: auto; }
.tms-ea-auction-lot .tms-ea-winner-payment__brand button { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; background: #202326; border: 1px solid #555; border-radius: 50%; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.tms-ea-winner-payment__content { padding: 26px 30px 30px; }
.tms-ea-auction-lot .tms-ea-winner-payment__vehicle { color: #1b8741; font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.tms-ea-auction-lot .tms-ea-winner-payment h2 { color: #111; font-size: 24px; line-height: 1.35; margin: 0 0 18px; padding: 0; overflow-wrap: anywhere; }
.tms-ea-auction-lot .tms-ea-winner-payment__warning { color: #14351f; background: #edf7ef; border-left: 4px solid #1b8741; padding: 14px 16px; font-weight: 700; margin: 0 0 20px; }
.tms-ea-winner-payment__summary { margin: 0; }
.tms-ea-winner-payment__summary > div,
.tms-ea-winner-payment__now,
.tms-ea-winner-payment__balance { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.tms-ea-winner-payment__summary > div { padding: 9px 0; }
.tms-ea-winner-payment__summary dt { color: #4b5563; }
.tms-ea-winner-payment__summary dd { color: #111; font-weight: 700; margin: 0; text-align: right; white-space: nowrap; }
.tms-ea-winner-payment__now { padding: 18px 0; margin-top: 12px; border-top: 2px solid #1b8741; border-bottom: 1px solid #dce4de; }
.tms-ea-winner-payment__now > strong { color: #1b8741; font-size: 30px; white-space: nowrap; }
.tms-ea-winner-payment__balance { padding: 18px 0; border-bottom: 1px solid #e0e3e5; }
.tms-ea-winner-payment__balance > strong { font-size: 20px; white-space: nowrap; }
.tms-ea-winner-payment__now span,
.tms-ea-winner-payment__balance span { display: block; color: #58616a; font-size: 14px; margin-top: 3px; }
.tms-ea-auction-lot .tms-ea-winner-payment__guidance { color: #4b5563; font-size: 14px; line-height: 1.6; margin: 18px 0 22px; }
.tms-ea-auction-lot .tms-ea-winner-payment__continue { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border-radius: 999px; background: #1b8741; color: #fff; font-weight: 700; text-align: center; text-decoration: none; }
.tms-ea-auction-lot .tms-ea-winner-payment__continue:hover { background: #239b4d; color: #fff; }
.tms-ea-winner-payment :focus-visible { outline: 3px solid #1b8741; outline-offset: 3px; }
.tms-ea-winner-payment [data-role="winner-payment-title"]:focus { outline: none; }
.tms-ea-winner-payment__brand button:focus-visible { outline-color: #fff; }
@media (max-width: 600px) {
	.tms-ea-auction-lot dialog.tms-ea-winner-payment { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
	.tms-ea-winner-payment__brand { padding: 12px 18px; }
	.tms-ea-winner-payment__content { padding: 20px; }
	.tms-ea-auction-lot .tms-ea-winner-payment h2 { font-size: 22px; }
	.tms-ea-winner-payment__now, .tms-ea-winner-payment__balance { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.tms-ea-winner-payment__summary { font-size: 14px; }
}

.tms-ea-post-sale__payment-summary {
	border-bottom: 1px solid var(--tms-ea-line);
	border-top: 1px solid var(--tms-ea-line);
	padding: 12px 0;
}

.tms-ea-post-sale__payment-summary > div {
	align-items: baseline;
}

.tms-ea-post-sale__payment-total {
	border-top: 1px solid var(--tms-ea-line);
	font-weight: 800;
	padding-top: 10px;
}

.tms-ea-post-sale__payment-status,
.tms-ea-post-sale__vehicle-balance {
	background: #ffffff;
	border: 1px solid var(--tms-ea-line);
	border-radius: 6px;
	display: grid;
	gap: 3px;
	margin-top: 12px;
	padding: 12px;
}

.tms-ea-post-sale__payment-status span,
.tms-ea-post-sale__vehicle-balance span {
	color: var(--tms-ea-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.tms-ea-post-sale__payment-status strong {
	color: var(--tms-ea-green);
}

.tms-ea-post-sale__vehicle-balance strong {
	font-size: 1.2rem;
}

.tms-ea-post-sale__payment-status p,
.tms-ea-post-sale__vehicle-balance p {
	color: var(--tms-ea-muted);
	font-size: 0.86rem;
	margin: 2px 0 0;
}

.tms-ea-auction-lot .tms-ea-post-sale__settlement {
	color: var(--tms-ea-secondary);
	font-size: 16px;
	line-height: 1.6;
	margin: 14px 0 0;
	overflow-wrap: anywhere;
}

.tms-ea-post-sale__payment .tms-ea-post-sale__pay {
	display: flex;
	margin-top: 14px;
	min-height: 52px;
	text-align: center;
	width: 100%;
}

.tms-ea-post-sale__separator {
	color: var(--tms-ea-muted);
	font-weight: 700;
	margin: 12px 0;
	text-align: center;
	text-transform: uppercase;
}

.tms-ea-post-sale__terms {
	display: flex;
	gap: 10px;
	line-height: 1.45;
}

.tms-ea-post-sale__terms input {
	flex: 0 0 auto;
	margin-top: 4px;
}

.tms-ea-auction-lot__bids h2 {
	color: #ffffff;
	font-size: 1.3rem;
	margin-bottom: 12px;
}

.tms-ea-auction-lot__bids ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tms-ea-auction-lot__bids li {
	border-top: 1px solid #34383c;
	color: #d7dce0;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 12px 0;
}

.tms-ea-auction-lot__bids li > strong {
	color: #ffffff;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tms-ea-auction-lot__bids li > span {
	color: #b8c0c6;
	font-size: 0.8rem;
	line-height: 1.4;
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: right;
}

.tms-ea-auction-lot__bids li > span > span,
.tms-ea-auction-lot__bids li time {
	display: block;
}

.tms-ea-auction-lot__bids li time {
	color: #8f989f;
	margin-top: 2px;
}

.tms-ea-auction-lot__history-button {
	margin-top: 14px;
	width: 100%;
}

.tms-ea-auction-lot__calendar {
	display: flex;
	margin-top: 16px;
	text-align: center;
}

.tms-ea-auction-lot__back {
	margin: 34px 0 0;
}

.tms-ea-auction-lot__dialog {
	align-items: center;
	background: rgba(0, 0, 0, 0.76);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.tms-ea-auction-lot__dialog > div {
	background: #ffffff;
	border-radius: 8px;
	color: var(--tms-ea-text);
	max-width: 430px;
	padding: 28px;
	width: 100%;
}

.tms-ea-auction-lot__dialog--purchase > div {
	max-height: calc(100vh - 40px);
	max-width: 580px;
	overflow-y: auto;
}

.tms-ea-auction-lot__dialog--history > div {
	max-height: min(680px, calc(100vh - 40px));
	max-width: 620px;
	overflow-y: auto;
}

.tms-ea-auction-lot__dialog-heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.tms-ea-auction-lot__dialog-heading button {
	background: transparent;
	color: var(--tms-ea-text);
	font-size: 1.8rem;
	min-height: 40px;
	padding: 4px 12px;
}

.tms-ea-auction-lot__all-bids {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.tms-ea-auction-lot__all-bids li {
	border-top: 1px solid var(--tms-ea-line);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding: 12px 0;
}

.tms-ea-auction-lot__media-dialog {
	--tms-ea-gallery-nav-inset: 24px;
	--tms-ea-gallery-safe-left: env(safe-area-inset-left, 0px);
	--tms-ea-gallery-safe-right: env(safe-area-inset-right, 0px);
	--tms-ea-gallery-safe-top: env(safe-area-inset-top, 0px);
	--tms-ea-gallery-safe-bottom: env(safe-area-inset-bottom, 0px);
	align-items: center;
	background: rgba(0, 0, 0, 0.94);
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	inset: 0;
	padding: 24px;
	position: fixed;
	z-index: 100001;
}

.tms-ea-auction-lot__media-dialog > button {
	align-items: center;
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	padding: 0;
	line-height: 1;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	font-size: 2rem;
	height: 48px;
	width: 48px;
}

.tms-ea-auction-lot__media-dialog > :is([data-role="gallery-previous"], [data-role="gallery-next"]) {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.tms-ea-auction-lot__media-dialog > [data-role="gallery-previous"] {
	left: max(var(--tms-ea-gallery-nav-inset), calc(var(--tms-ea-gallery-safe-left) + 12px));
}

.tms-ea-auction-lot__media-dialog > [data-role="gallery-next"] {
	right: max(var(--tms-ea-gallery-nav-inset), calc(var(--tms-ea-gallery-safe-right) + 12px));
}

.tms-ea-auction-lot__media-dialog > button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.tms-ea-auction-lot__media-dialog > [data-role="gallery-close"] {
	position: absolute;
	right: 24px;
	top: 24px;
}

.tms-ea-auction-lot__media-viewer {
	grid-column: 2;
	align-items: center;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 48px);
	height: calc(100dvh - 48px);
	justify-content: center;
	min-width: 0;
}

.tms-ea-auction-lot__media-stage {
	align-items: center;
	display: flex;
	justify-content: center;
	max-height: calc(100vh - 100px);
	max-height: calc(100dvh - 100px);
	max-width: 100%;
	min-height: 0;
	min-width: 0;
	width: 100%;
}

.tms-ea-auction-lot__media-stage.is-image {
	overflow: hidden;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}

.tms-ea-auction-lot__media-stage.is-image img {
	transform-origin: center;
	-webkit-touch-callout: none;
}

.tms-ea-auction-lot__media-stage img.is-zoom-animating {
	transition: transform 220ms ease;
}

.tms-ea-auction-lot__media-stage img,
.tms-ea-auction-lot__media-stage video {
	display: block;
	height: auto;
	max-height: calc(100vh - 100px);
	max-height: calc(100dvh - 100px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.tms-ea-auction-lot__youtube {
	aspect-ratio: 16 / 9;
	max-height: calc(100vh - 120px);
	max-height: calc(100dvh - 120px);
	max-width: 1200px;
	width: min(100%, 1200px, calc((100vh - 120px) * 16 / 9));
	width: min(100%, 1200px, calc((100dvh - 120px) * 16 / 9));
}

.tms-ea-auction-lot__youtube iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.tms-ea-auction-lot__video-fallback {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	max-width: 520px;
	padding: 24px;
	text-align: center;
}

.tms-ea-auction-lot__video-fallback strong,
.tms-ea-auction-lot__video-fallback a {
	display: block;
}

.tms-ea-auction-lot__video-fallback a {
	color: #ffffff;
	font-weight: 700;
	margin-top: 12px;
	text-decoration: underline;
}

.tms-ea-auction-lot__media-viewer p {
	color: #ffffff;
	margin: 10px 0 0;
}

.tms-ea-modal-open {
	overflow: hidden;
}

.tms-ea-save-prompt {
	align-items: center;
	background: rgba(0, 0, 0, 0.72);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100000;
}

.tms-ea-save-prompt > div {
	background: #ffffff;
	border-radius: 8px;
	max-width: 420px;
	padding: 28px;
}

.tms-ea-save-prompt a,
.tms-ea-save-prompt button,
.tms-ea-saved-auctions button[data-save-toggle],
.tms-ea-saved-auctions__empty a,
.tms-ea-saved-auctions__view {
	background: var(--tms-ea-green);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	margin: 6px 6px 0 0;
	padding: 11px 18px;
	text-decoration: none;
}

.tms-ea-saved-auctions {
	--tms-ea-green: #1b8741;
	--tms-ea-line: #e2e5e8;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.tms-ea-saved-auctions *,
.tms-ea-saved-auctions *::before,
.tms-ea-saved-auctions *::after {
	box-sizing: border-box;
}

.tms-ea-saved-auctions__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 100%;
	width: 100%;
}

.tms-ea-saved-auctions__card {
	border: 1px solid var(--tms-ea-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	padding: 24px;
}

.tms-ea-saved-auctions__card > a:first-of-type {
	color: #111111;
	display: block;
	min-width: 0;
	text-decoration: none;
}

.tms-ea-saved-auctions__card img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	width: 100%;
}

.tms-ea-saved-auctions__card h3 {
	color: #111111;
	font-size: 20px;
	line-height: 1.3;
	margin: 16px 0 0;
	overflow-wrap: anywhere;
}

.tms-ea-saved-auctions__card p {
	color: #4b5563;
	line-height: 1.45;
	margin: 0;
}

.tms-ea-saved-auctions__card .tms-ea-saved-auctions__view,
.tms-ea-saved-auctions__card > button[data-save-toggle] {
	align-items: center;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	margin: 0;
	min-height: 48px;
	padding: 12px 18px;
	text-align: center;
	width: 100%;
}

.tms-ea-saved-auctions__card .tms-ea-saved-auctions__view {
	margin-top: auto;
}

.tms-ea-saved-auctions__card > button[data-save-toggle] {
	background: #ffffff;
	border: 1px solid var(--tms-ea-green);
	color: var(--tms-ea-green);
}

.tms-ea-saved-auctions__card > button[data-save-toggle]:hover,
.tms-ea-saved-auctions__card > button[data-save-toggle]:focus-visible {
	background: #eef8f1;
}

.tms-ea-saved-auctions__pagination {
	display: flex;
	gap: 8px;
	margin-top: 24px;
}

@media (max-width: 1099px) {
	.tms-ea-saved-auctions__grid {
		gap: 24px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 699px) {
	.tms-ea-saved-auctions__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-saved-auctions__card {
		padding: 20px;
	}
}

.tms-ea-auction-lot__dialog h2 {
	font-size: 1.45rem;
	margin: 0 0 12px;
}

.tms-ea-auction-lot__dialog-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.tms-ea-post-sale-confirmation {
	display: block;
	margin-top: 0;
}

.tms-ea-post-sale-confirmation__vehicle {
	color: var(--tms-ea-text);
	font-family: inherit;
	font-size: 1.12rem;
	font-weight: 800;
	margin: 4px 0 18px;
}

.tms-ea-post-sale-confirmation__breakdown {
	border-bottom: 1px solid var(--tms-ea-line);
	border-top: 1px solid var(--tms-ea-line);
	margin: 0 0 12px;
	padding: 10px 0;
}

.tms-ea-post-sale-confirmation__breakdown > div {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 7px 0;
}

.tms-ea-post-sale-confirmation__breakdown dt,
.tms-ea-post-sale-confirmation__breakdown dd {
	margin: 0;
}

.tms-ea-post-sale-confirmation__breakdown dd {
	font-weight: 800;
	text-align: right;
	white-space: nowrap;
}

.tms-ea-post-sale-confirmation__total {
	border-top: 1px solid var(--tms-ea-line);
	font-weight: 800;
	margin-top: 6px;
	padding-top: 13px !important;
}

.tms-ea-post-sale-confirmation__pay-now {
	background: #eaf7ef;
	border-left: 4px solid var(--tms-ea-green);
	color: #145d30;
	font-size: 1.05rem;
	margin: 10px 0 2px;
	padding: 12px !important;
}

.tms-ea-post-sale-confirmation__settlement,
.tms-ea-post-sale-confirmation__warning,
.tms-ea-post-sale-confirmation__terms-version {
	line-height: 1.5;
	margin: 10px 0;
}

.tms-ea-post-sale-confirmation__warning {
	font-weight: 700;
}

.tms-ea-post-sale-confirmation__terms-version {
	color: var(--tms-ea-muted);
	font-size: 0.88rem;
}

.tms-ea-auction-lot__dialog button[data-role="confirm-cancel"] {
	background: #e7e9eb;
	color: var(--tms-ea-text);
}

@media (max-width: 980px) {
	.tms-ea-marketplace__hero h1,
	.tms-ea-auction-lot__header h1 {
		font-size: 2.65rem;
	}

	.tms-ea-marketplace__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tms-ea-auction-lot__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-auction-lot__auction-panel {
		position: static;
	}
}

@media (max-width: 767px) {
	.tms-ea-marketplace,
	.tms-ea-auction-lot,
	.tms-ea-marketplace--embedded,
	.tms-ea-auction-lot--embedded {
		max-width: 100%;
		padding: 12px 10px 42px;
	}

	.tms-ea-marketplace__hero {
		min-height: 0;
		padding: 42px 20px;
	}

	.tms-ea-marketplace__hero h1,
	.tms-ea-auction-lot__header h1 {
		font-size: 2.15rem;
		overflow-wrap: anywhere;
	}

	.tms-ea-marketplace__hero-actions,
	.tms-ea-marketplace__section-heading,
	.tms-ea-marketplace__footer-cta,
	.tms-ea-auction-lot__header {
		align-items: stretch;
		flex-direction: column;
	}

	.tms-ea-marketplace__hero-actions a,
	.tms-ea-marketplace__footer-cta a {
		width: 100%;
	}

	.tms-ea-marketplace__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-marketplace__section {
		padding-top: 42px;
	}

	.tms-ea-marketplace__section-heading {
		align-items: flex-start;
		gap: 8px;
	}

	.tms-ea-marketplace__footer-cta {
		padding: 26px 20px;
	}

	.tms-ea-auction-lot__status {
		align-self: flex-start;
	}

	.tms-ea-auction-lot__header-actions {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.tms-ea-auction-lot__media-grid {
		aspect-ratio: 16 / 10;
		grid-template-columns: minmax(0, 1fr);
		order: 1;
	}

	.tms-ea-auction-lot__media-previews {
		display: none;
	}

	.tms-ea-auction-lot__gallery {
		order: 3;
		scroll-snap-type: x mandatory;
	}

	.tms-ea-auction-lot__media-actions {
		order: 2;
	}

	.tms-ea-auction-lot__vehicle {
		display: contents;
	}

	.tms-ea-auction-lot__media-dialog {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		padding: 12px;
	}

	.tms-ea-auction-lot__media-dialog > [data-role="gallery-close"] {
		right: 12px;
		top: 12px;
	}

	.tms-ea-auction-lot__layout,
	.tms-ea-auction-lot__vehicle,
	.tms-ea-auction-lot__auction-panel,
	.tms-ea-auction-lot__details,
	.tms-ea-auction-lot__details dl,
	.tms-ea-auction-lot__details dl div,
	.tms-ea-auction-lot__bid-area,
	.tms-ea-auction-lot__amount,
	.tms-ea-auction-lot__amount input {
		max-width: 100%;
		min-width: 0;
	}

	.tms-ea-auction-lot__details {
		order: 5;
	}

	.tms-ea-auction-lot .tms-ea-auction-lot__details,
	.tms-ea-auction-lot .tms-ea-auction-lot__content-section {
		margin-top: 0;
	}

	.tms-ea-auction-lot__auction-panel {
		order: 4;
		padding: 24px 20px;
	}

	.tms-ea-auction-lot__description-section {
		order: 7;
	}

	.tms-ea-auction-lot__options-section {
		order: 8;
	}

	.tms-ea-auction-lot__service-history {
		order: 9;
	}

	.tms-ea-auction-lot__content-section {
		max-width: 100%;
		min-width: 0;
	}

	.tms-ea-auction-lot__service-top {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.tms-ea-auction-lot__dialog {
		padding: 10px;
	}

	.tms-ea-auction-lot__dialog > div {
		max-height: calc(100vh - 20px);
		padding: 22px 18px;
	}

	.tms-ea-post-sale-confirmation__breakdown > div {
		display: block;
	}

	.tms-ea-post-sale-confirmation__breakdown dd {
		margin-top: 3px;
		text-align: left;
	}

	.tms-ea-auction-lot__dialog-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-auction-lot__dialog-actions button {
		width: 100%;
	}

	.tms-ea-auction-lot__price-block > strong {
		font-size: 2.4rem;
	}
}

@media (max-width: 360px) {
	.tms-ea-auction-lot .tms-ea-auction-lot__details dl {
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-auction-lot__auction-panel {
		padding: 22px 16px;
	}

	.tms-ea-auction-lot__price-block > strong {
		font-size: 2.2rem;
	}
}

@media (max-width: 1024px), (any-pointer: coarse) {
	.tms-ea-auction-lot__media-dialog {
		--tms-ea-viewer-height: calc(100vh - 100px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		--tms-ea-viewer-height: calc(100dvh - 100px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		grid-template-columns: minmax(0, 1fr);
		padding: max(54px, env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) max(34px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
		overflow: hidden;
	}
	.tms-ea-auction-lot__media-dialog > button {
		position: absolute;
		z-index: 2;
		width: 44px;
		height: 44px;
		min-width: 44px;
		padding: 0;
		font-size: 26px;
		background: rgba(0, 0, 0, .45);
		border-color: rgba(255, 255, 255, .3);
	}
	.tms-ea-auction-lot__media-dialog > [data-role="gallery-close"] { right: max(8px, env(safe-area-inset-right, 0px)); top: max(8px, env(safe-area-inset-top, 0px)); }
	.tms-ea-auction-lot__media-viewer { grid-column: 1; height: auto; width: 100%; }
	.tms-ea-auction-lot__media-stage.is-image { height: var(--tms-ea-viewer-height); max-height: var(--tms-ea-viewer-height); flex-shrink: 0; }
	.tms-ea-auction-lot__media-stage img { max-height: var(--tms-ea-viewer-height); max-width: 100%; animation: tms-ea-gallery-appear 220ms ease; }
	.tms-ea-auction-lot__media-viewer [data-role="gallery-counter"] { min-height: 24px; line-height: 24px; margin: 8px 0 0; font-size: 14px; }
}

@media (max-width: 767px) {
	.tms-ea-auction-lot__media-dialog { --tms-ea-gallery-nav-inset: 16px; }
}

@media (orientation: landscape) and (max-width: 1024px), (orientation: landscape) and (any-pointer: coarse) {
	.tms-ea-auction-lot__media-dialog {
		--tms-ea-viewer-height: calc(100vh - 16px - var(--tms-ea-gallery-safe-top) - var(--tms-ea-gallery-safe-bottom));
		--tms-ea-viewer-height: calc(100dvh - 16px - var(--tms-ea-gallery-safe-top) - var(--tms-ea-gallery-safe-bottom));
		padding: calc(8px + var(--tms-ea-gallery-safe-top)) calc(8px + var(--tms-ea-gallery-safe-right)) calc(8px + var(--tms-ea-gallery-safe-bottom)) calc(8px + var(--tms-ea-gallery-safe-left));
	}
	.tms-ea-auction-lot__media-viewer {
		position: relative;
		height: var(--tms-ea-viewer-height);
	}
	.tms-ea-auction-lot__media-stage,
	.tms-ea-auction-lot__media-stage.is-image {
		height: var(--tms-ea-viewer-height);
		max-height: var(--tms-ea-viewer-height);
	}
	.tms-ea-auction-lot__media-stage img,
	.tms-ea-auction-lot__media-stage video {
		max-height: var(--tms-ea-viewer-height);
		max-width: 100%;
		object-fit: contain;
	}
	.tms-ea-auction-lot__youtube {
		max-height: calc(var(--tms-ea-viewer-height) - 32px);
		width: min(100%, 1200px, calc((var(--tms-ea-viewer-height) - 32px) * 16 / 9));
	}
	.tms-ea-auction-lot__media-stage:not(.is-image) {
		height: calc(var(--tms-ea-viewer-height) - 32px);
		max-height: calc(var(--tms-ea-viewer-height) - 32px);
	}
	.tms-ea-auction-lot__media-stage video {
		max-height: calc(var(--tms-ea-viewer-height) - 32px);
	}
	.tms-ea-auction-lot__media-viewer [data-role="gallery-counter"] {
		position: absolute;
		bottom: 0;
		z-index: 2;
		margin: 0;
		padding: 0 8px;
		border-radius: 4px;
		background: rgba(0, 0, 0, .65);
		pointer-events: none;
	}
	.tms-ea-auction-lot__media-stage:not(.is-image) ~ [data-role="gallery-counter"] {
		position: static;
		margin-top: 8px;
	}
	.tms-ea-auction-lot__media-dialog > [data-role="gallery-close"] {
		right: calc(8px + var(--tms-ea-gallery-safe-right));
		top: calc(8px + var(--tms-ea-gallery-safe-top));
	}
	.tms-ea-auction-lot__media-dialog > :is([data-role="gallery-previous"], [data-role="gallery-next"]) {
		top: calc(50% + (var(--tms-ea-gallery-safe-top) - var(--tms-ea-gallery-safe-bottom)) / 2);
	}
}

@keyframes tms-ea-gallery-appear { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.tms-ea-auction-lot__media-stage img { animation: none; transition: none; }
	.tms-ea-auction-lot__media-stage img.is-zoom-animating { transition: none; }
}

/* WEB-008: private live bidder alerts; no layout-changing animation. */
.tms-ea-auction-lot .tms-ea-bidder-status,
.tms-ea-auction-lot .tms-ea-auction-lot__result--warning {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 2px solid;
	border-radius: 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}
.tms-ea-auction-lot .tms-ea-bidder-status--highest {
	border-color: #1b8741;
	background: #f8fffa;
	color: #1b8741;
	animation: tms-ea-bidder-highest-pulse 1.6s ease-in-out infinite;
}
.tms-ea-auction-lot .tms-ea-bidder-status--outbid,
.tms-ea-auction-lot .tms-ea-auction-lot__result--warning {
	border-color: #a31524;
	background: #fff1f2;
	color: #891324;
}
.tms-ea-auction-lot .tms-ea-auction-lot__result--warning {
	margin: 24px 0 0;
}
.tms-ea-auction-lot .tms-ea-auction-lot__result--warning strong,
.tms-ea-auction-lot .tms-ea-auction-lot__result--warning p {
	color: inherit;
}
.tms-ea-auction-lot .tms-ea-auction-lot__result--warning p {
	margin: 10px 0 0;
	font-size: 16px;
	font-weight: 400;
}
.tms-ea-auction-lot .tms-ea-bidder-status--outbid {
	animation: tms-ea-bidder-outbid-pulse 1.6s ease-in-out infinite;
}
.tms-ea-auction-lot .tms-ea-bidder-status[hidden] { display: none; }
@keyframes tms-ea-bidder-highest-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(27, 135, 65, .08); }
	50% { box-shadow: 0 0 0 4px rgba(27, 135, 65, .22); }
}
@keyframes tms-ea-bidder-outbid-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(163, 21, 36, .08); }
	50% { box-shadow: 0 0 0 4px rgba(163, 21, 36, .22); }
}
@media (prefers-reduced-motion: reduce) {
	.tms-ea-auction-lot .tms-ea-bidder-status { animation: none; }
}
