/* LEAN EDGE SPORTS — Homepage League Leaders: featured + 2x2 grid.
   Layout-only redesign. Data comes from the unchanged verified shared
   get-player-stats endpoint; no logos, hardcoded players, or fixed statistics.
   Desktop: featured Points panel + four concise stat panels.
   Mobile: existing interactive five-category tabs and top-five rows. */

body.homepage-page #hp-leaders .hp-section-title-row {
  margin-bottom:16px; align-items:end;
}
body.homepage-page #hp-leaders .hp-kicker {
  color:#f02b4b; font:800 11px/1.2 'Barlow',sans-serif;
  letter-spacing:2px;
}
body.homepage-page #hp-leaders .hp-section-title-row h2 {
  font:800 clamp(27px,2.5vw,34px)/1.04 'Barlow Condensed',sans-serif !important;
  letter-spacing:.15px !important; color:#f5f7fc;
  margin-top:8px;
}
body.homepage-page #hp-leaders .hp-section-title-row > a {
  font:700 12px/1.2 'Barlow',sans-serif;
  border-bottom-color:#e92345; white-space:nowrap;
}
body.homepage-page #hp-leaders .hp-leaders-table {
  display:grid; grid-template-columns:minmax(0,1.17fr) repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px;
  border:0; overflow:visible; align-items:stretch;
}
body.homepage-page #hp-leaders .hp-lt-col {
  --hp-category-color:#ed3150;
  min-width:0; width:auto; max-width:none;
  display:flex; flex-direction:column;
  padding:14px 16px 12px;
  background:linear-gradient(148deg,#0b2441,#05162c 74%);
  border:1px solid #214b72; border-radius:12px;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
body.homepage-page #hp-leaders .hp-lt-pts {--hp-category-color:#ee3555;grid-column:1;grid-row:1 / span 2;}
body.homepage-page #hp-leaders .hp-lt-reb {--hp-category-color:#4297ed;grid-column:2;grid-row:1;}
body.homepage-page #hp-leaders .hp-lt-ast {--hp-category-color:#2bc9a5;grid-column:3;grid-row:1;}
body.homepage-page #hp-leaders .hp-lt-stl {--hp-category-color:#b27bf5;grid-column:2;grid-row:2;}
body.homepage-page #hp-leaders .hp-lt-blk {--hp-category-color:#eaa64d;grid-column:3;grid-row:2;}
body.homepage-page #hp-leaders .hp-lt-head {
  display:flex;align-items:center;gap:7px;
  font:800 17px/1.1 'Barlow Condensed',sans-serif;
  text-transform:uppercase;letter-spacing:.4px;
  color:var(--hp-category-color);
  padding:0 0 10px;margin:0 0 5px;
  border-bottom:1px solid #274766;
}
body.homepage-page #hp-leaders .hp-lt-head-icon {
  color:var(--hp-category-color);font:900 18px/1 'Barlow',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-head-suffix {color:#e9f1fc;}
body.homepage-page #hp-leaders .hp-lt-row {
  display:grid;grid-template-columns:24px 36px minmax(0,1fr) auto;
  grid-template-rows:auto;gap:8px;align-items:center;
  min-height:42px;padding:7px 0;
  border-bottom:1px solid #203b57;
  background:transparent;color:#fff;text-decoration:none;
}
body.homepage-page #hp-leaders .hp-lt-row:hover {background:rgba(45,110,180,.13);}
body.homepage-page #hp-leaders .hp-lt-rank {
  display:grid;place-items:center;width:23px;height:23px;min-width:23px;
  border-radius:50%;background:#18314e;color:#dbe8f5;
  font:800 13px/1 'Barlow Condensed',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-rank-1 {background:#f0c75a;color:#071c33;}
body.homepage-page #hp-leaders .hp-lt-rank-2 {background:#d3dde8;color:#071c33;}
body.homepage-page #hp-leaders .hp-lt-rank-3 {background:#c88857;color:#071c33;}
body.homepage-page #hp-leaders .hp-avatar,
body.homepage-page #hp-leaders .hp-leaders-table .hp-avatar {
  grid-column:2;grid-row:1;
  width:36px;height:38px;min-width:36px;
  display:grid;place-items:center;overflow:hidden;
  border-radius:8px !important;border:1px solid #3a6386;
  background:#19334e;color:#eaf3fb;
  font:800 11px/1 'Barlow',sans-serif;
}
body.homepage-page #hp-leaders .hp-avatar img {width:100%;height:100%;object-fit:cover;}
body.homepage-page #hp-leaders .hp-lt-name {
  grid-column:3;grid-row:1;min-width:0;gap:3px;
}
body.homepage-page #hp-leaders .hp-lt-name strong {
  color:#f5f8fc;font:800 12px/1.15 'Barlow',sans-serif;
  white-space:normal;overflow-wrap:anywhere;
}
body.homepage-page #hp-leaders .hp-lt-name small {
  color:#a1b8d1;font:700 10px/1 'Barlow',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-value {
  grid-column:4;grid-row:1;align-self:center;
  display:flex;flex-direction:column;align-items:end;gap:3px;
  color:#fff;font:900 20px/1 'Barlow Condensed',sans-serif;
  letter-spacing:0;
}
body.homepage-page #hp-leaders .hp-lt-value small {
  color:#a8bfd8;font:700 9px/1 'Barlow',sans-serif;
}
/* First place is a featured portrait and stat; other players remain concise. */
body.homepage-page #hp-leaders .hp-lt-featured {
  grid-template-columns:25px 68px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:6px 10px;min-height:92px;padding:12px 0;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-rank {
  grid-column:1;grid-row:1 / span 2;align-self:start;
  width:26px;height:26px;font-size:17px;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar {
  grid-column:2;grid-row:1 / span 2;
  width:68px;height:73px;min-width:68px;border-radius:9px !important;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name {
  grid-column:3;grid-row:1;align-self:end;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name strong {
  font:800 14px/1.1 'Barlow',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value {
  grid-column:3;grid-row:2;align-self:start;align-items:start;
  flex-direction:row;gap:7px;
  font:900 30px/1 'Barlow Condensed',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value small {align-self:end;margin-bottom:4px;}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
  min-height:186px;grid-template-columns:32px minmax(0,125px) minmax(0,1fr);
  grid-template-rows:auto auto;gap:8px 12px;
  padding:18px 0 16px;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-rank {
  width:32px;height:32px;font-size:21px;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
  width:125px;height:138px;min-width:0;max-width:100%;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-name strong {
  font:800 18px/1.12 'Barlow',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
  font-size:47px;align-items:baseline;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value small {
  font-size:11px;margin-bottom:0;
}
body.homepage-page #hp-leaders .hp-lt-col:not(.hp-lt-pts) .hp-lt-row:nth-of-type(n+4) {display:none;}
body.homepage-page #hp-leaders .hp-lt-mobile-more {
  display:flex;justify-content:flex-start;align-items:center;gap:7px;
  margin-top:auto;padding:10px 0 0;
  color:#a9d4ff;text-decoration:none;
  font:700 11px/1.2 'Barlow',sans-serif;
}
body.homepage-page #hp-leaders .hp-lt-mobile-more:hover {color:#fff;}
body.homepage-page #hp-leaders .hp-leader-empty {
  font:600 12px/1.45 'Barlow',sans-serif;padding:15px 2px;
}
@media (min-width:769px) and (max-width:1100px) {
  body.homepage-page #hp-leaders .hp-leaders-table {gap:9px;grid-template-columns:minmax(0,1.05fr) repeat(2,minmax(0,1fr));}
  body.homepage-page #hp-leaders .hp-lt-col {padding:11px 9px;}
  body.homepage-page #hp-leaders .hp-lt-row {grid-template-columns:21px 29px minmax(0,1fr) auto;gap:5px;}
  body.homepage-page #hp-leaders .hp-lt-name strong {font-size:11px;}
  body.homepage-page #hp-leaders .hp-lt-value {font-size:18px;}
  body.homepage-page #hp-leaders .hp-lt-featured {grid-template-columns:22px 54px minmax(0,1fr);gap:5px;}
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar {width:54px;height:62px;min-width:54px;}
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {grid-template-columns:26px 90px minmax(0,1fr);gap:7px;}
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {width:90px;height:112px;}
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {font-size:37px;}
}
@media (max-width:768px) {
  body.homepage-page #hp-leaders {padding-bottom:25px !important;}
  body.homepage-page #hp-leaders .hp-section-title-row {align-items:flex-end;gap:8px;margin-bottom:10px;}
  body.homepage-page #hp-leaders .hp-section-title-row h2 {
    font:800 clamp(23px,6.5vw,29px)/1 'Barlow Condensed',sans-serif !important;
    letter-spacing:0 !important;
  }
  body.homepage-page #hp-leaders .hp-section-title-row > a {font-size:10px;white-space:nowrap;}
  body.homepage-page #hp-leaders .hp-mobile-leader-tabs {
    display:flex !important;gap:0 !important;justify-content:space-between;
    margin:13px 0 13px !important;padding:0 !important;
    overflow-x:auto !important;scrollbar-width:none;
  }
  body.homepage-page #hp-leaders .hp-mobile-leader-tabs button {
    padding:9px 7px 11px !important;flex:0 0 auto !important;
    font:800 10px/1 'Barlow',sans-serif !important;
    text-transform:uppercase;color:#a1b1c8 !important;
    border-bottom:3px solid transparent !important;
  }
  body.homepage-page #hp-leaders .hp-mobile-leader-tabs button.is-active {
    color:#fff !important;border-bottom-color:#f12c4b !important;
  }
  body.homepage-page #hp-leaders .hp-leaders-table {display:block !important;overflow:visible !important;width:100% !important;}
  body.homepage-page #hp-leaders .hp-lt-col {
    display:none !important;width:100% !important;min-width:0 !important;max-width:none !important;
    padding:0 !important;border:0 !important;border-radius:0 !important;
    background:transparent !important;box-shadow:none !important;
  }
  body.homepage-page #hp-leaders .hp-lt-col.is-mobile-active {display:block !important;}
  body.homepage-page #hp-leaders .hp-lt-head {display:none !important;}
  body.homepage-page #hp-leaders .hp-lt-row,
  body.homepage-page #hp-leaders .hp-lt-col:not(.hp-lt-pts) .hp-lt-row:nth-of-type(n+4) {
    display:grid;
  }
  body.homepage-page #hp-leaders .hp-lt-row {
    grid-template-columns:28px 44px minmax(0,1fr) auto !important;
    grid-template-rows:auto !important;gap:8px !important;
    min-height:59px !important;padding:8px 3px !important;
    border-bottom:1px solid #1c3a58 !important;
  }
  body.homepage-page #hp-leaders .hp-lt-rank {
    grid-column:1;grid-row:1;align-self:center;
    width:27px !important;height:27px !important;min-width:27px !important;
    font-size:15px !important;
  }
  body.homepage-page #hp-leaders .hp-avatar,
  body.homepage-page #hp-leaders .hp-leaders-table .hp-avatar {
    grid-column:2 !important;grid-row:1 !important;
    width:44px !important;height:46px !important;min-width:44px !important;
    border-radius:8px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-name {grid-column:3 !important;grid-row:1 !important;gap:3px !important;}
  body.homepage-page #hp-leaders .hp-lt-name strong {
    font:800 13px/1.12 'Barlow',sans-serif !important;white-space:normal !important;
  }
  body.homepage-page #hp-leaders .hp-lt-name small {font:700 10px/1 'Barlow',sans-serif !important;}
  body.homepage-page #hp-leaders .hp-lt-value {
    grid-column:4 !important;grid-row:1 !important;align-self:center !important;
    display:flex !important;flex-direction:column;align-items:flex-end;gap:3px;
    font:900 22px/1 'Barlow Condensed',sans-serif !important;color:#fff !important;
  }
  body.homepage-page #hp-leaders .hp-lt-value small {font-size:9px !important;}
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    position:relative;display:grid !important;
    grid-template-columns:32px 91px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;gap:6px 9px !important;
    min-height:126px !important;padding:13px !important;margin:0 0 6px !important;
    border:1px solid #d9ae4f !important;border-radius:12px !important;
    background:linear-gradient(115deg,#122741,#07182f 70%,#102942) !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-rank,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-rank {
    grid-column:1 !important;grid-row:1 !important;align-self:start;
    width:32px !important;height:32px !important;font-size:20px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    grid-column:2 !important;grid-row:1 / span 2 !important;
    justify-self:start !important;align-self:center !important;
    width:90px !important;height:96px !important;min-width:0 !important;
    max-width:100% !important;border-radius:9px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name {
    grid-column:3 !important;grid-row:1 !important;align-self:end !important;min-width:0 !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name strong,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-name strong {
    font:800 15px/1.08 'Barlow',sans-serif !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
    grid-column:3 !important;grid-row:2 !important;align-self:start !important;
    align-items:flex-start !important;flex-direction:column !important;
    font-size:32px !important;color:#fff !important;
  }
  body.homepage-page #hp-leaders .hp-lt-mobile-more {
    display:flex !important;justify-content:center;align-items:center;gap:12px;
    margin:12px 0 0;padding:13px 10px;border:1px solid #268bff;
    border-radius:10px;background:#082343;color:#fff;text-decoration:none;
    font:800 13px/1.1 'Barlow',sans-serif;
  }
}
@media (max-width:385px) {
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:28px 72px minmax(0,1fr) !important;padding:10px !important;gap:6px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {width:72px !important;height:83px !important;}
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name strong {font-size:13px !important;}
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value {font-size:28px !important;}
}

