:root {
  --bg: #f3f4ef;
  --ink: #14282d;
  --green: #c6ef79;
  --line: #dce1d7;
  --muted: #647278;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px system-ui,
    sans-serif;
}
header {
  background: #14282d;
  color: white;
  padding: 28px max(20px, calc((100vw - 1240px) / 2));
}
header small {
  color: var(--green);
  letter-spacing: 3px;
  font-weight: 700;
}
h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  margin: 16px 0;
}
header p {
  color: #b8c8c8;
  max-width: 600px;
  line-height: 1.6;
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #567064;
  border-radius: 20px;
  color: var(--green);
  font-size: 12px;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 24px 18px;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
button,
select {
  font: inherit;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 9px;
  padding: 11px 14px;
  cursor: pointer;
}
button:hover {
  border-color: #769c50;
}
button:focus-visible,
select:focus-visible {
  outline: 3px solid #639e28;
}
button.primary {
  background: var(--ink);
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}
h2 {
  font-size: 22px;
  margin: 0 0 8px;
}
h3 {
  font-size: 14px;
  margin: 24px 0 12px;
  color: var(--muted);
}
.sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.game {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.game small {
  color: var(--muted);
}
.match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: stretch;
  gap: 6px;
  margin-top: 10px;
}
.match > small {
  align-self: center;
  text-align: center;
  justify-self: center;
}
.match button {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
  padding: 12px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  font-weight: 650;
}
.match button.chosen {
  background: #ecf9d9;
  border: 2px solid #6b9d28;
  padding: 11px 8px;
}
.logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.match em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  display: block;
  font-weight: 400;
}
.clear {
  padding: 4px 8px;
  font-size: 12px;
  border: 0;
  margin-top: 6px;
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
td,
th {
  padding: 12px 4px;
  border-bottom: 1px solid #edf0e9;
}
td:last-child,
th:last-child {
  text-align: right;
}
td.team {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar {
  height: 4px;
  background: #edf0e9;
  border-radius: 4px;
  margin-top: 5px;
}
.bar span {
  display: block;
  height: 100%;
  background: #87bb43;
  border-radius: 4px;
}
.status {
  background: #e9eddf;
  border-radius: 10px;
  padding: 12px 15px;
  line-height: 1.5;
  font-size: 13px;
  margin-bottom: 20px;
}
.pair {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #edf0e9;
}
details {
  font-size: 13px;
  line-height: 1.7;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
a {
  color: #336a37;
}
.foot {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.tabs {
  display: flex;
  gap: 6px;
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 8px 0;
  z-index: 2;
}
.tabs button.active {
  background: #14282d;
  color: white;
}
#dataStatus {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .grid {
    display: block;
  }
  .panel {
    padding: 16px;
  }
  .toolbar button {
    font-size: 13px;
  }
  header {
    padding: 25px 20px;
  }
  .match button {
    font-size: 13px;
  }
  td {
    padding: 10px 3px;
  }
  .tabs {
    overflow: auto;
  }
  #tables {
    scroll-margin-top: 60px;
  }
}

.week {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0;
  background: #fff;
  overflow: hidden;
}
.week > summary {
  padding: 16px;
  min-height: 65px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.week > summary::-webkit-details-marker {
  display: none;
}
.week > summary:after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
}
.week[open] > summary:after {
  content: "−";
}
.week-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.week-body {
  padding: 0 12px 12px;
}
.week-body h3 {
  margin-top: 12px;
}
.odds-table td:nth-child(n + 2),
.odds-table th:nth-child(n + 2) {
  text-align: right;
}
.odds-table .team-name {
  font-weight: 650;
}
.odds-table .record {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.odds-table th:nth-child(3) {
  color: #336a37;
}
.odds-table td:nth-child(3) {
  background: #f5faee;
}
.odds-table td.team {
  display: table-cell;
}
.odds-team {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tabs {
  scroll-margin-top: 0;
}
.week-summary:focus-visible {
  outline: 3px solid #639e28;
  outline-offset: -3px;
}
@media (max-width: 760px) {
  .grid:not(.mobile-odds) #tables {
    display: none;
  }
  .grid.mobile-odds #schedule {
    display: none;
  }
  .tabs button {
    flex: 1;
    white-space: nowrap;
  }
  .odds-table {
    font-size: 12px;
  }
  .odds-table th {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .odds-table .logo {
    width: 25px;
    height: 25px;
  }
  .odds-table td {
    padding: 11px 4px;
  }
}

body {
  padding-bottom: 210px;
  scroll-padding-top: 62px;
}
.winout-drawer {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
}
.winout-teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.winout-teams button {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-size: 13px;
  padding: 9px;
  min-height: 54px;
}
.winout-teams button.selected {
  background: #ecf9d9;
  border-color: #6b9d28;
}
.winout-teams button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.winout-teams em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
#floatingOdds {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 24px));
  background: #fff;
  border: 1px solid #bbc8b1;
  box-shadow: 0 8px 40px #14282d30;
  border-radius: 14px;
  z-index: 10;
  padding: 8px 12px 10px;
}
#floatingOdds[hidden] {
  display: none;
}
.floating-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
}
.floating-head small {
  font-size: 10px;
  color: var(--muted);
}
.floating-head button {
  padding: 6px 9px;
  font-size: 11px;
  background: #14282d;
  color: white;
}
.floating-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 5px 0;
}
.floating-row .logo {
  width: 20px;
  height: 20px;
}
.floating-row > span:nth-child(n + 2) {
  text-align: right;
}
.floating-team {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 650;
}
.floating-label {
  padding-bottom: 2px;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.floating-fpi {
  color: #336a37;
}
#floatingTeams.updating {
  opacity: 0.55;
}
#tables,
#schedule {
  scroll-margin-top: 65px;
}
@media (max-width: 760px) {
  #floatingOdds {
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: calc(100% - 16px);
  }
  body {
    padding-bottom: calc(210px + env(safe-area-inset-bottom));
  }
  .floating-row {
    font-size: 11px;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }
  .winout-teams .logo {
    width: 24px;
    height: 24px;
  }
}
.overall-record {
  font-weight: 400;
}
.current-record {
  color: var(--muted);
}
.team-details {
  min-width: 0;
}
.team-details > .record {
  line-height: 1.5;
  margin-top: 3px;
}
.odds-team {
  align-items: flex-start;
}
.floating-team-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.floating-team-details strong {
  font-weight: 650;
}
.floating-record {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}
.floating-team {
  align-items: center;
}
.floating-label > span {
  line-height: 1.3;
}
#reset,
#resetOdds {
  background: #fde9e8;
  border-color: #efb8b5;
  color: #922d28;
}
#reset:hover,
#resetOdds:hover {
  background: #fad8d6;
  border-color: #d78f8a;
}
.pick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pick-actions button {
  padding: 11px 8px;
  font-size: 13px;
}
.bulk-help {
  margin: 9px 0 0;
  font-size: 11px;
}
.game-filters {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f9f3;
  padding: 12px;
  margin: 18px 0;
}
.game-filters legend {
  font-size: 13px;
  font-weight: 650;
  padding: 0 6px;
}
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.filter-grid label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  min-width: 0;
}
.filter-grid select {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
}
#standings {
  display: none;
  scroll-margin-top: 65px;
}
.grid.show-standings {
  display: block;
}
.grid.show-standings #standings {
  display: block;
}
.grid.show-standings #schedule,
.grid.show-standings #tables {
  display: none;
}
.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  text-align: left;
}
.standings-place {
  font-weight: 650;
  white-space: nowrap;
}
.standings-place sup {
  margin-left: 3px;
}
#resetStandings {
  background: #fde9e8;
  border-color: #efb8b5;
  color: #922d28;
}
@media (max-width: 760px) {
  .tabs button {
    font-size: 12px;
    padding: 11px 8px;
  }
}
.conference-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.conference-links a {
  color: #c3d0d0;
  border: 1px solid #567064;
  border-radius: 20px;
  padding: 6px 12px;
  text-decoration: none;
  font-size: 12px;
}
.conference-links a[aria-current] {
  background: #c6ef79;
  color: #14282d;
}
.conference-links a:focus-visible {
  outline: 3px solid #c6ef79;
} /* Conference header */
header {
  --header-bg: #c41230;
  --header-ink: #fff;
  --header-muted: #fff;
  --header-accent: #fff;
  --header-active-ink: #c41230;
  background: var(--header-bg);
  color: var(--header-ink);
}
header p {
  color: var(--header-muted);
}
header small,
header .badge {
  color: var(--header-accent);
}
header .badge {
  border-color: var(--header-accent);
}
header .conference-links a {
  color: var(--header-ink);
  border-color: var(--header-accent);
}
header .conference-links a[aria-current] {
  background: var(--header-accent);
  color: var(--header-active-ink);
}
header .conference-links a:focus-visible {
  outline-color: var(--header-accent);
}
.game-score {
  display: block;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
}
.live-game {
  border-left: 4px solid #c41230;
}
.live-game > small {
  font-weight: 650;
  color: #a20e28;
}
.match button:disabled {
  opacity: 1;
  cursor: default;
}
.testing-banner {
  background: #fff2c6;
  border: 2px solid #9b6200;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  color: #483000;
}
.testing-banner p {
  font-size: 13px;
  line-height: 1.5;
}
.testing-banner nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.testing-banner a {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #9b6200;
  border-radius: 8px;
  color: #483000;
  font-size: 13px;
}
header {
  background: #14282d;
}
body {
  padding-bottom: 155px;
}
.tabs button {
  flex: 1;
}
.view[hidden] {
  display: none;
}
.conf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.table-scroll {
  overflow-x: auto;
}
.match button {
  font-weight: 400;
}
.match strong {
  font-weight: 650;
}
.tie {
  display: block;
  margin: 8px auto 0;
  padding: 7px 25px;
  font-size: 12px;
}
.tie.chosen {
  background: #ecf9d9;
  border-color: #6b9d28;
}
.record {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
#floatingOdds {
  padding: 10px 12px;
}
.floating-conferences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.floating-conferences > div {
  min-width: 0;
}
.floating-conferences p {
  margin: 6px 0;
  font-size: 11px;
}
.floating-conferences strong {
  font-weight: 650;
}
label select {
  max-width: 100%;
}
.clear-picks {
  background: #fde9e8;
  border-color: #efb8b5;
  color: #922d28;
}
.notice {
  background: #fff2c6;
  padding: 12px;
  border-radius: 10px;
}
.seed {
  white-space: nowrap;
}
button:disabled {
  cursor: default;
}
.winner {
  background: #ecf9d9;
  border-color: #6b9d28;
}
.tabs {
  z-index: 3;
}
#winoutTeams {
  max-height: 350px;
  overflow: auto;
}
#summary {
  min-height: 42px;
}
.odds-table strong {
  font-weight: 650;
}
.stat {
  font-variant-numeric: tabular-nums;
}
.week-body .game:first-child {
  margin-top: 0;
}
summary {
  touch-action: manipulation;
}
button {
  touch-action: manipulation;
}
.footer {
  padding: 10px 0 30px;
  line-height: 1.7;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .conf-grid {
    grid-template-columns: 1fr;
  }
  .tabs button {
    padding: 12px 8px;
  }
  .floating-conferences p {
    font-size: 10px;
  }
  body {
    padding-bottom: 170px;
  }
  .odds-table {
    min-width: 330px;
  }
  header h1 {
    font-size: 38px;
  }
}
@media (min-width: 1000px) {
  #games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }
  .week {
    margin: 0;
  }
  .week[open] {
    grid-row: span 2;
  }
}
#standings.view {
  display: block;
}
#standings.view[hidden] {
  display: none;
}
/* Both conferences remain visible while making picks. The dashed rule is the cutoff. */
.cutoff-heading {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  padding: 3px 0 6px;
}
.cutoff-heading > span {
  color: var(--muted);
  font-size: 10px;
}
.cutoff-row {
  display: flex;
  gap: 7px;
  padding: 5px 0;
  align-items: center;
}
.cutoff-row.cutoff-below {
  border-top: 1px dashed #879777;
  margin-top: 3px;
  padding-top: 8px;
}
.cutoff-position {
  font-size: 11px;
  color: var(--muted);
  min-width: 20px;
}
.cutoff-team {
  flex: 1;
  min-width: 0;
}
.cutoff-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
}
.cutoff-candidate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 12px;
  line-height: 1.5;
}
.cutoff-candidate .stat {
  white-space: nowrap;
  font-size: 11px;
}
.cutoff-row:first-of-type .cutoff-candidate {
  color: #336a37;
}
body {
  padding-bottom: 260px;
}
@media (max-width: 760px) {
  body {
    padding-bottom: calc(270px + env(safe-area-inset-bottom));
  }
  .floating-head {
    font-size: 11px;
  }
  .floating-head small {
    font-size: 9px;
  }
  .cutoff-candidate {
    font-size: 11px;
  }
  .floating-conferences {
    gap: 12px;
  }
  #floatingTeams {
    max-height: 35vh;
    overflow: auto;
  }
}
.floating-conferences.selected-team-view {
  display: block;
}
.selected-team-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font-size: 13px;
}
.selected-team-heading .logo {
  width: 25px;
  height: 25px;
}
.selected-team-heading small {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.selected-team-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 2px 0 3px;
}
.selected-team-metrics > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 9px 6px;
  background: var(--odds-bg, #f3f4f2);
  border: 1px solid var(--odds-border, #dce1d7);
  border-radius: 9px;
  text-align: center;
}
.selected-team-metrics span {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}
.selected-team-metrics strong {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
  color: var(--odds-ink, #647278);
}

.selected-team-metrics .odds-red {
  --odds-bg: #fff0ef;
  --odds-border: #efb6b1;
  --odds-ink: #9a2f29;
}
.selected-team-metrics .odds-yellow {
  --odds-bg: #fff8d9;
  --odds-border: #e3cf79;
  --odds-ink: #765600;
}
.selected-team-metrics .odds-blue {
  --odds-bg: #edf5ff;
  --odds-border: #a9c9ec;
  --odds-ink: #245d98;
}
.selected-team-metrics .odds-green {
  --odds-bg: #eff8e5;
  --odds-border: #b2d391;
  --odds-ink: #336a37;
}
.division-odds-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, 0.8fr) minmax(80px, 0.8fr);
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
}
.division-odds-label {
  font-size: 10px;
  color: var(--muted);
}
.division-odds-row > span:nth-child(n + 2) {
  text-align: center;
}
.division-odds-team {
  display: flex;
  gap: 7px;
  align-items: center;
}
.division-odds-team .logo {
  width: 22px;
  height: 22px;
}
.odds-chip {
  background: var(--odds-bg, #f3f4f2);
  border: 1px solid var(--odds-border, #dce1d7);
  color: var(--odds-ink, #647278);
  border-radius: 7px;
  padding: 4px;
  font-variant-numeric: tabular-nums;
}
.division-odds .odds-red {
  --odds-bg: #fff0ef;
  --odds-border: #efb6b1;
  --odds-ink: #9a2f29;
}
.division-odds .odds-yellow {
  --odds-bg: #fff8d9;
  --odds-border: #e3cf79;
  --odds-ink: #765600;
}
.division-odds .odds-blue {
  --odds-bg: #edf5ff;
  --odds-border: #a9c9ec;
  --odds-ink: #245d98;
}
.division-odds .odds-green {
  --odds-bg: #eff8e5;
  --odds-border: #b2d391;
  --odds-ink: #336a37;
}
.probability-controls {
  position: sticky;
  top: var(--tabs-height, 62px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 8px -8px #14282d60;
}
.probability-controls label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.probability-controls select {
  flex: 1;
  min-width: 0;
  max-width: 320px;
}
.floating-team-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.picked-record {
  display: block;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
}
.cutoff-identity {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.cutoff-identity .logo {
  width: 20px;
  height: 20px;
  flex: none;
}
.cutoff-candidate .stat {
  flex: none;
}
.selected-team-heading .picked-record {
  margin: 0;
  font-size: 11px;
}
.division-odds-team .floating-team-text {
  line-height: 1.25;
}
@media (max-width: 400px) {
  .cutoff-position {
    min-width: 17px;
  }
  .cutoff-row {
    gap: 3px;
  }
  .cutoff-identity {
    gap: 3px;
  }
  .cutoff-identity .logo {
    width: 17px;
    height: 17px;
  }
  .cutoff-candidate {
    gap: 3px;
  }
  .cutoff-candidate .stat {
    font-size: 10px;
  }
  .picked-record {
    font-size: 9px;
  }
  .probability-controls {
    gap: 8px;
  }
  .probability-controls select {
    font-size: 13px;
    padding: 10px 8px;
  }
}

.fpi-status {
  display: grid;
  gap: 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: -8px 0 16px;
  overflow-wrap: anywhere;
}

main {
  padding-bottom: calc(var(--watch-height, 300px) + 30px);
}
.day {
  padding: 8px 4px;
}
.day > summary {
  padding: 12px;
  cursor: pointer;
}
.watch-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
}
.watch-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
}
.watch-row .logo {
  width: 21px;
  height: 21px;
}
.boundary {
  border-top: 2px dashed #71826b;
}
.floating-head {
  flex-wrap: wrap;
  gap: 6px;
}
.floating-head label {
  font-size: 11px;
}
.floating-head select {
  padding: 5px;
  font-size: 12px;
  max-width: 180px;
}
#floatingOdds {
  max-height: 65vh;
  overflow: auto;
}
#calc {
  display: block;
  padding: 4px 0;
  color: var(--muted);
}
#floatingTeams > div {
  min-width: 0;
}
#floatingTeams {
  gap: 14px;
}
.selected-team-summary {
  grid-column: 1/-1;
}
.selected-team-summary > strong {
  display: flex;
  align-items: center;
}
.odds-table td {
  white-space: nowrap;
}
td.odds-red,
td.odds-yellow,
td.odds-blue,
td.odds-green {
  text-align: center;
}
.month > summary {
  cursor: pointer;
}
select {
  max-width: 100%;
}
.odds-red {
  --odds-bg: #fff0ef;
  --odds-border: #efb6b1;
  --odds-ink: #9a2f29;
}
.odds-yellow {
  --odds-bg: #fff8d9;
  --odds-border: #e3cf79;
  --odds-ink: #765600;
}
.odds-blue {
  --odds-bg: #edf5ff;
  --odds-border: #a9c9ec;
  --odds-ink: #245d98;
}
.odds-green {
  --odds-bg: #eff8e5;
  --odds-border: #b2d391;
  --odds-ink: #336a37;
}
td[class^="odds-"] {
  background: var(--odds-bg);
  color: var(--odds-ink);
}
body {
  padding-bottom: 0;
}
#games {
  display: block;
}
.month {
  margin: 12px 0;
}
.watch-row {
  font-size: 12px;
}
.watch-row small {
  font-size: 10px;
}
#floatingTeams {
  max-height: none;
}
#floatingTeams {
  max-height: 35vh;
  overflow: auto;
}
.watch-row > span {
  min-width: 0;
}
.watch-row > span:first-child {
  flex-wrap: wrap;
}
.watch-row .odds-chip {
  flex-shrink: 0;
}
/* Both conference columns live inside one native five-row scroll viewport. */
#floatingTeams {
  max-height: none;
  overflow: visible;
}
.conference-scroll {
  height: 160px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 5px 0;
}
.conference-scroll .watch-row {
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 3px 0;
  border-top: 2px solid transparent;
}
.conference-scroll .watch-row.boundary {
  border-top: 2px dashed #71826b;
}
.conference-scroll .watch-row > span:first-child {
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 3px;
}
.conference-scroll .watch-row .logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.conference-scroll .odds-chip {
  padding: 3px;
  font-size: 11px;
}
.conference-scroll:focus-visible {
  outline: 3px solid #639e28;
  outline-offset: 2px;
}
.watch-conference > strong {
  display: block;
  font-size: 11px;
}
.watch-conference > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 420px) {
  .conference-scroll .watch-row {
    font-size: 11px;
  }
  .conference-scroll .watch-row small {
    font-size: 9px;
  }
  .conference-scroll .watch-row .logo {
    width: 16px;
    height: 16px;
  }
}

