/* ============================================================
   MiniZone Design System — User Profile (Layer 7)
   Profile Header（自己的主页与他人的个人主页共用）：
   封面渐变融合 / 头像上叠 / 资料头 / 统计 / 操作区
   ============================================================ */

/* 封面：保留圆角；底部 90px soft fade 渐隐入页面背景（::after 线性渐变，非整图降透明度） */
.u-cover-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.u-cover {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--surface);
}
.u-cover-wrap::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-page) 94%);
  pointer-events: none;
}

/* 资料头：有封面时上移 32px 叠压渐隐区，让封面自然融入资料区 */
.u-head { display: flex; align-items: flex-start; gap: 14px; padding: 6px 2px 16px; }
.pf-root.has-cover .u-head { margin-top: -32px; position: relative; z-index: 1; }
.u-head .avatar { width: 72px; height: 72px; border-radius: 24px; font-size: 26px; cursor: default; }
.u-id { flex: 1; min-width: 0; }
.u-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 21px; font-weight: var(--fw-bold); letter-spacing: var(--ls-tight);
}
.u-gender {
  font-size: 10.5px; font-weight: var(--fw-bold); color: var(--text-secondary);
  background: var(--bg-card-soft); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: var(--r-pill); flex: 0 0 auto;
}
.pf-uid { margin-top: 3px; font-size: 11px; font-weight: var(--fw-regular); color: var(--text-tertiary); letter-spacing: .02em; }
.u-meta { margin-top: 4px; font-size: 12px; font-weight: var(--fw-regular); color: var(--text-tertiary); }
.u-bio { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }

/* 统计行（自己 = 关注/粉丝可点；他人 = 仅展示），间距统一由组件类收敛 */
.pf-stats { padding: 16px 0; margin-bottom: 14px; }

/* 操作区：关注 + 私信（他人主页）；自己的主页为其菜单区 */
.u-actions { display: flex; gap: 10px; padding: 0 2px; }
.u-actions .btn { flex: 1; min-height: 42px; padding: 0 16px; font-size: 14px; }
.u-btn-muted {
  background: var(--bg-card-soft); color: var(--text-secondary);
  border: 1px solid var(--border); box-shadow: none;
}

/* 帖子卡里的头像 / 昵称可点进入主页 */
.post-head .avatar, .post-head .author { cursor: pointer; }
.post-head .author:active strong { color: var(--accent-deep); }

/* ============================================================
   认证表单 / 校区选择（原 profile 模块样式迁入主题层，单一来源）
   ============================================================ */
.field-error { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; color: var(--error); }
.field-error svg { flex: 0 0 auto; }
.pw-wrap { position: relative; }
.pw-wrap .pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); }
.campus-option {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 48px; padding: 14px 12px; font-size: 15px;
  border-radius: var(--r-md); margin-bottom: 6px;
  background: var(--bg-card-soft); color: var(--text-primary); text-align: left;
}
.campus-option:active { transform: scale(var(--scale-press)); }
.campus-option.active { color: var(--accent-deep); font-weight: var(--fw-bold); box-shadow: inset 0 0 0 1.5px var(--accent); }
.select-wrap { position: relative; }
.select-wrap select.form-input { appearance: none; -webkit-appearance: none; min-height: 46px; padding-right: 40px; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-tertiary); border-bottom: 2px solid var(--text-tertiary);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* ============================================================
   设置中心（Mos 2.0 重构）：个人主页菜单 / 设置及六个子页 /
   我的帖子 / 编辑资料 / 订阅 / 联系客服 / 在线客服会话
   视觉基线：Liquid Glass 只用于控制层（弹层/悬浮），
   普通设置列表保持实色卡 + 细分割线，干净易读。
   ============================================================ */

/* —— 子页面简洁导航（返回 + 标题） —— */
.sub-head {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0 20px;
}
.sub-head .sub-title, .quota-page-header .page-title { font-size: var(--fs-title-page); line-height: 1.3; font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); margin: 0; }
.sub-head .icon-button { color: var(--text-primary); }
.profile-page .page-title-header.quota-page-header { padding: 4px 0 20px; margin-bottom: 0; gap: 10px; }

