/* 手机上金额输入框的字号恢复原样（2026-09-24）
 * ----------------------------------------------------------------------
 * 运营方反馈：进游戏页「输入或选择金额」那一栏的数字变小了。
 *
 * 根因：player-ios-input-zoom-fix-v4-render-scale-20260920.css 为了避免 iPhone 点输入框自动放大，
 * 把 ≤760px 下**所有**可输入的 input 钉成 clamp(16px, 16.5px/scale, 26px)。它是 @layer vip-source-lock
 * 里的 !important —— 分层里的 !important 反而压得过主题未分层的 !important，于是原本 34px 的
 * 进游戏金额框被压到 16.5px（电脑端不受影响，仍是 34px）。同样被压小的还有充值/提现 24px、
 * 兑换 20px、借额 22px、利率 22px、贷款 20px、转账密码 20px。
 *
 * 改法：只把这几处「本来就大」的金额输入框恢复主题原字号；其余输入框仍由那条规则统一到 16.5px。
 * 恢复后的字号全部 ≥20px，即使页面缩放到 0.85 也在 16px 以上，iPhone 自动放大的问题不会回来。
 * 必须同样放在 @layer vip-source-lock 里（不然压不过它），并且选择器要比它更精确：
 * 它是 html body :is(input:not(×7))，这里在 input 上补同样的 7 个 :not() 再加类名。
 */
@layer vip-source-lock {
  @media (max-width: 760px) {
    /* 进游戏金额栏：主题 34px */
    html body .game-entry-amount
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([readonly]):not([disabled]) {
      font-size: 34px !important;
    }

    /* 充值 / 提现金额：主题 24px */
    html body :is(.funding-page, .withdraw-form-page, .withdraw-order-form) .funding-input
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([readonly]):not([disabled]) {
      font-size: 24px !important;
    }

    /* 借额 / 利率：主题 22px */
    html body :is(.borrow-credit-modal .input-with-suffix, .rate-box)
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([readonly]):not([disabled]) {
      font-size: 22px !important;
    }

    /* 兑换 / 充值弹窗 / 贷款 / 转账密码：主题 20px */
    html body :is(.exchange-tool-page .funding-input, .deposit-modal .input-with-suffix, .loan-apply-amount-field, .transfer-password-native-field)
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([readonly]):not([disabled]) {
      font-size: 20px !important;
    }
  }
}
