/* player-profile-tools-readable-v1-20261012.css
 *
 * 「我的」页「常用工具」字太小（运营方 20261012：「为什么常用工具里每个按钮的字那么小」）。
 *
 * 现状：主题把这一格定成 5 列（theme-current-profile-v11），手机 390 宽时
 * 每格只有 (390 - 卡片内边距 36 - 间距 32) / 5 ≈ 64px，所以标签被压到 font-size:9px
 * （桌面主题 player-profile-desktop-theme-v2 里更小，8px）。10 个按钮刚好排满 2 行。
 *
 * 改法：手机改 4 列。每格 (390 - 36 - 24) / 4 ≈ 82px，标签能放到 12px。
 * 10 个按钮变成 3 行，卡片自然变高——这张卡没有固定高度（overflow:visible），可以长。
 * 桌面（≥1100）维持 5 列不动，那边宽度够。
 *
 * 为什么要写进 @layer vip-source-lock：主题那几条就在这个 layer 里，
 * 对 !important 来说分层样式压得过未分层的，不进同一个 layer 会被压回去。
 * #root#root 是为了提高选择器权重，压过主题里的同名规则。
 */
@layer vip-source-lock {
  @media (max-width: 1099px) {
    #root#root .profile-tool-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 8px !important;
    }
    #root#root .profile-tool-grid button {
      min-height: 86px !important;
      padding: 10px 4px !important;
    }
    #root#root .profile-tool-grid button span {
      width: 36px !important;
      height: 36px !important;
    }
    #root#root .profile-tool-grid small {
      font-size: 12px !important;
      line-height: 1.25 !important;
      overflow-wrap: break-word !important;
      word-break: keep-all !important;
    }
  }
}