/* —— 分组说明 / 弱化脚注 —— */
.st-caption { font-size: 12px; line-height: 1.6; color: var(--text-tertiary); padding: 10px 4px 0; }
.st-caption + .menu-list { margin-top: 10px; }
.st-foot {
  text-align: center; font-size: 11px; color: var(--text-tertiary);
  letter-spacing: .04em; padding: 30px 0 8px;
}
.menu-list + .menu-list { margin-top: 12px; }
.menu-list + .st-caption { margin-top: 10px; }

/* —— 菜单行补充：值文本 / 危险行 —— */
.menu-item .menu-sub { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-item.danger { color: var(--error); }
.menu-item.danger .menu-item-icon { background: rgba(238, 82, 98, .1); color: var(--error); }
.menu-item.danger:active { background: rgba(238, 82, 98, .06); }
.menu-item[disabled] { opacity: .55; cursor: default; }
.menu-item[disabled]:active { background: none; }

/* —— iOS 式开关（通知/设置） —— */
.mz-switch {
  position: relative; display: inline-block;
  width: 46px; height: 44px; flex: 0 0 auto;
}
.mz-switch input { position: absolute; z-index: 1; width: 100%; height: 100%; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mz-switch .mz-track {
  position: absolute; inset: 8px 0; border-radius: var(--r-pill); pointer-events: none;
  background: rgba(24, 32, 48, .16);
  transition: background var(--dur-normal) var(--ease);
}
html[data-theme='dark'] .mz-switch .mz-track { background: rgba(200, 212, 235, .22); }
.mz-switch .mz-thumb {
  position: absolute; top: 10px; left: 2px; pointer-events: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(18, 26, 40, .25);
  transition: transform var(--dur-normal) var(--ease-spring);
}
.mz-switch input:checked ~ .mz-track { background: var(--success); }
.mz-switch input:checked ~ .mz-thumb { transform: translateX(18px); }
.mz-switch input:disabled { cursor: default; }
.mz-switch input:focus-visible ~ .mz-track { outline: 3px solid var(--accent); outline-offset: 3px; }

/* —— 外观：纵向单选列表，整行点击，选中位置与文字层级固定 —— */
.appearance-list { margin-top: var(--sp-5); overflow: hidden; background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.appearance-row {
  position: relative; display: flex; align-items: center; gap: var(--sp-4);
  width: 100%; min-height: 96px; padding: var(--sp-5);
  text-align: left; color: var(--text-primary);
  transition: background var(--dur-fast) var(--ease-out);
}
.appearance-row + .appearance-row::before { content: ''; position: absolute; top: 0; left: 80px; right: var(--sp-5); height: 1px; background: var(--border); pointer-events: none; }
.appearance-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: var(--r-sm); background: var(--bg-card-soft); color: var(--text-secondary); }
.appearance-copy { flex: 1; min-width: 0; }
.appearance-name { display: block; font-size: 16px; font-weight: var(--fw-semibold); line-height: 1.5; }
.appearance-note { display: block; margin-top: var(--sp-1); font-size: 13px; line-height: 1.6; color: var(--text-secondary); overflow-wrap: anywhere; }
.appearance-check { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--text-secondary); }
.appearance-row.selected { background: var(--accent-soft); }
.appearance-row.selected .appearance-icon { background: var(--bg-card); color: var(--accent-deep); }
.appearance-row.selected .appearance-check { border-color: var(--accent); background: var(--accent); color: var(--text-on-accent); }
.appearance-row:active { background: var(--bg-card-soft); }
.appearance-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.appearance-footnote { padding: var(--sp-4) var(--sp-1) 0; max-width: 40ch; }

/* —— 表单补充（编辑资料 / 反馈） —— */
.char-count { text-align: right; font-size: 11px; color: var(--text-tertiary); margin-top: 4px; font-variant-numeric: tabular-nums; }
.avatar-edit {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 16px; text-align: left;
}
.avatar-edit :is(.ae-avatar, .ae-cover) { width: 58px; height: 58px; border-radius: 19px; overflow: hidden; flex: 0 0 auto; }
.avatar-edit .ae-avatar img, .avatar-edit .ae-avatar .avatar { width: 100%; height: 100%; object-fit: cover; }
.avatar-edit .ae-texts { flex: 1; min-width: 0; }
.avatar-edit .ae-title { display: block; font-size: 15px; font-weight: var(--fw-semibold); }
.avatar-edit + .avatar-edit { position: relative; }
.avatar-edit + .avatar-edit::before { content: ''; position: absolute; top: 0; left: 88px; right: 16px; height: 1px; background: var(--border); pointer-events: none; }
.avatar-edit .ae-cover { display: grid; place-items: center; background: var(--bg-card-soft); color: var(--text-secondary); }
.avatar-edit .ae-cover img { width: 100%; height: 100%; object-fit: cover; }
.avatar-edit:disabled { opacity: .55; cursor: default; }
.avatar-edit .ae-change {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; font-weight: var(--fw-semibold); color: var(--accent-deep);
  flex: 0 0 auto;
}
.avatar-edit:active { background: var(--bg-card-soft); }
.readonly-row { font-variant-numeric: tabular-nums; }

/* —— 保存按钮状态 —— */
.save-bar { padding: 22px 2px 8px; }
.save-bar .btn { min-height: 48px; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn-success-state { background: var(--success) !important; }

/* —— 分类选择 chips（联系客服 / 报告错误） —— */
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 14px; }
.st-chip {
  min-height: 44px; padding: 10px 15px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: var(--fw-semibold);
  background: var(--bg-card); color: var(--text-secondary);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.st-chip:active { background: var(--bg-card-soft); }
.st-chip.active { background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* —— 客服方式选择 / 独立反馈表单 —— */
.support-choices { margin-top: var(--sp-5); background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.support-choice { position: relative; display: flex; align-items: center; gap: var(--sp-4); width: 100%; min-height: 108px; padding: var(--sp-5); transition: background var(--dur-fast) var(--ease-out); }
.support-choice + .support-choice::before { content: ''; position: absolute; top: 0; left: 80px; right: var(--sp-5); height: 1px; background: var(--border); pointer-events: none; }
.support-choice-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-deep); }
.support-choice-copy { flex: 1; min-width: 0; }
.support-choice-title { display: block; font-size: 17px; line-height: 1.5; font-weight: var(--fw-semibold); }
.support-choice-note { display: block; margin-top: var(--sp-1); font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.support-choice-arrow { display: grid; place-items: center; flex: 0 0 20px; color: var(--text-secondary); }
.support-choice:active { background: var(--bg-card-soft); }
.support-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.support-feedback-form { margin-top: var(--sp-6); }
.support-category { border: 0; min-width: 0; margin-bottom: var(--sp-3); }
.support-category legend { margin-bottom: var(--sp-3); }
.support-feedback-form .form-textarea { min-height: 180px; }

/* —— 在线客服会话 —— */
/* 客服页：flex 列布局填满视口，消息区独立滚动，输入框固定底部 */
.chat-page {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--page-top) - var(--safe-top) - var(--subpage-pad-b) - var(--safe-bottom) - 68px);
}
.chat-page .chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 10px;
}
.chat-page .chat-status { flex-shrink: 0; }
.chat-page .chat-inputbar {
  flex-shrink: 0;
  padding-top: 12px;
  padding-bottom: 4px;
}
.chat-scroll { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 10px; min-height: 40vh; }
.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-row.me { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 78%; padding: 9px 13px;
  border-radius: 18px;
  font-size: 13.5px; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word;
  background: var(--bg-card); box-shadow: var(--shadow-soft);
  color: var(--text-primary);
}
.chat-row.staff .chat-bubble { border-bottom-left-radius: 6px; }
.chat-row.me .chat-bubble {
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  color: var(--text-on-accent);
  border-bottom-right-radius: 6px;
  box-shadow: 0 6px 16px rgba(35, 104, 245, .18);
}
.chat-avatar {
  width: 30px; height: 30px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep);
}
.chat-inputbar { display: flex; gap: 8px; padding-top: 12px; }
.chat-inputbar .form-input { flex: 1; }
.chat-status { text-align: center; font-size: 11px; color: var(--text-tertiary); padding: 6px 0; }

