.nav-rail {
  display: none;
}

.nav-rail__item {
  width: 40px;
  height: 52px;
  border: 1.5px solid var(--black);
  border-radius: 3px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-rail__item:hover { background: rgba(0, 0, 0, 0.05); }
.nav-rail__item.active {
  background: var(--kalshi-green);
  border-color: var(--kalshi-green);
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    flex-direction: column;
    gap: 10px;
    padding: 10px 6px;
    background: rgba(240, 220, 220, 0.7);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .mobile-nav__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 200ms ease, transform 200ms ease;
  }

  .mobile-nav__dot.active {
    background: var(--kalshi-green);
    transform: scale(1.4);
  }
}
