/* 会员二维码中心「转账给会员」弹窗：币种框 v4（2026-09-16）
 *
 * 根因：这个弹窗用 createPortal 挂在 document.body 上，不在 #root 里。
 * picker v1（JS 内联样式）、v2、v3 三份样式都以 `html body #root .app-shell.player-shell` 开头，
 * 在这里一条都不命中；实际生效的是主题里的通用 `.tool-card select{height:44px;border-radius:12px}`
 * 加上原生下拉外观 —— 于是币种框自带圆角边框、44px 高塞进 42px 且 overflow:hidden 的金额栏，
 * 底边被切、看起来像一个独立的框顶出输入框。
 *
 * 同时「首页」悬浮按钮被脚本写了内联 display:flex!important，压过主题里
 * `body:has(.qr-vip-transfer-portal) .player-home-float{display:none!important}`，
 * 手机上恰好盖在币种框上，把 THB 挡成「TH」。内联 !important 用样式表盖不掉，
 * 所以沿用 runtime 在自建大厅里验证过的做法：把它的尺寸、透明度、裁剪全部收成 0（不可见也点不到）。
 *
 * 主题规则在 @layer vip-source-lock 里，分层的 !important 恒压未分层的，所以本文件也进同一个 layer。
 */
@layer vip-source-lock {
  body .qr-vip-transfer-portal.qr-vip-page .qr-transfer-card.tool-card .funding-field .input-with-suffix {
    grid-template-columns: minmax(0, 1fr) 104px !important;
    align-items: stretch !important;
  }
  body .qr-vip-transfer-portal.qr-vip-page .qr-transfer-card.tool-card .funding-field .input-with-suffix > select.member-transfer-currency-picker-v1 {
    box-sizing: border-box !important;
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 30px 0 12px !important;
    border: 0 !important;
    border-left: 1px solid rgba(177, 130, 47, .22) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: rgba(243, 231, 200, .58) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' viewBox='0 0 12 18'%3E%3Cpath d='M2.5 6.5L6 3l3.5 3.5M2.5 11.5L6 15l3.5-3.5' fill='none' stroke='%23193052' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px 18px !important;
    color: #193052 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-align-last: center !important;
  }
  body .qr-vip-transfer-portal.qr-vip-page .qr-transfer-card.tool-card .funding-field .input-with-suffix > select.member-transfer-currency-picker-v1:focus {
    box-shadow: inset 0 0 0 2px rgba(185, 158, 95, .5) !important;
  }
  html body:has(.qr-vip-transfer-portal) .player-home-float {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    -webkit-clip-path: inset(50%) !important;
  }
}
