/* The player star (UV, 19 Nov; docs/design/player-star.md), drawn by
   scripts/player-star.js on the player profile and /sandbox/star/.
   The line and the fill only, no dots at the corners (UV). The standard is
   the grey ring halfway out (UV). A second player on one star (Compare)
   takes the team blue; the first keeps the green. */
/* Up to 32rem wide (it was 20rem until 20 Nov, UV: bigger). */
.star-svg { display: block; width: 100%; max-width: 32rem; margin: 0 auto; overflow: visible; }
.star-edge, .star-axis { fill: none; stroke: var(--border-color); stroke-width: 1; }
.star-std { fill: none; stroke: var(--text-muted); stroke-width: 1.5; }
.star-shown { fill: var(--color-primary); stroke: var(--color-primary); stroke-width: 1.25; stroke-linejoin: round; }
/* The dotted line is the adjusted star (UV, 21 Nov): solid corners joined by
   broken edges (player-star.js, dotted). The filled shape is the actual stats. */
.star-adj { fill: none; stroke: var(--text-primary); stroke-width: 1.5; stroke-linejoin: round; }   /* full strength, not faded: at 0.7 the cream read as the standard's grey (UV, 21 Nov) */
.star-adj path { fill: none; }
.star-avg { fill: none; stroke: var(--color-warning); stroke-width: 1.25; stroke-linejoin: round; }
.star-cream .star-shown { fill: var(--text-primary); stroke: var(--text-primary); }
.star-me { fill: none; stroke: var(--text-primary); stroke-width: 1.25; stroke-linejoin: round; }
.star-b .star-shown { fill: var(--color-team); stroke: var(--color-team); }
.star-num-p { fill: var(--color-primary); }
.star-num-me { fill: var(--text-primary); }
/* The adjusted numbers on a player star: smaller and grey (UV, 20 Nov). */
.star-num-adj { fill: var(--text-muted); font-size: 0.8em; }
.star-num-a { fill: var(--color-warning); }
.star-label { fill: var(--text-muted); font-size: 11px; }
.star-label.star-nodata { opacity: 0.55; }
.star-key-a { color: var(--color-primary); }
.star-key-b { color: var(--color-team); }
.star-key-me { color: var(--text-primary); }
/* Compare's dotted stars take their player's colour (UV, 20 Nov): yours green; theirs keeps the cream. */
.star-a .star-adj { stroke: var(--color-primary); }
.star-b .star-adj { stroke: var(--color-team); }
/* The key under a Leagues heading (UV, 21 Nov): the grey standard and the yellow league
   average, in the star labels' size (player.js sizeKeys sets the size from a drawn star). */
.star-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--space-4); margin: 0 0 var(--space-3); font-size: 0.75rem; color: var(--text-muted); }
.star-key[hidden] { display: none; }
.star-key span { display: inline-flex; align-items: center; gap: 0.5em; }
.star-key i { display: inline-block; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--text-muted); }
.star-key .star-key-avg i { background: var(--color-warning); }
/* The names over a two-player star, in their colours. */
.star-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-1) var(--space-4);
	margin: var(--space-2) 0 0;
	font-size: 0.85rem;
}
