

/* Sticky game-range bar */
#game-index {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

/* anchor style */
#game-index a {
  display: inline-block;
  padding: 6px 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-radius: 18px;
  background: #f5f7fb;
  border: 1px solid #e0e6f0;
}

#game-index a:hover { background: #e9eef9; color: #000; }
#game-index a.active { background: #091C3A; color: #fff; border-color: #091C3A; }

/* small helper for the group headings so anchors land nicely below sticky bar */
.milestone-group {
  scroll-margin-top: 64px; /* adjust if your sticky bar height differs */
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 3rem;
}

