/* =========================================================================
 * opc-user-profile.css · 用户中心页面彻底重构样式
 * 针对 wpcom-member 插件的实际 HTML 结构进行深度覆盖
 * HTML 结构：.wpcom-profile > .wpcom-profile-head > .wpcom-ph-bg + .wpcom-ph-inner
 * ========================================================================= */

/* ================================================================
 * 全局容器重置
 * ================================================================ */
.opc-user-profile-wrap {
  font-family: var(--font-sans);
  color: var(--text);
  padding: 0;
  background: var(--bg);
}

.opc-user-profile-content {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
}

/* ================================================================
 * 核心：完全重构 profile-head 区域（移除背景图，对齐首页 hero 渐变）
 * ================================================================ */

/* 1. 头部容器：蓝紫渐变背景（参考首页 hero 区域） + 顶部蓝色光晕 */
.wpcom-profile-head {
  background: linear-gradient(135deg, rgba(77, 107, 254, 0.08) 0%, rgba(123, 92, 255, 0.04) 100%) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 0 !important;
  margin: 0 0 var(--space-8) 0 !important;
  position: relative !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

/* 顶部蓝色渐变光晕效果（对齐首页 hero .hero-glow） */
.wpcom-profile-head::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 600px !important;
  height: 400px !important;
  background: radial-gradient(ellipse at center, rgba(77, 107, 254, 0.15) 0%, transparent 60%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 2. 背景图区域：完全隐藏 */
.wpcom-profile-head .wpcom-ph-bg {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  background: none !important;
}

.wpcom-profile-head .wpcom-ph-bg img {
  display: none !important;
}

/* 3. 内容区域重新布局（确保在光晕之上） */
.wpcom-profile-head .wpcom-ph-inner {
  position: relative !important;
  padding: var(--space-10) var(--space-6) var(--space-8) !important;
  background: transparent !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  row-gap: 0 !important;
  column-gap: var(--space-3) !important;
  text-align: center !important;
  z-index: 1 !important;
}

.wpcom-profile-head .wpcom-ph-user {
  display: contents !important;
}

.wpcom-profile-head .wpcom-ph-avatar {
  flex: 0 0 auto !important;
}

.wpcom-profile-head .wpcom-ph-name,
.wpcom-profile-head .wpcom-ph-desc,
.wpcom-profile-head .profile-stats {
  flex: 0 0 100% !important;
}

/* 数据统计行（文章/评论/问题/回答/粉丝）重新上色 */
.wpcom-profile-head .profile-stats-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: var(--space-2) var(--space-5) !important;
  margin: 0 0 var(--space-2) 0 !important;
}

.wpcom-profile-head .profile-stats .user-stats-item {
  padding: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}

.wpcom-profile-head .profile-stats .user-stats-item b {
  color: var(--text) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  opacity: 1 !important;
  margin-right: 4px !important;
}

.wpcom-profile-head .profile-stats .user-stats-item span {
  color: var(--muted) !important;
  font-size: 14px !important;
  opacity: 1 !important;
}

/* 关注/私信按钮：对齐 token 化按钮样式 */
.wpcom-profile-head .wpcom-btn.btn-follow,
.wpcom-profile-head .wpcom-btn.btn-message {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  height: 36px !important;
  padding: 0 var(--space-4) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: var(--font-sans) !important;
  border-radius: var(--radius-field) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.wpcom-profile-head .wpcom-btn.btn-follow.btn-primary,
.wpcom-profile-head .wpcom-btn.btn-message {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: var(--shadow-sm) !important;
}

.wpcom-profile-head .wpcom-btn.btn-follow.btn-primary:hover,
.wpcom-profile-head .wpcom-btn.btn-message:hover {
  background: var(--accent-hover) !important;
}

.wpcom-profile-head .wpcom-btn.btn-follow.followed {
  background: var(--bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
}

.wpcom-profile-head .wpcom-btn.btn-follow.followed:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* 5. 头像：圆形居中，对齐首页风格 */
.wpcom-profile-head .wpcom-ph-avatar {
  position: relative !important;
  width: 96px !important;
  height: 96px !important;
  margin: 0 0 var(--space-4) 0 !important;
  border-radius: 50% !important;
  overflow: visible !important;
}

.wpcom-profile-head .wpcom-ph-avatar img,
.wpcom-profile-head .wpcom-ph-avatar .avatar {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  border: 3px solid var(--bg) !important;
  box-shadow: var(--shadow-md) !important;
  object-fit: cover !important;
  display: block !important;
}

/* 编辑头像按钮（修复问题5：相机icon显示） */
.wpcom-profile-head .wpcom-ph-avatar .edit-avatar {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 32px !important;
  height: 32px !important;
  background: var(--accent) !important;
  border: 3px solid var(--bg) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: var(--shadow-sm) !important;
}

.wpcom-profile-head .wpcom-ph-avatar .edit-avatar:hover {
  background: var(--accent-hover) !important;
  transform: scale(1.05) !important;
}

/* 修复问题5：确保 wpcom-icon 容器和内部 svg 都正确显示 */
.wpcom-profile-head .wpcom-ph-avatar .edit-avatar .wpcom-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
}

.wpcom-profile-head .wpcom-ph-avatar .edit-avatar .wpcom-icon svg,
.wpcom-profile-head .wpcom-ph-avatar .edit-avatar svg {
  width: 16px !important;
  height: 16px !important;
  fill: #fff !important;
  display: block !important;
}

/* 6. 用户名 */
.wpcom-profile-head .wpcom-ph-name {
  font-family: var(--font-display) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin: 0 0 var(--space-2) 0 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

/* 7. 用户简介 */
.wpcom-profile-head .wpcom-ph-desc {
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 var(--space-4) 0 !important;
  max-width: 600px !important;
  text-align: center !important;
}

/* 8. 修改封面按钮：完全隐藏（修复问题1） */
.wpcom-profile-head .wpcom-profile-action {
  display: none !important;
}

.wpcom-profile-head .wpcom-profile-setcover {
  display: none !important;
}

/* ================================================================
 * Tab 导航样式重构（与主内容区域对齐）
 * ================================================================ */
.wpcom-profile-nav {
  display: flex !important;
  gap: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  margin: 0 auto var(--space-8) !important;
  padding: 0 var(--space-6) !important;
  max-width: 1200px !important;
  list-style: none !important;
  background: transparent !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

.wpcom-profile-nav li {
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.wpcom-profile-nav li a {
  display: block !important;
  color: var(--muted) !important;
  border-bottom: 2px solid transparent !important;
  padding: var(--space-3) var(--space-5) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.wpcom-profile-nav li a:hover {
  color: var(--text) !important;
  background: var(--surface) !important;
}

.wpcom-profile-nav li.active a,
.wpcom-profile-nav li.current a {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}

/* ================================================================
 * 主内容区域样式
 * ================================================================ */
.wpcom-profile-main {
  padding: 0 var(--space-6) var(--space-10) !important;
  max-width: 1200px !important;
  margin: 20px auto !important;
  box-sizing: border-box !important;
}

/* 标题样式 */
.wpcom-profile-main h1,
.wpcom-profile-main h2,
.wpcom-profile-main h3 {
  color: var(--text) !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  margin-bottom: var(--space-4) !important;
  margin-top: var(--space-6) !important;
}

.wpcom-profile-main h1 {
  font-size: 28px !important;
  line-height: 1.3 !important;
}

.wpcom-profile-main h2 {
  font-size: 22px !important;
  line-height: 1.4 !important;
}

.wpcom-profile-main h3 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

/* 链接样式（修复问题4：正文链接始终蓝色，无需hover） */
.wpcom-profile-main a {
  color: var(--accent) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.wpcom-profile-main a:hover {
  color: var(--accent-hover) !important;
}

/* 按钮样式 */
.wpcom-profile-main .button,
.wpcom-profile-main button,
.wpcom-profile-main input[type="submit"],
.wpcom-profile-main .btn {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-field) !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: var(--font-sans) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: var(--shadow-sm) !important;
}

.wpcom-profile-main .button:hover,
.wpcom-profile-main button:hover,
.wpcom-profile-main input[type="submit"]:hover,
.wpcom-profile-main .btn:hover {
  background: var(--accent-hover) !important;
  box-shadow: var(--shadow-accent) !important;
  transform: translateY(-1px) !important;
}

/* 表单样式 */
.wpcom-profile-main input[type="text"],
.wpcom-profile-main input[type="email"],
.wpcom-profile-main input[type="password"],
.wpcom-profile-main input[type="url"],
.wpcom-profile-main input[type="number"],
.wpcom-profile-main textarea,
.wpcom-profile-main select {
  font-family: var(--font-sans) !important;
  color: var(--text) !important;
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-field) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wpcom-profile-main input[type="text"]:focus,
.wpcom-profile-main input[type="email"]:focus,
.wpcom-profile-main input[type="password"]:focus,
.wpcom-profile-main input[type="url"]:focus,
.wpcom-profile-main input[type="number"]:focus,
.wpcom-profile-main textarea:focus,
.wpcom-profile-main select:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-soft) !important;
}

.wpcom-profile-main label {
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-bottom: var(--space-2) !important;
  display: block !important;
}

/* 卡片样式 */
.wpcom-profile-main .card,
.wpcom-profile-main .panel,
.wpcom-profile-main .box {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-card) !important;
  padding: var(--space-6) !important;
  margin-bottom: var(--space-5) !important;
  box-shadow: var(--shadow-xs) !important;
}

/* 文章列表样式 */
.wpcom-profile-main .post-list,
.wpcom-profile-main .posts-wrapper {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wpcom-profile-main .post-item,
.wpcom-profile-main .post-wrapper {
  padding: var(--space-4) 0 !important;
  border-bottom: 1px solid var(--line) !important;
  transition: background 0.2s ease !important;
}

.wpcom-profile-main .post-item:hover,
.wpcom-profile-main .post-wrapper:hover {
  background: var(--surface) !important;
  border-radius: var(--radius-tag) !important;
  padding-left: var(--space-4) !important;
  padding-right: var(--space-4) !important;
}

.wpcom-profile-main .post-item:last-child,
.wpcom-profile-main .post-wrapper:last-child {
  border-bottom: none !important;
}

/* 通用元素 */
.wpcom-profile-main .meta,
.wpcom-profile-main .description {
  color: var(--muted) !important;
  font-size: 14px !important;
}

/* ================================================================
 * "文章"标签页实际列表结构重新布局（收藏 tab 复用）
 * ================================================================ */

/* 2026-07-20：收藏 tab 完全复用 OPC资讯 tab 样式
 *
 * 收藏 tab HTML 结构：
 * <div class="opc-arc opc-arc--news opc-profile-arc">
 *   <ul class="profile-posts-list profile-favorites-list post-loop post-loop-default clearfix">
 *
 * 根本问题：.clearfix::before 伪元素在 grid 布局中被当作第一个 grid item，
 * 占据第一个单元格，导致第一个真实 <li> 被推到第二个位置，第一个位置显示空白。
 *
 * 解决方案：禁用 clearfix 伪元素，让 grid 布局正常工作。
 */

/* 禁用收藏 tab 的 clearfix 伪元素（它们会干扰 grid 布局） */
.wpcom-profile-main .opc-arc--news .post-loop.post-loop-default.clearfix::before,
.wpcom-profile-main .opc-arc--news .post-loop.post-loop-default.clearfix::after {
  content: none !important;
  display: none !important;
}

/* 强制收藏 tab 使用与 OPC资讯 tab 完全一致的 grid 布局 */
.wpcom-profile-main .opc-arc--news .post-loop.post-loop-default {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 40px !important;
  align-items: start !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 蓝底按钮文字改回白色 */
.wpcom-profile-main .wpcom-btn.btn-primary {
  color: #fff !important;
}

/* ================================================================
 * 修复问题3：评论tab样式混乱
 * ================================================================ */
.wpcom-profile-main .comment-item {
  padding: var(--space-4) !important;
  margin-bottom: var(--space-3) !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-card) !important;
  list-style: none !important;
  transition: all 0.2s ease !important;
}

.wpcom-profile-main .comment-item:hover {
  border-color: var(--accent-soft) !important;
  box-shadow: var(--shadow-xs) !important;
}

/* 评论元信息（时间 + "评论于"标题）：单独一行，小字号灰色 */
.wpcom-profile-main .comment-item .comment-meta {
  display: block !important;
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-bottom: var(--space-2) !important;
  line-height: 1.5 !important;
}

/* 评论元信息中的链接（如文章标题）：蓝色可点击 */
.wpcom-profile-main .comment-item .comment-meta a {
  color: var(--accent) !important;
  font-weight: 500 !important;
}

.wpcom-profile-main .comment-item .comment-meta a:hover {
  color: var(--accent-hover) !important;
}

/* 评论正文：新的一行，正常字号黑色 */
.wpcom-profile-main .comment-item .comment-content {
  color: var(--text) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.wpcom-profile-main .comment-item .comment-content p {
  margin: 0 0 var(--space-2) 0 !important;
}

.wpcom-profile-main .comment-item .comment-content p:last-child {
  margin-bottom: 0 !important;
}

.wpcom-profile-main hr {
  border: none !important;
  border-top: 1px solid var(--line) !important;
  margin: var(--space-6) 0 !important;
}

/* ================================================================
 * 响应式设计
 * ================================================================ */
@media (max-width: 768px) {
  .wpcom-profile-head .wpcom-ph-inner {
    padding: var(--space-6) var(--space-4) var(--space-6) !important;
  }

  .wpcom-profile-head .wpcom-ph-avatar {
    width: 80px !important;
    height: 80px !important;
  }

  .wpcom-profile-head .wpcom-ph-avatar img,
  .wpcom-profile-head .wpcom-ph-avatar .avatar {
    width: 80px !important;
    height: 80px !important;
  }

  .wpcom-profile-head .wpcom-ph-name {
    font-size: 24px !important;
  }

  .wpcom-profile-head .wpcom-ph-desc {
    font-size: 14px !important;
  }

  .wpcom-profile-nav {
    padding: 0 var(--space-4) !important;
  }

  .wpcom-profile-nav li a {
    padding: var(--space-2) var(--space-3) !important;
    font-size: 14px !important;
  }

  .wpcom-profile-main {
    padding: 0 var(--space-4) var(--space-6) !important;
  }

  .wpcom-profile-main h1 {
    font-size: 24px !important;
  }

  .wpcom-profile-main h2 {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .wpcom-profile-head .wpcom-ph-avatar {
    width: 72px !important;
    height: 72px !important;
  }

  .wpcom-profile-head .wpcom-ph-avatar img,
  .wpcom-profile-head .wpcom-ph-avatar .avatar {
    width: 72px !important;
    height: 72px !important;
  }

  .wpcom-profile-head .wpcom-ph-name {
    font-size: 22px !important;
  }
}

/* ================================================================
 * 2026-07-15：个人中心改造 tab 内容样式隔离
 * ================================================================ */

/* 复刻列表页卡片时，外层包 .opc-arc 容器触发 .page-frame + .opc-arc 的
   全页级 max-width/padding，但 .wpcom-profile-main 已有自己的约束，
   导致嵌套双重限制。此处重置嵌套容器，仅保留卡片样式作用域。 */
.wpcom-profile-main .opc-profile-arc {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* ================================================================
 * 2026-07-20：个人中心 posts tab 布局微调
 * ================================================================ */

/* 1. 标题文字与图片严格 top 对齐：移除 item-title 上下边距 */
.wpcom-profile-main .opc-profile-arc .item-title {
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* 2. 标题文字显示黑色（强制覆盖，确保在各主题下生效） */
.wpcom-profile-main .opc-profile-arc .item-title,
.wpcom-profile-main .opc-profile-arc .item-title a {
  color: var(--text) !important;
}

/* 3. 编辑按钮：小尺寸、绝对定位到 item-content 右上角、默认隐藏、hover显示 */
.wpcom-profile-main .opc-profile-arc .item-content.item-edit {
  position: relative;
}

.wpcom-profile-main .opc-profile-arc .item-content .edit-link {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  border-radius: 6px !important;
  opacity: 0 !important;
  transition: opacity .2s ease !important;
  pointer-events: none !important;
}

.wpcom-profile-main .opc-profile-arc .item:hover .edit-link {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 4. 分类标签强制白色（确保在图片上清晰可见） */
.wpcom-profile-main .opc-profile-arc .item-category {
  color: #fff !important;
}

/* 空状态容器（已由插件 .profile-no-content 提供基础样式，此处微调） */
.wpcom-profile-main .profile-no-content {
  text-align: center !important;
  padding: var(--space-10) var(--space-6) !important;
  color: var(--muted) !important;
}

/* 简介区（2026-07-15 改造后可能显示 OPC名录「标题：简介」） */
.wpcom-profile-head .wpcom-ph-desc {
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 var(--space-4) 0 !important;
  max-width: 600px !important;
  text-align: center !important;
}

/* ================================================================
 * 前台编辑入口按钮（.opc-card-edit-btn）
 * 需求 2026-07-11：成功案例/启动SOP/创意种子/AI工具，个人中心本人主页
 * hover item 时右上角显现「编辑」按钮，点击进投稿页编辑模式。
 * 注：区别于原生 .edit-link（那是资讯/会员中心跳 wp-admin 后台编辑，勿混用）。
 * ================================================================ */

/* 行卡（case/sop/idea）：定位到 .item-content 右上角 */
.wpcom-profile-main .opc-profile-arc .item-content {
  position: relative;
}
.wpcom-profile-main .opc-profile-arc .post-loop-default .item-content .opc-card-edit-btn,
.opc-nav-card-wrap .opc-card-edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--muted-2, #6b7280);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  text-decoration: none;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .18s ease, transform .18s ease, color .18s ease, border-color .18s ease;
  pointer-events: none;
}
.wpcom-profile-main .opc-profile-arc .item-content .opc-card-edit-btn svg,
.opc-nav-card-wrap .opc-card-edit-btn svg {
  display: block;
}

/* hover 显现 */
.wpcom-profile-main .opc-profile-arc .item:hover .opc-card-edit-btn,
.wpcom-profile-main .opc-profile-arc .item-content:hover .opc-card-edit-btn,
.opc-nav-card-wrap:hover .opc-card-edit-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* hover 按钮自身：主题强调色高亮 */
.wpcom-profile-main .opc-profile-arc .opc-card-edit-btn:hover,
.opc-nav-card-wrap .opc-card-edit-btn:hover {
  color: var(--accent, #4d6bfe);
  border-color: var(--accent, #4d6bfe);
}

/* AI 工具卡包裹层：作为网格项，为绝对定位提供锚点 */
.opc-nav-card-wrap {
  position: relative;
  display: block;
}

/* 暗色模式 */
body.style-for-dark .wpcom-profile-main .opc-profile-arc .item-content .opc-card-edit-btn,
body.style-for-dark .opc-nav-card-wrap .opc-card-edit-btn {
  color: #c9cbd4;
  background: rgba(30, 31, 36, .92);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
body.style-for-dark .wpcom-profile-main .opc-profile-arc .opc-card-edit-btn:hover,
body.style-for-dark .opc-nav-card-wrap .opc-card-edit-btn:hover {
  color: #fff;
  border-color: var(--accent, #4d6bfe);
}

/* 键盘可达性：聚焦时也显现 */
.wpcom-profile-main .opc-profile-arc .opc-card-edit-btn:focus-visible,
.opc-nav-card-wrap .opc-card-edit-btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  outline: 2px solid var(--accent, #4d6bfe);
  outline-offset: 1px;
}