.conference-scroll::-webkit-scrollbar,
#floatingOdds::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
#floatingOdds {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.watch-headings,
.watch-columns {
  display: grid;
  grid-template-columns: repeat(var(--conference-count, 2), minmax(0, 1fr));
  gap: 14px;
}
.watch-headings,
.conference-scroll,
.watch-note {
  grid-column: 1/-1;
}
.watch-headings {
  font-size: 11px;
}
.watch-note {
  font-size: 10px;
  color: var(--muted);
}
#floatingTeams {
  row-gap: 0;
}

.playoff-odds-table .odds-heading,
.playoff-odds-table .seed-range {
  display: block;
}
.playoff-odds-table th {
  text-transform: none;
  letter-spacing: 0;
  vertical-align: bottom;
}
.playoff-odds-table th:not(:first-child) {
  text-align: center;
  min-width: 88px;
}
.playoff-odds-table .odds-heading {
  font-weight: 650;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.3;
}
.playoff-odds-table .seed-range {
  font-weight: 400;
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
}

.odds-team-abbr {
  display: none;
}
@media (max-width: 600px) {
  #odds > .panel {
    padding: 16px 12px;
  }
  #odds .table-scroll {
    overflow-x: visible;
  }
  .playoff-odds-table {
    table-layout: fixed;
    width: 100%;
    min-width: 0;
  }
  .playoff-odds-table th:first-child,
  .playoff-odds-table td:first-child {
    width: 31%;
  }
  .playoff-odds-table th:not(:first-child) {
    width: 23%;
    min-width: 0;
  }
  .playoff-odds-table th,
  .playoff-odds-table td {
    padding: 10px 2px;
  }
  .playoff-odds-table td {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .playoff-odds-table .odds-heading {
    font-size: 10px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .playoff-odds-table .seed-range {
    font-size: 10px;
  }
  .odds-team-name {
    display: none;
  }
  .odds-team-abbr {
    display: inline;
    font-weight: 650;
    text-decoration: none;
    cursor: default;
  }
}

@media (max-width: 600px) {
  .playoff-odds-table td:first-child {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
