.new-tournament-grid .match-item__participant:has(.is-pinned-player),
.new-tournament-grid .match-item__participant:has(.hovered) {
	border-radius: 2px;
	outline: 2px solid var(--grid-nav-highlight, #3fc1d6);
	background-color: color-mix(in srgb, var(--grid-nav-highlight, #3fc1d6) 28%, transparent);
}

.new-tournament-grid .match-item__participant:has(.is-pinned-player) .participant__name,
.new-tournament-grid .match-item__participant:has(.hovered) .participant__name {
	color: var(--main-color);
}

.new-tournament-grid .is-pinned-member {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--grid-nav-highlight, #3fc1d6);
	text-underline-offset: 2px;
}

.grid-nav-has-pin .new-tournament-grid__match-item {
	transition: opacity .2s;
}

.grid-nav-has-pin .new-tournament-grid__match-item:not(:has(.is-pinned-player)):not(:hover) {
	opacity: var(--grid-nav-dim-opacity, .35);
}

@media (prefers-reduced-motion: reduce) {
	.grid-nav-has-pin .new-tournament-grid__match-item {
		transition: none;
	}
}
