/* DESIGN23 player leaderboard (lb22.js): compact, team-coloured, every column selectable. */
body.lb22-on .rv-controls, body.lb22-on .rv-tools, body.lb22-on #rv-note, body.lb22-on #rv-status, body.lb22-on .rv-table-wrap,
body.lb22-on .rv-pagination, body.lb22-on #d16-chart, body.lb22-on .rv-method, body.lb22-on .r22-release-note, body.lb22-on #d11-team-banner { display: none !important; }
body.lb22-on .rv-main { max-width: none; }
body.lb-locked { overflow: hidden; }

.lb22 { --ink: #2a1a0e; --cream: #f8efe0; --cream2: #f1e3cb; --line: #a07246; --accent: #7e1a3b; --accent2: #b8325a; --blue: #1f5ba6;
  --num: 'Barlow Condensed', 'Arial Narrow', sans-serif; color: var(--ink); margin: 0 0 40px; }
.lb22 [hidden] { display: none !important; }
.lb22 button { font: inherit; color: inherit; cursor: pointer; }
.lb22 .lb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* top row: scope, season, leagues, team, search */
.lb-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 4px 0 10px; }
.lb22 .lb-field { display: flex; flex-direction: column; gap: 3px; font: 700 11px/1 var(--num); letter-spacing: .06em; text-transform: uppercase; }
.lb22 .lb-field select, .lb22 .lb-field input { height: 36px; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); color: var(--ink);
  font: 500 15px/1 'DM Sans', Arial, sans-serif; padding: 0 10px; text-transform: none; letter-spacing: 0; min-width: 0; }
.lb22 .lb-field select { padding-right: 26px; }
.lb22 .lb-grow { flex: 1 1 200px; } .lb22 .lb-grow input { width: 100%; }
.lb22 .lb-min input { width: 108px; }
.lb22 .lb-inline { flex-direction: row; align-items: center; gap: 8px; } .lb22 .lb-inline select { height: 32px; }
.lb22 .lb-seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; height: 36px; background: var(--cream); }
.lb22 .lb-seg button { border: 0; background: transparent; padding: 0 14px; font: 700 15px/1 var(--num); letter-spacing: .03em; text-transform: uppercase; }
.lb22 .lb-seg button + button { border-left: 1px solid var(--ink); }
.lb22 .lb-seg button[aria-pressed=true] { background: var(--ink); color: var(--cream); }
.lb22 .lb-leagues { display: flex; flex-wrap: wrap; gap: 4px; height: auto; align-self: flex-end; }
.lb22 .lb-leagues label { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--cream); font: 600 14px/1 var(--num); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.lb22 .lb-leagues input { accent-color: var(--accent); margin: 0; }

/* column-set tabs */
.lb-presets { display: flex; gap: 2px; overflow-x: auto; border-bottom: 2px solid var(--ink); margin: 0 0 10px; scrollbar-width: thin; }
.lb22 .lb-presets button { flex: none; border: 0; background: transparent; padding: 9px 12px 7px; font: 700 16px/1 var(--num); letter-spacing: .02em;
  text-transform: uppercase; border-radius: 4px 4px 0 0; white-space: nowrap; }
.lb22 .lb-presets button i { font: 700 9px/1 var(--num); font-style: normal; letter-spacing: .08em; margin-left: 5px; padding: 2px 4px; border-radius: 2px;
  background: rgba(42, 26, 14, .12); vertical-align: 2px; }
.lb22 .lb-presets button:hover { background: rgba(42, 26, 14, .08); }
.lb22 .lb-presets button[aria-pressed=true] { background: var(--ink); color: var(--cream); }
.lb22 .lb-presets button[aria-pressed=true] i { background: rgba(248, 239, 224, .2); }
.lb22 .lb-presets .lb-ghost { opacity: .6; }

/* tools */
.lb-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.lb22 .lb-spacer { flex: 1; }
.lb22 .lb-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 4px;
  background: var(--cream); font: 700 15px/1 var(--num) !important; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.lb22 .lb-btn b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 13px; }
