.card-colorcontrast{
	display: flex;
	grid-gap: 10px;
	justify-content: center;
	position: relative;
}

.pill{
	display: grid;
	grid-gap: 0;
	align-content: center;
}

.vs{
	display: grid;
	grid-gap: 10px;
	align-content: center;
}

.pill div{
	width: 10px;
}

.pillup{
	height: 80px;
	background: #00A7FF;
	background: color(display-p3 0 0.394 1);
	border-radius: 0 0 100px 100px;
}

.pilldown{
	height: 40px;
	border-radius: 100px 100px 0 0;
	background: #59c6ff;
	background: color(display-p3 0.085 0.626 1);
	background: color-contrast(#00A7FF vs #3d3aff , #00c732 , #00fff7);
	background: color-contrast(
		color(display-p3 0 0.394 1) vs
		color(display-p3 0.383 0 1),
		color(display-p3 0.074 0.92 0.223),
		color(display-p3 0.053 0.955 0.829)
	);
}

.vs div{
	font-size: 12px;
	color: #878E9A;
}

.vs div:first-child:before,
.vs div:nth-child(2):before,
.vs div:nth-child(3):before,
.vs div:nth-child(4):before,
.vs div:last-child:before
{
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 4px;
}

.vs div:first-child:before{
	background: #00A7FF;
	background: color(display-p3 0 0.394 1);
}

.vs div:nth-child(3):before{
	background: #3d3aff;
	background: color(display-p3 0.383 0 1);	
}

.vs div:nth-child(4):before{
	background: #00c732;
	background: color(display-p3 0.074 0.92 0.223);	
}

.vs div:last-child:before{
	background: #00fff7;
	background: color(display-p3 0.053 0.955 0.829);
}

.vs div:first-child:hover:after,
.vs div:nth-child(3):hover:after,
.vs div:nth-child(4):hover:after,
.vs div:nth-child(5):hover:after
{
	display: block;
	font-family: var(--codefont);
	color: var(--hintextcolor);
	font-size: 12px;
	bottom: 20px;
	position: absolute;
	text-align: center;
	width: 100%;
	left: 0;	
}

.vs div:first-child:hover:after{
	content: "color(display-p3 0 0.394 1)";
}

.vs div:nth-child(3):hover:after{
	content: "color(display-p3 0.383 0 1)";
}

.vs div:nth-child(4):hover:after{
	content: "color(display-p3 0.074 0.92 0.223)";
}

.vs div:nth-child(5):hover:after{
	content: "color(display-p3 0.053 0.955 0.829)";
}

.card-colorcontrast .pill:hover::after{
	content: "color-contrast() ";
	display: block;
	font-family: var(--codefont);
	color: var(--hintextcolor);
	font-size: 12px;
	bottom: 20px;
	position: absolute;
	text-align: center;
	width: 100%;
	left: 0;
}
