/* DFS tab: contests, lineup, players, results, breakdown */
/* the DFS tab's contests in the side list: the slate (a Showdown's two teams), then its lock, games and prizes */
#nav button.dc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 4px;
}
#nav button.dc.sd {
  align-items: center;
}
#nav .dc-t {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
#nav .dc-t img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
#nav .dc-t i {
  margin-inline: 1px;
  font-style: normal;
  font-weight: 400;
  color: var(--faint);
}
#nav .dc em {
  font: 500 var(--t-xs)/1 var(--body);
  font-style: normal;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
#nav .dc small {
  grid-column: 1 / -1;
  font: 400 var(--t-xs)/1.2 var(--body);
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#nav .dc.on em {
  color: var(--muted);
}
#nav .dct {
  flex: none;
  padding: 10px 12px 3px;
  font: 500 var(--t-xs)/1 var(--body);
  color: var(--faint);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#nav .dct[data-shut] {
  display: none;
}
#nav .dc.won em {
  color: var(--pos);
}
/* a finished contest: the score line (0 to the winner: the cash line, our score, the winner), the running record, and each
   row's actual points as a dot on its projection and band (hollow outside the band) */
.dch-f .won dd {
  color: var(--pos);
}
/* a finished contest's finish on one bar: the paid stretch tinted, filled to our score, the prize tiers as ticks; our
   marker labelled above, the others (cash line, next prize, winner) named in a key under it with matching swatches */
