/* ---------- Gamification (tiers, leaderboard, badges) ---------- */
.progress-block { margin-top: 20px; }
.progress-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.progress-fill { height: 100%; background: var(--brand); border-radius: 999px; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.badge-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); text-decoration: none; text-align: center; position: relative;
}
.badge-tile-icon { color: var(--brand); }
.badge-tile-name { font-size: 11px; line-height: 1.3; }
.badge-tile-locked { opacity: 0.45; }
.badge-tile-locked .badge-tile-icon { color: var(--text-muted); }
.badge-chip {
  position: absolute; top: 4px; right: 4px; font-size: 10px; font-weight: 700;
  padding: 1px 5px; border-radius: 999px; background: var(--brand); color: var(--on-brand);
}
.rewards-section { margin-top: 10px; }
.rewards-balance {
  display: flex; align-items: baseline; gap: 8px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--brand-tint);
}
.rewards-balance-amount { font-size: 24px; font-weight: 700; color: var(--brand-text); }
.reward-item-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
}
.reward-item-info { flex: 1; min-width: 0; }
