/* Marks per turn: the profile chart and the /marks/ compare page. One hue for the
   player (the profile's trend green); the league's share is a dark tick on each bar. */

/* Profile: horizontal bars, 0 to 7+ marks. */
.marks-dist { margin-bottom: 20px; }
.md-row { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) 2.2rem; align-items: center; column-gap: 8px; height: 20px; font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.md-k { color: #888; font-weight: 600; text-align: right; }
.md-track { position: relative; height: 12px; }
.md-bar { position: absolute; left: 0; top: 0; bottom: 0; min-width: 2px; background: #2e7d32; border-radius: 0 4px 4px 0; }
.md-lg { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #111; border-radius: 1px; box-shadow: 0 0 0 1px #fff; }
.md-v { text-align: right; font-weight: 600; color: #111; }
.md-note { font-size: 0.62rem; color: #888; line-height: 1.7; margin-top: 8px; }
.md-note a { color: #444; }
.md-key { display: inline-block; width: 2px; height: 10px; margin-right: 5px; vertical-align: -1px; background: #111; border-radius: 1px; }

/* Compare page: one row per player, columns on one shared scale. */
.md-intro { text-align: center; color: #666; font-size: 0.75rem; line-height: 1.5; padding: 14px 0 12px; }
.md-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-end; gap: 10px; padding: 8px 10px 6px; background: #fff; border-bottom: 1px solid #ddd; }
.md-head .md-name { font-size: 0.6rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.md-axis, .md-cols { display: grid; grid-template-columns: repeat(8, 18px); column-gap: 3px; flex: none; }
.md-axis span { font-size: 0.6rem; font-weight: 600; color: #888; text-align: center; font-variant-numeric: tabular-nums; }
.md-card { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-bottom: 1px solid #f0f0f0; color: inherit; text-decoration: none; }
a.md-card:hover { background: #fafafa; }
.md-league { background: #fafafa; }
.md-name { flex: 1 1 auto; min-width: 0; font-size: 0.8rem; font-weight: 600; color: #111; line-height: 1.3; }
.md-sub { display: block; margin-top: 2px; font-size: 0.62rem; font-weight: 400; color: #888; font-variant-numeric: tabular-nums; }
.md-cols { height: 40px; border-bottom: 1px solid #ddd; }
.md-col { position: relative; height: 100%; }
.md-fill { position: absolute; left: 0; right: 0; bottom: 0; min-height: 1px; background: #2e7d32; border-radius: 3px 3px 0 0; }
.md-league .md-fill { background: #9e9e9e; }
.md-lgt { position: absolute; left: -1px; right: -1px; height: 2px; margin-bottom: -1px; background: #111; border-radius: 1px; box-shadow: 0 0 0 1px #fff; }

/* Compare page: section heading. */
.md-title { font-size: 0.7rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin: 22px 0 8px; padding-bottom: 5px; border-bottom: 1px solid #eee; }