/* 2026-10-25: compact homepage polish. No changes to API or layout structure. */
body.homepage-page #hp-leaders .hp-section-title-row h2 {
  font-family:'Barlow Condensed',sans-serif !important;
  font-weight:600 !important;
  font-size:clamp(23px,2.2vw,29px) !important;
  letter-spacing:.1px !important;
}
body.homepage-page #hp-leaders .hp-lt-value,
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value,
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
  font-family:'Barlow',sans-serif !important;
  font-weight:600 !important;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.5px;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
  min-height:116px;
  grid-template-columns:29px 74px minmax(0,1fr);
  padding:10px 0;
  gap:7px 9px;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
  width:74px;height:78px;
}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {font-size:28px;}
body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar {
  width:52px;height:55px;min-width:52px;
}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value {font-size:22px;}
body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-name strong {font-size:14px;}
body.homepage-page #hp-leaders .hp-lt-rank {white-space:nowrap;font-size:12px;}
body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-rank {font-size:13px;}
@media (max-width:768px) {
  body.homepage-page #hp-leaders .hp-section-title-row h2 {font-size:clamp(21px,5.7vw,25px) !important;}
  body.homepage-page #hp-leaders .hp-lt-value,
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
    font-family:'Barlow',sans-serif !important;font-weight:600 !important;
    font-size:21px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    min-height:98px !important;padding:10px !important;
    grid-template-columns:30px 65px minmax(0,1fr) !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    width:65px !important;height:68px !important;min-width:65px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-rank,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-rank {font-size:13px !important;}
}

