/* DFF parity (Nov 29 2026): research columns on DFS projections, value plays and the optimizer pool. */
.lh-dvp { display: inline-block; margin-left: .3rem; padding: .05rem .4rem; border-radius: 6px; font-size: 15px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.lh-dvp-soft { background: #dff3e4; color: #0d5a26; }
.lh-dvp-mid { background: #eef0f3; color: #2b3442; }
.lh-dvp-tough { background: #fbe1df; color: #8a1c13; }
td.lh-opp { white-space: nowrap; }
td.lh-opp .lh-opp-team { font-weight: 700; }
td.lh-opp .sub { display: block; }
.lh-pos-inline { display: none; }
.lh-dfs-tools { display: flex; flex-wrap: wrap; gap: .5rem .6rem; align-items: center; margin: .4rem 0 .6rem; }
.lh-dfs-tools .btn { font-size: 16px; min-height: 40px; }
.lh-dfs-more { display: none; }
.lh-dfs-legend { flex: 1 1 100%; font-size: 16px; }
.lh-dfs-legend summary { cursor: pointer; font-weight: 700; color: #132033; }
.lh-dfs-legend p { margin: .4rem 0 0; font-size: 16px; line-height: 1.5; color: #1c2533; }
.lh-howto { margin: 1rem 0; padding: .7rem 1rem; border: 1px solid #d5dbe3; border-radius: 10px; background: #fff; }
.lh-howto summary { cursor: pointer; font-weight: 800; font-size: 17px; color: #132033; }
.lh-howto ol, .lh-howto ul { margin: .5rem 0 0 1.2rem; padding: 0; }
.lh-howto li, .lh-howto p { font-size: 16px; line-height: 1.55; color: #1c2533; margin: .25rem 0; }
.lh-pool-search { display: flex; gap: .5rem; align-items: center; margin: .3rem 0 .6rem; flex-wrap: wrap; }
.lh-pool-search label { font-weight: 700; font-size: 16px; }
.lh-pool-search input { font-size: 16px; min-height: 40px; padding: .3rem .6rem; border: 1px solid #b8c1cc; border-radius: 8px; min-width: 220px; }
.lh-team-quick { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0; }
.lh-team-quick .btn { font-size: 16px; min-height: 40px; }
/* Late swap */
.lh-lateswap { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid #d5dbe3; border-radius: 10px; background: #fff; }
.lh-lateswap summary { cursor: pointer; font-weight: 800; font-size: 17px; color: #132033; }
.lh-lateswap p, .lh-lateswap li, .lh-lateswap label { font-size: 16px; line-height: 1.5; color: #1c2533; }
.lh-lateswap .lh-ls-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .5rem 0; }
.lh-lateswap input[type=file] { font-size: 16px; }
.lh-lateswap .btn { font-size: 16px; min-height: 40px; }
.lh-ls-out { margin-top: .5rem; }
.lh-ls-out table { width: 100%; border-collapse: collapse; }
.lh-ls-out td, .lh-ls-out th { font-size: 15px; padding: .3rem .4rem; border-bottom: 1px solid #e3e7ec; text-align: left; vertical-align: top; }
.lh-ls-kept { color: #1c2533; }
.lh-ls-new { color: #0d5a26; font-weight: 700; }
@media (max-width: 700px) {
  [data-dfs-table] .lh-col-x, [data-dfs-table] .lh-col-pos { display: none; }
  [data-dfs-table].lh-show-all .lh-col-x { display: table-cell; }
  [data-dfs-table] .lh-pos-inline { display: inline; }
  [data-dfs-table] td.lh-opp .sub { display: none; }
  [data-dfs-table].lh-show-all td.lh-opp .sub { display: block; }
  .lh-dfs-more { display: inline-flex; }
  [data-dfs-table] table.data td, [data-dfs-table] table.data th { padding-left: .35rem; padding-right: .35rem; }
  [data-dfs-table] .lh-table.has-pos th.player-cell, [data-dfs-table] .lh-table.has-pos td.player-cell { left: 0; }
  [data-dfs-table].lh-show-all .lh-pos-inline { display: none; }
  [data-dfs-table] td.player-cell strong { white-space: normal; }
}
@media (min-width: 701px) {
  [data-dfs-table] table.data th, [data-dfs-table] table.data td { padding-left: .38rem !important; padding-right: .38rem !important; }
  [data-dfs-table] table.data th { letter-spacing: .02em; }
}
/* fit Salary / Proj / Value on a 390px phone and every column at 1280 */
[data-dfs-table] table.data { min-width: 0 !important; }
[data-dfs-table] table.data th, [data-dfs-table] table.data td { letter-spacing: 0 !important; }
[data-dfs-table] table.data td.player-cell, [data-dfs-table] table.data th.player-cell { min-width: 170px !important; }
@media (max-width: 700px) {
  [data-dfs-table] table.data td.player-cell, [data-dfs-table] table.data th.player-cell { min-width: 0 !important; width: auto !important; max-width: 165px; }
  [data-dfs-table] table.data th { padding-left: .3rem !important; padding-right: .3rem !important; }
  [data-dfs-table] table.data td.num { padding-left: .25rem !important; padding-right: .3rem !important; white-space: nowrap; }
  [data-dfs-table] .lh-sort-ind { display: none; }
  [data-dfs-table].lh-show-all .lh-sort-ind { display: inline-block; }
}
.st-score { font-size: 20px; font-weight: 800; color: #132033; }

/* matchup cards: keep the "Team total" label from widening the card on phones */
.st-team > div { min-width: 0; }
.st-name { overflow-wrap: anywhere; }
.st-game { min-width: 0; max-width: 100%; }
@media (max-width: 700px) {
  .st-line { white-space: normal; }
  .st-impl { white-space: nowrap; }
}

[data-dfs-table] table.data td.lh-dfs-noposted {
  white-space: normal !important;
  max-width: 4.2rem;
  width: 4.2rem;
  font-size: 15px !important;
  font-weight: 700;
  color: #1b2430;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
