.nox-event-card {
	--_text: var(--colors--text--body);
	--_line: color-mix(in srgb, var(--colors--border--stroke) 68%, transparent);
	--_header-upcoming:
		radial-gradient(circle at top left, rgb(212 175 55 / 14%), transparent 26%),
		linear-gradient(135deg, rgb(8 9 10) 0%, rgb(26 31 34) 58%, rgb(8 9 10) 100%);
	--_header-completed:
		radial-gradient(circle at top left, rgb(255 255 255 / 18%), transparent 26%),
		color-mix(in srgb, var(--colors--surface--page-background) 88%, var(--ref--colors--body-silver));
	--_title-completed: color-mix(in srgb, var(--colors--text--body) 74%, transparent);
	--_meta-copy: color-mix(in srgb, var(--colors--text--body) 66%, transparent);
	--_badge-background: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 12%, transparent);
	--_badge-border: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 34%, transparent);
	--_badge-text: var(--ref--colors--gold, #d4af37);
	--_button-background: var(--ref--colors--gold, #d4af37);
	--_button-text: var(--ref--colors--carbon-black, #08090a);
	--_button-disabled: color-mix(in srgb, var(--colors--text--body) 14%, transparent);
	--_notice-success: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 72%, var(--colors--text--body));
	--_notice-error: var(--ref--colors--racing-red, #c1121f);

	position: relative;
	display: flex;
	flex-direction: column;
	block-size: 100%;
	min-inline-size: 0;
	overflow: hidden;

	border: 1px solid var(--colors--card--border);
	border-radius: clamp(1rem, 1.5vw, 1.5rem);

	background: var(--colors--card--background);
	color: var(--_text);
	box-shadow: var(--shadows--card);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nox-event-card--theme--dark,
:root[data-site-theme="dark"] .nox-event-card--theme--site {
	--_text: var(--colors--text--body-invert);
	--_line: rgb(255 255 255 / 10%);
	--_header-upcoming:
		radial-gradient(circle at top left, rgb(212 175 55 / 14%), transparent 26%),
		linear-gradient(135deg, rgb(8 9 10) 0%, rgb(26 31 34) 58%, rgb(8 9 10) 100%);
	--_header-completed:
		radial-gradient(circle at top left, rgb(255 255 255 / 10%), transparent 22%),
		color-mix(in srgb, var(--colors--surface--section-background-black) 74%, var(--colors--surface--page-background));
	--_title-completed: rgb(226 232 240 / 82%);
	--_meta-copy: rgb(226 232 240 / 64%);
	--_badge-background: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 12%, transparent);
	--_badge-border: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 34%, transparent);
	--_badge-text: var(--ref--colors--gold, #d4af37);
	--_button-background: var(--ref--colors--gold, #d4af37);
	--_button-text: var(--ref--colors--carbon-black, #08090a);
	--_button-disabled: rgb(255 255 255 / 12%);
	--_notice-success: var(--ref--colors--gold, #d4af37);
	--_notice-error: color-mix(in srgb, var(--ref--colors--racing-red, #c1121f) 82%, #fff);
}

.nox-event-card:is(:hover, :focus-within) {
	border-color: var(--colors--card--border-hover);
	box-shadow: var(--shadows--card-hover);
	transform: translateY(-4px);
}

.nox-event-card__header {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 1rem;
	align-items: center;
	flex: 0 0 auto;
	min-block-size: 6.25rem;
	padding: 1rem 1.1rem;
	background: var(--ref--colors--carbon-black, #08090a);
}

.nox-event-card__header--status--completed {
	background: var(--ref--colors--carbon-black, #08090a);
}

.nox-event-card__title,
.nox-event-card__detail-label,
.nox-event-card__detail-value,
.nox-event-card__join-notice,
.nox-event-card__lineup {
	margin: 0;
	color: currentcolor;
}

.nox-event-card__title {
	color: var(--ref--colors--gold, #d4af37);
	font-family: var(--font--family--nox-display);
	font-size: var(--font--size--h4-dm-mono);
	font-weight: var(--font--weight--regular);
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.nox-event-card__circuit-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 0;
}

.nox-event-card__header-copy {
	display: grid;
	align-content: center;
	gap: 0.4rem;
	grid-column: 1 / -1;
	min-inline-size: 0;
}

.nox-event-card__circuit-logo-wrap + .nox-event-card__header-copy {
	grid-column: auto;
}

.nox-event-card__circuit-logo {
	display: block;
	inline-size: 100%;
	block-size: auto;
	max-block-size: 4.35rem;
	object-fit: contain;
}

.nox-event-card__circuit-banner {
	position: relative;
	flex: 0 0 auto;
	aspect-ratio: 16 / 7;
	margin: 0;
	overflow: hidden;
	background: var(--ref--colors--carbon-black, #08090a);
	border-block-end: 1px solid var(--_line);
}

.nox-event-card__circuit-banner-image {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.nox-event-card__game-logo {
	position: absolute;
	inset: auto clamp(0.65rem, 2vw, 1rem) clamp(0.65rem, 2vw, 1rem) auto;
	display: block;
	inline-size: auto;
	max-inline-size: min(7rem, 38%);
	block-size: auto;
	max-block-size: 2.5rem;
	object-fit: contain;
	filter: drop-shadow(0 2px 5px rgb(0 0 0 / 65%));
}

.nox-event-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: clamp(0.9rem, 2vw, 1.15rem);
	padding: clamp(1rem, 2vw, 1.3rem);
	min-inline-size: 0;
}

.nox-event-card__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.nox-event-card__detail {
	display: grid;
	align-content: start;
	gap: 0.25rem;
	min-inline-size: 0;
	padding-top: 0.7rem;
	border-top: 1px solid var(--_line);
}

.nox-event-card__detail-label {
	color: var(--_meta-copy);
	font-size: 0.7rem;
	font-weight: var(--font--weight--medium, 600);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nox-event-card__detail-value {
	font-size: 0.98rem;
	font-weight: var(--font--weight--bold, 700);
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.nox-event-card__result-label,
.nox-event-card__result-value {
	margin: 0;
}

.nox-event-card__detail-value--slots,
.nox-event-card__result-value--highlight {
	color: var(--ref--colors--gold, #d4af37);
}

.nox-event-card__detail-value--muted {
	color: var(--_meta-copy);
	font-weight: var(--font--weight--medium, 600);
}

.nox-event-card__detail--lineup {
	grid-column: 1 / -1;
}

.nox-event-card__lineup {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 1rem;
	padding: 0;
	list-style: none;
}

.nox-event-card__lineup-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-block-size: 1.7rem;
	min-inline-size: 0;
	color: var(--_text);
	font-size: 0.88rem;
	font-weight: var(--font--weight--bold, 700);
}

.nox-event-card__lineup-flag-wrap {
	position: relative;
	display: block;
	inline-size: 2.55rem;
	block-size: 1.9rem;
	overflow: hidden;
	border-radius: 0.2rem;
	background: transparent;
	flex: 0 0 auto;
}

.nox-event-card__lineup-flag,
.nox-event-card__lineup-flag-fallback {
	position: absolute;
	inset: 0;
}

.nox-event-card__lineup-flag {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.nox-event-card__lineup-flag-fallback {
	display: grid;
	place-items: center;
	font-size: 1.45rem;
	line-height: 1;
}

.nox-event-card__lineup-name {
	min-inline-size: 0;
	overflow-wrap: anywhere;
}

.nox-event-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 0.85rem;
	margin-top: auto;
	padding-top: var(--spacing--spacing--s);
	border-top: 1px solid var(--_line);
}

.nox-event-card__badge {
	display: inline-flex;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--_badge-border);
	border-radius: 999px;
	background: var(--_badge-background);
	color: var(--_badge-text);
	font-size: 0.75rem;
	font-weight: var(--font--weight--bold, 700);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nox-event-card__join {
	display: grid;
	justify-items: end;
	gap: 0.45rem;
	min-inline-size: min(12rem, 100%);
}

.nox-event-card__join-form {
	margin: 0;
}

.nox-event-card__join-button,
.nox-event-card__leave-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 2.5rem;
	padding-inline: 1rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--_button-background);
	color: var(--_button-text);
	font: inherit;
	font-size: 0.78rem;
	font-weight: var(--font--weight--bold, 700);
	letter-spacing: 0.08em;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 160ms ease, transform 160ms ease;
}

.nox-event-card__leave-button {
	gap: 0.55rem;
	border-color: var(--_line);
	background: transparent;
	color: var(--_text);
}

.nox-event-card__join-button:is(:hover, :focus-visible),
.nox-event-card__leave-button:is(:hover, :focus-visible) {
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.nox-event-card__leave-button:is(:hover, :focus-visible) {
	border-color: color-mix(in srgb, var(--_notice-error) 42%, var(--_line));
	color: var(--_notice-error);
}

.nox-event-card__join-button--disabled,
.nox-event-card__join-button:disabled {
	border-color: var(--_line);
	background: var(--_button-disabled);
	color: var(--_meta-copy);
	cursor: not-allowed;
	filter: none;
	transform: none;
}

.nox-event-card__joined-label {
	display: inline-flex;
	align-items: center;
}

.nox-event-card__leave-icon {
	display: block;
	inline-size: 1rem;
	block-size: 1rem;
	stroke: currentcolor;
	stroke-width: 2;
	stroke-linecap: round;
}

.nox-event-card__join-notice {
	color: var(--_meta-copy);
	font-size: 0.75rem;
	font-weight: var(--font--weight--medium, 600);
	line-height: 1.35;
	text-align: end;
}

.nox-event-card__join-notice--success {
	color: var(--_notice-success);
}

.nox-event-card__join-notice--error {
	color: var(--_notice-error);
}

.nox-event-card__results {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.65rem;
	padding-top: var(--spacing--spacing--s);
	border-top: 1px solid var(--_line);
}

.nox-event-card__result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-inline-size: 0;
}

.nox-event-card__result-label {
	color: var(--_meta-copy);
	font-size: 0.7rem;
	font-weight: var(--font--weight--medium, 600);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nox-event-card__result-value {
	color: var(--_text);
	font-size: 0.98rem;
	font-weight: var(--font--weight--bold, 700);
	line-height: 1.35;
	text-align: end;
	overflow-wrap: anywhere;
}

@media (width <= 34rem) {

	.nox-event-card__details {
		grid-template-columns: minmax(0, 1fr);
	}

	.nox-event-card__header {
		grid-template-columns: minmax(0, 1fr);
		min-block-size: 0;
	}

	.nox-event-card__circuit-logo {
		max-inline-size: min(12rem, 80%);
	}

	.nox-event-card__header-copy {
		grid-column: auto;
	}

	.nox-event-card__lineup {
		grid-template-columns: minmax(0, 1fr);
	}

	.nox-event-card__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.nox-event-card__join {
		justify-items: stretch;
		min-inline-size: 100%;
	}

	.nox-event-card__join-button {
		inline-size: 100%;
	}

	.nox-event-card__join-notice {
		text-align: start;
	}
}

/* Lineups button --------------------------------------------------------- */

.nox-event-card__lineups-button {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	min-block-size: 2.6rem;
	padding: 0.7rem 1.15rem;
	border: 1px solid color-mix(in srgb, var(--ref--colors--gold, #d4af37) 55%, transparent);
	border-radius: 999px;
	color: var(--_text);
	font-family: var(--font--family--subheader, var(--font-family--mono));
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: transparent;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nox-event-card__lineups-button:is(:hover, :focus-visible) {
	border-color: var(--ref--colors--gold, #d4af37);
	color: var(--ref--colors--carbon-black, #08090a);
	background: var(--ref--colors--gold, #d4af37);
}

.nox-event-card__lineups-button-flag {
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	background: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 24%, transparent);
}

/* Lineups panel ---------------------------------------------------------- */

.nox-event-card__lineups-modal {
	inline-size: min(46rem, calc(100vw - 2rem));

	/* 100vh on a phone measures the viewport with the browser chrome hidden, so
	   the panel runs under it and the last lineup becomes unreachable. dvh
	   tracks the visible area; the vh line is the fallback for old browsers. */
	max-block-size: min(46rem, calc(100vh - 3rem));
	max-block-size: min(46rem, calc(100dvh - 3rem));
	padding: 0;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 1.25rem;
	color: var(--ref--colors--aero-white, #f4f7f8);
	background: var(--wp--preset--color--deep-black, #0a0a0a);
	box-shadow: 0 2.5rem 5rem rgb(0 0 0 / 55%);
	overflow: clip;
}

.nox-event-card__lineups-modal::backdrop {
	background: rgb(4 6 8 / 62%);
	backdrop-filter: blur(10px);
}

/*
 * El panel no scrollea: scrollea la lista.
 *
 * This used to be a grid with overflow-y on the panel itself, which meant that
 * scrolling to reach the fourth lineup dragged the circuit banner and the
 * heading up and out of view - the panel lost its own header the moment it
 * became useful. And because every child was a grid row inside a height-capped
 * box, the rows gave up their height instead of overflowing, so the lineups
 * squashed rather than scrolled.
 *
 * A column flexbox fixes both at once. The banner, the heading and the notice
 * are fixed rows that never shrink; the list takes the leftover space and does
 * the scrolling by itself. The banner stays put and nothing is compressed.
 *
 * No rule counts the lineups. The scroller appears exactly when the content no
 * longer fits, which with the 46rem cap on the dialog is at the third or fourth
 * row depending on the screen - the same point it used to break.
 */
.nox-event-card__lineups-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-block-size: inherit;
	padding-block-end: clamp(1.25rem, 3vw, 2rem);
	overflow: hidden;
}

/* Cabecera fija. Without this a flex item is free to shrink below its content,
   which is the squashing this replaced. */
.nox-event-card__lineups-banner,
.nox-event-card__lineups-header,
.nox-event-card__lineups-notice {
	flex: 0 0 auto;
}

.nox-event-card__lineups-dismiss {
	position: absolute;
	inset-block-start: 0.85rem;
	inset-inline-end: 0.85rem;
	z-index: 2;
}

.nox-event-card__lineups-dismiss button {
	display: inline-grid;
	place-items: center;
	inline-size: 2.25rem;
	block-size: 2.25rem;
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: 999px;
	color: inherit;
	background: rgb(8 9 10 / 62%);
	cursor: pointer;
}

.nox-event-card__lineups-dismiss svg {
	inline-size: 1rem;
	block-size: 1rem;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.nox-event-card__lineups-banner {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 6;
	overflow: hidden;
	background: var(--ref--colors--carbon-black, #08090a);
}

.nox-event-card__lineups-banner > img:first-child {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* Same placement as on the card, so the panel reads as the card opened up. */
.nox-event-card__lineups-game-logo {
	position: absolute;
	inset: auto clamp(0.75rem, 2vw, 1.25rem) clamp(0.75rem, 2vw, 1.25rem) auto;
	display: block;
	inline-size: auto;
	max-inline-size: min(8rem, 34%);
	block-size: auto;
	max-block-size: 2.75rem;
	object-fit: contain;
	filter: drop-shadow(0 2px 5px rgb(0 0 0 / 65%));
}

.nox-event-card__lineups-header {
	padding-inline: clamp(1.25rem, 3vw, 2rem);
}

/* Matches the gold eyebrow used across the NOX blocks: same rule, same
   spacing, same weight, so the panel reads as part of the same system. */
.nox-event-card__lineups-eyebrow {
	display: flex;
	gap: 0.625rem;
	align-items: center;
	margin: 0;
	color: var(--ref--colors--gold, #d4af37);
	font-family: var(--font--family--nox-mono, var(--font--family--subheader));
	font-size: 0.75rem;
	line-height: 1.2;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	/* Same one-step bump as the other eyebrows: JetBrains Mono is variable
	   400-700, so this is a real weight. */
	font-weight: 700;
}

.nox-event-card__lineups-eyebrow::before {
	content: "";
	display: block;
	flex: 0 0 1.375rem;
	block-size: 1px;
	background: currentcolor;
}

.nox-event-card__lineups-notice {
	margin: 0 clamp(1.25rem, 3vw, 2rem);
	padding: 0.7rem 0.9rem;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 0.6rem;
	font-size: 0.88rem;
}

.nox-event-card__lineups-notice--success {
	border-color: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 45%, transparent);
	color: var(--ref--colors--gold, #d4af37);
}

.nox-event-card__lineups-notice--error {
	border-color: color-mix(in srgb, var(--ref--colors--racing-red, #fc003f) 45%, transparent);
	color: var(--ref--colors--racing-red, #fc003f);
}

.nox-event-card__lineups-list {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding-inline: clamp(1.25rem, 3vw, 2rem);
	list-style: none;

	/*
	 * min-block-size: 0 is the line that makes this work at all. A flex item's
	 * default minimum is its content, so without it the list refuses to be
	 * shorter than all of its rows stacked, the panel grows past its cap, and
	 * nothing ever scrolls. It is the single most common reason a scroll area
	 * inside a flexbox does not scroll.
	 */
	flex: 1 1 auto;
	min-block-size: 0;
	overflow-y: auto;

	/*
	 * Y esto es lo que impide que las filas se aplasten.
	 *
	 * Once the list has a height smaller than its contents, a grid with auto
	 * rows distributes what it has between them: measured on the live page, the
	 * lineup rows dropped from 116px to 39px and the panel scrolled a token
	 * 84px. Rows sized to min-content are sized by what is inside them instead,
	 * so they keep their real height and the excess becomes scroll - 1042px of
	 * it in the same test. align-content keeps them packed at the top rather
	 * than stretched apart when there are only one or two.
	 */
	grid-auto-rows: min-content;
	align-content: start;

	/* Reaching the end of the list should not start scrolling the page behind
	   the dialog. */
	overscroll-behavior: contain;

	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 55%, transparent) transparent;
}

/* WebKit no lee scrollbar-color, así que la barra se pinta aparte. */
.nox-event-card__lineups-list::-webkit-scrollbar {
	inline-size: 0.5rem;
}

.nox-event-card__lineups-list::-webkit-scrollbar-track {
	background: transparent;
}

.nox-event-card__lineups-list::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 55%, transparent);
}

.nox-event-card__lineups-list::-webkit-scrollbar-thumb:hover {
	background: var(--ref--colors--gold, #d4af37);
}

.nox-event-card__lineup-row {
	position: relative;
	display: grid;
	gap: 0.7rem;
	padding: clamp(0.9rem, 2vw, 1.15rem);
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 0.85rem;
	background: rgb(255 255 255 / 4%);
	overflow: hidden;
	isolation: isolate;
}

/* The car should read as the car: only enough blur to soften the detail, with
   the contrast work handed to the scrim below instead of to a heavy blur. */
.nox-event-card__lineup-backdrop {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-position: center;
	background-size: cover;
	filter: blur(5px) saturate(1.05);
	opacity: 0.42;
	transform: scale(1.05);
	pointer-events: none;
}

.nox-event-card__lineup-row.is-own .nox-event-card__lineup-backdrop {
	opacity: 0.5;
}

/* Sits between the car and the text. ::after rather than ::before matters: both
   live at z-index -1, so tree order decides, and only ::after lands on top of
   the image. Darkest where the names start, clearing towards the right so the
   car stays visible. */
.nox-event-card__lineup-row::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgb(8 9 10 / 82%) 0%, rgb(8 9 10 / 52%) 58%, rgb(8 9 10 / 22%) 100%);
	pointer-events: none;
}

/* No car, no scrim: it would only mute the row for nothing. */
.nox-event-card__lineup-row:not(:has(.nox-event-card__lineup-backdrop))::after {
	content: none;
}

@media (prefers-reduced-motion: reduce) {
	.nox-event-card__lineup-backdrop {
		transform: none;
	}
}

.nox-event-card__lineup-row.is-own {
	border-color: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 52%, transparent);
	background: color-mix(in srgb, var(--ref--colors--gold, #d4af37) 8%, rgb(255 255 255 / 4%));
}

.nox-event-card__lineup-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.9rem;
	align-items: baseline;
	justify-content: space-between;
}

.nox-event-card__lineup-title {
	margin: 0;
	font-family: var(--font--family--subheader, var(--font-family--mono));
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nox-event-card__lineup-meta {
	color: var(--ref--colors--gold, #d4af37);
}

.nox-event-card__lineup-seats {
	font-family: var(--font--family--subheader, var(--font-family--mono));
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	opacity: 0.75;
}

.nox-event-card__lineup-drivers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nox-event-card__lineup-driver {
	display: inline-flex;
	gap: 0.45rem;
	align-items: center;
	font-size: 0.92rem;
}

.nox-event-card__lineup-empty {
	margin: 0;
	font-size: 0.88rem;
	opacity: 0.6;
}

.nox-event-card__lineup-actions {
	display: flex;
	justify-content: flex-end;
}

@media (prefers-reduced-motion: no-preference) {
	.nox-event-card__lineups-modal[open] {
		animation: nox-lineups-in 180ms ease-out;
	}

	@keyframes nox-lineups-in {
		from {
			opacity: 0;
			transform: translateY(0.75rem);
		}
	}
}

.nox-event-card__lineup-result {
	margin: 0;
	color: var(--ref--colors--gold, #d4af37);
	font-family: var(--font--family--subheader, var(--font-family--mono));
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	/* Same one-step bump as the other eyebrows: JetBrains Mono is variable
	   400-700, so this is a real weight. */
	font-weight: 700;
}
