#ranking-modal, #profile-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
#ranking-modal .modal-content, #profile-modal .modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
}
#ranking-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
#ranking-list li:hover {
  background: #f5f5f5;
} 