/* —— 关于页 —— */
.about-hero { display: flex; flex-direction: column; align-items: center; padding: 26px 0 20px; }
.about-hero img { width: 108px; height: 108px; border-radius: 28px; box-shadow: var(--shadow-card); }
.about-name { margin-top: 16px; font-size: 22px; font-weight: var(--fw-black); letter-spacing: var(--ls-tight); }
.about-ver { margin-top: 4px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.about-slogan { margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); }

/* —— 我的帖子页 —— */
.mp-badge {
  font-size: 10px; font-weight: var(--fw-bold);
  padding: 2px 8px; border-radius: var(--r-pill);
  background: rgba(24, 32, 48, .06); color: var(--text-secondary);
  flex: 0 0 auto;
}
html[data-theme='dark'] .mp-badge { background: rgba(200, 212, 235, .12); }
.mp-badge.private { background: rgba(119, 88, 244, .12); color: var(--violet); }
.mp-badge.hidden { background: rgba(238, 82, 98, .1); color: var(--error); }
.mp-actions { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-left: 4px; margin-right: -8px; color: var(--text-secondary); border-radius: var(--r-sm); flex: 0 0 auto; }
.mp-actions:active { background: var(--bg-card-soft); }
.mp-draft-time { font-size: 11px; color: var(--text-tertiary); }

