/* Ported from the Next.js app's scoreMeter.module.css. */
.score-meter__meter {
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
}

/* One category. The gap between groups is the only structure here, and it is what makes
   "I finished craft and never opened growth" readable at a glance. */
.score-meter__group {
	display: flex;
	gap: 2px;
}

.score-meter__mark {
	width: 10px;
	height: 5px;
	border-radius: 1px;
	background: var(--score-none-mark);
}

.score-meter__mark[data-score='5'] {
	background: var(--score-5-mark);
}
.score-meter__mark[data-score='4'] {
	background: var(--score-4-mark);
}
.score-meter__mark[data-score='3'] {
	background: var(--score-3-mark);
}
.score-meter__mark[data-score='2'] {
	background: var(--score-2-mark);
}
.score-meter__mark[data-score='1'] {
	background: var(--score-1-mark);
}

/* Below phone width twenty marks plus three gaps stop fitting beside a name, so they
   narrow rather than wrapping into a second strip that reads as a second meter. */
@media (max-width: 26rem) {
	.score-meter__mark {
		width: 8px;
	}
}
