/* follow.css —— 关注页 */

/* ====================== 关注页 ====================== */

.follow-tabs {
  display: flex; border-bottom: 1px solid var(--border-light);
  background: var(--bg-card); position: sticky; top: 0; z-index: 10;
}
.follow-tab {
  flex: 1; text-align: center; padding: 12px 0; font-size: 14px;
  color: var(--text-tip); cursor: pointer; transition: color .15s;
  position: relative;
}
.follow-tab.active {
  color: var(--primary); font-weight: 700;
}
.follow-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 25%; right: 25%;
  height: 2px; background: var(--primary); border-radius: 2px;
}

.follow-section { padding: 0 12px 12px; }
.follow-section-title {
  font-size: 12px; color: var(--text-tip); padding: 12px 0 8px;
  letter-spacing: .5px;
}

/* 关注用户列表 */
.follow-user-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.follow-user-item {
  background: var(--bg-card); border-radius: 10px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  cursor: pointer; transition: background .1s;
}
.follow-user-item:active { background: #f5f7fa; }
.follow-user-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: #e1f5fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.follow-user-info { flex: 1; min-width: 0; }
.follow-user-name { font-size: 14px; font-weight: 700; color: var(--text-title); }
.follow-user-bio { font-size: 12px; color: var(--text-body); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-user-meta { font-size: 11px; color: var(--text-tip); margin-top: 2px; }
.follow-btn {
  flex-shrink: 0; padding: 5px 14px; border-radius: 14px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--primary); color: var(--primary);
  transition: all .15s;
}
.follow-btn.following {
  background: var(--bg-page); border-color: var(--border-light);
  color: var(--text-tip);
}

/* 关注动态流 */
.follow-feed { display: flex; flex-direction: column; gap: 10px; }
.follow-feed-card {
  background: var(--bg-card); border-radius: 10px; padding: 12px 14px;
  box-shadow: var(--shadow);
}
.follow-feed-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.follow-feed-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #e1f5fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.follow-feed-name { font-size: 13px; font-weight: 700; color: var(--text-title); }
.follow-feed-time { font-size: 11px; color: var(--text-tip); }
.follow-feed-content { font-size: 13px; color: var(--text-body); line-height: 1.6; margin-bottom: 8px; }
.follow-feed-actions {
  display: flex; gap: 18px; padding-top: 6px;
  border-top: 1px solid var(--border-light);
}
.feed-action-btn {
  font-size: 12px; color: var(--text-tip); display: flex; align-items: center; gap: 4px;
  cursor: pointer; transition: color .15s;
}
.feed-action-btn.liked { color: var(--alert); }

/* 发现关注推荐 */
.suggest-list { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 8px; }
.suggest-list::-webkit-scrollbar { display: none; }
.suggest-card {
  flex-shrink: 0; width: 100px; background: var(--bg-card); border-radius: 12px;
  padding: 14px 10px; text-align: center; box-shadow: var(--shadow);
}
.suggest-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #e1f5fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--accent);
  margin: 0 auto 8px;
}
.suggest-name { font-size: 12px; font-weight: 700; color: var(--text-title); margin-bottom: 4px; }
.suggest-desc { font-size: 11px; color: var(--text-tip); margin-bottom: 8px; line-height: 1.4; }
.suggest-follow-btn {
  font-size: 11px; font-weight: 700; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: 12px;
  padding: 3px 10px; cursor: pointer; transition: all .15s;
  display: inline-block;
}
.suggest-follow-btn.following {
  color: var(--text-tip); border-color: var(--border-light); background: var(--bg-page);
}
