#choices {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}
#leaderboard,
#matchups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
body {
  padding: 0 1rem;
  font-family: system-ui, sans-serif;
  max-width: 760px;
  margin: 2rem auto;
  text-align: center;
}
.card {
  width: 100%;
  max-width: 300px;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.bottom_info_text {
  color: grey;
  font-style: italic;
  bottom: 1rem;
}

.leaderboard_card_content {
  color: grey;
  font-style: italic;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.leaderboard_card_content.open {
  grid-template-rows: 1fr;
}
.leaderboard_card_content > .inner {
  overflow: hidden;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.leaderboard_card_content > .inner > :first-child {
  margin-top: 20px;
}

.leaderboard_card {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
}

.leaderboard_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.nav_buttons {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
}
.nav_buttons > a {
  display: contents;
}

.bottom_buttons {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
}
.bottom_buttons > a {
  display: contents;
}

#search {
  min-width: 110px;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font: inherit;
  color: initial;
  text-align: center;
  outline: none;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
}
#search::placeholder {
  color: grey;
}
#search:focus {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.link_button {
  min-width: 110px;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  text-align: center;
  color: initial;
  font-style: normal;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
}
.link_button p {
  margin: 0;
}
.link_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
@media (max-width: 600px) {
  .nav_buttons {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto 1.5rem;
  }
  .link_button {
    flex: 1;
    max-width: 160px;
  }
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.leaderboard_card_content img {
  width: 60%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}