/* —— 订阅页 —— */
.sub-plan-card {
  background: var(--bg-card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
}
.sub-plan-icon {
  width: 46px; height: 46px; border-radius: 15px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--bg-card-soft); color: var(--text-tertiary);
}
.sub-plan-name { font-size: 15.5px; font-weight: var(--fw-bold); color: var(--text-primary); }
.sub-plan-state { font-size: 12px; color: var(--text-tertiary); margin-top: 3px; }

/* 个人中心：资料与统计紧密分组，功能列表使用完整行命中区域。 */
.profile-page .page-title-header { margin-bottom: 24px; }
.profile-page .u-head { gap: 16px; padding: 0 0 16px; }
.profile-page .u-name { flex-wrap: wrap; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.profile-page .pf-uid { font-size: 12px; color: var(--text-secondary); margin-top: 5px; }
.profile-page .u-meta { font-size: 12px; color: var(--text-secondary); line-height: 1.6; overflow-wrap: anywhere; }
.profile-page .u-bio { margin-top: 6px; }
.profile-page .pf-stats { gap: 0; padding: 4px 0 0; margin-bottom: 24px; }
.profile-page .profile-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 64px; border-radius: var(--r-sm); }
.profile-page .profile-stat + .profile-stat { position: relative; }
.profile-page .profile-stat + .profile-stat::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: var(--border); pointer-events: none; }
.profile-page .profile-stat-num { font-size: 21px; line-height: 1.3; }
.profile-page .profile-stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.profile-page button.profile-stat:active { background: var(--bg-card-soft); }
.profile-menu .menu-item { min-height: 62px; padding: 14px 16px; gap: 12px; color: var(--text-primary); border-bottom: 0; position: relative; }
.profile-menu .menu-item + .menu-item::before { content: ''; position: absolute; top: 0; left: 60px; right: 16px; height: 1px; background: var(--border); pointer-events: none; }
.profile-menu .menu-item-icon { width: 32px; height: 32px; background: none; color: var(--text-secondary); }
.profile-menu .menu-item-text { min-width: 0; font-size: 15px; font-weight: var(--fw-semibold); line-height: 1.5; overflow-wrap: anywhere; }
.profile-menu .menu-sub { max-width: 48%; min-width: 0; font-size: 13px; color: var(--text-secondary); }
.profile-menu .menu-item-chevron { display: grid; place-items: center; flex: 0 0 18px; color: var(--text-secondary); }
.profile-menu .menu-item.danger, .profile-menu .menu-item.danger .menu-item-icon { color: var(--error); background: none; }
.profile-menu .menu-item.danger:active { background: var(--bg-card-soft); }
.profile-menu button.menu-item:active, .profile-menu .switch-row:active { background: var(--bg-card-soft); }
.profile-menu :is(button, label):focus-visible, .profile-menu .switch-row:focus-within { outline: 2px solid var(--accent); outline-offset: -3px; }
.profile-menu .switch-row { cursor: pointer; min-height: 68px; }
.profile-menu .switch-row::before { left: 16px; }
.menu-note { display: block; margin-top: 4px; font-size: 12px; font-weight: var(--fw-regular); line-height: 1.6; color: var(--text-secondary); }
.profile-page .btn { min-height: 48px; border-radius: var(--r-md); letter-spacing: normal; }
.profile-page .btn-primary { box-shadow: none; }
.profile-page .btn:active { transform: none; filter: brightness(.94); }
.profile-page .icon-button { flex-shrink: 0; }
.profile-page .icon-button:active { transform: none; background: var(--bg-card-soft); }
.profile-page .pw-toggle { width: 44px; height: 44px; }
.profile-page .pw-toggle:active { transform: translateY(-50%); }
.profile-page .form-input { min-height: 48px; }
.profile-page .form-input::placeholder, .profile-page .form-textarea::placeholder { color: var(--text-secondary); }
.profile-page .m-section-link { min-height: 44px; margin-top: 0; margin-bottom: 0; display: inline-flex; align-items: center; gap: 6px; }
.profile-page .seg { display: flex; width: 100%; }
.profile-page .seg button { flex: 1; min-height: 44px; }
.profile-page .st-caption, .profile-page .st-foot { color: var(--text-secondary); }
.profile-body > .sub-plan-card + .menu-list { margin-top: 20px; }
.profile-user-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; min-height: 68px; text-align: left; }
.profile-user-row + .profile-user-row { border-top: 1px solid var(--border); }
.profile-user-row:active { background: var(--bg-card-soft); }
.profile-page .post-link { display: block; }
.profile-page :is(button, a, label, input) { touch-action: manipulation; }
.profile-page .linked-post { position: relative; }
.profile-page .post-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); }
.profile-page .post-link:focus-visible { outline: none; }
.profile-page .post-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) {
  .support-choice:hover { background: var(--bg-card-soft); }
  .profile-menu button.menu-item:not(:disabled):hover, .profile-menu .switch-row:hover,
  .profile-page button.profile-stat:hover, .profile-user-row:hover, .profile-page .avatar-edit:hover { background: var(--bg-card-soft); }
  .appearance-row:not(.selected):hover, .profile-page .st-chip:not(.active):hover { background: var(--bg-card-soft); }
  .profile-page .btn:not(:disabled):hover { filter: brightness(.96); }
}
@media (max-width: 360px) {
  .support-choice { gap: var(--sp-3); padding: var(--sp-4); }
  .support-choice + .support-choice::before { left: 72px; right: var(--sp-4); }
  .profile-menu .menu-item { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .profile-menu .menu-item + .menu-item::before { left: 52px; right: 12px; }
  .profile-menu .switch-row::before { left: 12px; }
  .profile-page .u-head { gap: 12px; }
  .profile-page .u-name { font-size: 22px; }
  .appearance-row { gap: var(--sp-3); padding: var(--sp-4); }
  .appearance-row + .appearance-row::before { left: 72px; right: var(--sp-4); }
  .avatar-edit { gap: 10px; padding: 14px 12px; }
  .avatar-edit + .avatar-edit::before { left: 80px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-page *, .profile-menu *, .profile-user-row { transition: none; }
}

/* ===== 统一用户列表（components/user-list.js）：我的关注/我的粉丝共用 ===== */
/* 行：头像 + 昵称/Lv.X·校区 + 关注按钮/箭头；整行可点进 TA 主页 */
/* 页面壳负责左右边距，名单与设置分组、帖子卡共用同一条外缘线。 */
.user-list { display: block; margin: 0 0 16px; padding: 0; overflow: hidden; }
.user-list-loading { padding: var(--card-pad); }
.user-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; min-height: 68px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-fast);
}
.user-row + .user-row { border-top: 1px solid var(--border); }
.user-row:hover, .user-row:active { background: var(--bg-card-soft); }
.user-row-main { flex: 1; min-width: 0; }
.user-row-name { font-size: 14.5px; font-weight: var(--fw-semibold); color: var(--text-primary); }
.user-row-meta { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.user-row-chevron { color: var(--text-tertiary); flex: 0 0 auto; }

/* 行内关注按钮（紧凑型）：实底=未关注/回关，弱化=已关注/互相关注 */
.fl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-width: 84px; height: 34px; padding: 0 14px;
  border: 0; border-radius: var(--r-pill);
  background: var(--accent); color: var(--text-on-accent);
  font: inherit; font-size: 12.5px; font-weight: var(--fw-bold);
  cursor: pointer; flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease-spring), opacity var(--dur-fast), background var(--dur-fast);
}
.fl-btn:active { transform: scale(.94); }
.fl-btn:disabled { opacity: .55; }
.fl-btn.muted {
  background: var(--bg-card-soft); color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px var(--border);
}

