/* The research desk (scout.js): the sport switcher, the season line, rankings with tiers, notes, games, the player page. */
.sc-bar { display: flex; align-items: center; gap: 10px; margin-top: 14px; min-width: 0; }
.sc-sports { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; padding: 2px 0; }
.sc-sports a { flex-shrink: 0; }
.sc-more select { height: 36px; max-width: 190px; }
.sc-phase { margin: 10px 0 0; min-height: 22px; }
.sc-tabs { margin-top: 12px; }
.sc-lens { min-width: 180px; } .sc-lens select { height: 40px; }
@media (max-width: 760px) {
  .sc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .sc-tabs a { flex-shrink: 0; }
  .sc-bar { flex-wrap: wrap; } .sc-more { flex: 1 1 100%; } .sc-more select { max-width: none; width: 100%; }
  .sc-lens { flex: 1 1 100%; }
}
:is(.sc-sports, .sc-tabs) :focus-visible { outline-offset: -2px; }
.sc-rk { width: 24px; flex-shrink: 0; text-align: right; }
.sc-own { min-width: 56px; }
.sc-sub { margin: -2px 0 6px 44px; }
.sc-note { align-items: flex-start; padding: 10px 0; } .sc-note.mine { background: color-mix(in srgb, var(--green) 7%, transparent); border-radius: 8px; }
.sc-note details { margin-top: 4px; } .sc-note summary { min-height: 32px; display: flex; align-items: center; }
.sc-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
/* games */
.sc-game { gap: 8px; } .sc-side { display: flex; align-items: center; gap: 8px; min-width: 0; } .sc-side .num { margin-left: auto; font-size: 20px; color: var(--text); }
.sc-team { display: flex; align-items: center; gap: 8px; min-width: 0; } .sc-team img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; } .sc-team b { color: var(--text); }
.sc-byew { width: 64px; flex-shrink: 0; font-weight: 700; }
.sc-lead { margin: 2px 0 0; padding-left: 20px; color: var(--soft); } .sc-lead li { padding: 1px 0; }
/* rankings */
.sc-rtable td { vertical-align: middle; } .sc-rtable .c-rk { width: 34px; } .sc-rtable :is(td, th).c-pl { min-width: 220px; text-align: left; white-space: normal; } .sc-rtable .c-v .num { font-size: 20px; }
.sc-rtable td.c-rk { min-width: 0; white-space: nowrap; } /* .rtable gives its first cell a player's width; here the first cell is the rank */
.sc-nm { min-width: 0; } .sc-nm > a b { overflow-wrap: anywhere; }
.sc-take summary { min-height: 30px; display: inline-flex; align-items: center; } .sc-take p { max-width: 520px; white-space: normal; }
.warn-t { color: var(--warn); }
.sc-how { display: inline; } .sc-how summary { display: inline-flex; min-height: 32px; align-items: center; color: var(--accent-hi); } .sc-how[open] span { display: block; margin-bottom: 4px; }
.sc-tierrow td { padding: 10px 8px 4px; border-top: 1px solid var(--line-2); background: var(--bg-2); }
.sc-rtable tr.sc-t1 td:first-child { box-shadow: inset 3px 0 0 #fbbf24; } .sc-rtable tr.sc-t2 td:first-child { box-shadow: inset 3px 0 0 #4ade80; } .sc-rtable tr.sc-t3 td:first-child { box-shadow: inset 3px 0 0 #60a5fa; }
.sc-rtable tr.sc-t4 td:first-child { box-shadow: inset 3px 0 0 #c084fc; } .sc-rtable tr.sc-t5 td:first-child { box-shadow: inset 3px 0 0 #94a3b8; }
@media (max-width: 560px) { /* a phone keeps rank, player and the number; the rest is on the player's page */
  .sc-rtable .c-2, .sc-rtable .c-o { display: none; } .sc-rtable :is(td, th).c-pl { min-width: 0; } .sc-rtable td:first-child { min-width: 0; } .sc-rtable .face { width: 30px !important; height: 30px !important; }
  .sc-rtable td, .sc-rtable th { padding: 6px 4px; } .sc-rtable .c-v { width: 76px; } .sc-rtable .c-v .num { font-size: 18px; } .sc-rtable .c-rk { width: 26px; } }
.rtable th.tl, .rtable td.tl { text-align: left; white-space: nowrap; }
/* depth charts */
.sc-depth { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.sc-dslot { align-items: flex-start; gap: 10px; } .sc-dpos { width: 38px; flex-shrink: 0; color: var(--muted); font-size: 11px; letter-spacing: .06em; padding-top: 1px; } .sc-dslot a { overflow-wrap: anywhere; }
/* standings */
.sc-table .c-tm .tm { min-height: 32px; } .sc-table td, .sc-table th { font-size: 14px; }
/* compare */
.sc-cmp th[scope="col"] { vertical-align: bottom; text-align: left; min-width: 150px; } .sc-cmp th[scope="row"] { text-align: left; color: var(--muted); font: 600 12px var(--body); white-space: nowrap; }
.sc-cmp td { text-align: left; white-space: normal; }
/* the command palette (palette.js) */
dialog.sheet.pal { width: min(560px, calc(100vw - 24px)); margin-top: 12vh; } .pal-list { max-height: 50vh; overflow-y: auto; margin: 8px 0; } .pal-list :focus-visible { outline-offset: -2px; }
.pal-row { color: var(--text); min-height: 44px; padding: 6px 8px; border-radius: 8px; } .pal-row[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); }
@media (max-width: 760px) { dialog.sheet.pal { margin-top: auto; } }
/* the player page */
.sc-notebox { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; font: 400 14px/1.45 var(--body); }
.sc-hero h1 { overflow-wrap: anywhere; } .sc-lab { width: 86px; flex-shrink: 0; }
.sc-tool { flex-wrap: wrap; row-gap: 6px; padding: 8px 0; } .sc-tool > b { flex: 1 1 100%; overflow-wrap: anywhere; } /* the league's name on its own line, its buttons under it */
/* the decision pages (research.js): buy low and sell high, stacks, byes and backups, the injury planner */
.lk-table td:first-child { min-width: 240px; } .lk-table td.num { vertical-align: top; padding-top: 12px; font-size: 16px; } .lk-table td.num .small { font: 400 11px var(--body); margin-top: 3px; }
.lk-who { align-items: flex-start; } .lk-who .rbtn { align-self: center; }
.lk-table tr.lk-note td { border-top: 0; padding: 0 8px 12px 54px; text-align: left; white-space: normal; } .lk-note p { max-width: 640px; line-height: 1.4; }
.lk-rates { grid-template-columns: minmax(0, 1fr); } .lk-rates dd { line-height: 1.45; } .lk-card .fs34 { font-size: 30px; }
@media (max-width: 560px) { .lk-table .c-2 { display: none; } .lk-table td:first-child { min-width: 0; } .lk-table .face { width: 30px !important; height: 30px !important; } .lk-table td, .lk-table th { padding: 8px 4px; } .lk-table td.num { font-size: 15px; } .lk-table tr.lk-note td { padding: 0 4px 12px; } }
.st-faces { display: inline-flex; flex-shrink: 0; } .st-faces .face + .face { margin-left: -10px; box-shadow: 0 0 0 2px var(--panel); }
.st-row { gap: 10px; align-items: flex-start; padding: 10px 0; } .st-row .rk { width: 22px; flex-shrink: 0; padding-top: 9px; } .st-row .adjcol { padding-top: 4px; }
.st-game { align-items: flex-start; padding: 10px 0; } .st-game .rmini { max-width: 100%; } .st-game .rmini > span:last-child { overflow-wrap: anywhere; }
.by-table { font-size: 14px; } .by-table th, .by-table td { text-align: center; } .by-table tbody th { position: static; text-align: left; font: 700 15px var(--disp); color: var(--soft); width: 52px; }
.by-c { min-width: 38px; } .by-c b { font-size: 15px; } .by-n1 { background: color-mix(in srgb, var(--warn) 14%, transparent); } .by-n2 { background: color-mix(in srgb, var(--warn) 28%, transparent); } .by-n3 { background: color-mix(in srgb, var(--warn) 42%, transparent); }
.by-c.by-short { background: var(--bad-tint); box-shadow: inset 0 0 0 2px var(--bad-bg); } .by-c.by-short b { color: var(--bad); } .by-table .by-l { text-align: right; }
.by-plan { align-items: flex-start; } .by-wk { width: 64px; flex-shrink: 0; } .by-cuff { align-items: flex-start; padding: 8px 0; }
@media (max-width: 560px) { .by-table th, .by-table td { padding: 6px 3px; } .by-c { min-width: 30px; } .by-table tbody th { width: 30px; } }
.cv-wk { display: inline-flex; gap: 4px; align-items: baseline; padding: 3px 8px; border-radius: 6px; background: var(--panel-2); font-size: 12px; white-space: nowrap; } .cv-wk.bye { color: var(--muted); } .cv-wk b { font: 700 12px var(--body); color: var(--soft); }
.cv-item { padding: 10px 0; border-top: 1px solid var(--line); } .cv-item:first-of-type { border-top: 0; }
.cv-row { align-items: flex-start; gap: 10px; } .cv-row .rk { width: 22px; flex-shrink: 0; padding-top: 10px; } .cv-row .rbtn { align-self: center; } .cv-weeks { margin: 6px 0 0 70px; } .cv-pick select { height: 40px; min-width: 240px; }
.cv-team { padding: 10px 0; border-top: 1px solid var(--line); } .cv-team:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 560px) { .cv-row .adjcol { width: 58px; } .cv-weeks { margin-left: 0; } .cv-pick, .cv-pick select { width: 100%; min-width: 0; } }
