/* Restrained USA TODAY editorial table: strong top rule, white headers,
   delicate stripes and dividers. Filters, typography, columns, sorting,
   responsive behavior and Gannett iframe resizing are preserved. */
@font-face {
  font-family: 'Unify Sans Condensed';
  src: url('../fonts/UnifySansCd_Rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unify Sans Condensed';
  src: url('../fonts/UnifySansCd_W_Bd.woff2') format('woff2'),
       url('../fonts/UnifySansCd_W_Bd.woff') format('woff');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
:root { font-family:'Unify Sans Condensed','Arial Narrow',Arial,sans-serif; color:#303030; background:#fff; }
*,*::before,*::after { box-sizing:border-box; }
html,body { margin:0; padding:0; background:#fff; width:100%; }
body { -webkit-font-smoothing:antialiased; }
.table-root { width:100%; max-width:980px; margin:0 auto; padding:0; background:#fff; }
.table-filters { display:flex; align-items:center; justify-content:flex-start; gap:18px; width:100%; padding:8px 5px 0; margin-bottom:14px; }
.filter-field { min-width:0; }
.filter-field--search { flex:1 1 0%; }
.filter-field--conference { flex:0 0 23.4%; }
.filter-search-wrap, .filter-select-wrap { position:relative; }
.filter-search-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); pointer-events:none; color:#94999f; opacity:1; font:400 23px Arial,sans-serif; line-height:1; }
.filter-control { display:block; width:100%; height:44px; padding:4px 14px 0; margin:0; border:1px solid #aaa; border-radius:0; background:#fff; color:#404040; font:400 16px 'Unify Sans Condensed','Arial Narrow',Arial,sans-serif; }
.filter-control::placeholder { color:#747474; opacity:1; }
.filter-control:hover { border-color:#bcbcbc; }
.filter-control:focus-visible { outline:2px solid #1665cf; outline-offset:1px; border-color:#1665cf; }
.filter-control[type='search'] { -webkit-appearance:none; appearance:none; padding-left:38px; }
.filter-select-wrap::after { content:''; position:absolute; top:calc(50% - 3px); right:15px; width:7px; height:7px; border-right:2px solid #626262; border-bottom:2px solid #626262; transform:rotate(45deg); pointer-events:none; }
.filter-select-wrap select { cursor:pointer; padding-right:30px; -webkit-appearance:none; appearance:none; }
.empty-state { padding:24px 12px; margin:0; font-size:14px; color:#626262; text-align:center; }
[hidden] { display:none !important; }
.table-scroll { width:100%; border-top:2px solid #141414; overflow-x:auto; overflow-y:visible; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; scrollbar-color:#c2c2c2 #f4f4f4; }
.table-scroll:focus-visible { outline:2px solid #1665cf; outline-offset:-2px; }
#coach-table { border-collapse:collapse; border-spacing:0; table-layout:fixed; width:100%; min-width:760px; margin:0; font-family:inherit; }
#coach-table th, #coach-table td { border-left:0; border-right:0; vertical-align:middle; }
#coach-table thead { background:#fff; }
#coach-table th { position:relative; height:62px; padding:0; color:#303030; border-bottom:1px solid #d0d0d0; text-align:center; font-size:13px; font-weight:700; }
#coach-table th::after { content:''; position:absolute; bottom:0; left:10px; right:10px; height:5px; background:#c2c2c2; display:none; }
#coach-table th:first-child::after { left:0; right:10px; }
#coach-table th:last-child::after { left:10px; right:0; }
#coach-table th[aria-sort]:not([aria-sort="none"])::after { display:block; }
#coach-table .sort-button { display:flex; width:100%; height:100%; padding:10px 8px; align-items:center; justify-content:center; gap:4px; background:transparent; border:0; color:inherit; font-family:inherit; font-size:13px; font-weight:700; text-align:center; cursor:pointer; line-height:1.35; }
/* Coach and school are the only left-aligned headers. */
#coach-table th:nth-child(2), #coach-table th:nth-child(3) { text-align:left; }
#coach-table th:nth-child(2) .sort-button, #coach-table th:nth-child(3) .sort-button { justify-content:flex-start; text-align:left; }
#coach-table .sort-button:hover { color:#000; }
#coach-table .sort-button:focus-visible { outline:2px solid #1665cf; outline-offset:-3px; }
/* Match the source icon-caret-down-1: blue V-chevron (not a filled triangle).
   Inline SVG avoids a dependency on the original site's proprietary icon font. */
#coach-table .sort-icon { position:relative; top:-2px; width:11px; height:10px; flex:0 0 11px; display:inline-block; background:center / 11px 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 10'%3E%3Cpath d='M1.25 3L5.5 7.25L9.75 3' fill='none' stroke='%231665cf' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E"); }
#coach-table th[aria-sort="ascending"] .sort-icon { transform:rotate(180deg); }
/* 40px rows and 13px body; near-white stripes and thin dividers. */
#coach-table td { color:#303030; font-size:13px; font-weight:400; padding:6px 10px; height:40px; line-height:1.1666666667; border-bottom:1px solid #eaeaea; overflow-wrap:break-word; text-align:center; }
#coach-table tbody tr.is-stripe { background:#fafafa; }
#coach-table tbody tr:hover { background:#f1f5fb; }
#coach-table td.numeric { text-align:center; padding-left:14px; padding-right:14px; font-variant-numeric:tabular-nums; }
#coach-table td.rank-col { text-align:center; padding-left:10px; padding-right:10px; }
#coach-table td.coach-col, #coach-table td.school-col { text-align:left; }
#coach-table td.coach-col { padding-left:10px; }
/* Conference labels: allow ordinary wrapping ONLY between whole words.
   The full-size label can occupy one or two lines. JavaScript reduces the
   font size only if an individual word cannot fit the actual column width. */
#coach-table td.conf-col {
  padding-left:4px;
  padding-right:4px;
  overflow-wrap:normal;
  word-wrap:normal;
  word-break:keep-all;
  hyphens:none;
  -webkit-hyphens:none;
  white-space:normal;
  font-size:var(--conf-fit-size, 13px);
}
#coach-table td a { color:#1665cf; text-decoration:none; }
#coach-table td a:hover { text-decoration:underline; }
#coach-table td a:focus-visible { outline:2px solid #1665cf; outline-offset:2px; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media (max-width: 600px) {
  .table-filters { gap:10px; padding:8px 5px 0; }
  .filter-field--search { flex:1 1 54%; }
  .filter-field--conference { flex:1 1 46%; }
}
@media (max-width: 350px) {
  .table-filters { flex-direction:column; align-items:stretch; }
  .filter-field--search, .filter-field--conference { width:100%; flex:1 1 auto; }
}
@media (max-width: 991px) {
  #coach-table { min-width:740px; }
  #coach-table td { font-size:13px; padding-top:9px; padding-bottom:9px; }
  #coach-table th, #coach-table .sort-button { font-size:13px; }
}
@media (max-width: 600px) {
  /* Keep coach names visible while the user scrolls across numeric columns. */
  #coach-table { min-width:720px; }
  #coach-table .rank-col, #coach-table .coach-col,
  #coach-table thead th:first-child, #coach-table thead th:nth-child(2) { position:sticky; z-index:2; }
  #coach-table .rank-col, #coach-table thead th:first-child { left:0; }
  #coach-table .coach-col, #coach-table thead th:nth-child(2) { left:calc(720px * .059); box-shadow:none; }
  #coach-table thead th:first-child, #coach-table thead th:nth-child(2) { z-index:4; background:#fff; }
  #coach-table tbody tr:not(.is-stripe) .rank-col, #coach-table tbody tr:not(.is-stripe) .coach-col { background:#fff; }
  #coach-table tbody tr.is-stripe .rank-col, #coach-table tbody tr.is-stripe .coach-col { background:#fafafa; }
  #coach-table tbody tr:hover .rank-col, #coach-table tbody tr:hover .coach-col { background:#f1f5fb; }
  #coach-table td { font-size:13px; }
  #coach-table .sort-button { padding-left:6px; padding-right:4px; gap:3px; }
}

/* Mobile-first essential columns: rank + coach/school + salary initially visible,
   while remaining columns stay horizontally scrollable. Desktop is unaffected. */
#coach-table .coach-identity,
#coach-table .coach-lines,
#coach-table .coach-name-line { display: contents; }
#coach-table .mobile-school-line { display: none; }
@media (max-width: 600px) {
  .table-scroll {
    --rank-width: 38px;
    /* Narrow enough to sit beside total pay on iPhone, but wide enough
       for two-line coach/school identities without truncating names. */
    --coach-width: 148px;
    --pay-width: 120px;
  }
  /* By removing School as a separate MOBILE column, we can show its value
     under each name without forcing salary offscreen. Salary and school buyout are retained; coach buyout is omitted. */
  #coach-table {
    width: calc(var(--rank-width) + var(--coach-width) + var(--pay-width) + 96px + 132px);
    min-width: 0;
    table-layout: fixed;
    /* Collapsed borders + sticky cells can render row separators at uneven
       weights on iOS Safari. Separate borders give each cell one 1px rule. */
    border-collapse: separate;
    border-spacing: 0;
  }
  #coach-table tbody td { border-bottom: 1px solid #eaeaea; }
  /* Show the frozen-column boundary only after the reader scrolls right. */
  .table-scroll.is-x-scrolled #coach-table .coach-col,
  .table-scroll.is-x-scrolled #coach-table thead th:nth-child(2) {
    box-shadow: 1px 0 0 #eaeaea;
  }
  #coach-table col:nth-child(1) { width: var(--rank-width) !important; }
  #coach-table col:nth-child(2) { width: var(--coach-width) !important; }
  #coach-table col:nth-child(3) { display:none; width:0 !important; }
  #coach-table col:nth-child(4) { width: var(--pay-width) !important; }
  #coach-table col:nth-child(5) { width:96px !important; }
  #coach-table col:nth-child(6) { width:132px !important; }
  #coach-table thead th:nth-child(3),
  #coach-table td.school-col { display:none; }
  #coach-table .rank-col,
  #coach-table thead th:first-child { left:0; }
  #coach-table .coach-col,
  #coach-table thead th:nth-child(2) { left:var(--rank-width); }
  #coach-table td.rank-col { padding:4px 2px; }
  #coach-table td.coach-col { padding:6px 4px 6px 6px; }
  /* On phones align the pay header and values to the left edge of their
     compact column, rather than centering them near the screen's right edge. */
  #coach-table thead th:nth-child(4) .sort-button {
    justify-content:flex-start;
    text-align:left;
    padding-left:6px;
  }
  #coach-table td.pay-col {
    padding:6px 6px;
    text-align:left;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
  #coach-table thead th:first-child .sort-button { padding:3px 1px; gap:1px; font-size:11px; }
  #coach-table thead th:first-child .sort-icon { width:8px; height:8px; flex:0 0 8px; background-size:8px 8px; top:-1px; }
  #coach-table thead th:nth-child(2) .sort-button { padding-left:6px; }
  #coach-table .coach-identity { display:flex; align-items:center; width:100%; min-width:0; }
  #coach-table .coach-lines { display:flex; flex-direction:column; min-width:0; flex:1 1 auto; gap:2px; }
  #coach-table .coach-name-line { display:block; overflow-wrap:normal; word-break:normal; line-height:1.12; }
  #coach-table .mobile-school-line { display:block; font-size:11px; line-height:1.13; color:#626262; overflow-wrap:normal; word-break:normal; }
  #coach-table .mobile-school-line a { color:#626262; text-decoration:none; }
  #coach-table .mobile-school-line a:hover { text-decoration:underline; }
  #coach-table tbody tr { height:44px; }
  #coach-table td { height:44px; }
}

/* Salary notes from column K. The note's inline wrapper occupies exactly
   the salary's text width; the absolutely positioned icon contributes zero
   layout width. Noted and ordinary salaries therefore align identically.
   The icon sits beside the salary rather than at the far edge of the cell. */
#coach-table td.pay-col { position:relative; }
#coach-table td.pay-col .salary-note-inline {
  display:inline-block;
  position:relative;
  vertical-align:baseline;
  white-space:nowrap;
}
#coach-table td.pay-col .salary-note-value { font:inherit; white-space:nowrap; }
#coach-table .salary-note-trigger {
  position:absolute;
  left:calc(100% + 2px);
  right:auto;
  top:50%;
  transform:translateY(calc(-50% - 2px));
  display:flex;
  align-items:center;
  justify-content:center;
  appearance:none;
  -webkit-appearance:none;
  width:19px;
  height:24px;
  padding:0;
  margin:0;
  background:transparent;
  border:0;
  color:#737373;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
/* Draw the outline in CSS instead of relying on the platform-specific
   Unicode circled-i glyph. Arial is widely available on desktop and mobile. */
#coach-table .salary-note-glyph {
  width:12px;
  height:12px;
  min-width:12px;
  border:1.05px solid currentColor;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font:600 9px/1 Arial,Helvetica,sans-serif;
  letter-spacing:0;
  box-sizing:border-box;
  color:inherit;
  padding:0;
  padding-top:.4px;
}
#coach-table .salary-note-trigger:hover { color:#454545; }
#coach-table .salary-note-trigger:focus-visible { outline:2px solid #1665cf; outline-offset:0; }
.salary-note-popup {
  position:fixed;
  z-index:10000;
  width:306px;
  max-width:calc(100vw - 16px);
  max-height:calc(100vh - 16px);
  overflow-y:auto;
  padding:15px 16px 17px;
  border:1.25px solid #141414;
  border-radius:0;
  background:#fff;
  color:#141414;
  font:400 14px/1.3 'Unify Sans Condensed','Arial Narrow',Arial,sans-serif;
  text-align:left;
  box-shadow:0 8px 26px #00000024;
  overflow-wrap:break-word;
}
.salary-note-popup[hidden] { display:none !important; }
.salary-note-school { font-size:19px; font-weight:700; line-height:1.08; padding-top:2px; }
.salary-note-label { margin-top:12px; font-size:12px; line-height:1.25; font-weight:700; letter-spacing:.45px; }
.salary-note-bluebar { width:94px; height:5px; margin:7px 0 10px; background:#1665cf; }
.salary-note-text { margin:0; font-size:14px; font-weight:400; line-height:1.3; white-space:pre-wrap; }
@media (max-width:600px) {
  /* Match desktop: icon follows the printed amount without shifting it. */
  #coach-table .salary-note-trigger { left:calc(100% + 2px); right:auto; }
  .salary-note-popup { padding:14px 15px 15px; }
}
