/* Shared studio and game navigation — mirrors the SALVO page. */
.game-switcher {
  position: relative;
  z-index: 60;
  width: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: rgba(4, 4, 4, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-switcher-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.game-switcher a,
.game-switcher a:last-child {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #88847c;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.game-switcher a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.11);
}

.game-switcher a.active {
  color: #f2c94c;
  background: rgba(212, 160, 23, 0.1);
  border-color: rgba(212, 160, 23, 0.36);
}

.game-switcher a.active::after { display: none; }

@media (max-width: 640px) {
  .game-switcher-inner {
    padding: 7px 8px;
    gap: 4px;
  }

  .game-switcher a,
  .game-switcher a:last-child {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 0 7px;
    font-size: 9px;
    letter-spacing: 0.07em;
  }
}

@media (max-width: 420px) {
  .game-switcher-inner { gap: 3px; }

  .game-switcher a,
  .game-switcher a:last-child {
    padding: 0 3px;
    font-size: 8px;
    letter-spacing: 0.035em;
  }
}
