/* Minimal base styles */
html,
body {
  margin: 0;
  padding: 0;
  background: black;
  color: white;
  height: 100%;
  overflow: hidden;
  font-family: 'Press Start 2P', monospace, sans-serif;
}

#content {
  width: 100%;
  height: 100%;
  position: relative;
}

/* If your project uses a game container, this may be used elsewhere */
#gameContent {
  position: relative;
  width: 100%;
  height: 100%;
  background: black;
  /* black letterboxing */
  display: flex;
  align-items: center;
  /* vertically center */
  justify-content: center;
  /* horizontally center */
}

/* Leaderboard container styling */
#leaderboardContainer {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  /* Enable vertical scrolling for long lists */
  padding: 20px;
  box-sizing: border-box;
}

/* Leaderboard title styling */
#leaderboardTitle {
  font-size: 3em;
  text-align: center;
  margin-bottom: 20px;
}

/* Leaderboard box */
#leaderboard {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

/* Leaderboard list styling */
#leaderboardList {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each leaderboard entry */
#leaderboardList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-bottom: 5px;
  background: #111;
  border-radius: 4px;
  font-size: 2em;
}

/* Rank, name, and score spans */
#leaderboardList li .rank {
  flex: 0 0 50px;
  text-align: left;
}

#leaderboardList li .name {
  flex: 1;
  text-align: left;
  padding-left: 10px;
}

#leaderboardList li .score {
  flex: 0 0 100px;
  text-align: right;
}