/* 顶栏用户面板修复（dark 皮肤下的对比度与对齐） */

/* 1. 用户名 / 简介 */
body.gsk-on .header .sub-user-box .user-info b,
body.gsk-on .header .sub-user-box .user-info name,
body.gsk-on .header .sub-user-box .user-info .display-name {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  display: inline-block !important;
  max-width: 100% !important;
}
body.gsk-on .header .sub-user-box .user-info .display-name:hover { color: #ff86b3 !important; }
body.gsk-on .header .sub-user-box .user-info .muted-2-color { color: #a99fbe !important; font-size: 12px !important; }
body.gsk-on .header .sub-user-box .user-info .avatar-img { flex: none; }
body.gsk-on .header .sub-user-box .user-info .user-right { min-width: 0 !important; }
body.gsk-on .header .sub-user-box .user-info .flex1 { min-width: 0 !important; }
body.gsk-on .header .sub-user-box .user-info .text-ellipsis {
  display: block !important; overflow: hidden !important; text-overflow: ellipsis !important;
  white-space: nowrap !important; max-width: 100% !important;
}
body.gsk-on .header .sub-user-box .user-info .avatar { border-radius: 50%; }

/* 2. 积分行：整行卡片 + 左右分布 */
body.gsk-on .header .sub-user-box .muted-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  text-decoration: none !important;
}
body.gsk-on .header .sub-user-box .muted-box > .px12 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #a99fbe !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
body.gsk-on .header .sub-user-box .muted-box > .flex {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin-left: auto !important;
}
body.gsk-on .header .sub-user-box .muted-box .font-bold {
  color: #ffcf66 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
body.gsk-on .header .sub-user-box .muted-box svg.em14 { width: 18px; height: 18px; }

/* 3. 统计小方块（帖子/文章/评论/点赞/粉丝） */
body.gsk-on .header .sub-user-box .author-tag {
  display: flex !important;
  gap: 4px !important;
  justify-content: space-between !important;
  align-items: stretch !important;
}
body.gsk-on .header .sub-user-box .author-tag .but {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 8px !important;
  padding: 4px 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
body.gsk-on .header .sub-user-box .author-tag .but svg.icon {
  width: 13px !important; height: 13px !important; flex: none !important;
}
body.gsk-on .header .sub-user-box .author-tag svg.icon { width: 14px; height: 14px; }

/* 4. 快捷入口文字 */
body.gsk-on .header .sub-user-box .header-user-href a { color: #d9cfe3 !important; font-size: 12px !important; }
body.gsk-on .header .sub-user-box .header-user-href a:hover { color: #fff !important; }

/* 5. 面板宽度稍微加宽，避免文字挤成两行 */
body.gsk-on .header .sub-user-box { width: 262px !important; }
body.gsk-on .header .sub-user-box .padding-10 { padding: 12px !important; }
