body { background: #f5f7fa; }
.post-card { border-left: 3px solid #0d6efd; }
.post-card .post-meta { font-size: .85rem; color: #6c757d; }
.category-card { transition: box-shadow .15s; }
.category-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.avatar-sm { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.avatar-lg { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.thread-title a { text-decoration: none; color: #212529; font-weight: 500; }
.thread-title a:hover { color: #0d6efd; }
.badge-pinned { background: #ffc107; color: #000; }
.badge-locked { background: #6c757d; }
.badge-solved { background: #198754; }

.min-w-0 { min-width: 0; }
.thread-title a { word-break: break-word; }
.thread-title .badge { font-size: .7rem; vertical-align: middle; }
.list-group-item .avatar-sm { flex-shrink: 0; }
@media (max-width: 576px) {
  .pagination { flex-wrap: wrap; }
}

.mention { background: #e7f1ff; padding: 1px 5px; border-radius: 4px; text-decoration: none; }
pre code { font-size: .9rem; }

mark {
  background: #fff3a3;
  padding: 0 2px;
  border-radius: 3px;
}

.forum-quote {
  border-left: 3px solid #6c757d;
  background: #f8f9fa;
  padding: .5rem .75rem;
  margin: .5rem 0;
  font-size: .95em;
  color: #495057;
}