/* Belt vs score on the Score stats page (stats_score.php). Cards, charts and tiles come from styles/stats.css. */
.bcbvs { margin-top: 28px; min-width: 0; }
.bcbvs-title { font-size: 20px; letter-spacing: -.02em; margin: 0 0 4px; }
.bcbvs-lead, .bcbvs-note { margin: 0 0 14px; font-size: 13.5px; color: var(--bc-muted, #6b6b76); line-height: 1.45; }
.bcbvs-note { margin: 14px 0 0; }
.bcbvs .bc-stats-wide, .bcbvs-card, .bcbvs .bc-tiles-card { margin-bottom: 16px; }

/* Box strips: one row per belt on a 0-10 track split into the five levels */
.bcbvs-spread { display: grid; gap: 10px; padding-top: 4px; }
.bcbvs-row, .bcbvs-axis { display: grid; grid-template-columns: 92px minmax(0, 1fr) 36px; gap: 12px; align-items: center; }
.bcbvs-belt { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-width: 0; }
.bcbvs-belt small { margin-left: auto; font-weight: 500; font-size: 11.5px; color: var(--bc-muted, #6b6b76); font-variant-numeric: tabular-nums; }
.bcbvs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--belt); box-shadow: 0 0 0 1px var(--bc-line, rgba(0,0,0,.12)); flex: none; }
.bcbvs-track { position: relative; height: 26px; border-radius: 8px; overflow: hidden;
	background: repeating-linear-gradient(90deg, var(--bc-surface-2, rgba(0,0,0,.04)) 0 calc(20% - 1px), var(--bc-line, rgba(0,0,0,.1)) calc(20% - 1px) 20%); }
.bcbvs-track i { position: absolute; top: 50%; transform: translateY(-50%); }
.bcbvs-whisk { height: 2px; background: color-mix(in srgb, var(--bc-ink, #0b0b10) 45%, transparent); }
.bcbvs-box { height: 16px; border-radius: 5px; background: var(--belt); opacity: .9; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.bcbvs-med { width: 3px; height: 24px; margin-left: -1.5px; border-radius: 2px; background: var(--bc-ink, #0b0b10); box-shadow: 0 0 0 1.5px var(--bc-surface, #fff); }
.bcbvs-val { text-align: right; font-variant-numeric: tabular-nums; font-size: 15px; }
.bcbvs-axis { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--bc-muted, #6b6b76); font-weight: 600; }
.bcbvs-axis-track { position: relative; height: 14px; }
.bcbvs-axis-track span { position: absolute; top: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 576px) {
	.bcbvs-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
	.bcbvs-row .bcbvs-track { grid-column: 1 / -1; grid-row: 2; }
	.bcbvs-belt small { margin-left: 6px; }
	.bcbvs-axis { grid-template-columns: minmax(0, 1fr); }
	.bcbvs-axis > span:not(.bcbvs-axis-track) { display: none; }
	.bcbvs-axis-track { font-size: 9px; letter-spacing: 0; }
}
