/* HoopPact "market" identity (2026-11-15). Loaded after hp-scoreboard.css.
   Salaries first: a condensed display face for headings and figures, orange
   reserved for player salary amounts and the primary action, club colours as
   accents. Appearance and layout only. */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@500;600;700;800&display=swap");

/* ---------- tokens ---------- */
html[data-hp-theme] {
  --sb-display: "Roboto Condensed", "Arial Narrow", Inter, sans-serif;
  --sb-money: #b8480c;
}
html[data-hp-theme="dark"] { --sb-money: #ff9a5c; }

/* display face: page titles, card titles, big figures */
html[data-hp-theme] body :is(h1, h2, .hpx-head h2, .gs-heading h1, #psMain > h1, #playerName, .hp-compare-page-heading h1, .hp-team-head h1) { font-family: var(--sb-display) !important; letter-spacing: 0 !important; }
html[data-hp-theme] body :is(.hpx-pts, .hpx-next time, .hpx-leader b, .hpx-money, .cq-lb-salary, .player-salary-amt, .player-salary-amt *, .gs-score, .gs-score *, .hpx-tpts, #hpSeasonOverview .hp-table tbody td, .ps-table td.hpx-sorted, .hp-team-kpis b, .hp-team-kpis strong) { font-family: var(--sb-display) !important; }
html[data-hp-theme] body .hpx-head h2 { font-size: 19px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.01em !important; }
html[data-hp-theme] body .hpx-head { padding: 12px 16px 10px !important; border-bottom: 2px solid var(--sb-navy); }
html[data-hp-theme="dark"] body .hpx-head { border-bottom-color: #3d5168; }
html[data-hp-theme] body .hpx-head span { font-size: 12px; }
html[data-hp-theme] body #hpClubFinancials > h2, html[data-hp-theme] body #hpClubDirectory > h2 { font-family: var(--sb-display) !important; font-size: 19px !important; text-transform: uppercase; border-bottom: 2px solid var(--sb-navy) !important; padding: 12px 16px 10px !important; }
html[data-hp-theme="dark"] body #hpClubFinancials > h2, html[data-hp-theme="dark"] body #hpClubDirectory > h2 { border-bottom-color: #3d5168 !important; }
html[data-hp-theme] body #hpClubDirectory > h2 span { font-family: var(--sb-font) !important; text-transform: none; }

/* the money colour, used only for player salary amounts */
html[data-hp-theme] body :is(.cq-lb-salary, .hpx-money, #viewPlayer .player-salary-amt, #viewPlayer .player-salary-amt *) { color: var(--sb-money) !important; }
html[data-hp-theme] body .hpx-leader b, html[data-hp-theme] body .hpx-pts.win { color: var(--sb-ink); }

/* ---------- home: hero band ---------- */
html[data-hp-theme] body.cq-on-landing .site-header { box-shadow: none !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal { padding-top: 0 !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome { position: relative; margin: 0 -20px 4px !important; padding: 28px 20px 26px !important; background: var(--sb-navy) !important; border-radius: 0 !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sb-accent); }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome-copy { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome-actions { margin-left: 0 !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome .hp-eyebrow, html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome h1 { text-align: left !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome .hp-eyebrow { color: #c9d3df !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome h1 { color: #fff !important; font-size: 40px !important; line-height: 1.05 !important; text-transform: uppercase; font-weight: 800 !important; margin: 0 0 16px !important; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome-actions { max-width: 560px; }
html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome .hp-search-input { background: #fff !important; border-color: #fff !important; color: var(--sb-ink) !important; }
html[data-hp-theme="dark"] body #hpPortal.hpx-market-portal .hp-welcome .hp-search-input { background: #172534 !important; border-color: #3d5168 !important; color: #f1f1f1 !important; }

/* ---------- home: grid ---------- */
html[data-hp-theme] body #hpPortal.hpx-market-portal { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px !important; align-items: start; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > * { grid-column: 1 / -1; min-width: 0; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > .hp-welcome { grid-row: 1; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHeadlines { grid-row: 2; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxTopSalaries { grid-column: 1 / 9; grid-row: 3; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHome { grid-column: 1 / 9; grid-row: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (min-width: 701px) {
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHome > .hpx-card:nth-child(3) { grid-column: 1 / -1; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHome > .hpx-card:nth-child(3) .hpx-leaders { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxSide { grid-column: 9 / 13; grid-row: 3 / 5; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpClubDirectory { grid-row: 5; }
html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxCompare { grid-row: 6; }
html[data-hp-theme] body #hpxSide > * { margin: 0 !important; }
html[data-hp-theme] body #hpxExpiring .hpx-exp-row { min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
html[data-hp-theme] body #hpxExpiring .hpx-exp-val b { font-size: 16px; }
html[data-hp-theme] body .hpx-card { border-radius: 4px; }

/* ---------- home: top salaries table (restyles the site's own rows) ---------- */
html[data-hp-theme] body .hpx-te { display: block; }
html[data-hp-theme] body .hpx-te .cq-lb-row { display: grid !important; grid-template-columns: 44px 36px minmax(0, 1fr) minmax(0, 150px) 136px 136px; align-items: center; gap: 0 12px; padding: 8px 16px !important; border: 0 !important; border-bottom: 1px solid var(--sb-line) !important; background: transparent !important; cursor: pointer; }
html[data-hp-theme] body .hpx-te .cq-lb-row::before { display: none !important; }
html[data-hp-theme] body .hpx-te .cq-lb-row:hover { background: var(--sb-surface-2) !important; }
html[data-hp-theme] body .hpx-te .cq-lb-row:last-child { border-bottom: 1px solid var(--sb-line) !important; }
html[data-hp-theme] body .hpx-te .cq-lb-skel { height: 56px; }
html[data-hp-theme] body .hpx-te .cq-lb-rank { width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-family: var(--sb-display) !important; font-size: 20px !important; font-weight: 700 !important; color: var(--sb-muted) !important; text-align: center; }
html[data-hp-theme] body .hpx-te .cq-lb-row.top1 .cq-lb-rank, html[data-hp-theme] body .hpx-te .cq-lb-row.top2 .cq-lb-rank, html[data-hp-theme] body .hpx-te .cq-lb-row.top3 .cq-lb-rank { color: var(--sb-ink) !important; background: transparent !important; }
html[data-hp-theme] body .hpx-te .hpx-te-photo { order: -1; }
html[data-hp-theme] body .hpx-te .cq-lb-player { min-width: 0; }
html[data-hp-theme] body .hpx-te .cq-lb-name, html[data-hp-theme] body .hpx-te .cq-lb-name a { font-size: 15px !important; font-weight: 700 !important; color: var(--sb-ink) !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-hp-theme] body .hpx-te .cq-lb-name a:hover { text-decoration: underline !important; }
html[data-hp-theme] body .hpx-te .cq-lb-meta-row { display: flex; gap: 6px; font-size: 12px !important; color: var(--sb-muted) !important; margin-top: 1px; }
html[data-hp-theme] body .hpx-te .cq-lb-jnum { font-weight: 700; color: var(--sb-muted) !important; background: transparent !important; border: 0 !important; padding: 0 !important; }
html[data-hp-theme] body .hpx-te .cq-lb-jnum::before { content: "#"; }
html[data-hp-theme] body .hpx-te .cq-lb-pos { color: var(--sb-muted) !important; }
html[data-hp-theme] body .hpx-te .cq-lb-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px !important; color: var(--sb-ink) !important; }
html[data-hp-theme] body .hpx-te .cq-lb-team a { color: var(--sb-ink) !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-hp-theme] body .hpx-te .cq-lb-team .swatch { flex: none; width: 10px !important; height: 18px !important; border-radius: 2px !important; }
html[data-hp-theme] body .hpx-te .cq-lb-salary { display: flex; flex-direction: column; align-items: flex-end; font-size: 24px !important; font-weight: 800 !important; text-align: right !important; letter-spacing: -0.01em !important; white-space: nowrap; line-height: 1.05; }
html[data-hp-theme] body .hpx-te .cq-lb-salary .hpx-basis { font-family: var(--sb-font); font-size: 11px; font-weight: 600; color: var(--sb-muted); letter-spacing: 0.04em; text-transform: uppercase; }
html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-rank { color: var(--sb-muted) !important; }
html[data-hp-theme] body .hpx-te .cq-lb-salary small, html[data-hp-theme] body .hpx-te .cq-lb-salary sup { font-size: 12px; font-weight: 600; }
html[data-hp-theme] body .hpx-te .cq-lb-conf { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
html[data-hp-theme] body .hpx-te .cq-lb-conf .badge { display: inline-block; padding: 2px 6px !important; border-radius: 3px !important; background: var(--sb-surface-2) !important; border: 0 !important; color: var(--sb-ink) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: none !important; }
html[data-hp-theme] body .hpx-te .hpx-src { font-size: 11px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 136px; }

/* photos */
html[data-hp-theme] body .hpx-ph { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--sb-surface-2); border: 2px solid var(--sb-line); box-sizing: border-box; }
html[data-hp-theme] body .hpx-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
html[data-hp-theme] body .hpx-ph-ini { color: #fff; font-family: var(--sb-display); font-size: 15px; font-weight: 700; border-color: transparent; }
html[data-hp-theme] body .hpx-ph-sm { width: 36px; height: 36px; font-size: 13px; }
html[data-hp-theme] body .hpx-ph-md { width: 48px; height: 48px; }

/* ---------- home: contracts ending ---------- */
html[data-hp-theme] body .hpx-exp-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--sb-line); text-decoration: none !important; color: var(--sb-ink) !important; min-height: 52px; box-sizing: border-box; }
html[data-hp-theme] body .hpx-exp-row:hover { background: var(--sb-surface-2); }
html[data-hp-theme] body .hpx-exp-who { display: flex; flex-direction: column; min-width: 0; }
html[data-hp-theme] body .hpx-exp-who strong { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-hp-theme] body .hpx-exp-who small { font-size: 11px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-hp-theme] body .hpx-exp-val { display: flex; flex-direction: column; align-items: flex-end; }
html[data-hp-theme] body .hpx-exp-val b { font-size: 17px; font-weight: 800; }
html[data-hp-theme] body .hpx-exp-val .hpx-nd { color: var(--sb-muted); font-weight: 500; }
html[data-hp-theme] body .hpx-exp-val small { font-size: 11px; color: var(--sb-muted); }
html[data-hp-theme] body .hpx-exp-note { font-size: 12px !important; line-height: 1.4; border-top: 0 !important; }

/* ---------- home: payrolls ---------- */
html[data-hp-theme] body #hpClubFinancials { padding-bottom: 0 !important; }
html[data-hp-theme] body #hpClubFinancials .hp-budget-columns { display: block !important; padding: 0 !important; }
html[data-hp-theme] body #hpClubFinancials .hp-budget-columns > .hp-table-scroll + .hp-table-scroll thead { display: none; }
html[data-hp-theme] body #hpClubFinancials .hp-budget-columns > .hp-table-scroll + .hp-table-scroll table { border-top: 0 !important; }
html[data-hp-theme] body #hpClubFinancials table { width: 100% !important; font-size: 13px !important; }
html[data-hp-theme] body #hpClubFinancials :is(th, td) { padding: 7px 10px !important; }
html[data-hp-theme] body #hpClubFinancials th { white-space: normal !important; line-height: 1.2 !important; vertical-align: bottom !important; font-size: 10px !important; }
html[data-hp-theme] body #hpClubFinancials :is(th, td):not(:first-child) { width: 26%; }
html[data-hp-theme] body #hpClubFinancials :is(th, td):first-child { padding-left: 16px !important; }
html[data-hp-theme] body #hpClubFinancials :is(th, td):last-child { padding-right: 16px !important; }
html[data-hp-theme] body #hpClubFinancials td:not(:first-child) { font-family: var(--sb-display); font-size: 15px !important; font-weight: 700 !important; }
html[data-hp-theme] body #hpClubFinancials .hp-note { padding: 10px 16px 12px !important; margin: 0 !important; }

/* ---------- home: results / next / leaders (smaller) ---------- */
html[data-hp-theme] body .hpx-leader { position: relative; flex-direction: row !important; align-items: center; gap: 10px !important; }
html[data-hp-theme] body .hpx-leader-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
html[data-hp-theme] body .hpx-leader b { font-size: 26px !important; }
html[data-hp-theme] body .hpx-abbr { font-family: var(--sb-display); font-size: 12px !important; border-radius: 3px !important; padding-left: 4px; }

/* ---------- home: clubs & compare ---------- */
html[data-hp-theme] body #hpClubDirectory .hp-club-tile { border-top: 3px solid var(--sb-line) !important; }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile.hpx-tinted { border-top-color: var(--c1) !important; box-shadow: inset 0 3px 0 var(--c2) !important; }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile.hpx-tinted:hover { outline: 2px solid var(--c1); }
html[data-hp-theme] body #hpClubDirectory .hp-club-tile b { font-family: var(--sb-display) !important; font-size: 16px !important; }
html[data-hp-theme] body .hpx-compare { border-radius: 4px; }
html[data-hp-theme] body .hpx-compare strong { font-family: var(--sb-display); font-size: 19px; text-transform: uppercase; }

/* ---------- medium screens ---------- */
@media (max-width: 1100px) {
  html[data-hp-theme] body #hpPortal.hpx-market-portal > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxSide { order: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHome { order: 3; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpClubDirectory { order: 4; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxCompare { order: 5; }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
  html[data-hp-theme] body #hpPortal.hpx-market-portal { display: flex !important; flex-direction: column; gap: 12px !important; }
  html[data-hp-theme] body #hpxExpiring .hpx-exp-body { display: block; }
  html[data-hp-theme] body #hpClubFinancials .hp-budget-columns { display: block !important; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > .hp-welcome { order: 0; margin: 0 !important; padding: 20px 16px 22px !important; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal .hp-welcome h1 { font-size: 30px !important; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHeadlines { order: 0; margin-top: -12px !important; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxTopSalaries { order: 1; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxSide { display: contents; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal #hpxSide > #hpClubFinancials { order: 2; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal #hpxSide > #hpxExpiring { order: 3; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHome { order: 4; display: contents; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxHome > .hpx-card { order: 4; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpClubDirectory { order: 5; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > #hpxCompare { order: 6; }
  html[data-hp-theme] body #hpPortal.hpx-market-portal > * { order: 7; }
  html[data-hp-theme] body .hpx-results .hpx-res:nth-of-type(n+4) { display: none; }

  /* top salaries: rank, photo, player over club, amount over badge */
  html[data-hp-theme] body .hpx-te .cq-lb-row { grid-template-columns: 26px 44px minmax(0, 1fr) auto !important; grid-template-rows: auto auto !important; gap: 0 10px !important; padding: 8px 16px !important; min-height: 64px !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-rank { grid-column: 1 !important; grid-row: 1 / 3 !important; font-size: 16px !important; text-align: left !important; }
  html[data-hp-theme] body .hpx-te .hpx-te-photo { grid-column: 2 !important; grid-row: 1 / 3 !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-player { grid-column: 3 !important; grid-row: 1 !important; align-self: end !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-meta-row { display: none !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-team { display: flex !important; grid-column: 3 !important; grid-row: 2 !important; align-self: start !important; font-size: 12px !important; color: var(--sb-muted) !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-team a { color: var(--sb-muted) !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-team .swatch { width: 8px !important; height: 14px !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-salary { grid-column: 4 !important; grid-row: 1 !important; font-size: 21px !important; align-self: end !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-salary .hpx-basis { display: none !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-salary .hpx-basis { display: block !important; font-size: 9px !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-conf { display: flex !important; grid-column: 4 !important; grid-row: 2 !important; align-self: start !important; margin-top: 2px !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-conf .badge { font-size: 9px !important; padding: 1px 5px !important; }
  html[data-hp-theme] body .hpx-te .hpx-src { display: none !important; }

  html[data-hp-theme] body #hpClubFinancials th { white-space: normal !important; font-size: 10px !important; line-height: 1.25 !important; vertical-align: bottom !important; }
  html[data-hp-theme] body #hpClubFinancials :is(th, td):not(:first-child) { width: 27%; }
}

html[data-hp-theme] body .gs-code { padding-left: 4px !important; }

/* ---------- headline strip ---------- */
html[data-hp-theme] body #hpxHeadlines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--sb-line); border: 1px solid var(--sb-line); border-radius: 4px; overflow: hidden; margin: 0 !important; }
html[data-hp-theme] body #hpxHeadlines a { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; background: var(--sb-surface); text-decoration: none !important; color: var(--sb-ink) !important; min-width: 0; }
html[data-hp-theme] body #hpxHeadlines a:hover { background: var(--sb-surface-2); }
html[data-hp-theme] body #hpxHeadlines small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sb-muted); }
html[data-hp-theme] body #hpxHeadlines span { font-family: var(--sb-display); font-size: 18px; font-weight: 700; line-height: 1.2; }
html[data-hp-theme] body #hpxHeadlines span b { font-weight: 800; white-space: nowrap; }

/* ---------- payrolls: clubs with figures first ---------- */
html[data-hp-theme] body #hpClubFinancials .hpx-pay-count { font-family: var(--sb-font) !important; font-size: 12px !important; font-weight: 400 !important; color: var(--sb-muted) !important; text-transform: none; margin-left: auto; }
html[data-hp-theme] body #hpClubFinancials > h2 { display: flex !important; align-items: baseline !important; gap: 12px !important; }
html[data-hp-theme] body #hpClubFinancials:not(.hpx-fin-open) tr.hpx-pay-empty { display: none; }
html[data-hp-theme] body #hpClubFinancials tr.hpx-pay-empty td { color: var(--sb-muted) !important; }
html[data-hp-theme] body #hpxPayMore { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin: 0; padding: 0 16px !important; border: 0 !important; border-top: 1px solid var(--sb-line) !important; border-radius: 0 !important; background: var(--sb-surface) !important; color: var(--sb-accent-text) !important; font-size: 13px !important; font-weight: 600 !important; text-align: left; }
html[data-hp-theme] body #hpxPayMore::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; }
html[data-hp-theme] body #hpClubFinancials.hpx-fin-open #hpxPayMore::after { transform: rotate(-135deg); margin-top: 4px; }
html[data-hp-theme] body .hpx-sw { display: inline-block; width: 8px; height: 14px; border-radius: 2px; margin-right: 8px; vertical-align: -2px; }

/* ---------- top salaries: the default badge gives way to the source ---------- */
html[data-hp-theme] body .hpx-te .cq-lb-conf .badge.hpx-default-badge { display: none !important; }
html[data-hp-theme] body .hpx-te .cq-lb-conf .hpx-src { font-size: 12px; }
@media (max-width: 700px) {
  html[data-hp-theme] body .hpx-te .cq-lb-conf .hpx-src { display: block !important; font-size: 11px; max-width: 120px; }
  html[data-hp-theme] body #hpxHeadlines { grid-template-columns: 1fr; border-left: 0; border-right: 0; border-radius: 0; }
  html[data-hp-theme] body #hpxHeadlines a { padding: 10px 16px; }
  html[data-hp-theme] body #hpxHeadlines span { font-size: 16px; }
}

/* ---------- players directory ---------- */
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog { border: 0 !important; background: transparent !important; box-shadow: none !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog > .hd { background: var(--sb-navy) !important; border: 0 !important; border-bottom: 4px solid var(--sb-accent) !important; border-radius: 4px 4px 0 0; padding: 22px 20px !important; margin: 0 !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog > .hd h1 { color: #fff !important; font-size: 32px !important; text-transform: uppercase; font-weight: 800 !important; margin: 0 !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog > .hd .small { color: #c9d3df !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-players-filters { background: var(--sb-surface) !important; border: 1px solid var(--sb-line) !important; border-top: 0 !important; padding: 12px 16px !important; margin: 0 !important; display: grid !important; grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); gap: 8px !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-players-filters .input { min-height: 40px !important; font-size: 13px !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-table-scroll { border: 1px solid var(--sb-line) !important; border-top: 0 !important; background: var(--sb-surface) !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog table { width: 100% !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td) { padding: 8px 12px !important; vertical-align: middle !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):first-child { padding-left: 16px !important; width: 36px; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):last-child { padding-right: 16px !important; text-align: right !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):nth-child(4) { display: none !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog th { font-size: 11px !important; letter-spacing: 0.06em; text-transform: uppercase; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td a.pname-link { font-size: 15px !important; font-weight: 700 !important; color: var(--sb-ink) !important; text-decoration: none !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td a.pname-link:hover { text-decoration: underline !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hpx-c-sub { display: block; font-size: 12px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hpx-c-club { display: none; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td a.team-name-link { color: var(--sb-ink) !important; text-decoration: none !important; font-size: 13px !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td.hpx-c-end { font-family: var(--sb-display); font-size: 15px !important; font-weight: 700 !important; text-align: right !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td.hp-money { white-space: nowrap; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td.hp-money .hpx-money { font-size: 20px; font-weight: 800; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td.hp-money .hpx-basis { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sb-muted); }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td.hpx-nd { color: var(--sb-muted) !important; font-weight: 400 !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-pagination { padding: 12px 16px !important; background: var(--sb-surface) !important; border: 1px solid var(--sb-line) !important; border-top: 0 !important; border-radius: 0 0 4px 4px; margin: 0 !important; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-pagination .btn { min-height: 40px; }
html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-note { padding: 10px 4px !important; font-size: 12px !important; color: var(--sb-muted) !important; }
@media (max-width: 860px) {
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-players-filters { grid-template-columns: 1fr 1fr !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-players-filters #hpPlayersQ { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  html[data-hp-theme] body #viewLeague.hp-players-browse.container { padding-left: 0 !important; padding-right: 0 !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog > .hd { border-radius: 0; padding: 16px 16px 18px !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog > .hd h1 { font-size: 26px !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-players-filters { border-left: 0 !important; border-right: 0 !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-players-filters .input { min-height: 44px !important; font-size: 16px !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-table-scroll { border-left: 0 !important; border-right: 0 !important; overflow: visible !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog table { table-layout: fixed; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):first-child { width: 36px; padding-right: 0 !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):nth-child(3), html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td).hpx-c-end { display: none !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):last-child { width: 96px; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog td a.pname-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hpx-c-club { display: inline; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hpx-ph-sm { width: 32px; height: 32px; font-size: 11px; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):first-child { width: 44px !important; padding-left: 12px !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog :is(th, td):nth-child(2) { padding-left: 4px !important; }
  html[data-hp-theme] body #hpPlayersCatalog.hpx-catalog .hp-pagination { border-left: 0 !important; border-right: 0 !important; border-radius: 0; }
}

/* ---------- player profile: a face and a figure ---------- */
html[data-hp-theme] body #viewPlayer > .card > .hd { background: var(--sb-navy) !important; border: 0 !important; border-bottom: 4px solid var(--sb-accent) !important; padding: 20px 20px 18px !important; flex-wrap: wrap; gap: 12px; }
html[data-hp-theme] body #viewPlayer > .card > .hd .teamrow { gap: 18px !important; align-items: center !important; }
html[data-hp-theme] body #viewPlayer #playerAvatar { width: 120px !important; height: 120px !important; min-width: 120px !important; border-radius: 50% !important; overflow: hidden !important; border: 3px solid rgba(255,255,255,0.25) !important; background: #22344a !important; }
html[data-hp-theme] body #viewPlayer #playerAvatar .hp-player-photo { margin: 0 !important; width: 100% !important; height: 100% !important; }
html[data-hp-theme] body #viewPlayer #playerAvatar .hp-player-photo a, html[data-hp-theme] body #viewPlayer #playerAvatar .hp-player-photo img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 15% !important; display: block; }
html[data-hp-theme] body #viewPlayer #playerAvatar .hp-player-photo figcaption { position: absolute; left: -9999px; }
html[data-hp-theme] body #viewPlayer > .card > .hd #playerName { color: #fff !important; font-size: 36px !important; line-height: 1.05 !important; text-transform: uppercase; font-weight: 800 !important; }
html[data-hp-theme] body #viewPlayer > .card > .hd #playerName span { color: #c9d3df !important; font-size: 18px !important; font-weight: 600 !important; text-transform: none; }
html[data-hp-theme] body #viewPlayer > .card > .hd #playerMeta, html[data-hp-theme] body #viewPlayer .card > .hd #playerMeta * { color: #c9d3df !important; font-size: 14px !important; }
html[data-hp-theme] body #viewPlayer > .card > .hd #playerMeta a { color: #fff !important; font-weight: 600; }
html[data-hp-theme] body #viewPlayer > .card > .hd .btn { background: transparent !important; border: 1px solid #4a617b !important; color: #fff !important; }
html[data-hp-theme] body #viewPlayer > .card > .hd .btn:hover { background: rgba(255,255,255,0.08) !important; }
html[data-hp-theme] body #viewPlayer #playerTrustLayer { border: 0 !important; border-bottom: 1px solid var(--sb-line) !important; border-radius: 0 !important; padding: 16px 0 !important; }
html[data-hp-theme] body #viewPlayer .player-salary-amt, html[data-hp-theme] body #viewPlayer .player-salary-amt * { font-size: 40px !important; line-height: 1 !important; letter-spacing: -0.01em !important; }
html[data-hp-theme] body #viewPlayer .player-salary-rank, html[data-hp-theme] body #viewPlayer .player-salary-rank * { font-size: 13px !important; color: var(--sb-muted) !important; }
html[data-hp-theme] body #viewPlayer #playerTrustLayer .player-contract-phase { margin-bottom: 8px !important; }
@media (max-width: 700px) {
  html[data-hp-theme] body #viewPlayer > .card > .hd { padding: 16px 16px 14px !important; }
  html[data-hp-theme] body #viewPlayer #playerAvatar { width: 84px !important; height: 84px !important; min-width: 84px !important; }
  html[data-hp-theme] body #viewPlayer > .card > .hd #playerName { font-size: 26px !important; }
  html[data-hp-theme] body #viewPlayer > .card > .hd #playerName span { font-size: 15px !important; }
  html[data-hp-theme] body #viewPlayer .player-salary-amt, html[data-hp-theme] body #viewPlayer .player-salary-amt * { font-size: 32px !important; }
  html[data-hp-theme] body #viewPlayer #playerTrustLayer { padding: 14px 16px !important; }
}
html[data-hp-theme] body #viewPlayer .hp-photo-credit-link, html[data-hp-theme] body #viewPlayer > .card > .hd .hp-photo-source { color: #c9d3df !important; }
@media (max-width: 700px) {
  html[data-hp-theme] body .hpx-te .cq-lb-conf .hpx-src { text-transform: none; letter-spacing: 0; font-size: 11px; max-width: 128px; }
}

/* ---------- home: one line on what HoopPact is ---------- */
html[data-hp-theme] body #hpxIntro { margin: -6px 0 16px !important; max-width: 640px; font-size: 15px; line-height: 1.45; color: #c9d3df; }
@media (max-width: 700px) { html[data-hp-theme] body #hpxIntro { font-size: 14px; margin-bottom: 14px !important; } }

/* ---------- unranked amount: say why ---------- */
html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-salary .hpx-basis { color: var(--sb-muted); text-transform: none; letter-spacing: 0; font-size: 11px; white-space: normal; text-align: right; max-width: 136px; line-height: 1.2; }
html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-conf { display: none !important; }
html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-rank { font-size: 14px !important; }
@media (max-width: 700px) {
  html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-salary .hpx-basis { display: block !important; font-size: 10px !important; max-width: 128px; }
  html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-conf { display: none !important; }
}

/* ---------- contracts ending: link to the filtered directory ---------- */
html[data-hp-theme] body #hpxExpiring .hpx-exp-note { padding-top: 10px !important; }

/* ---------- footer: three dates ---------- */
html[data-hp-theme] body .site-footer .hpx-dates { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12px; color: #c9d3df; }
html[data-hp-theme] body .site-footer .hpx-dates span b { color: #fff; font-weight: 600; }
html[data-hp-theme] body #siteTrustStrip .hpx-dates { display: inline-flex; flex-wrap: wrap; gap: 2px 14px; }
html[data-hp-theme="light"] body #siteTrustStrip .hpx-dates { color: var(--sb-muted); }
html[data-hp-theme="light"] body #siteTrustStrip .hpx-dates span b { color: var(--sb-ink); font-weight: 600; }

/* ---------- profile: one entry point to salary, contract & sources ---------- */
html[data-hp-theme] body #hpxDetailBtn { display: none !important; }
html[data-hp-theme] body #viewPlayer .bd :is(#hpPlayerContract, #hpPlayerJersey) { display: block !important; }
html[data-hp-theme] body #hpxSalaryLink { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--sb-link) !important; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
@media (max-width: 700px) {
  html[data-hp-theme] body #viewPlayer .card > .bd > #hpPlayerJersey { display: none !important; }
  html[data-hp-theme] body #viewPlayer #tab_contract #hpPlayerContract { margin: 12px 0 0 !important; }
  html[data-hp-theme] body #hpxSalaryLink { min-height: 44px; }
}

/* ---------- unranked amount: one readable line ---------- */
html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-conf { display: flex !important; }
html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-conf > :not(.hpx-unranked-note) { display: none !important; }
html[data-hp-theme] body .hpx-te .hpx-unranked-note { font-size: 12px; line-height: 1.3; color: var(--sb-muted); text-align: right; }
@media (max-width: 700px) {
  html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked { grid-template-rows: auto auto auto !important; }
  html[data-hp-theme] body .hpx-te .cq-lb-row.hpx-unranked .cq-lb-conf { grid-column: 3 / 5 !important; grid-row: 3 !important; margin-top: 4px !important; justify-content: flex-start; }
  html[data-hp-theme] body .hpx-te .hpx-unranked-note { font-size: 12px; text-align: left; }
  html[data-hp-theme] body .hpx-te .cq-lb-name, html[data-hp-theme] body .hpx-te .cq-lb-name a { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.2; }
}

/* ---------- payroll figures computed by the outlet ---------- */
html[data-hp-theme] body #hpClubFinancials .hpx-calc { color: var(--sb-muted); font-weight: 700; margin-left: 1px; }
html[data-hp-theme] body #hpClubFinancials .hpx-calc-note { margin-top: 0 !important; }

/* ---------- main menu: Players & Salaries ---------- */
html[data-hp-theme] body .site-header .header-nav .nav-link { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .header-nav .nav-link { padding: 0 9px !important; font-size: 13px !important; }
}

/* ---------- players directory: published-salary switch ---------- */
html[data-hp-theme] body #hpxSalBar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 10px 16px; background: var(--sb-surface); border: 1px solid var(--sb-line); border-top: 0; }
html[data-hp-theme] body .hpx-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--sb-ink); }
html[data-hp-theme] body .hpx-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html[data-hp-theme] body .hpx-switch-ui { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--sb-line-strong); transition: background .15s; }
html[data-hp-theme] body .hpx-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
html[data-hp-theme] body .hpx-switch input:checked + .hpx-switch-ui { background: var(--sb-accent); }
html[data-hp-theme] body .hpx-switch input:checked + .hpx-switch-ui::after { transform: translateX(18px); }
html[data-hp-theme] body .hpx-switch input:focus-visible + .hpx-switch-ui { outline: 2px solid var(--sb-link); outline-offset: 2px; }
html[data-hp-theme] body #hpxSalBar .hpx-cov { font-size: 13px; color: var(--sb-muted); }
@media (max-width: 700px) { html[data-hp-theme] body #hpxSalBar { border-left: 0; border-right: 0; } }
html[data-hp-theme] body .hpx-te .hpx-unranked-note { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-family: var(--sb-font) !important; max-width: 170px; }
@media (max-width: 700px) {
  html[data-hp-theme] body #hpPortal.hpx-market-portal { align-items: stretch !important; }
  html[data-hp-theme] body .hpx-te .hpx-unranked-note { max-width: none; }
}
@media (max-width: 1180px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .header-primary { gap: 4px 12px !important; }
  html[data-hp-theme] body .site-header .header-nav { margin-left: 4px !important; }
  html[data-hp-theme] body .site-header .hp-theme-picker > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html[data-hp-theme] body .site-header .header-brand { font-size: 16px !important; }
}
@media (max-width: 960px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .header-brand > span:not(.logo) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 960px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .header-nav .nav-link { padding: 0 7px !important; font-size: 12.5px !important; }
  html[data-hp-theme] body .site-header .header-primary { padding: 0 12px !important; gap: 4px 8px !important; }
}

/* ≈ legend (approximate published amounts) */
.hpx-approx-note{margin:8px 0 0;font-size:13px;line-height:1.4;color:var(--hp-muted,#8a96a8);text-transform:none;letter-spacing:0;font-weight:400}
#hpxSalBar .hpx-approx-note{flex-basis:100%;margin:2px 0 0}
#hpxTopSalaries .hpx-approx-note{padding:0 16px 10px}

/* Source disagreement note (profile, salary tab) */
.hpx-src-conflict{margin:10px 0 0;padding:10px 12px;border-left:3px solid var(--hp-muted,#8a96a8);background:rgba(127,127,127,.08);font-size:14px;line-height:1.45;text-transform:none;letter-spacing:0;font-weight:400}

/* ---------- Team page (2026-11-16) ---------- */
.hpx-hidden{display:none !important}
#hpTeam .hpx-team-head{position:relative;border-top:6px solid var(--club1)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--club1) 10%,transparent),transparent 60%)}
html body #hpTeam .hpx-team-head .hp-team-abbr{background:var(--club1)!important;color:#fff!important;box-shadow:inset 0 -6px 0 var(--club2);font-family:var(--sb-display,inherit);letter-spacing:.02em}
.hpx-team-money{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;margin:16px 0 20px}
.hpx-tm-card{border:1px solid var(--hp-line,#d9dee5);border-radius:6px;padding:16px 18px;background:var(--hp-panel,#fff);color:var(--hp-text,inherit);min-width:0}
.hpx-tm-card h2{margin:0 0 12px;font-size:16px;font-weight:800;letter-spacing:0;text-transform:none;line-height:1.3}
.hpx-tm-pub{border-top:4px solid var(--hp-ink,#14223a)}
.hpx-tm-known{border-top:4px dashed var(--hp-muted,#8a96a8)}
.hpx-fin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 0;border-top:1px solid var(--hp-line,#e3e7ec)}
.hpx-fin-row:first-of-type{border-top:0;padding-top:0}
.hpx-fin-row>span{font-size:15px;align-self:center}
.hpx-fin-row>b{font-family:var(--sb-money,inherit);font-size:24px;font-weight:800;text-align:right;white-space:nowrap}
.hpx-fin-row.hpx-fin-na>b{font-size:15px;font-weight:600;color:var(--hp-muted,#6b7684)}
.hpx-fin-row small{grid-column:1/-1;font-size:13px;line-height:1.4;color:var(--hp-muted,#6b7684)}
.hpx-fin-row small a{color:inherit}
.hpx-fin-tag{font-style:italic}
.hpx-tm-sum{margin:0 0 8px;font-family:var(--sb-money,inherit);font-size:20px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.hpx-tm-cov{margin:0 0 6px;font-size:15px}
.hpx-tm-bar{height:8px;border-radius:4px;background:var(--hp-line,#e3e7ec);overflow:hidden;margin-bottom:12px}
.hpx-tm-bar i{display:block;height:100%;background:var(--hp-muted,#8a96a8)}
.hpx-tm-note,.hpx-tm-empty{margin:10px 0 0;font-size:14px;line-height:1.45;color:var(--hp-muted,#5f6b7a)}
.hpx-tm-empty{font-size:15px;color:inherit}
/* salary table: no empty spacer rows, photos, neutral source note */
html body .hp-team-view #rosterTableBody tr.expand-row:has(.expand-panel.hidden){display:none!important}
.hp-team-view #rosterTableBody tr.expand-row td{background:transparent}
.hp-team-view #rosterTableBody .hpx-team-ph{flex:0 0 auto}
.hpx-disagree{display:block;margin-top:4px;font-size:12px;font-weight:500;color:var(--hp-muted,#6b7684);text-decoration:underline dotted;white-space:normal}
@media (max-width:860px){.hpx-team-money{grid-template-columns:1fr}}
@media (max-width:700px){
  .hpx-fin-row>b{font-size:21px}
  html body .hp-team-view #rosterTable,html body .hp-team-view #rosterTable tbody{display:block!important;width:100%}
  html body .hp-team-view #rosterTable thead{display:none!important}
  html body .hp-team-view #rosterTable,html body .hp-team-view #rosterTable tbody,html body .hp-team-view #rosterTableBody tr{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
  html body .hp-team-view .roster-table-wrap{overflow:visible!important;min-width:0!important}
  html body .hp-team-view #rosterTableBody td{min-width:0!important;width:auto!important}
  html body .hp-team-view #rosterTableBody td:first-child{max-width:none!important;min-width:0!important}
  html body .hp-team-view #rosterTableBody .td-player{min-width:0!important}
  html body .hp-team-view #rosterTableBody tr:not(.expand-row){display:block!important;padding:12px 10px!important;border-bottom:1px solid var(--hp-line,#e3e7ec)!important}
  html body .hp-team-view #rosterTableBody tr:not(.expand-row)>td{display:block!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important;max-width:none!important}
  html body .hp-team-view #rosterTableBody tr:not(.expand-row)>td.mob-main{position:static!important;box-shadow:none!important}
  html body .hp-team-view #rosterTableBody td.td-salary{margin:6px 0 0 44px;font-size:16px}
  html body .hp-team-view #rosterTableBody td.td-salary .src-line{font-size:12px;white-space:normal;overflow-wrap:anywhere}
  html body .hp-team-view #rosterTableBody td.td-contract{margin:2px 0 0 44px;font-size:13px;white-space:normal;color:var(--hp-muted,#6b7684)}
  html body .hp-team-view #rosterTableBody tr:not(.expand-row)>td.td-pos,html body .hp-team-view #rosterTableBody tr:not(.expand-row)>td.td-pir,html body .hp-team-view #rosterTableBody tr:not(.expand-row)>td.mob-hide:not(.td-salary){display:none!important}
  html body .hp-team-view #rosterTableBody td.td-salary .src-line,html body .hp-team-view #rosterTableBody td.td-salary>div{max-width:none!important;width:auto!important}
  html body .hp-team-view #rosterTableBody tr.expand-row:not(:has(.expand-panel.hidden)){display:block!important}
  .hp-team-view #rosterTableBody tr.expand-row td{display:block}
  .hp-team-view .pname-link{white-space:normal}
  #hpTeam table.hpx-stack,#hpTeam table.hpx-stack tbody,#hpTeam table.hpx-stack tr,#hpTeam table.hpx-stack td{display:block;width:100%}
  #hpTeam table.hpx-stack thead{display:none}
  #hpTeam table.hpx-stack tr{background:transparent!important;padding:10px 0;border-bottom:1px solid var(--hp-line,#e3e7ec)}
  #hpTeam table.hpx-stack td{padding:3px 12px;border:0;text-align:left}
  #hpTeam table.hpx-stack td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font-size:12px;color:var(--hp-muted,#6b7684)}
  #hpTeam .hp-table-scroll{overflow:visible}
}

/* mid-width header with the Standings link: keep one line */
@media (max-width: 1180px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .hpx-nav-long { display: none; }
  html[data-hp-theme] body .site-header .hp-theme-picker select { max-width: 92px; }
}
@media (max-width: 1060px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .header-brand > span:not(.logo) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html[data-hp-theme] body .site-header .header-nav .nav-link { padding: 0 7px !important; font-size: 12.5px !important; }
  html[data-hp-theme] body .site-header .header-primary { padding: 0 12px !important; gap: 4px 8px !important; }
}
@media (max-width: 920px) and (min-width: 861px) {
  html[data-hp-theme] body .site-header .header-nav .nav-link { padding: 0 5px !important; font-size: 12px !important; }
}

/* Club page: quick competitive picture */
.hpx-team-form{margin:12px 0 14px;padding:12px 14px;border:1px solid var(--hp-line,#d9dee5);border-radius:6px;background:var(--hp-panel,#fff)}
.hpx-tf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,auto));gap:10px 26px;align-items:start;justify-content:start}
.hpx-tf-cell>span{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--hp-muted)}
.hpx-tf-cell>strong{display:block;font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}
.hpx-tf-cell>small{display:block;font-size:12px;color:var(--hp-muted)}
.hpx-tf-last ol{display:flex;gap:6px;margin:4px 0 0;padding:0;list-style:none}
.hpx-tf-game{display:flex;flex-direction:column;align-items:center;min-width:44px;padding:3px 4px;border-radius:4px;font-size:11px;line-height:1.25;color:#fff}
.hpx-tf-game.w{background:#2d7a49}.hpx-tf-game.l{background:#8f97a3}.hpx-tf-game b{font-size:12px}.hpx-tf-game small{font-variant-numeric:tabular-nums}
.hpx-tf-asof{margin:10px 0 0;font-size:13px;color:var(--hp-muted)}.hpx-tf-asof a{color:var(--hp-link,#245b83)}
@media(max-width:760px){.hpx-tf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hpx-tf-last{grid-column:1/-1}}

/* Desktop header: Methodology moves to the footer (Navigate) so the menu stays on one line; the mobile menu keeps it. hpx-nav-method */
@media (min-width:861px){html[data-hp-theme] body .site-header :is(.header-nav,#gsNav,#psNav) a.nav-link[href="/#methodology"],.header-nav a[href="/#methodology"]{display:none!important}}
.hpx-foot-method{max-width:1120px;margin:4px auto 24px;padding:0 20px;font-size:13px}.hpx-foot-method a{color:var(--hp-link,#245b83)}
/* Player career and games tabs: tables use the full card width (the profile keeps its two columns) */
html[data-hp-theme] body #viewPlayer :is(#tab_career,#tab_games) .card > .bd{display:block!important}
#hpxHeadlines .hpx-rec{font-variant-numeric:tabular-nums;font-weight:800}

/* week1 2026-11-23: model estimates are not published in this edition -> hide model controls/outputs (appearance only; code and data unchanged) */
.cq-hero-stat--coverage,
#salaryFilterBar [data-salfilter="estimated"],
#budgetScenarioRow,
#scenarioTooltip,
.hp-lb-tabs [data-lb-tab="payroll"],
#lbPayrollView { display: none !important; }

/* ZIP m 24/11/2026: sources column, readable expanded row, no confidence labels */
.hp-src-chips{display:flex;flex-wrap:wrap;gap:6px}
.hp-src-chip{display:inline-block;padding:3px 8px;border:1px solid var(--sb-line,#dde2e8);border-radius:6px;font-size:12px;font-weight:600;line-height:1.4;color:var(--sb-link,#1d5480)!important;text-decoration:none!important;white-space:nowrap;background:var(--sb-surface,#fff)}
.hp-src-chip:hover{border-color:var(--sb-link,#1d5480);text-decoration:underline!important}
html body .conf-badge,#teamContractConfidence,#compactPayrollConf{display:none!important}
html[data-hp-theme="light"] body .expand-panel{background:var(--sb-surface-2,#eaeef3)!important;border-top:1px solid var(--sb-line,#dde2e8)!important;color:var(--sb-ink,#0f1b2d)!important}
html[data-hp-theme="light"] body .expand-panel :is(.ep-label){color:var(--sb-muted,#55606e)!important}
html[data-hp-theme="light"] body .expand-panel :is(.ep-value,.ep-notes,span,div){color:var(--sb-ink,#0f1b2d)}
html[data-hp-theme="light"] body .expand-panel a{color:var(--sb-link,#1d5480)!important}
html[data-hp-theme="dark"] body .expand-panel{background:var(--sb-surface-2,#22344a)!important;color:var(--sb-ink,#f1f1f1)!important}

/* ZIP n: published report not counted */
.hp-excluded-report{margin:4px 0 10px;padding:10px 12px;border:1px dashed var(--sb-line-strong,#c5ccd5);border-radius:8px;background:var(--sb-surface-2,#eaeef3)}
.hp-excluded-title{font-weight:700;font-size:13px;margin-bottom:4px;color:var(--sb-ink,#0f1b2d)}
.hp-excluded-report p{margin:0;font-size:13px;line-height:1.5;color:var(--sb-muted,#55606e)}
.hp-src-excluded{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:4px}
.hp-src-excluded>span{font-size:11px;font-weight:600;color:var(--sb-muted,#55606e)}
.hp-src-chip--excluded{border-style:dashed!important;color:var(--sb-muted,#55606e)!important}

/* club dossier (ZIP o) */
.hp-dossier{margin-bottom:18px}
.hp-dossier-sum{display:grid;grid-template-columns:minmax(150px,240px) 1fr;gap:8px 18px;margin:0}
.hp-dossier-sum dt{color:var(--hp-muted,#55606e);font-size:13px;font-weight:600}
.hp-dossier-sum dd{margin:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.hp-dossier-sum small{color:var(--hp-muted,#55606e);font-size:12px}
.hp-dossier-na{color:var(--hp-muted,#55606e);font-style:italic}
.hp-dossier-role{display:inline-block;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;border:1px solid currentColor;opacity:.75;margin-left:6px;vertical-align:1px}
.hp-dossier-flag{display:inline-block;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:#fff4d6;color:#7a5200;margin-left:6px;vertical-align:1px}
.hp-dossier-more{margin-top:14px;border:1px solid var(--hp-line,#d8dee6);border-radius:10px;padding:0 14px}
.hp-dossier-more>summary{cursor:pointer;padding:11px 0;font-weight:700;font-size:14px}
.hp-dossier-intro{font-size:13px;color:var(--hp-muted,#55606e);margin:0 0 10px}
.hp-dossier-row{border-top:1px solid var(--hp-line,#d8dee6);padding:10px 0}
.hp-dossier-row h4{margin:0 0 3px;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--hp-muted,#55606e)}
.hp-dossier-val{font-size:14px;overflow-wrap:anywhere}
.hp-dossier-src{font-size:12px;color:var(--hp-muted,#55606e);margin-top:3px;overflow-wrap:anywhere}
.hp-dossier-note{font-size:12.5px;margin-top:4px;line-height:1.45}
.hp-dossier-sub{font-size:13px;margin-top:6px;overflow-wrap:anywhere}
.hp-dossier-venues{margin:0;padding-left:18px;font-size:13.5px;line-height:1.5}
.hp-dossier-venues li{margin-bottom:6px}
@media (max-width:640px){.hp-dossier-sum{grid-template-columns:1fr;gap:2px}.hp-dossier-sum dd{margin-bottom:8px}}

/* t-20261124: USD line under top EUR salaries */
.hpx-usd{margin:0;padding:12px 18px;border-top:1px solid var(--hp-line,rgba(127,127,127,.25));font-size:13px;line-height:1.55;color:var(--hp-muted,#5b6577)}
.hpx-usd strong{display:block;font-size:12px;letter-spacing:.02em;color:var(--hp-text,#132a4a);margin-bottom:2px}
.hpx-usd a{color:var(--hp-text,#132a4a);font-weight:600}
.hpx-usd b{color:var(--hp-accent,#c2410c);font-weight:700}
.hpx-usd small{display:block;font-size:12px;margin-top:2px}

/* u-20261124: currency groups in the expiring list */
.hpx-exp-sub{padding:8px 16px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hp-muted,#5b6577);border-top:1px solid var(--hp-line,rgba(127,127,127,.2))}
.hpx-exp-sub:first-child{border-top:0}
