main {
  align-items: center;
  border-bottom: 1px solid #d9b46a;
  padding-bottom: 1.5rem;
}

.scores {
  width: 100%;
  max-width: 40rem;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #3a2719;
  border: 1px solid #d9b46a;
}

.scores th,
.scores td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.scores th {
  font-family: "Playfair Display", serif;
  color: #d9b46a;
  border-bottom: 2px solid #d9b46a;
}

.scores tbody tr:nth-child(even) {
  background-color: #2b1d14;
}

.scores tbody tr:hover {
  background-color: #5a3a24;
}

/* Medals for the top three ranks */
.scores tbody tr:nth-child(-n + 3) td {
  font-weight: 600;
}

.scores tbody tr:nth-child(-n + 3) td:first-child::before {
  content: "\25CF";
  margin-right: 0.5rem;
}

.scores tbody tr:nth-child(1) td {
  color: #d9b46a;
}

.scores tbody tr:nth-child(1) td:first-child {
  border-left: 4px solid #d9b46a;
}

.scores tbody tr:nth-child(2) td {
  color: #c9ced6;
}

.scores tbody tr:nth-child(2) td:first-child {
  border-left: 4px solid #c9ced6;
}

.scores tbody tr:nth-child(3) td {
  color: #cd8a4b;
}

.scores tbody tr:nth-child(3) td:first-child {
  border-left: 4px solid #cd8a4b;
}

/* #1 player's row pulses with a gold glow */
.scores tbody tr:nth-child(1) td {
  animation: champion-glow 2.5s ease-in-out infinite;
}

@keyframes champion-glow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(217, 180, 106, 0);
    background-color: rgba(217, 180, 106, 0);
  }
  50% {
    text-shadow: 0 0 8px rgba(217, 180, 106, 0.8);
    background-color: rgba(217, 180, 106, 0.12);
  }
}
