.scoreboard-toolbar {
  position: sticky;
  top: 0;
  z-index: 12;
  color: #fff0cb;
  background: #08172e;
  border-block: 1px solid #455575;
}
.toolbar-inner {
  max-width: 1252px;
  margin: 0 auto;
  padding: .4rem clamp(.75rem, 2.3vw, 1rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 19rem);
  gap: .5rem;
  align-items: center;
}
.section-links { display: flex; gap: .35rem; }
.section-links a {
  padding: .62rem .78rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  color: #faeacb;
  text-decoration: none;
  font: 750 .9rem/1 system-ui, sans-serif;
}
.section-links a[aria-current="location"] {
  background: #ffce4a;
  color: #0c1a2c;
}
.section-links a:hover { border-color: #ffce4a; }
.team-finder { position: relative; min-width: 0; }
.team-finder input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  padding: .42rem .62rem;
  background: #10233e;
  border: 1px solid #7585a1;
  border-radius: .35rem;
  color: #fff0cb;
  font: 500 1rem/1.2 system-ui, sans-serif;
  color-scheme: dark;
}
.section-links a:focus-visible, .team-finder input:focus-visible, .team-finder-results:focus-visible {
  outline: 2px solid #ffce4a;
  outline-offset: 2px;
}
.team-finder-results {
  position: absolute;
  inset: calc(100% + .6rem) 0 auto auto;
  width: min(32rem, calc(100vw - 1.5rem));
  max-height: min(58vh, 28rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: .75rem 1rem;
  border: 1px solid #d8ad63;
  border-radius: .5rem;
  box-shadow: 0 .6rem 1.5rem #020913bd;
  background: #0a1931;
  color: #fff0cb;
  font: 500 .87rem/1.4 system-ui, sans-serif;
}
.team-finder-results section + section { margin-top: .8rem; }
.team-finder-results h3 { margin: 0 0 .3rem; color: #ffce4a; font-size: .87rem; }
.team-finder-results ul { list-style: none; margin: 0; padding: 0; }
.team-finder-results li { padding: .33rem 0; border-top: 1px solid #263c57; }
.team-finder-results li span { display: block; color: #cdd7e7; }
.team-finder-results small { color: #cdd7e7; }
.team-finder-results p { margin: 0; }
#weekly-games, #board-ratings, #board-results { scroll-margin-top: 4rem; }
.scoreboard-toolbar + .shell { padding-top: .7rem; }
#weekly-games .game-day-heading {
  grid-column: 1 / -1;
  margin: .3rem 0 0;
  color: #ffdd78;
  font: 800 .82rem/1.25 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding-bottom: .35rem;
  border-bottom: 1px solid #3c4a65;
}
:is(#weekly-games, #board-results) .game-card { padding: .65rem .75rem; }
:is(#weekly-games, #board-results) .game-card-top { font-size: .72rem; }
:is(#weekly-games, #board-results) .game-matchup { margin: .62rem 0; }
:is(#weekly-games, #board-results) :is(.prediction, .result-final) { padding-top: .45rem; }
#weekly-games .game-classes-label { color: #dee4ef; }
#weekly-games .prediction { min-height: 1.9rem; }
@media (max-width: 650px) {
  .toolbar-inner { grid-template-columns: auto minmax(0, 1fr); gap: .35rem; }
  .section-links { gap: .1rem; }
  .section-links a { padding: .58rem .43rem; font-size: .79rem; }
  .team-finder input { padding-inline: .4rem; }
}
