/* Golfer area: profile, rankings, rivalry. */
.golfer-head { align-items: center; }
.golfer-head h1 { line-height: 1.1; }

/* Tale of the tape: draw dividers per cell so an incomplete last row stays empty rather than grey. */

/* rankings */
table.t tr.grp-row td { height: 38px; padding-top: 14px; vertical-align: bottom; color: var(--muted); font-size: 12.5px; font-weight: 500; border-bottom: 1px solid var(--line); }
.ranking-desc { display: block; font-size: 12px; line-height: 1.3; }
.ranking-detail { display: block; font-size: 12px; line-height: 1.2; white-space: normal; max-width: 260px; margin-left: auto; }
.rank-pill { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); font-weight: 600; font-size: 12.5px; }
.rank-pill.top1 { background: color-mix(in srgb, var(--g, var(--ink2)) 18%, transparent); border-color: color-mix(in srgb, var(--g, var(--ink2)) 45%, transparent); }
.rank-pill.top2, .rank-pill.top3 { background: var(--raise); }

.ranking-records summary { cursor: pointer; color: var(--muted); font-size: 12px; list-style: none; }
.ranking-records summary::-webkit-details-marker { display: none; }
.ranking-records ul { margin: 6px 0 0; padding: 0; list-style: none; text-align: right; color: var(--ink2); font-size: 12.5px; white-space: normal; }
.ranking-records li { line-height: 1.5; }

/* rivalry */
.dominance { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--track); }
.dominance span { display: block; height: 100%; background: var(--g, var(--chart-other)); }
.dominance-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; color: var(--muted); }
.dominance-legend b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.rivalry-history .legend { margin-top: 2px; }
.rivalry-history .rh-head { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.rivalry-history .rh-head label { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.rivalry-history .rh-head select { width: auto; height: 30px; }
.rivalry-history .status-line { color: var(--muted); font-size: 12.5px; margin: 4px 0 6px; }
.golfer-matchups tr.mu-win td:first-child { box-shadow: inset 2px 0 0 var(--good); }
.golfer-matchups tr.mu-loss td:first-child { box-shadow: inset 2px 0 0 var(--bad-line); }