/* 2026-10-25: Balanced, compact desktop homepage league leaders.
   Desktop-only layout; phone tabs and all player/ranking data stay unchanged. */
@media (min-width:769px) {
  body.homepage-page #hp-leaders .hp-leaders-table {
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-rows:auto auto;gap:10px;align-items:stretch;
  }
  body.homepage-page #hp-leaders .hp-lt-pts,
  body.homepage-page #hp-leaders .hp-lt-reb,
  body.homepage-page #hp-leaders .hp-lt-ast {grid-row:1;grid-column:span 2;}
  body.homepage-page #hp-leaders .hp-lt-stl,
  body.homepage-page #hp-leaders .hp-lt-blk {grid-row:2;grid-column:span 3;}
  body.homepage-page #hp-leaders .hp-lt-col {padding:11px 14px 10px;}
  body.homepage-page #hp-leaders .hp-lt-head {padding-bottom:8px;margin-bottom:3px;}
  body.homepage-page #hp-leaders .hp-lt-row {min-height:39px;padding:6px 0;}
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:25px 60px minmax(0,1fr);
    grid-template-rows:auto auto;gap:5px 9px;
    min-height:82px;padding:8px 0 10px;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    width:60px;height:64px;min-width:0;max-width:100%;
  }
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-rank {
    width:26px;height:26px;font-size:14px;
  }
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-name strong {
    font-size:13px;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
    font:500 20px/1.1 'Barlow',sans-serif !important;
    letter-spacing:-.25px;
  }
  body.homepage-page #hp-leaders .hp-lt-value {
    font-family:'Barlow',sans-serif !important;font-weight:500 !important;
    font-size:16px;letter-spacing:-.15px;
  }
  /* The full top-five remains in the phone tabs and full leaderboard.
     Show three entries per desktop category for a consistent homepage preview. */
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-row:nth-of-type(n+4) {display:none;}
  body.homepage-page #hp-leaders .hp-lt-mobile-more {padding-top:8px;}
}
@media (min-width:769px) and (max-width:1100px) {
  body.homepage-page #hp-leaders .hp-lt-col {padding:10px;}
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:22px 45px minmax(0,1fr);gap:5px;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    width:45px;height:53px;
  }
}

