/* Referee tracker (refs_pages.py): the game page's referee line, /refs and /refs/{slug}. Site tokens only. */
.rf a{color:var(--link)}
.rf a:hover{text-decoration:underline}
.rf .rf-role{color:var(--muted)}
.rf-tb td.rf-nm{font-weight:600;white-space:nowrap}
.rf-tb td.rf-nm small{display:inline;color:var(--muted);font-weight:500;margin-left:4px}
.rf-tb tr.rf-lg td,.rf-tb tr.rf-lg th{background:var(--soft);font-weight:700}
.rf-tb td.rf-g,.rf-tb td.rf-rl{white-space:nowrap}
.rf .tiles{margin-bottom:12px}
@media (min-width:700px){.scroll.rf-wrap{mask-image:none;-webkit-mask-image:none}}
/* /refs (owner 2026-11-01, sort + outliers): the standings kit with no seed column, so the name column sticks at the left edge */
table.st.ld.rf-tb th.st-t{left:0;min-width:150px}
table.st.ld.rf-tb tbody th.st-t a{color:var(--link);font-weight:600}
table.st.ld.rf-tb .rf-no{display:inline;color:var(--muted);font-weight:500;font-size:11.5px;margin-left:4px}
table.st.ld.rf-tb td{vertical-align:top}
table.st.ld.rf-tb td small{display:block;color:var(--muted);font-size:11px;font-weight:500;line-height:1.3;margin-top:1px}
table.st.ld.rf-tb tr.rf-lg td small{font-weight:500}
/* sortable headers: a link per column; the active column reads in ink with its arrow (aria-sort carries it for readers) */
table.st.ld.rf-tb thead th a.rf-sort{display:inline-flex;align-items:center;gap:3px;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;min-height:24px}
table.st.ld.rf-tb thead th a.rf-sort:hover{color:var(--ink);text-decoration:none}
table.st.ld.rf-tb thead th .rf-dir{display:inline-block;width:.8em;font-size:11px;color:var(--ink)}
table.st.ld.rf-tb thead th[aria-sort] a.rf-sort{color:var(--ink)}
/* the mark: a calm accent tint and a small glyph (the glyph and the sr-only words carry the meaning without colour) */
table.st.ld.rf-tb td.rf-mk,.rf-tb td.rf-mk{background:color-mix(in srgb,var(--accent) 9%,transparent);font-weight:700;color:var(--ink)}
.rf-tb .rf-g{font-size:9.5px;margin-right:3px;vertical-align:1px;color:var(--ink2)}
.rf .rf-note{margin:10px 14px 0;max-width:760px}
.rf details.rf-cols{margin:4px 14px 0}
.rf details.rf-cols ul{list-style:none;padding:0;margin:0 0 6px;font-size:var(--text-small);color:var(--ink2)}
.rf details.rf-cols li{padding:4px 0;border-top:1px solid var(--line)}
.rf details.rf-cols li b{display:inline-block;min-width:58px}
@media (max-width:600px){table.st.ld.rf-tb th.st-t{min-width:124px}table.st.ld.rf-tb .rf-no{display:none}   /* D-058: the jersey number waits for the referee page on phones */.rf .rf-note,.rf details.rf-cols{margin-left:10px;margin-right:10px}}
