/* Current rankings controls: clear hierarchy and full-page position navigation. */
.rankings-experience,
.rankings-experience * {
  box-sizing: border-box;
}

.rankings-experience {
  width: min(100%, 1200px);
  margin: 16px auto 24px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid #cbdcf0;
  border-top: 5px solid #0879d4;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 50%, #f3f8ff 100%);
  color: #172943;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 14px 38px rgba(12, 45, 82, .10);
}

.rankings-experience__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 22px;
}

.rankings-experience__eyebrow {
  margin: 0 0 6px;
  color: #0874c6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.rankings-experience h1 {
  margin: 0;
  color: #102a4f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.rankings-experience__description {
  margin: 9px 0 0;
  color: #52637a;
  font-size: 14px;
  line-height: 1.5;
}

.rankings-experience__status {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  min-width: 155px;
  padding: 11px 15px;
  border: 1px solid #c9dff2;
  border-radius: 12px;
  background: #eef7ff;
  text-align: right;
}

.rankings-experience__status strong {
  color: #075eac;
  font-size: 15px;
}

.rankings-experience__status span {
  color: #51677d;
  font-size: 12px;
}

.rankings-experience__nav-label,
.rankings-experience__field label,
.rankings-experience__field-label {
  display: block;
  margin: 0 0 8px;
  color: #32465e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .065em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rankings-experience__positions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin: 0 0 19px;
  padding: 0 0 9px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #83b8e8 #e5eff9;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.rankings-experience__positions form,
.rankings-experience__choices form {
  flex: 0 0 auto;
  margin: 0;
}

.rankings-experience__positions button,
.rankings-experience__choices button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  margin: 0 !important;
  padding: 11px 16px !important;
  border: 1px solid #c7d9ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #213c5e !important;
  font: 800 14px/1.1 Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}

.rankings-experience__positions button:hover,
.rankings-experience__choices button:hover {
  border-color: #0789e7 !important;
  background: #eaf5ff !important;
}

.rankings-experience__positions button.is-active,
.rankings-experience__choices button.is-active,
.rankings-experience__positions button.is-active:hover,
.rankings-experience__choices button.is-active:hover {
  border-color: #076db9 !important;
  background: #0879d4 !important;
  color: #fff !important;
  box-shadow: 0 5px 13px rgba(8, 121, 212, .22);
}

.rankings-experience__filters {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(210px, 1fr) minmax(135px, .7fr) minmax(230px, 1.1fr);
  align-items: stretch;
  gap: 12px;
}

.rankings-experience__field {
  min-width: 0;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fff;
}

.rankings-experience__field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 9px 34px 9px 11px;
  border: 1px solid #bfd5e9;
  border-radius: 9px;
  background: #fff;
  color: #173352;
  font: 700 15px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.rankings-experience__choices {
  display: flex;
  gap: 6px;
}

.rankings-experience__choices form {
  flex: 1 1 50%;
}

.rankings-experience__choices button {
  width: 100%;
  padding-inline: 9px !important;
}

.rankings-experience__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.rankings-experience__actions a {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  font: 800 14px/1.15 Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

.rankings-experience__custom {
  border: 1px solid #0b5f9f;
  background: #102f5e;
  color: #fff !important;
}

.rankings-experience__custom:hover {
  background: #0b477f;
}

.rankings-experience__print {
  border: 1px solid #c3d9eb;
  background: #fff;
  color: #155888 !important;
}

.rankings-experience__print:hover {
  background: #eaf5ff;
}

.rankings-experience button:focus-visible,
.rankings-experience select:focus-visible,
.rankings-experience a:focus-visible {
  outline: 3px solid #f2aa15 !important;
  outline-offset: 3px;
}

.rankings-experience__context {
  margin: 16px 1px 0;
  color: #5b6c7f;
  font-size: 13px;
}

.rankings-experience__context strong {
  color: #133d69;
}

.rankings-table-intro,
.rankings-table-intro * {
  box-sizing: border-box;
}

.rankings-table-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1200px);
  margin: 0 auto 14px;
  padding: 17px 21px;
  border: 1px solid #d6e4f2;
  border-radius: 13px;
  background: #f7faff;
  color: #19334f;
  font-family: Arial, Helvetica, sans-serif;
}

.rankings-table-intro__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #0874c6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rankings-table-intro strong {
  display: block;
  font-size: 19px;
  line-height: 1.25;
}

.rankings-table-intro p {
  margin: 4px 0 0;
  color: #52647b;
  font-size: 13px;
  line-height: 1.35;
}

.rankings-table-intro__links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.rankings-table-intro__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #b9d4ed;
  border-radius: 8px;
  background: #fff;
  color: #125a96 !important;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
}

