body {
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: white;
  font-family: Arial, sans-serif;
  padding: 20px;
}

h1 {
  text-align: center;
}

#loading {
  text-align: center;
  margin: 20px;
}

.row {
  display: grid;
  grid-template-columns: 60px 80px 1fr repeat(4, 80px);
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #1e293b;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.tier {
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}

.gold { background: gold; color: black; }
.silver { background: silver; color: black; }
.bronze { background: #cd7f32; color: black; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

.modal-content {
  background: #020617;
  padding: 24px;
  border-radius: 16px;
  width: 320px;
  text-align: center;
}

.avatar-large {
  width: 96px;
  border-radius: 12px;
}

.close {
  position: absolute;
  right: 16px;
  top: 12px;
  cursor: pointer;
}

.tiers {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.tier-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
