/* 自定义样式，可根据需要扩展 */

/* 论坛瀑布流布局 */
.forum-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.forum-post {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 16px;
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
}
.forum-post:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}
.nickname {
  font-weight: bold;
  margin-right: 10px;
}
.time {
  color: #888;
  font-size: 12px;
}
.post-actions button {
  margin-right: 10px;
  transition: transform 0.2s;
}
.btn-like.liked, .btn-forward.forwarded {
  transform: scale(1.2);
  color: #e67e22;
}

/* 交友卡片样式 */
.user-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.hobby-tag {
  cursor: pointer;
  margin: 2px 4px;
  font-size: 14px;
}

/* 在线状态小圆点 */
.online-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}
.online-dot.online {
  background: #28a745;
}
.online-dot.offline {
  background: #ccc;
}

/* 资源卡片 */
.material-card {
  margin-bottom: 16px;
}
