/* 说说组件样式 */
.miniblog-wrapper {
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.miniblog-wrapper .module-title {
  color: #e0e0e0;
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

.miniblog-list {
  max-height: 400px;
  overflow-y: auto;
}

.miniblog-item {
  padding: 15px 0;
  border-bottom: 1px solid #2a2a2a;
}

.miniblog-item:last-child {
  border-bottom: none;
}

.miniblog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: #888;
}

.miniblog-author {
  font-weight: 500;
  color: #b0b0b0;
}

.miniblog-content {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.miniblog-image {
  margin: 10px 0;
}

.miniblog-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.miniblog-footer {
  display: flex;
  align-items: center;
}

.miniblog-footer .like-button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.3s;
  padding: 4px 8px;
  border-radius: 4px;
}

.miniblog-footer .like-button:hover {
  color: #ff4444;
  background-color: rgba(255, 68, 68, 0.1);
}

.miniblog-footer .like-button .fas {
  color: #ff4444;
}

.miniblog-footer .like-button.liked-animation {
  animation: likeEffect 1s ease-in-out;
}

/* 加载状态、空状态和错误状态样式 */
.miniblog-list .loading,
.miniblog-list .empty-message,
.miniblog-list .error-message {
  text-align: center;
  padding: 30px 0;
  color: #888;
}

.miniblog-list .empty-message {
  font-style: italic;
}

.miniblog-list .error-message {
  color: #ff6b6b;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .miniblog-wrapper {
    padding: 15px;
  }
  
  .miniblog-list {
    max-height: 300px;
  }
}