/* Rail nav: subway stops */
.trk-rail {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 clamp(30px, 7vw, 110px);
  overflow-x: auto;
  scrollbar-width: none;
}

.trk-rail::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(250, 204, 21, 0.32),
    rgba(250, 204, 21, 0.5) 18%,
    rgba(250, 204, 21, 0.28) 50%,
    rgba(250, 204, 21, 0.5) 82%,
    rgba(250, 204, 21, 0.32)
  );
  opacity: 0.7;
  pointer-events: none;
}

.trk-rail::-webkit-scrollbar {
  display: none;
}

.rail-stop[data-route="leaderboard"] {
  --accent: var(--leaderboard);
  --accent-soft: rgba(240, 191, 103, 0.14);
}

.rail-stop[data-route="displayname"] {
  --accent: var(--displayname);
  --accent-soft: rgba(88, 203, 255, 0.14);
}

.rail-stop[data-route="club"] {
  --accent: var(--club);
  --accent-soft: rgba(74, 222, 128, 0.14);
}

/* Route outlet */
.route-outlet {
  min-height: 320px;
}

.route-boot {
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  color: var(--text-muted);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 13px;
  text-align: center;
}
