/* Top 10 ZIP codes section at the bottom of the page */

.top-ten {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-ten h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.top-ten-note {
  margin: 0.35rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.top-ten-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-item {
  width: 100%;
  display: grid;
  grid-template-columns: 2rem 1fr 5rem 3rem 6.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.top-item:hover {
  border-color: var(--accent);
  transform: translateX(2px);
}

.top-rank {
  font-weight: 800;
  color: var(--muted);
}

.top-city {
  font-weight: 600;
}

.top-zip {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.top-score {
  font-size: 1.1rem;
  font-weight: 800;
  color: #facc15;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.top-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .top-item {
    grid-template-columns: 2rem 1fr 3rem;
  }

  .top-zip,
  .top-tag {
    display: none;
  }
}