/* 25 Oct 2026: six balanced desktop leader cards with larger portraits and
   stronger category headings. Keep the approved phone card design intact. */
body.homepage-page #hp-leaders .hp-lt-tpm { --hp-category-color:#f2c65c; }
@media (min-width:769px) {
  body.homepage-page #hp-leaders .hp-leaders-table {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-template-rows:repeat(2,auto) !important;
    gap:11px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-pts,
  body.homepage-page #hp-leaders .hp-lt-reb,
  body.homepage-page #hp-leaders .hp-lt-ast,
  body.homepage-page #hp-leaders .hp-lt-stl,
  body.homepage-page #hp-leaders .hp-lt-blk,
  body.homepage-page #hp-leaders .hp-lt-tpm {
    grid-column:auto !important;grid-row:auto !important;
  }
  body.homepage-page #hp-leaders .hp-lt-col {padding:13px 15px 11px !important;}
  body.homepage-page #hp-leaders .hp-lt-head {
    font:800 20px/1.15 'Barlow Condensed',sans-serif !important;
    padding-bottom:10px !important;margin-bottom:5px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-head-icon {font-size:21px !important;}
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:27px 88px minmax(0,1fr) !important;
    min-height:111px !important;gap:5px 11px !important;
    padding:10px 0 !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    width:88px !important;height:96px !important;min-width:0 !important;
    border-radius:9px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name strong,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-name strong {
    font:800 15px/1.12 'Barlow',sans-serif !important;
  }
  body.homepage-page #hp-leaders .hp-lt-row {min-height:43px !important;}
  body.homepage-page #hp-leaders .hp-lt-name strong {font-size:13px !important;}
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
    font:600 23px/1.1 'Barlow',sans-serif !important;
  }
  body.homepage-page #hp-leaders .hp-lt-value {font-weight:500 !important;}
}
@media (min-width:769px) and (max-width:1100px) {
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:24px 65px minmax(0,1fr) !important;gap:5px 7px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    width:65px !important;height:78px !important;
  }
  body.homepage-page #hp-leaders .hp-lt-head {font-size:18px !important;}
}
/* Six short category tabs still scroll naturally on narrow phones. */
@media (max-width:768px) {
  body.homepage-page #hp-leaders .hp-mobile-leader-tabs {gap:2px !important;}
  body.homepage-page #hp-leaders .hp-mobile-leader-tabs button {padding-left:5px !important;padding-right:5px !important;}
}

