/* ============================================================
   Winter League results-table look, for the Statistics pages.
   Rules copied verbatim from the weekly results pages'
   winter-league/seasons/<Season>/style.css (generated by the Scoring
   System's produce_web_files.py), but SCOPED under .wl-results so
   their global body/table/th/td rules don't restyle the rest of the
   Statistics pages. Gradient colours are inline styles, computed the
   same way as produce_web_files.py (Excel 3-colour scale, per column).
   ============================================================ */
.wl-results { font-family: Arial, Helvetica, sans-serif; font-size: 13px; overflow-x: auto; margin: .5rem 0 1rem; max-width: 100%; }
.wl-results table { border-collapse: collapse; }
.wl-results th, .wl-results td { border: 1px solid #999; padding: 2px 6px; text-align: center; white-space: nowrap; }
.wl-results th { background: #305496; color: white; }
.wl-results td.left, .wl-results th.left { text-align: left; }
.wl-results td.bold { font-weight: bold; }
.wl-results a { color: inherit; text-decoration: none; }
.wl-results a:hover { text-decoration: underline; }
.wl-results .g1  { background: red; color: yellow; font-weight: bold; }
.wl-results .g2  { background: cyan; color: navy; font-weight: bold; }
.wl-results .g10 { background: red; color: white; }
.wl-results .divider { border-left: 3px solid #333; }
.wl-results .tee-red { color: #c00000; font-weight: bold; }
/* Statistics additions (not in the results pages) */
.wl-results td a { text-decoration: underline dotted; }
.wl-results table.sortable th { cursor: pointer; user-select: none; }
.wl-results th.rowhead, .wl-results td.rowhead { text-align: left; font-weight: bold; }
.wl-results td.rowhead { background: #dde4f2; }
/* compact two-line headers for narrow count / % columns (scoring, holes player table, twos) */
.wl-results table.compact-head th { white-space: normal; padding: 2px 3px; vertical-align: bottom; line-height: 1.15; font-size: .85em; }
.wl-results table.compact-head th.left { min-width: 9em; }
.wl-results table.compact-head td { padding: 2px 4px; }
table.sortable.compact-head th::after { display: block; }
.wl-results td.rank-sep { border-bottom: 3px solid #222; }
.wl-results td.sep-top { border-top: 3px solid #222; }
