Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

1.5 KB
Raw Blame
/*
 * /categories: sector leaderboard. Reuses the shared cv-table / cv-stat-card
 * system from coin-pages.css; this file adds only the stacked top-3 coin
 * avatars that identify each category in the name cell.
 */

.cat-avatars {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
.cat-avatars img {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--cv-surface-3);
	border: 2px solid var(--cv-surface);
	object-fit: cover;
}
.cat-avatars img + img {
	margin-left: -8px;
}

/* Keep the avatar stack visible even where the table hides the ticker on mobile. */
.cv-table .name-cell .inner {
	gap: 0.625rem;
}

/* Coin names are short, so the shared cell caps them at 140px. Category names
   are sentences ("World Liberty Financial Portfolio"), which that cap ellipsised
   even on a 1440px screen with half the row empty. Give them the room the layout
   already has, and keep truncating only where the viewport genuinely runs out. */
.cv-table .name-cell .nm {
	max-width: min(28rem, 42vw);
	white-space: nowrap;
}

/* Search box and the live "showing N of M" readout share one row on desktop and
   stack on narrow screens, where the search field takes the full width. */
.cat-filters {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 0.875rem;
	min-height: 1.25rem;
}
.cat-count {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--cv-text-3);
}

@media (max-width: 640px) {
	.cat-filters .cv-search {
		max-width: none;
		flex: 1 1 100%;
	}
}