/**
 * ASAIGC 试运营模式 CSS
 *
 * 触发：body 上有 .ls-trial-on 时启用
 * 细分：body 上有 .ls-trial-hide-{item} 时隐藏对应入口
 *
 * 受控字段：pay / vip / reward / props / promotion / withdraw
 * 配置：AdminX → 运营 → 试运营模式
 */

/* ============================================================
 * 钱包弹窗（pc/js/wallet.js）
 * ============================================================ */

/* 左侧菜单：充值 / 订单 / 会员 / 提现 */
body.ls-trial-hide-pay      .lsw-mi[data-page="recharge"],
body.ls-trial-hide-pay      .lsw-mi[data-page="orders"],
body.ls-trial-hide-vip      .lsw-mi[data-page="vip"],
body.ls-trial-hide-withdraw .lsw-mi[data-page="withdraw"] { display: none !important; }

/* 概况页：VIP 升级大卡片 */
body.ls-trial-hide-vip .lsw-vip-card { display: none !important; }

/* 我的资产 / 明细 货币按 key 精确隐藏
 *   money = 余额, vip_number = VIP 成长值
 *   extcredits = 声望（不隐藏，保留显示）
 *   credit = 金币, exp = 经验值（保留） */
body.ls-trial-hide-pay .lsw-ov-item[data-coin="money"],
body.ls-trial-hide-pay .lsw-tab[data-rc="money"]              { display: none !important; }

body.ls-trial-hide-vip .lsw-ov-item[data-coin="vip_number"],
body.ls-trial-hide-vip .lsw-tab[data-rc="vip_number"]         { display: none !important; }

/* ============================================================
 * PC 端 Header / 用户菜单
 * ============================================================ */

/* Header 用户菜单"开通会员"整个 VIP 入口 a 标签 */
body.ls-trial-hide-vip .ls-vip-entry { display: none !important; }

/* ============================================================
 * 用户主页 Author（pc/views/pages/Author.html）
 * ============================================================ */

/* 打赏按钮 */
body.ls-trial-hide-reward .js-reward-btn { display: none !important; }

/* 送礼按钮 */
body.ls-trial-hide-props .js-gift-btn { display: none !important; }

/* ============================================================
 * 帖子详情页（pc/views/pages/details/*.html, mb/views/pages/details/*.html）
 * 通过 data-action 精确定位
 * ============================================================ */

/* 打赏 */
body.ls-trial-hide-reward [data-action="reward"] { display: none !important; }

/* 送礼 / 礼物 */
body.ls-trial-hide-props [data-action="gift"] { display: none !important; }

/* 开通 VIP（内容拦截卡片的按钮） */
body.ls-trial-hide-vip [data-action="vip"] { display: none !important; }

/* ============================================================
 * 移动端「我的」页面（mb/views/pages/home/mine.html）
 * 快捷入口通过 data-link 包含特定路径来识别
 * ============================================================ */

/* 充值 / 钱包 */
body.ls-trial-hide-pay .ls-mine-shortcut[data-link*="/wallet"],
body.ls-trial-hide-pay .ls-mine-shortcut[data-link*="/recharge"],
body.ls-trial-hide-pay .ls-mine-shortcut[data-link*="/pay"] { display: none !important; }

/* 会员 / VIP */
body.ls-trial-hide-vip .ls-mine-shortcut[data-link*="/vip"] { display: none !important; }

/* 道具商城 */
body.ls-trial-hide-props .ls-mine-shortcut[data-link*="/props"],
body.ls-trial-hide-props .ls-mine-shortcut[data-link*="props-store"] { display: none !important; }

/* 推广分润 */
body.ls-trial-hide-promotion .ls-mine-shortcut[data-link*="/promotion"] { display: none !important; }

/* 提现 */
body.ls-trial-hide-withdraw .ls-mine-shortcut[data-link*="/withdraw"] { display: none !important; }

/* ============================================================
 * 通用兜底：data-trial-hide 显式标记
 * ============================================================ */

body.ls-trial-hide-pay        [data-trial-hide~="pay"],
body.ls-trial-hide-vip        [data-trial-hide~="vip"],
body.ls-trial-hide-reward     [data-trial-hide~="reward"],
body.ls-trial-hide-props      [data-trial-hide~="props"],
body.ls-trial-hide-promotion  [data-trial-hide~="promotion"],
body.ls-trial-hide-withdraw   [data-trial-hide~="withdraw"] { display: none !important; }
