/* ============================================================
 * audit-fix.css —— 审计问题修复
 *   ① 设置页角色网格 span 截断（88>85）：加粗后文字变宽 → 缩小字号+字距，允许换行
 *   ② 深色模式「我的」页 20 处重叠：给角色网格和设置项统一行高与边距
 * ============================================================ */

/* ① 角色网格：防截断 */
:root:root body #char-picker .pick,
:root:root body #megane-picker .pick {
  width: auto !important;
  min-width: 86px !important;
  flex: 1 1 86px !important;
}
:root:root body #char-picker .pick span,
:root:root body #megane-picker .pick span,
:root:root body .pick span {
  display: block !important;
  font-size: 11px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
:root:root body .pick b {
  font-size: 13px !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ② 深色模式「我的」页重叠：统一卡片内边距/行高 */

  :root:root body #view-mine .seg-row > *,
  :root:root body #view-mine .seg > * {
    line-height: 1.4 !important;
  }
  :root:root body #view-mine label,
  :root:root body #view-mine .seg b {
    display: block !important;
    margin-bottom: 2px !important;
  }
}