.rf {
  margin-top: var(--s5);
  font-variant-numeric: tabular-nums;
}
.rf-lab {
  position: relative;
  height: 18px;
  margin-bottom: 8px;
}
.rf-tag {
  position: absolute;
  bottom: 0;
  white-space: nowrap;
  font: 500 var(--t-sm)/18px var(--body);
  color: var(--muted);
}
.rf-tag b {
  font-weight: 700;
  color: var(--ink);
}
.rf-bar {
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: var(--sunk);
}
.rf-paid {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  border-radius: 0 6px 6px 0;
  background: color-mix(in srgb, var(--pos) 22%, var(--surface));
}
.rf-fill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  border-radius: 3px;
  background: var(--ink);
}
.rf-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid color-mix(in srgb, var(--pos) 55%, var(--surface));
}
.rf-m {
  position: absolute;
  top: -5px;
  bottom: -5px;
  pointer-events: none;
  translate: -1px 0;
}
.rf-m.us {
  top: -8px;
  bottom: -8px;
  border-left: 2px solid var(--ink);
}
.rf-m.cash {
  border-left: 2px solid var(--pos);
}
.rf-m.next {
  border-left: 2px dashed var(--muted);
}
.rf-m.win {
  border-left: 2px solid var(--muted);
}
.rf-ax {
  position: relative;
  height: 22px;
  font-size: var(--t-xs);
  color: var(--faint);
}
.rf-ax span {
  position: absolute;
  top: 8px;
  translate: -50% 0;
}
.rf-ax span:first-child {
  translate: 0 0;
}
.rf-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 6px 0 0;
  font-size: var(--t-xs);
  color: var(--muted);
}
.rf-key span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.rf-key b {
  color: var(--ink);
  font-weight: 600;
}
.rf-key small {
  font-size: inherit;
}
.rf-key span::before {
  content: '';
  align-self: center;
  width: 0;
  height: 12px;
  margin-right: 2px;
  border-left: 2px solid var(--muted);
}
.rf-key .cash::before {
  border-left-color: var(--pos);
}
.rf-key .next::before {
  border-left-style: dashed;
}
.rf-key .tier::before {
  width: 0;
  border-left: 1px solid color-mix(in srgb, var(--pos) 55%, var(--surface));
}
.rs-rec {
  margin-top: var(--s4);
}
.rs-rec h3 {
  margin: 0 0 6px;
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rs-rec dl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.rs-rec dl > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.rs-rec dt {
  font-size: var(--t-xs);
  color: var(--muted);
}
.rs-rec dd {
  margin: 0;
  font-weight: 600;
}
.rs-rec dd small {
  margin-left: 4px;
  font-weight: 400;
  font-size: var(--t-xs);
  color: var(--muted);
}
.dr-ax b.act {
  top: 50%;
  bottom: auto;
  width: 10px;
  height: 10px;
  translate: -50% -50%;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--surface);
  z-index: 1;
}
.dr-ax b.act.out {
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.dr-act {
  font: 700 var(--t-lg)/1 var(--display);
}
.dr-act small {
  display: block;
  margin-top: 3px;
  font: 500 var(--t-xs)/1 var(--body);
  color: var(--muted);
}
.dr-own {
  font-size: var(--t-sm);
  color: var(--muted);
}
.dr-list.res .dr {
  grid-template-columns: 40px 28px minmax(150px, 240px) 60px 52px 56px 56px minmax(0, 1fr) 20px;
}
.dr-list.big.res .dr {
  grid-template-columns: 40px 44px minmax(150px, 240px) 60px 52px 56px 56px minmax(0, 1fr) 20px;
}
@media (max-width: 720px) {
  .dr-list.res .dr,
  .dr-list.big.res .dr {
    grid-template-columns: 36px 28px minmax(0, 1fr) auto auto auto;
    grid-template-areas: 's f n pts val own' 'r r r r r r';
  }
  .dr-list.big.res .dr {
    grid-template-columns: 36px 44px minmax(0, 1fr) auto auto auto;
  }
  .dr-list.res .dr > :nth-child(4) {
    display: none;
  }
  .dr-list.res .dr > :nth-child(6) {
    grid-area: val;
  }
  .dr-list.res .dr > :nth-child(7) {
    grid-area: own;
  }
  .dr-list.res .dr > :nth-child(8) {
    grid-area: r;
    height: 18px;
  }
  .dr-list.res .dr > :nth-child(9) {
    display: none;
  }
}
.rs-miss {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: var(--s3) 0 0;
  font-size: var(--t-sm);
  color: var(--muted);
}
.rs-miss b {
  color: var(--ink);
  font-weight: 600;
}
.rs-miss em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.rs-best {
  margin-top: var(--s6);
}
.dr.nx {
  cursor: default;
}
.dr.nx .dr-cv {
  visibility: hidden;
}
#nav button.dim {
  color: var(--faint);
}
#nav button.dim em {
  display: none;
} /* the open tab, with nothing in the page's period: greyed (the others aren't listed) */
/* DFS tab: the contest, the lineup, every projection */
/* the DFS tab's contest: its slate as the title, DK's contest name under it, then one cell per fact */
#dfsHead {
  margin-bottom: var(--s5);
}
.dch-t {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.dch-t h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 700 var(--t-2xl)/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dch-t h1 img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.dch-t h1 i {
  font-style: normal;
  color: var(--faint);
  font-weight: 500;
}
.dch-k {
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dch-u {
  margin-left: auto;
  font-size: var(--t-xs);
  color: var(--muted);
}
.dch-n {
  margin: 6px 0 0;
  font-size: var(--t-sm);
  color: var(--muted);
}
.dch-n a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.dch-n a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.dch-f {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  margin: var(--s4) 0 0;
  border-block: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.dch-f > div {
  padding: 10px 16px 12px;
  border-left: 1px solid var(--line);
}
.dch-f > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.dch-f dt {
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dch-f dd {
  margin: 6px 0 0;
  font: 700 var(--t-xl)/1 var(--display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dch-f dd small {
  margin-left: 6px;
  font: 400 var(--t-sm)/1 var(--body);
  letter-spacing: 0;
  color: var(--muted);
}
.dch-f .fill {
  display: block;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.dch-f .fill i {
  display: block;
  height: 100%;
  background: var(--ink);
}
/* the lineup, then every player: one row each, the same row (bigger for the lineup's): slot, face, name, salary, projection,
   and floor to ceiling on one points axis per list (a gridline each step; the projection a tick in the team's colour) */
.dl-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: var(--s3);
}
.dl-h .section-h {
  margin: 0;
}
.dl-sum {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: var(--t-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dl-sum b {
  margin-right: 6px;
  font: 700 var(--t-2xl)/1 var(--display);
  color: var(--ink);
}
#dfsLineup {
  margin-bottom: var(--s6);
}
#dfsPlayers {
  margin-bottom: var(--s3);
}
.dr-list {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
.dr {
  --tc: var(--faint);
  display: grid;
  grid-template-columns: 40px 28px minmax(150px, 240px) 60px 52px 56px minmax(0, 1fr) 20px;
  align-items: center;
  column-gap: 12px;
  min-height: 48px;
  padding: 0 12px 0 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.dr-list > .dr:first-child {
  border-top: 0;
}
.dr-list.big .dr {
  grid-template-columns: 40px 44px minmax(150px, 240px) 60px 52px 56px minmax(0, 1fr) 20px;
  min-height: 68px;
}
.dr:hover {
  background: var(--raised);
}
.dr.open {
  box-shadow: inset 2px 0 0 var(--ink);
}
/* a player in our lineup, in every list (the lineup, the players, the best possible lineup): the whole row a darker
   neutral than the header, hover and open rows, with an ink bar; the key beside the list's heading */
.dr.mine,
.dr.mine:hover {
  background: color-mix(in srgb, var(--ink) 8%, var(--surface));
  box-shadow: inset 3px 0 0 var(--ink);
}
.dr.mine .dr-nm b {
  font-weight: 700;
}
.mine-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  font: 500 var(--t-xs)/1 var(--body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  vertical-align: middle;
}
.mine-key::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 8%, var(--surface));
  box-shadow: inset 3px 0 0 var(--ink);
}
.dr:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.dr.h,
.dr-list.big .dr.h {
  min-height: 32px;
  cursor: default;
  background: var(--raised);
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dr .n {
  text-align: right;
}
.dr-slot {
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.dr-slot.cpt {
  color: var(--near);
}
.dr-face {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--sunk);
  outline: 1.5px solid var(--tc);
  outline-offset: 2px;
}
.dr-face.logo {
  object-fit: contain;
  padding: 7px;
}
.dr-logo {
  justify-self: center;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.dr-nm {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.dr-nm b {
  font: 600 14.5px/1.2 var(--row);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-nm small {
  font-size: var(--t-xs);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-nm .new {
  color: var(--pos);
}
.dr-sal,
.dr-val {
  font-size: var(--t-sm);
  color: var(--muted);
}
.dr-pts {
  font: 700 var(--t-lg)/1 var(--display);
}
.dr-list.big .dr-pts {
  font-size: var(--t-xl);
}
.dr-rng {
  align-self: stretch;
  padding-inline: 36px;
}
.dr-ax {
  display: block;
  position: relative;
  height: 100%;
}
.dr-ax b {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--line);
}
.dr-ax b.z {
  border-color: var(--line-strong);
} /* z: 0 points */
.dr-ax i {
  position: absolute;
  top: 50%;
  height: 6px;
  translate: 0 -50%;
  border-radius: 3px;
  background: color-mix(in srgb, var(--tc) 40%, transparent);
}
.dr-list.big .dr-ax i {
  height: 8px;
  border-radius: 4px;
}
.dr-ax em {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 16px;
  translate: -1.5px -50%;
  border-radius: 1.5px;
  background: var(--tc);
}
.dr-list.big .dr-ax em {
  height: 22px;
}
.dr-ax small {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.dr-ax small.lo {
  padding-right: 6px;
}
.dr-ax small.hi {
  padding-left: 6px;
}
.dr.h .dr-ax span {
  position: absolute;
  top: 50%;
  translate: -50% -50%;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.dr-cv::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  border-right: 1.75px solid var(--muted);
  border-bottom: 1.75px solid var(--muted);
  rotate: 45deg;
  translate: 0 -2px;
  transition:
    rotate 0.15s,
    translate 0.15s;
}
.dr.open .dr-cv::before {
  rotate: -135deg;
  translate: 0 2px;
  border-color: var(--ink);
}
.dr-x {
  border-top: 1px solid var(--line);
  background: var(--surface);
  cursor: default;
  overflow-x: auto;
}
@media (max-width: 720px) {
  .dr,
  .dr-list.big .dr {
    grid-template-columns: 36px 28px minmax(0, 1fr) auto auto auto;
    grid-template-areas: 's f n sal pts val' 'r r r r r r';
    row-gap: 6px;
    padding-block: 8px;
    padding-inline: 12px;
  }
  .dr-list.big .dr {
    grid-template-columns: 36px 44px minmax(0, 1fr) auto auto auto;
  }
  .dr > :nth-child(1) {
    grid-area: s;
  }
  .dr > :nth-child(2) {
    grid-area: f;
  }
  .dr > :nth-child(3) {
    grid-area: n;
  }
  .dr > :nth-child(4) {
    grid-area: sal;
  }
  .dr > :nth-child(5) {
    grid-area: pts;
  }
  .dr > :nth-child(6) {
    grid-area: val;
  }
  .dr > :nth-child(7) {
    grid-area: r;
    height: 18px;
  }
  .dr > :nth-child(8) {
    display: none;
  }
}
.dfst {
  overflow-x: auto;
  margin-bottom: var(--s4);
}
.dfst table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.dfst th {
  padding: 8px 12px;
  background: var(--raised);
  border-bottom: 1px solid var(--line);
  font: 600 var(--t-xs)/1.2 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.dfst td {
  padding: 0 12px;
  height: 40px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.dfst th:nth-child(-n + 2),
.dfst td:nth-child(-n + 2) {
  text-align: left;
}
.dfst td b {
  font-weight: 600;
}
.dfst td small {
  color: var(--muted);
  margin-left: 6px;
}
/* DFS breakdown (a row's chevron). Spec — type: 13px text, 11px labels; spacing on a 4px grid; color: ink, muted, one
   color per stat (its bars, its swatch, the chosen row), amber tint only behind a bonus range. One panel (a single
   card on the open row's tint) holding the chart and the ledger, split by a rule; the chosen row points at the chart.
   Layout from widths, not the screen (named container queries): panel ≥ 760px: chart left, ledger right; narrower:
   ledger first, then the chart under a rule. Ledger < 560px wide: two-line rows.
   Chart: one bar per book line (chance of at least it); the end lines and round lines between labelled */
.dx {
  container: dx / inline-size;
  display: grid;
  gap: 12px;
  padding: 16px 16px 20px;
  white-space: normal;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
}
.dx > * {
  max-width: 1080px;
}
.dx-body {
  display: grid;
}
.dx-chart {
  container: chart / inline-size;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}
.dx-led {
  container: led / inline-size;
  display: grid;
  align-content: start;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
@container dx (min-width: 760px) {
  .dx-body {
    grid-template-columns: minmax(320px, 5fr) minmax(0, 6fr);
  }
  .dx-chart {
    order: -1;
    padding-right: 24px;
  }
  .dx-led {
    border-left: 1px solid var(--line);
  }
  .dx-r.sel::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    translate: 0 -50%;
    border-block: 6px solid transparent;
    border-right: 6px solid var(--ink);
  } /* points at the chart */
}
@container dx (max-width: 759px) {
  .dx-chart {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}
.dx-ct {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0 12px;
  min-height: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
}
.dx-ct b {
  font: 600 14.5px/1.2 var(--row);
}
.dx-ct span {
  font-size: var(--t-xs);
  color: var(--muted);
}
.dx-fig {
  --c: var(--tc, var(--muted));
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: 20px 180px 26px;
  column-gap: 8px;
  font-size: 11px;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dx-band {
  grid-area: 1 / 2;
  position: relative;
}
.dx-in {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--n) * 46px);
  translate: -50% 0;
} /* the bars' strip: ≤ 46px a bar, as the board's ladder charts */
.dx-band span {
  position: absolute;
  top: 4px;
  translate: -50% 0;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
}
.dx-band span.s {
  translate: -4px 0;
}
.dx-band span.e {
  translate: calc(-100% + 4px) 0;
}
.dx-yax {
  grid-area: 2 / 1;
  position: relative;
}
.dx-yax span {
  position: absolute;
  right: 0;
  translate: 0 50%;
}
.dx-plot {
  grid-area: 2 / 2;
  position: relative;
  border-bottom: 1px solid var(--muted);
}
.dx-plot .g {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}
.dx-plot .bz {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border-left: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent);
}
.dx-cols {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}
.dx-cols span {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dx-cols i {
  width: 74%;
  max-width: 30px;
  min-height: 1px;
  border-radius: 2px 2px 0 0;
  background: var(--c);
}
.dx-cols span:hover i {
  filter: brightness(1.15);
}
.dx-plot .ev {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1.5px dashed var(--ink);
  translate: -0.75px 0;
  pointer-events: none;
}
.dx-ax {
  grid-area: 3 / 2;
  position: relative;
}
.dx-ax span {
  position: absolute;
  top: 8px;
  translate: -50% 0;
  white-space: nowrap;
  font: 600 var(--t-sm)/1 var(--body);
  color: color-mix(in srgb, var(--ink) 62%, var(--surface));
}
.dx-ax i {
  position: absolute;
  top: 0;
  height: 4px;
  border-left: 1px solid var(--muted);
}
/* a player's stat on a true scale (trueLadder): the strip is the full width; bars sit at their amounts, thin */
.dx-fig.tru .dx-in {
  left: 8px;
  width: calc(100% - 16px);
  translate: none;
} /* 8px each side: the first and last bars aren't cut by the edge */
/* the Ranges view: one bar per range, as wide as the range; the two open ends faded */
.dx-fig.tru.rng .dx-cols span.bk {
  position: absolute;
  bottom: 0;
  top: auto;
  translate: none;
  border-radius: 2px 2px 0 0;
  box-shadow: inset -1px 0 0 var(--surface);
  background: var(--c);
  scale: none;
}
.dx-fig.tru.rng .dx-cols span.bk.open {
  opacity: 0.4;
}
.dx-fig.tru.rng .dx-cols span.bk:hover {
  filter: brightness(1.15);
}
/* the chart's view toggle (At least | Ranges) */
.dx-tg {
  display: inline-flex;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.dx-tg button {
  padding: 2px 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.dx-tg button.on {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
}
/* each priced line a dot at its chance (on a true scale, bars on close lines overlap) */
.dx-fig.tru .dx-cols span {
  position: absolute;
  z-index: 3; /* over the line */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1.5px var(--surface);
  translate: -50% 50%;
}
.dx-fig.tru .dx-cols span:hover {
  scale: 1.5;
}
.dx-curve {
  position: absolute;
  z-index: 2; /* over the bars */
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.dx-curve polyline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.dx-key {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.dx-key i {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 2px;
}
.dx-r {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, 1.2fr) minmax(64px, 1fr) 84px 92px 52px;
  column-gap: 16px;
  align-items: center;
  min-height: 38px;
  padding: 4px 8px 4px 12px;
  border-bottom: 1px solid var(--line);
}
.dx-r > :nth-child(n + 3) {
  text-align: right;
  white-space: nowrap;
}
.dx-r > .m {
  display: none;
  text-align: left;
}
.dx-r.h {
  min-height: 28px;
  padding-block: 0 6px;
  align-items: end;
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--line-strong);
}
.dx-r .st {
  font: 600 14.5px/1.2 var(--row);
  white-space: nowrap;
}
.dx-r.h .st {
  font: inherit;
}
.dx-r .bk,
.dx-r .sc {
  color: var(--muted);
}
.dx-r .pt {
  font-weight: 600;
}
.dx-r[data-st] {
  cursor: pointer;
}
.dx-r[data-st]:hover {
  background: var(--raised);
}
.dx-r[data-st]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.dx-r.sel,
.dx-r.sel:hover {
  background: var(--raised);
  box-shadow: inset 2px 0 0 var(--ink);
} /* the stat the chart shows: as the side list marks its tab */
.dx-r.sub .st {
  padding-left: 16px;
  font-weight: 400;
  color: var(--muted);
}
.dx-r.sub .pt {
  font-weight: 400;
}
.dx-r.tot {
  border-bottom: 0;
  box-shadow: inset 0 1px 0 var(--line-strong);
}
.dx-r.tot.act {
  box-shadow: none;
}
.dx-r.tot.act .st small {
  margin-left: 8px;
  font: 400 var(--t-xs)/1 var(--body);
  color: var(--muted);
}
.dx-r.tot .st,
.dx-r.tot .pt {
  font-weight: 700;
}
.dx-r.tot .st {
  grid-column: 1 / -2;
}
.dx-r.tot > :is(.bk, .ex, .sc) {
  display: none;
} /* the total's label runs across the empty columns */
.dx-led.dst .dx-r {
  grid-template-columns: minmax(96px, 1fr) 84px 72px 64px;
}
.dx-led.dst .dx-r .st {
  white-space: normal;
}
.dx-r.pa.on {
  background: var(--raised);
  box-shadow: inset 2px 0 0 var(--ink);
} /* the tiers: one part, tinted together */
.dx-led.dst .dx-r > :nth-child(n + 2) {
  text-align: right;
}
.dx-tip {
  position: fixed;
  z-index: 60;
  max-width: min(360px, calc(100vw - 16px));
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--panel-shadow);
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.dx-tip .th {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink);
}
.dx-tip .th b {
  font-weight: 600;
}
.dx-tip .th span {
  font-weight: 700;
}
.dx-tip .tm {
  margin: 2px 0 4px;
}
.dx-tip .bks {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 4px 16px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.dx-tip .bk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  white-space: nowrap;
}
.dx-tip .bk b {
  font-weight: 600;
}
.dx-tip .bk img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
}
.dx-tip .bk b {
  font-weight: 400;
  color: var(--muted);
}
.dx-tip .bk b.used {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dx-tip .bkh {
  font-size: 10px;
  color: var(--muted);
}
.dx-note {
  margin: 0;
  max-width: 72ch;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.dx-note b {
  font-weight: 600;
  color: var(--ink);
}
@container led (max-width: 559px) {
  .dx-led:not(.dst) .dx-r {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'st pt' 'm m';
    row-gap: 2px;
    padding-block: 8px;
  }
  .dx-led:not(.dst) .dx-r > :is(.bk, .ex, .sc) {
    display: none;
  }
  .dx-led:not(.dst) .dx-r > .st {
    grid-area: st;
  }
  .dx-led:not(.dst) .dx-r > .pt {
    grid-area: pt;
  }
  .dx-led:not(.dst) .dx-r > .m {
    display: block;
    grid-area: m;
    font-size: 11px;
    color: var(--muted);
  }
  .dx-led:not(.dst) .dx-r > .m:empty {
    display: none;
  }
  .dx-led.dst .dx-r {
    grid-template-columns: minmax(0, 1fr) 56px 56px 56px;
    column-gap: 8px;
  }
}
@media (max-width: 640px) {
  .dx {
    padding: 12px 12px 16px;
  }
}
.dfs-how {
  margin-top: var(--s4);
  border-top: 1px solid var(--line);
}
.dfs-how summary {
  padding: 12px 0;
  cursor: pointer;
  font: 600 var(--t-xs)/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dfs-how summary:hover {
  color: var(--ink);
}
.dfs-how dl {
  display: grid;
  margin: 0 0 var(--s4);
  max-width: 880px;
}
.dfs-how dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.dfs-how dt {
  font: 600 14.5px/1.4 var(--row);
  color: var(--ink);
}
.dfs-how dd {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 560px) {
  .dfs-how dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
.dfsmiss summary {
  cursor: pointer;
  padding: 6px 0;
  font-size: var(--t-sm);
  color: var(--muted);
}
.dfsmiss summary b {
  color: var(--ink);
  font-weight: 600;
}
.dfsmiss table {
  margin-top: var(--s2);
  color: var(--muted);
}
.dfsmiss td b {
  color: var(--ink);
}
.dfsmiss th:last-child,
.dfsmiss td:last-child {
  text-align: left;
  white-space: normal;
  min-width: 240px;
}

/* the players list's sortable headers (Salary, Proj, Pts/$1K): as the header text, the one in use in ink */
.dr.h button.so {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: right;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.dr.h button.so:hover,
.dr.h button.so.on {
  color: var(--ink);
}

/* ---------- DFS on a phone (Avi 11/1: "do dfs for mobile right"). The rows' desktop grid needs ~490px: on a phone a
   live row (the lineup's, the players') is two lines: its slot / position, face or logo, name, salary and projection,
   then floor to ceiling under the name on the list's axis (Pts/$1K and the chevron left out; the row still opens its
   breakdown). The contest's facts three to a row, their small print under the number; the lineup's totals and the
   title smaller; the position buttons one full-width row; the not-projected table without its 240px column. A finished
   contest's rows keep their own narrow layout (max-width 720px, above) ---------- */
@media (max-width: 640px) {
  #dfsHead {
    margin-bottom: var(--s4);
  }
  .dch-t {
    gap: 6px 10px;
  }
  .dch-t h1 {
    font-size: var(--t-xl);
  }
  .dch-t h1 img {
    width: 22px;
    height: 22px;
  }
  .dch-n {
    font-size: var(--t-sm);
  }
  .dch-f {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: var(--s3);
  }
  .dch-f > div,
  .dch-f > div:first-child {
    padding: 10px 10px 12px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .dch-f > div:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
  .dch-f > div:nth-child(-n + 3) {
    border-top: 0;
  }
  .dch-f dd {
    font-size: 17px;
    white-space: normal;
  }
  .dch-f dd small {
    display: block;
    margin: 4px 0 0;
    font-size: var(--t-xs);
  }
  .dl-h {
    gap: 6px 16px;
  }
  .dl-sum {
    gap: 4px 16px;
  }
  .dl-sum b {
    font-size: var(--t-xl);
  }
  /* a live row, two lines */
  .dr-list:not(.res) .dr,
  .dr-list.big:not(.res) .dr {
    grid-template-columns: 30px 32px minmax(0, 1fr) 48px 44px;
    grid-template-areas: 's f n sal pts' 's f r r r';
    column-gap: 10px;
    row-gap: 6px;
    min-height: 0;
    padding: 10px 12px;
  }
  .dr-list.big:not(.res) .dr {
    grid-template-columns: 30px 40px minmax(0, 1fr) 48px 48px;
  }
  .dr-list:not(.res) .dr > .dr-slot {
    grid-area: s;
  }
  .dr-list:not(.res) .dr > :is(.dr-face, .dr-logo) {
    grid-area: f;
  }
  .dr-list:not(.res) .dr > .dr-nm {
    grid-area: n;
  }
  .dr-list:not(.res) .dr > .dr-sal {
    grid-area: sal;
  }
  .dr-list:not(.res) .dr > .dr-pts {
    grid-area: pts;
  }
  .dr-list:not(.res) .dr > .dr-rng {
    grid-area: r;
    height: 16px;
    padding-inline: 28px;
  }
  .dr-list:not(.res) .dr > :is(.dr-val, .dr-cv) {
    display: none;
  }
  .dr-list.big:not(.res) .dr-face {
    width: 40px;
    height: 40px;
  }
  .dr-list.big:not(.res) .dr-pts {
    font-size: var(--t-lg);
  }
  /* the list's head row: the same areas; its axis labels the second line, over the bars */
  .dr-list:not(.res) .dr.h,
  .dr-list.big:not(.res) .dr.h {
    padding-block: 8px 6px;
  }
  .dr-list:not(.res) .dr.h > :nth-child(1) {
    grid-area: s;
  }
  .dr-list:not(.res) .dr.h > :nth-child(3) {
    grid-area: n;
  }
  .dr-list:not(.res) .dr.h > :nth-child(4) {
    grid-area: sal;
  }
  .dr-list:not(.res) .dr.h > :nth-child(5) {
    grid-area: pts;
  }
  .dr-list:not(.res) .dr.h > :nth-child(6),
  .dr-list:not(.res) .dr.h > :nth-child(8),
  .dr-list:not(.res) .dr.h > :nth-child(2) {
    display: none;
  }
  .dr-list:not(.res) .dr.h > .dr-rng {
    grid-area: r;
    height: 12px;
    padding-inline: 28px;
  }
  /* the position buttons: one full-width row */
  #dfsView .arbhead {
    gap: 10px;
  }
  #dfsPos {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
  }
  #dfsSort:not([hidden]) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
  }
  .dfsmiss table {
    width: 100%;
    font-size: var(--t-xs);
  }
  .dfsmiss th:last-child,
  .dfsmiss td:last-child {
    min-width: 0;
  }
}

/* ---------- a phone's DFS screens (dfs.js renderDfs #dfsPh, Avi 11/1): a Lineup / Players switch; each player a row (his
   slot or position, face or team logo, name and game, the projection over his salary), his breakdown under him on a tap;
   the lineup's totals and lock under its rows, DraftKings a tap away; the players' positions and sort over the list. The
   desktop's head, lists and notes hidden while it shows; a desktop never shows it ---------- */
#dfsPh {
  display: none;
}
@media (max-width: 640px) {
  #dfsPh:not(:empty) {
    display: grid;
    gap: 12px;
  }
  /* the live screens shown: the desktop's head, lists and notes hidden (loading or a finished contest: the picker only, over them) */
  #dfsView:has(> #dfsPh .ph-main) > :not(#dfsPh) {
    display: none;
  }
  .ph-main {
    display: grid;
    gap: 12px;
  }
  /* the contest switcher: the sports as tabs (the league page's row, chrome.css .lgs's look), then that sport's contests as
     chips in a row scrolling sideways, the open one in ink */
  .ph-pick {
    display: grid;
    gap: 10px;
    margin-inline: calc(var(--gutter) * -1);
  }
  .ph-sp {
    display: flex;
    gap: 4px;
    height: 40px;
    padding-inline: calc(var(--gutter) - 12px);
    border-bottom: 1px solid var(--line);
  }
  .ph-sp button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    background: none;
    font: 700 var(--t-lg)/1 var(--display);
    letter-spacing: 0.02em;
    color: var(--muted);
    cursor: pointer;
  }
  .ph-sp button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
  .ph-sp button.on {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--ink);
  }
  .ph-cs {
    display: flex;
    gap: 8px;
    padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ph-cs::-webkit-scrollbar {
    display: none;
  }
  .ph-c {
    flex: none;
    display: grid;
    align-content: center;
    gap: 6px;
    min-width: 132px;
    height: 58px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 100ms ease-out;
  }
  .ph-c:active {
    transform: scale(0.97);
  }
  .ph-c b {
    display: flex;
    align-items: center;
    gap: 5px;
    font: 600 var(--t-md)/1 var(--body);
    color: var(--ink);
    white-space: nowrap;
  }
  .ph-c b img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
  .ph-c b i {
    font-style: normal;
    font-weight: 500;
    color: var(--faint);
  }
  .ph-c small {
    font: 500 var(--t-xs)/1 var(--body);
    color: var(--muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .ph-c small.won {
    color: var(--pos);
  }
  .ph-c.on {
    background: var(--ink);
    border-color: var(--ink);
  }
  .ph-c.on b,
  .ph-c.on b i {
    color: var(--ground);
  }
  .ph-c.on small {
    color: color-mix(in srgb, var(--ground) 70%, var(--ink));
  }
  .ph-tabs,
  .ph-sort {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
  }
  .ph-tabs button {
    padding: 11px 0;
    font-size: var(--t-md);
  }
  .ph-tabs em {
    margin-left: 4px;
    font-style: normal;
    font-weight: 500;
    color: var(--faint);
  }
  .ph-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
  }
  .ph-r {
    --tc: var(--faint);
    display: grid;
    grid-template-columns: 34px 40px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    min-height: 60px;
    padding: 8px 14px 8px 12px;
    border-top: 1px solid var(--line);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .ph-card > .ph-r:first-child {
    border-top: 0;
  }
  .ph-r:active {
    background: var(--raised);
  }
  .ph-r.nx {
    cursor: default;
  }
  .ph-r.nx:active {
    background: none;
  }
  .ph-r.open {
    background: var(--raised);
  }
  /* in the lineup (the players' list): as the desktop's rows, a darker neutral and an ink bar */
  .ph-r.mine {
    background: color-mix(in srgb, var(--ink) 8%, var(--surface));
    box-shadow: inset 3px 0 0 var(--ink);
  }
  .ph-s {
    font: 600 var(--t-xs)/1 var(--body);
    letter-spacing: 0.06em;
    color: var(--muted);
  }
  .ph-s.cpt {
    color: var(--near);
  }
  .ph-f {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    background: var(--sunk);
    outline: 1.5px solid var(--tc);
    outline-offset: 2px;
  }
  .ph-f.logo {
    object-fit: contain;
    padding: 6px;
  }
  .ph-l {
    justify-self: center;
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
  .ph-n {
    display: grid;
    gap: 4px;
    min-width: 0;
  }
  .ph-n b {
    font: 600 15px/1.2 var(--row);
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ph-n small {
    font-size: var(--t-xs);
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ph-n .new {
    color: var(--pos);
  }
  .ph-v {
    display: grid;
    justify-items: end;
    gap: 4px;
  }
  .ph-v b {
    font: 700 18px/1 var(--display);
    color: var(--ink);
  }
  .ph-v small {
    font-size: var(--t-xs);
    color: var(--muted);
    white-space: nowrap;
  }
  .ph-x {
    border-top: 1px solid var(--line);
  }
  .ph-ft {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid var(--line-strong);
    font-size: var(--t-xs);
    color: var(--muted);
  }
  .ph-ft b {
    margin-right: 5px;
    font: 700 18px/1 var(--display);
    color: var(--ink);
  }
  .ph-dk {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--surface);
    font: 600 var(--t-md)/1 var(--body);
    color: var(--ink);
    text-decoration: none;
  }
  .ph-dk:active {
    background: var(--raised);
  }
  .ph-pos {
    display: flex;
    gap: 6px;
  }
  .ph-pos button {
    flex: 1 1 0;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: none;
    font: 500 var(--t-md)/1 var(--body);
    color: var(--muted);
  }
  .ph-pos button.on {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ground);
    font-weight: 600;
  }
  .ph-miss summary {
    padding: 8px 2px 10px;
    cursor: pointer;
    font: 600 var(--t-xs)/1 var(--body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .ph-miss summary em {
    margin-left: 4px;
    font-style: normal;
    color: var(--faint);
  }
}