.lb22 .lb-btn b:empty { display: none; }
.lb22 .lb-btn:hover:not(:disabled) { background: #fff8ec; }
.lb22 .lb-btn:disabled { opacity: .45; cursor: default; }
.lb22 .lb-strong { background: var(--ink); color: var(--cream); } .lb22 .lb-strong:hover:not(:disabled) { background: #3d2816 !important; }
.lb22 .lb-quiet { border-color: var(--line); background: transparent; }
.lb22 .lb-link { border: 0; background: none; padding: 0 4px; font: 600 14px/1 'DM Sans', sans-serif; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.lb22 .lb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; align-items: center; }
.lb22 .lb-chip { display: inline-flex; align-items: stretch; border: 1px solid var(--accent); border-radius: 15px; overflow: hidden; background: #fff4e4; height: 28px; }
.lb22 .lb-chip button { border: 0; background: none; padding: 0 10px; font: 600 14px/1 var(--num); letter-spacing: .02em; color: var(--accent); }
.lb22 .lb-x-btn { border: 0; background: none; font-size: 18px !important; line-height: 1; width: 30px; color: var(--accent); }
.lb22 .lb-chip .lb-x-btn { border-left: 1px solid rgba(126, 26, 59, .35); width: 26px; padding: 0; }
.lb22 .lb-note { font-size: 13px; line-height: 1.45; margin: 0 0 8px; padding: 7px 10px; border-left: 3px solid var(--accent); background: rgba(248, 239, 224, .55); max-width: 1100px; }
.lb22 .lb-status { font: 600 14px/1.2 var(--num); letter-spacing: .02em; margin: 0 0 6px; color: #4a3220; }

/* the table */
.lb-wrap { position: relative; overflow: auto; max-height: calc(100vh - 70px); border: 1px solid var(--ink); border-radius: 4px; background: var(--cream);
  overscroll-behavior: contain; scrollbar-width: thin; }
.lb22 .lb-table th, .lb22 .lb-table td { box-sizing: border-box; }
.lb22 .lb-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; font: 600 14.5px/1.1 var(--num); font-variant-numeric: tabular-nums; color: var(--ink); }
.lb22 .lb-table thead th { position: sticky; top: 0; z-index: 3; background: var(--ink); color: var(--cream); font: 700 11.5px/1.05 var(--num); letter-spacing: .04em;
  text-transform: uppercase; text-align: right; vertical-align: bottom; padding: 0; border-bottom: 2px solid #000; white-space: normal; }
.lb22 .lb-table thead th button { display: block; width: 100%; min-height: 38px; padding: 5px 4px 5px; border: 0; background: none; color: inherit; font: inherit;
  text-align: inherit; text-transform: inherit; letter-spacing: inherit; max-width: 68px; min-width: 34px; margin-left: auto; overflow-wrap: normal; word-break: normal; hyphens: none; }
.lb22 .lb-table thead th.lb-s, .lb22 .lb-table thead th.lb-s button { text-align: left; }
.lb22 .lb-table thead th.lb-s button { max-width: 150px; }
.lb22 .lb-table thead th[draggable] { cursor: grab; }
.lb22 .lb-table thead th:hover { background: #3d2816; }
.lb22 .lb-table thead th.lb-on { background: var(--accent); }
.lb22 .lb-table thead th.lb-drag { opacity: .45; }
.lb22 .lb-table thead th.lb-drop { box-shadow: inset 3px 0 #ffb547; }
.lb22 .lb-arrow { font-size: 8px; margin-left: 3px; vertical-align: 1px; }
.lb22 .lb-table td { height: 30px; padding: 0 4px; text-align: right; white-space: nowrap; border-bottom: 1px solid rgba(42, 26, 14, .13); background: var(--rowbg, var(--cream)); }
.lb22 .lb-table tbody tr:nth-child(2n) { --rowbg: var(--cream2); }
.lb22 .lb-table td.lb-s { text-align: left; max-width: 170px; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.lb22 .lb-table td.lb-g { font-weight: 800; font-size: 15.5px; }
.lb22 .lb-table td.lb-na::after { content: ''; }
.lb22 .lb-p { font-size: 10px; font-weight: 600; opacity: .7; margin-left: 2px; vertical-align: 4px; }
.lb22 .lb-empty { text-align: center !important; padding: 30px !important; font: 500 15px 'DM Sans', sans-serif !important; }

/* sticky identity columns */
.lb-table .lb-sticky { position: sticky; left: var(--x); z-index: 1; }
.lb22 .lb-table thead .lb-sticky { z-index: 4; }
.lb22 .lb-table .lb-x { width: 26px; min-width: 26px; max-width: 26px; padding: 0; text-align: center; }
.lb22 .lb-table .lb-x input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); cursor: pointer; vertical-align: middle; }
.lb22 .lb-table .lb-r { width: 32px; min-width: 32px; max-width: 32px; padding: 0 4px 0 0; font-size: 12.5px; opacity: .85; }
.lb22 .lb-table thead .lb-r { padding: 0 4px 6px 0; text-align: right; }
.lb22 .lb-table .lb-name { width: 170px; min-width: 170px; max-width: 170px; text-align: left; padding-left: 4px; box-shadow: inset -1px 0 rgba(42, 26, 14, .16); }
.lb22 .lb-table thead .lb-name button { max-width: none; text-align: left; padding-left: 4px; }
.lb22 .lb-nm { display: flex; align-items: center; gap: 6px; height: 30px; overflow: hidden; width: 100%; }
.lb22 .lb-table td.lb-name a { min-width: 0; white-space: nowrap; }
.lb22 .lb-table td.lb-name a { overflow: hidden; text-overflow: ellipsis; font: 700 15px/1.1 var(--num); letter-spacing: .01em; color: inherit; text-decoration: none; }
.lb22 .lb-table td.lb-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lb22 .lb-table tr[data-nba-font] td.lb-name a { font-family: var(--nba-franchise-face), var(--num); font-size: 14px; }
.lb22 .lb-av { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: rgba(42, 26, 14, .14); display: grid; place-items: center; }
.lb22 .lb-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #e8d6b8; }
.lb22 .lb-av i { font: 700 9.5px/1 var(--num); font-style: normal; opacity: .8; }
.lb22 .lb-table .lb-team { text-align: left; min-width: 56px; }
.lb22 .lb-table td.lb-team a, .lb22 .lb-table td.lb-team { color: inherit; text-decoration: none; }
.lb22 .lb-table td.lb-team a { display: inline-flex; align-items: center; gap: 4px; }
.lb22 .lb-table td.lb-team .lb-logo { display: inline-block; flex: none; width: 18px; height: 18px; object-fit: contain; vertical-align: middle; background-repeat: no-repeat; border-radius: 2px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .35)); }
.lb22 .lb-table td.lb-team span { font: 700 13px/1 var(--num); letter-spacing: .03em; }
.lb22 .lb-table thead .lb-team { padding: 0 5px 6px; text-align: left; }
@media (min-width: 761px) { .lb22 .lb-table .lb-sticky2 { position: sticky; left: 228px; z-index: 1; box-shadow: inset -1px 0 rgba(42, 26, 14, .2); } .lb22 .lb-table thead .lb-sticky2 { z-index: 4; } }

/* team colours */
.lb-table tbody tr.rv-team-colored td { background: var(--row-solid, #3a2a1c); color: #fff; border-bottom-color: rgba(255, 255, 255, .12); }
.lb22 .lb-table tbody tr.rv-team-colored td.lb-x { box-shadow: inset 4px 0 var(--row-primary), inset 6px 0 var(--row-secondary); }
.lb22 .lb-table tbody tr.rv-team-colored:hover td { background: var(--row-hover-solid, var(--row-solid)); filter: brightness(1.12); }
.lb22 .lb-table tbody tr:not(.rv-team-colored):hover td { background: #fff8ec; }
.lb22 .lb-table tbody tr[aria-selected] td { box-shadow: inset 0 2px #ffb547, inset 0 -2px #ffb547; }
.lb22 .lb-table tbody tr[aria-selected] td.lb-x { box-shadow: inset 0 2px #ffb547, inset 0 -2px #ffb547, inset 4px 0 #ffb547; }
.lb22 .lb-table tbody tr.rv-team-colored a { color: #fff; }

/* pager */
.lb-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 12px 0; font: 600 15px/1 var(--num); }

/* compare bar */
.lb-cmpbar { position: sticky; bottom: 10px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px auto 0; padding: 8px 10px;
  background: var(--ink); color: var(--cream); border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); max-width: 1100px; }
.lb22 .lb-cmpbar > span { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.lb22 .lb-cmpbar b { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 9px; border-radius: 13px; background: var(--c); color: #fff; font: 700 14px/1 var(--num); }
.lb22 .lb-cmpbar b button { border: 0; background: rgba(0, 0, 0, .25); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 13px; line-height: 1; padding: 0; }
.lb22 .lb-cmpbar .lb-btn.lb-strong { background: #ffb547; color: var(--ink); border-color: #ffb547; }
.lb22 .lb-cmpbar .lb-link { color: #ffcf8a; }

/* panels */
.lb-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(20, 12, 6, .5); }
.lb22 .lb-panel { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(880px, 100vw); background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .35); }
.lb22 .lb-filtpanel { width: min(760px, 100vw); }
.lb22 .lb-cmppanel { width: min(1100px, 100vw); }
.lb22 .lb-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-bottom: 2px solid var(--ink); background: #f3e2c6; }
.lb22 .lb-ph h2 { margin: 0; font: 900 26px/1 'Anybody', 'Barlow Condensed', sans-serif; font-stretch: 130%; text-transform: lowercase; color: var(--ink) !important; }
.lb22 .lb-ph input[type=search] { flex: 1 1 260px; height: 38px; border: 1px solid var(--line); border-radius: 4px; padding: 0 12px; background: #fff; font: 15px 'DM Sans', sans-serif; }
.lb22 .lb-ph .lb-hint { flex: 1; }
.lb22 .lb-pb { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .9fr); gap: 0; }
.lb22 .lb-hint { font-size: 13px; line-height: 1.35; opacity: .8; margin: 4px 0 8px; }
.lb22 .lb-cat { overflow: auto; padding: 8px 14px 30px 18px; border-right: 1px solid rgba(42, 26, 14, .2); }
.lb22 .lb-cat details { border-bottom: 1px solid rgba(42, 26, 14, .15); }
.lb22 .lb-cat summary { display: flex; align-items: center; gap: 8px; padding: 9px 2px; cursor: pointer; font: 700 16px/1.1 var(--num); text-transform: uppercase; letter-spacing: .03em; list-style: none; }
.lb22 .lb-cat summary::-webkit-details-marker { display: none; }
.lb22 .lb-cat summary::before { content: '▸'; font-size: 11px; width: 10px; } .lb22 .lb-cat details[open] summary::before { content: '▾'; }
.lb22 .lb-cat summary span { flex: 1; } .lb22 .lb-cat summary b { font-size: 13px; opacity: .7; }
.lb22 .lb-cat summary i, .lb22 .lb-on-l small { font: 700 9px/1 var(--num); font-style: normal; letter-spacing: .08em; padding: 2px 4px; border-radius: 2px; background: rgba(42, 26, 14, .12); }
.lb22 .lb-cat label { display: flex; align-items: flex-start; gap: 8px; padding: 5px 4px 5px 18px; font-size: 13.5px; line-height: 1.3; cursor: pointer; border-radius: 3px; }
.lb22 .lb-cat label:hover { background: rgba(42, 26, 14, .06); }
.lb22 .lb-cat label input { margin-top: 2px; accent-color: var(--accent); }
.lb22 .lb-cat label b { font: 700 14px/1.2 var(--num); letter-spacing: .02em; }
.lb22 .lb-order { overflow: auto; padding: 10px 18px 30px 14px; }
.lb22 .lb-order h3 { margin: 4px 0 0; font: 700 16px/1 var(--num); text-transform: uppercase; letter-spacing: .03em; }
.lb22 .lb-order h3 b { color: var(--accent); }
.lb22 .lb-order ol { list-style: none; margin: 6px 0 12px; padding: 0; }
.lb22 .lb-order li { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 2px; border: 1px solid rgba(42, 26, 14, .18); border-radius: 4px; margin: 0 0 4px; background: #fffaf1; cursor: grab; }
.lb22 .lb-order li.lb-drag { opacity: .4; }
.lb22 .lb-grip { opacity: .45; font-size: 12px; letter-spacing: -2px; padding: 0 4px; }
.lb22 .lb-on-l { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb22 .lb-on-l b { font: 700 14px/1 var(--num); }
.lb22 .lb-order li button { border: 0; background: rgba(42, 26, 14, .07); width: 26px; height: 26px; border-radius: 3px; font-size: 14px; line-height: 1; padding: 0; }
.lb22 .lb-order li button:hover { background: rgba(42, 26, 14, .16); }
.lb22 .lb-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; }
.lb22 .lb-order .lb-row { padding: 0; }
.lb22 .lb-filtpanel .lb-frows { padding: 12px 18px; overflow: auto; flex: 1; }
.lb22 .lb-frow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(42, 26, 14, .15); }
.lb22 .lb-frow select, .lb22 .lb-frow input { height: 36px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: 14px 'DM Sans', sans-serif; padding: 0 8px; }
.lb22 .lb-frow select[data-f=k] { flex: 1 1 260px; max-width: 100%; }
.lb22 .lb-frow input { width: 110px; }
.lb22 .lb-and { font-size: 13px; }
.lb22 .lb-frow .lb-x-btn { border: 1px solid var(--line); border-radius: 4px; height: 36px; }
.lb22 .lb-fhint { flex: 1 1 100%; font-size: 12.5px; opacity: .78; }
.lb22 .lb-cmpbody { display: block; padding: 14px 18px 30px; }
.lb22 .lb-cmpbody .lb-status { margin-bottom: 10px; }
.lb22 .lb-svg { display: block; max-width: 100%; height: auto; font: 600 12px var(--num); }
.lb22 .lb-grid { stroke: rgba(42, 26, 14, .14); } .lb22 .lb-zero { stroke: rgba(42, 26, 14, .5); }
.lb22 .lb-tick { fill: #4a3220; font: 600 12px var(--num); }
.lb22 .lb-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 16px; font: 700 15px/1 var(--num); }
.lb22 .lb-legend span { display: inline-flex; align-items: center; gap: 6px; } .lb22 .lb-legend i { width: 18px; height: 4px; border-radius: 2px; background: var(--c); }
.lb22 .lb-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 6px; }
.lb22 .lb-wrap-s { max-height: none; }
.lb22 .lb-mini thead th { padding: 6px 8px; text-align: right; } .lb22 .lb-mini thead th.lb-s { text-align: left; }
.lb22 .lb-mini td { padding: 0 8px; }
.lb22 .lb-mini td.lb-s a { color: inherit; font-weight: 700; }

@media (max-width: 760px) {
  .lb22 .lb-top { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .lb22 .lb-top > .lb-seg, .lb22 .lb-leagues, .lb22 .lb-grow { grid-column: 1 / -1; }
  .lb22 .lb-top > .lb-seg button { flex: 1; }
  .lb22 .lb-top .lb-field select, .lb22 .lb-top .lb-field input { width: 100%; max-width: none; height: 34px; font-size: 14px; }
  .lb22 .lb-min input { width: 100%; }
  .lb22 .lb-tools { gap: 6px; }
  .lb22 .lb-btn { height: 32px; padding: 0 10px; font-size: 13.5px !important; }
  .lb22 .lb-pv { height: 32px; } .lb22 .lb-pv button { font-size: 12.5px; padding: 0 7px; }
  .lb22 .lb-seg button { padding: 0 10px; font-size: 14px; }
  .lb22 .lb-pv button { padding: 0 8px; font-size: 13px; }
  .lb22 .lb-tools .lb-spacer { display: none; }
  .lb22 .lb-presets button { font-size: 15px; padding: 8px 10px 6px; }
  .lb22 .lb-wrap { max-height: calc(100vh - 60px); }
  .lb22 .lb-table .lb-name { width: 130px; min-width: 130px; max-width: 130px; }
  .lb22 .lb-table td.lb-name a { font-size: 14px; }
  .lb22 .lb-av { display: none; }
  .lb22 .lb-pb { grid-template-columns: 1fr; }
  .lb22 .lb-cat { border-right: 0; border-bottom: 2px solid var(--ink); max-height: 55vh; }
  .lb22 .lb-ph h2 { font-size: 22px; }
  .lb22 .lb-frow select[data-f=k] { flex-basis: 100%; }
}
.lb22 .lb-cmppanel .lb-ph .lb-field { flex: 1 1 300px; min-width: 0; max-width: 100%; }
.lb22 .lb-cmppanel .lb-ph .lb-field select { width: 100%; }

/* DESIGN24 legibility: team rows toned down (team colour mixed with near-black), off-white text, plain fonts for names and text cells. */
.lb22 .lb-table { font: 600 15px/1.1 var(--num); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.lb22 .lb-table tbody tr.rv-team-colored td { background: var(--row-solid, #3a2a1c); color: #f1ebe1; border-bottom-color: rgba(255, 255, 255, .09); }
@supports (background: color-mix(in srgb, red 50%, black)) {
  .lb22 .lb-table tbody tr.rv-team-colored td { background: color-mix(in srgb, var(--row-solid, #3a2a1c) 52%, #101114); }
  .lb22 .lb-table tbody tr.rv-team-colored:nth-child(2n) td { background: color-mix(in srgb, var(--row-solid, #3a2a1c) 44%, #101114); }
  .lb22 .lb-table tbody tr.rv-team-colored:hover td { background: color-mix(in srgb, var(--row-solid, #3a2a1c) 66%, #101114); filter: none; }
}
.lb22 .lb-table tbody tr.rv-team-colored a { color: #f7f2ea; }
.lb22 .lb-table td.lb-name a, .lb22 .lb-table tr[data-nba-font] td.lb-name a { font: 700 14px/1.15 'DM Sans', Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.lb22 .lb-table td.lb-s { font: 500 13px/1.1 'DM Sans', Arial, sans-serif; }
.lb22 .lb-table td.lb-g { font-weight: 800; font-size: 16px; color: #fff; }
.lb22 .lb-table tbody tr:not(.rv-team-colored) td.lb-g { color: var(--ink); }
.lb22 .lb-table td.lb-team span { font-size: 13.5px; }
.lb22 .lb-p { font-size: 10.5px; opacity: .85; }
.lb22 .lb-table .lb-r { opacity: 1; color: inherit; }
.lb22 .lb-table .lb-name { width: 186px; min-width: 186px; max-width: 186px; }
.lb22 .lb-table td.lb-name a, .lb22 .lb-table tr[data-nba-font] td.lb-name a { font-size: 13.5px; }
@media (min-width: 761px) { .lb22 .lb-table .lb-sticky2 { left: 244px; } }
@media (max-width: 760px) { .lb22 .lb-table .lb-name { width: 136px; min-width: 136px; max-width: 136px; } .lb22 .lb-table td.lb-name a, .lb22 .lb-table tr[data-nba-font] td.lb-name a { font-size: 13px; } }

/* 24b: one league bar - tap a league to show only it, tap more to combine, All resets */
.lb22 .lb-lgbar { grid-column: 1 / -1; flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lb22 .lb-lgbar .lb-lglab { font: 700 13px/1 var(--num); letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; }
.lb22 .lb-lgbar button { height: 36px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink);
  font: 700 14px/1 var(--num); letter-spacing: .02em; cursor: pointer; }
.lb22 .lb-lgbar button[aria-pressed=true] { background: var(--ink); color: var(--cream); }
.lb22 .lb-lgbar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lb22 .lb-lgbar .lb-lghint { font-size: 13px; opacity: .7; margin-left: 4px; }
@media (max-width: 640px) { .lb22 .lb-lgbar button { padding: 0 11px; font-size: 13px; } .lb22 .lb-lgbar .lb-lghint { flex-basis: 100%; margin: 0; } }

.lb-lgbar button.lb-cand{font-weight:700}
/* period mode (27p) */
.lb22 .lb-perpanel { width: min(620px, 100vw); }
.lb22 .lb-perbody { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.lb22 .lb-perbody .lb-seg { align-self: flex-start; flex-wrap: wrap; height: auto; }
.lb22 .lb-perbody .lb-seg button { height: 36px; }
.lb22 .lb-perq { display: flex; flex-wrap: wrap; gap: 6px; }
.lb22 .lb-perq button { height: 32px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 16px; background: #fff; font: 600 14px/1 var(--num); letter-spacing: .02em; }
.lb22 .lb-perq button[aria-pressed=true] { background: var(--ink); color: var(--cream); }
.lb22 .lb-perd { display: flex; flex-wrap: wrap; gap: 12px; }
.lb22 .lb-perd input[type=date] { min-width: 170px; padding: 0 8px; font: 15px 'DM Sans', sans-serif; }
.lb22 .lb-perp { margin: 0; font: 14px/1.45 'DM Sans', sans-serif; color: var(--ink); max-width: 60ch; }
.lb22 .lb-perm { margin-left: 3px; font: 700 11px/1 var(--num); color: var(--accent); vertical-align: super; }
.lb22 .lb-perchip { border-color: var(--ink); background: #f3e2c6; }
.lb22 .lb-perchip button { color: var(--ink); }
@media (max-width: 560px) { .lb22 .lb-perd input[type=date] { min-width: 140px; } .lb22 .lb-perbody { padding: 12px; } }
/* 27r: career chart controls + phone league bar */
.lb22 .lb-trajctl { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 10px; }
.lb22 .lb-trajctl select { height: 36px; padding: 0 8px; font: 14px 'DM Sans', sans-serif; }
@media (max-width: 700px) {
  .lb22 .lb-lgbar.lb-lgfix { position: fixed; top: 0; left: 0; right: 0; }
  .lb22 .lb-lgbar { z-index: 60; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 8px 4px; background: var(--cream, #f3e2c6); box-shadow: 0 2px 6px rgba(0,0,0,.15); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lb22 .lb-lgbar::-webkit-scrollbar { display: none; }
  .lb22 .lb-lgbar button { flex: 0 0 auto; }
  .lb22 .lb-lgbar .lb-lghint { display: none; }
}
