.steam-card__head,
.steam-group__head {
	display: flex;
	align-items: center;
	gap: .8em;
	padding: 1em;
}

.steam-card__avatar {
	width: 52px;
	height: 52px;
	border: 2px solid var(--border);
	border-radius: 10px;
}

.steam-card__avatar.is-online {
	border-color: #57cbde;
}

.steam-card__avatar.is-ingame {
	border-color: #90ba3c;
}

.steam-card__who,
.steam-group__head > span {
	display: grid;
	min-width: 0;
}

.steam-card__who strong,
.steam-group__head strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.steam-card__state {
	color: var(--muted);
	font-size: .85em;
}

.steam-card__state.is-online {
	color: #57cbde;
}

.steam-card__state.is-ingame {
	color: #90ba3c;
}

.steam-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .4em 1em;
	padding: 0 1em .8em;
	color: var(--muted);
	font-size: .85em;
}

.steam-card__meta .is-danger {
	color: var(--danger);
}

.steam-card__games {
	display: grid;
	gap: .4em;
	margin: 0;
	padding: 0 1em .8em;
	list-style: none;
}

.steam-card__games li {
	display: flex;
	align-items: center;
	gap: .7em;
	padding: .45em;
	border-radius: 8px;
	background: color-mix(in srgb, var(--text) 4%, transparent);
}

.steam-card__games img {
	width: 32px;
	height: 32px;
	border-radius: 6px;
}

.steam-card__games span {
	display: grid;
	min-width: 0;
}

.steam-card__games small {
	color: var(--muted);
}

.steam-card__foot,
.steam-group__foot {
	padding: 0 1em 1em;
}

.steam-group__head img {
	width: 52px;
	height: 52px;
	border-radius: 10px;
}

.steam-group__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .5em;
	padding: 0 1em 1em;
	text-align: center;
}

.steam-group__stats span {
	display: grid;
	padding: .6em .3em;
	border-radius: 8px;
	background: color-mix(in srgb, var(--text) 4%, transparent);
	color: var(--muted);
	font-size: .8em;
}

.steam-group__stats strong {
	color: var(--text);
	font-size: 1.25em;
}

.steam-group__stats .is-online strong {
	color: #57cbde;
}

.steam-group__stats .is-ingame strong {
	color: #90ba3c;
}
