.cas-change-positive {
	color: oklch(var(--su));
}

.cas-change-negative {
	color: oklch(var(--er));
}

.cas-token-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
}

#cas-chart-range-wrapper {
	align-items: baseline !important;
}

.cas-chart-container {
	position: relative;
	height: 300px;
	min-height: 200px;
}

@media (max-width: 640px) {
	.cas-chart-container {
		height: 220px;
	}
}

@media (max-width: 600px) {
	.cas-hide-sm {
		display: none;
	}
}

@media (max-width: 440px) {
	.cas-hide-xs {
		display: none;
	}
}

.cas-game-card-img {
	min-height: 150px;
	max-height: 150px;
	object-fit: cover;
}

/* Neutralize <p> tags injected by wpautop inside card/grid layouts */
.card p,
.card figure p {
	display: contents;
	margin: 0;
	padding: 0;
}

.card > p:empty {
	display: none;
}

.card figure {
	overflow: hidden;
	border-radius: inherit;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.grid > p {
	display: none;
}

.cas-token-list-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.cas-clickable-row {
	cursor: pointer;
	transition: background-color 0.15s ease;
}

#cas-tokens-table .cas-clickable-row:hover,
#cas-related-tokens-table .cas-clickable-row:hover {
	background-color: rgba(0, 0, 0, 0.05) !important;
}

#cas-tokens-table,
#cas-related-tokens-table {
	background-color: oklch(var(--b2));
	border-radius: 1rem;
}

#cas-tokens-table thead th,
#cas-related-tokens-table thead th {
	color: oklch(var(--bc)) !important;
	opacity: 1 !important;
	font-weight: 700;
}

#cas-tokens-table thead th {
	cursor: pointer;
}

#cas-tokens-table td,
#cas-related-tokens-table td {
	vertical-align: middle;
}