.rankings-table-intro__links a:hover {
  background: #e9f5ff;
}

.rankings-table-intro__links a:focus-visible {
  outline: 3px solid #f2aa15;
  outline-offset: 3px;
}

.fantasy-finder > .topic-finder.row.visible > header {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.fantasy-finder .rankings-results {
  margin-top: 0 !important;
  border: 1px solid #d8e4f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 52, 88, .06);
}

.fantasy-finder #results.rankings-results--desktop {
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.fantasy-finder .rankings-results--desktop table {
  width: 100% !important;
}

.rankings-results-top-scroll {
  height: 18px;
  margin: 0 0 5px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 8px;
  background: #e4eef8;
  scrollbar-color: #5d9ed8 #e4eef8;
  scrollbar-width: auto;
}

.rankings-results-top-scroll[hidden] {
  display: none !important;
}

.rankings-results-top-scroll__track {
  height: 1px;
}

#footer-wrapper {
  margin-top: 28px !important;
}

.fantasy-finder .rankings-results table {
  border-collapse: collapse;
}

.fantasy-finder .rankings-results table thead th {
  height: 52px !important;
  padding: 11px 9px !important;
  border: 0 !important;
  border-bottom: 2px solid #216da8 !important;
  background: #14375e !important;
  color: #fff !important;
  font: 800 12px/1.2 Arial, Helvetica, sans-serif !important;
  letter-spacing: .025em;
  text-align: center !important;
  text-transform: uppercase;
  vertical-align: middle !important;
  white-space: nowrap;
}

.fantasy-finder .rankings-results table thead th abbr {
  border-bottom: 0;
  color: inherit;
  text-decoration: none;
}

.fantasy-finder .rankings-results table tbody td {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e8eef5 !important;
  color: #243d57;
  vertical-align: middle !important;
}

.fantasy-finder .rankings-results table tbody tr:nth-child(even) td {
  background: #f5f8fc !important;
}

.fantasy-finder .rankings-results table tbody tr:hover td {
  background: #eaf4ff !important;
}

.fantasy-finder .rankings-results table th.pts,
.fantasy-finder .rankings-results table td.pts {
  width: 98px !important;
  min-width: 98px !important;
  max-width: 98px !important;
  padding-right: 8px !important;
  padding-left: 8px !important;
  text-align: center !important;
  white-space: nowrap;
}

.fantasy-finder .rankings-results table td.pts {
  color: #075d9c;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* The former filter stacks remain in the source for compatibility with legacy scripts. */
.fantasy-finder > .topic-finder.row.visible > header > #filter-btn-desktop,
.fantasy-finder > .topic-finder.row.visible > header > #filter-dekstop,
.fantasy-finder > .topic-finder.compact.visible-responsive > header {
  display: none !important;
}

.fantasy-finder > .topic-finder.row.visible > header {
  height: auto !important;
  min-height: 0 !important;
}

@media (max-width: 900px) {
  .rankings-experience {
    width: min(100%, calc(100vw - 20px));
    margin: 12px auto 18px;
    padding: 18px;
  }

  .rankings-experience__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rankings-experience__actions {
    grid-column: 1 / -1;
  }

  .rankings-table-intro {
    width: min(100%, calc(100vw - 20px));
  }

  .fantasy-finder .rankings-results--mobile .stats-col table {
    width: 100% !important;
    min-width: 600px !important;
  }
}

@media (max-width: 560px) {
  .rankings-experience {
    border-radius: 14px;
    padding: 16px 13px;
  }

  .rankings-experience__head {
    display: block;
    margin-bottom: 17px;
  }

  .rankings-experience__description {
    font-size: 13px;
  }

  .rankings-experience__status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    margin-top: 14px;
    padding: 9px 11px;
    text-align: left;
  }

  .rankings-experience__positions {
    margin-bottom: 14px;
  }

  .rankings-experience__positions button {
    min-height: 50px;
    padding-inline: 17px !important;
  }

  .rankings-experience__filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .rankings-experience__field {
    padding: 10px;
  }

  .rankings-experience__filters > * {
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
  }

  .rankings-experience__scoring,
  .rankings-experience__league {
    grid-column: 1 / -1;
  }

  .rankings-experience__actions a {
    white-space: normal;
  }

  .rankings-table-intro {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 15px;
  }

  .rankings-table-intro__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fantasy-finder .rankings-results table thead th {
    height: 48px !important;
    padding: 9px 7px !important;
    font-size: 11px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rankings-experience__positions button,
  .rankings-experience__choices button {
    transition: none;
  }
}