/* 25 Oct 2026: Match desktop homepage League Leaders typography to the
   approved Compare Players / Draft Pick Compare / Trade Machine headings.
   Keep category accents, card dimensions, photos and phone styles intact. */
@media (min-width: 769px) {
  body.homepage-page #hp-leaders .hp-section-title-row h2 {
    font-family: 'Barlow', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }
  body.homepage-page #hp-leaders .hp-lt-head {
    font-family: 'Barlow', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
    /* Existing --hp-category-color remains the category accent. */
  }
  body.homepage-page #hp-leaders .hp-lt-head-suffix {
    font-family: 'Barlow', Arial, sans-serif !important;
    font-weight: 600 !important;
  }
}

/* 25 Oct 2026: Desktop homepage polish requested after six-card review.
   Match Compare Players / Trade Machine heading exactly, and align the
   featured #1 statistic to the right with #2/#3. Mobile stays unchanged. */
@media (min-width:769px) {
  body.homepage-page #hp-leaders .hp-section-title-row h2 {
    color:#69b5ff !important;
    font-family:'Barlow',Arial,sans-serif !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:800 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:27px 88px minmax(0,1fr) auto !important;
    grid-template-rows:1fr !important;
    align-items:center !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-rank,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-rank {
    grid-column:1 !important;grid-row:1 !important;align-self:start !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-avatar,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-avatar {
    grid-column:2 !important;grid-row:1 !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-name,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-name {
    grid-column:3 !important;grid-row:1 !important;
    align-self:center !important;min-width:0 !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value {
    grid-column:4 !important;grid-row:1 !important;
    justify-self:end !important;align-self:center !important;
    align-items:flex-end !important;flex-direction:column !important;
    gap:3px !important;white-space:nowrap !important;
  }
  body.homepage-page #hp-leaders .hp-lt-featured .hp-lt-value small,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured .hp-lt-value small {
    align-self:flex-end !important;margin:0 !important;
  }
}
@media (min-width:769px) and (max-width:1100px) {
  body.homepage-page #hp-leaders .hp-lt-featured,
  body.homepage-page #hp-leaders .hp-lt-pts .hp-lt-featured {
    grid-template-columns:24px 65px minmax(0,1fr) auto !important;
  }
}


/* 25 Oct 2026: Desktop homepage only.
   Match each score to its actual competition rank, including ties.
   Keep stat labels muted and preserve all phone styling. */
@media (min-width:769px) {
  body.homepage-page #hp-leaders .hp-lt-row .hp-lt-rank-1 ~ .hp-lt-value {
    color:#f0c75a !important;
  }
  body.homepage-page #hp-leaders .hp-lt-row .hp-lt-rank-2 ~ .hp-lt-value {
    color:#d3dde8 !important;
  }
  body.homepage-page #hp-leaders .hp-lt-row .hp-lt-rank-3 ~ .hp-lt-value {
    color:#c88857 !important;
  }
}
