/* 1. 充值确认：实底卡片、清楚标题、渠道 / 金额 / 合计 */
body > .van-overlay:has(+ .van-dialog.sf-confirm) { background: rgba(8, 18, 38, .62) !important; backdrop-filter: none !important; }
.van-dialog.sf-confirm {
  background: #fff !important; opacity: 1 !important; backdrop-filter: none !important;
  border-radius: 16px !important; box-shadow: 0 18px 48px rgba(8, 24, 60, .32) !important; overflow: hidden;
}
.van-dialog.sf-confirm .van-dialog__header { padding-top: 22px !important; color: #0f1b33 !important; font-size: 18px !important; font-weight: 800 !important; }
.sf-confirm__rows { margin: 14px 18px 18px; padding: 4px 14px; border-radius: 12px; background: #f3f7fd; }
.sf-confirm__rows p { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 10px 0; color: #4a5872; font-size: 14px; }
.sf-confirm__rows p + p { border-top: 1px solid #e3eaf4; }
.sf-confirm__rows b { color: #0f1b33; font-weight: 700; }
.sf-confirm__rows .sf-confirm__total span { color: #0f1b33; font-weight: 700; }
.sf-confirm__rows .sf-confirm__total strong { color: #1268d6; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.van-dialog.sf-confirm .van-dialog__footer { padding: 0 18px 18px; gap: 10px; border: 0 !important; }
.van-dialog.sf-confirm .van-dialog__footer::after, .van-dialog.sf-confirm .van-dialog__confirm::after, .van-dialog.sf-confirm .van-dialog__cancel::after { display: none !important; }
.van-dialog.sf-confirm .van-dialog__footer .van-button { height: 44px !important; border-radius: 22px !important; font-size: 15px !important; font-weight: 700 !important; border: 0 !important; }
.van-dialog.sf-confirm .van-dialog__cancel { background: #eef2f8 !important; color: #3b4a63 !important; }
.van-dialog.sf-confirm .van-dialog__confirm { background: linear-gradient(135deg, #2f8bff, #1268d6) !important; color: #fff !important; }
:root[data-jg-mode="dark"] .van-dialog.sf-confirm { background: #162236 !important; }
:root[data-jg-mode="dark"] .van-dialog.sf-confirm .van-dialog__header,
:root[data-jg-mode="dark"] .sf-confirm__rows b,
:root[data-jg-mode="dark"] .sf-confirm__rows .sf-confirm__total span { color: #eef3fb !important; }
:root[data-jg-mode="dark"] .sf-confirm__rows { background: #1e2d45; }
:root[data-jg-mode="dark"] .sf-confirm__rows p { color: #a9b6cc; }
:root[data-jg-mode="dark"] .sf-confirm__rows p + p { border-color: #2b3c58; }
:root[data-jg-mode="dark"] .van-dialog.sf-confirm .van-dialog__cancel { background: #24344f !important; color: #d6e0ee !important; }
/* 提交中被禁用的渠道保持原样，只有本来就关闭的渠道标「暂未开放」 */
.sf-busy .jg-channel:disabled { background: #fff !important; border-style: solid !important; }
.sf-busy .jg-channel[aria-pressed=true]:disabled { background: #eef6ff !important; }
.sf-busy .jg-channel:disabled img { filter: none; opacity: 1; }
.sf-busy .jg-channel:disabled span { color: inherit !important; }
.sf-busy .jg-channel:disabled:not([aria-pressed=true])::after { content: none; }
.sf-busy .jg-channel[aria-pressed=true]:disabled::after { content: ''; padding: 0; top: -.10667rem; right: -.10667rem; width: .42667rem; height: .42667rem; border-radius: 50%;
  background: #087ce6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; box-shadow: 0 0 0 2px #fff; }

/* 3b. 三方游戏：顶部「‹ 返回 + logo」栏，游戏画面在栏下方；原悬浮球不再显示 */
.float-ball-page.has-game-header { display: flex; flex-direction: column; background: #fff; }
.float-ball-page.has-game-header > iframe { flex: 1; min-height: 0; height: auto; }
.sf-game-bar {
  position: relative; z-index: 2; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 52px; padding: env(safe-area-inset-top, 0px) 12px 0; box-sizing: content-box;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 .5px 0 rgba(20, 45, 90, .12);
}
.sf-game-bar__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 0 14px 0 8px;
  border: 0; border-radius: 999px; background: rgba(120, 130, 150, .14); color: #2b3446; font-size: 14.5px; font-weight: 600; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background .2s, transform .12s;
}
.sf-game-bar__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-game-bar__refresh { justify-self: end; }
.sf-game-bar__back:active { transform: scale(.95); background: rgba(120, 130, 150, .24); }
.sf-game-bar.is-busy .sf-game-bar__back { opacity: .6; pointer-events: none; }
.sf-brand-mark { display: inline-flex; align-items: center; justify-content: center; height: 30px; }
.sf-brand-mark img { height: 100%; width: auto; max-width: 46vw; object-fit: contain; }
.sf-brand-mark__white { display: none; }
:root[data-jg-mode="dark"] .sf-game-bar { background: rgba(18, 24, 34, .94); box-shadow: 0 .5px 0 rgba(255, 255, 255, .1); }
:root[data-jg-mode="dark"] .sf-game-bar__back { background: rgba(255, 255, 255, .12); color: #e6ecf5; }
:root[data-jg-mode="dark"] .sf-brand-mark__ink { display: none; }
:root[data-jg-mode="dark"] .sf-brand-mark__white { display: block; }
/* Telegram 全屏：页面整体下移到 Telegram 返回 / 菜单按钮下方（body 变成所有固定定位层的定位基准），
   页面在 #app 里滚动；最上面（状态栏 + 按钮行）留白 */
html[data-telegram-fullscreen] { height: 100%; overflow: hidden; }
html[data-telegram-fullscreen] body {
  position: fixed !important; top: var(--sf-tg-top, 0px) !important; left: 0 !important; right: 0 !important; bottom: var(--sf-tg-bottom, 0px) !important;
  height: auto !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; transform: translateZ(0);
}
html[data-telegram-fullscreen] #app { height: 100% !important; min-height: 0 !important; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
html[data-telegram-fullscreen] .hb-detail-pop .main_wrap { padding-top: 0 !important; }
/* 顶部留白：露出 html 背景色。夜间由 display-mode.css 的 :root[data-jg-mode="dark"] 背景（优先级更高）接管 */
html[data-telegram-fullscreen] { background: #f3f6fc; }
/* Telegram 全屏：按钮行中间一直放本站 logo（背景透明，沿用上面的日 / 夜留白色）；首页左上角的 logo 因此不再显示 */
html[data-telegram-fullscreen] .hallPage .jg-hero-brand { visibility: hidden !important; }
html[data-telegram-entry]:not([data-telegram-fullscreen]) .personPage > .head_area:has(> .jg-me-brand) { top: var(--tg-top, 0px); }
html[data-telegram-fullscreen] .personPage:has(> .head_area > .jg-me-brand) { padding-top: 0; }
html[data-telegram-fullscreen] .head_area:has(> .jg-me-brand) { display: none !important; }
/* showModal() 打开的弹窗在浏览器最顶层、按整屏定位，不跟着 body 下移：整页的活动详情放到按钮行下方、底部横条上方，
   遮罩透明露出顶部留白和 logo；居中的小弹窗限制在同一区域内 */
html[data-telegram-fullscreen] dialog.jg-na-dp:modal {
  top: var(--sf-tg-top, 0px) !important; bottom: var(--sf-tg-bottom, 0px) !important; height: auto !important; max-height: none !important;
  margin: 0 auto !important; transform: translateZ(0);
}
html[data-telegram-fullscreen] dialog.jg-na-dp::backdrop { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-telegram-fullscreen] dialog:modal:not(.jg-na-dp) {
  top: var(--sf-tg-top, 0px) !important; bottom: var(--sf-tg-bottom, 0px) !important;
  max-height: calc(100dvh - var(--sf-tg-top, 0px) - var(--sf-tg-bottom, 0px) - 24px) !important;
}
.sf-tg-strip {
  position: fixed; z-index: 2147483000; left: 0; right: 0; top: var(--sf-tg-safe, 0px); height: var(--sf-tg-bar, 0px);
  display: flex; align-items: center; justify-content: center; pointer-events: none; background: transparent;
}
.sf-tg-strip .sf-brand-mark { height: min(28px, calc(var(--sf-tg-bar, 0px) - 14px)); }
/* Telegram 里返回用原生返回键（左上角），游戏页不再画自己的顶栏 */
html[data-telegram-entry] .sf-game-bar__back:not(.sf-game-bar__refresh) { visibility: hidden; }
html[data-telegram-fullscreen] .sf-game-bar { display: none; }

.sf-hidden { display: none !important; }

/* 9. 底栏中间客服：缩小，点按区域与其他按钮一致，不压到两边 */
#app .jn-nav .jn-nav__item--service { overflow: visible; }
#app .jn-nav .jn-nav__center { width: .98667rem; height: .98667rem; border-radius: .26667rem; gap: 0; box-shadow: 0 .05333rem .16rem #167de440, inset 0 .02667rem 0 #ffffff59; }
#app .jn-nav .jn-nav__item--service.is-active .jn-nav__center { box-shadow: 0 .05333rem .16rem #167de440, inset 0 .02667rem 0 #ffffff59; }
#app .jn-nav .jn-nav__center .jn-nav__icon { width: .48rem; height: .48rem; }
#app .jn-nav .jn-nav__center .jn-nav__label { font-size: .24rem; }

/* 11. 客服窗口当前账号 */
.sf-chat-who { padding: 6px 14px; background: #eef4ff; color: #3b5070; font-size: 12px; text-align: center; }
:root[data-jg-mode="dark"] .sf-chat-who { background: #1a2638; color: #a9b6cc; }

/* 主页面滚动内容留出底栏；桌面由侧栏接管。 */
@media (max-width: 639px) {
  .index-container:has(> .bottom-taps) :is(.personcontent, .jg-ac-scroll),
  .jg-wallet-page:has(.jg-wallet-nav) :is(.recharge-v3, .dw-native-withdrawal-slot) {
    scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* 页头工具：与首页右上角同款的暗色切换 + 喇叭 */
.sf-head-tools { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.sf-head-tools .jg-mode-slot { display: contents; }
.sf-head-tools .jg-mode-toggle, .sf-head-tools .jg-notice-btn {
  position: relative; display: inline-grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(rgba(255, 255, 255, .92), rgba(246, 249, 255, .85));
  box-shadow: 0 0 0 1px rgba(15, 35, 80, .07), 0 2px 7px -1px rgba(15, 35, 80, .12), inset 0 1px 0 #fff; color: #424653;
}
.sf-head-tools .jg-notice-btn { color: #0b1a38; }
.sf-head-tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sf-head-tools .jg-notice-btn.has-unread::after { content: ''; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #f04438; box-shadow: 0 0 0 1.5px #fff; }
.sf-head-tools .jg-mode-toggle:disabled { opacity: .6; }
:root[data-jg-mode="dark"] .sf-head-tools .jg-mode-toggle, :root[data-jg-mode="dark"] .sf-head-tools .jg-notice-btn {
  background: linear-gradient(180deg, #263652d9, #1a2840cc); box-shadow: 0 0 0 1px #ffffff14, 0 2px 7px -1px #0006; color: #e6edf7;
}
:root[data-jg-mode="dark"] .sf-head-tools .jg-mode-toggle { color: #ffd585; }
:root[data-jg-mode="dark"] .sf-head-tools .jg-notice-btn.has-unread::after { box-shadow: 0 0 0 1.5px #1a2840; }

/* 「我的」页快捷入口：下级管理（玩家管理的人像图标） */
:root .personPage .personcontent .mianMenuList .menu_item[data-sf="sub"] .main_img {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234a9bff'/%3E%3Cstop offset='1' stop-color='%231459cc'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='4' y='4' width='40' height='40' rx='12' fill='url(%23g)'/%3E%3Cg transform='translate(12 12)' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.4'/%3E%3Cpath d='M2.8 19.4c.9-3.6 3.2-5.5 6.2-5.5s5.3 1.9 6.2 5.5'/%3E%3Cpath d='M15.2 4.9a3.4 3.4 0 0 1 0 6.2M17.6 14.3c1.9.7 3 2.4 3.6 5.1'/%3E%3C/g%3E%3C/svg%3E");
}
:root .personPage .personcontent .mianMenuList.jg-mf-new .menu_item[data-sf="sub"] .main_img {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.4'/%3E%3Cpath d='M2.8 19.4c.9-3.6 3.2-5.5 6.2-5.5s5.3 1.9 6.2 5.5'/%3E%3Cpath d='M15.2 4.9a3.4 3.4 0 0 1 0 6.2M17.6 14.3c1.9.7 3 2.4 3.6 5.1'/%3E%3C/svg%3E");
}

/* 邀请好友页的佣金卡片 */
.sf-invite__card {
  margin: 14px; color: var(--jb-ink, #0f1b33);
  border-radius: 20px; padding: 18px 16px 18px; background: linear-gradient(180deg, #d9e8ff 0, #eef4ff 70px, #fff 150px);
  box-shadow: 0 1px 0 #fff inset, 0 8px 24px -14px rgba(20, 60, 140, .35);
}
.sf-invite__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sf-invite__top h2 { margin: 0; font-size: 18px; font-weight: 800; }
.sf-invite__top p { margin: 6px 0 0; color: #5d6b85; font-size: 13px; }
.sf-invite__amount { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; padding: 16px; border-radius: 14px; background: #f1f5fb; }
.sf-invite__amount strong { color: #1268d6; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-invite__auto { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: linear-gradient(135deg, #8fb8f5, #6f9fe8); color: #fff; font-size: 13px; font-weight: 700; }
.sf-invite__kv p { display: flex; justify-content: space-between; margin: 0; padding: 9px 2px; color: #4a5872; font-size: 14px; }
.sf-invite__kv b { color: #0f1b33; font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-invite__card hr { margin: 12px 0; border: 0; border-top: 1px solid #e7edf5; }
.sf-invite__section { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 12px; }
.sf-invite__section h3 { margin: 0; font-size: 15px; font-weight: 800; }
.sf-invite__link { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: #4a5872; font-size: 13px; cursor: pointer; }
.sf-invite__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sf-invite__tiles div { display: grid; gap: 6px; justify-items: center; padding: 14px 4px; border-radius: 12px; background: #f1f5fb; }
.sf-invite__tiles span { color: #5d6b85; font-size: 12px; }
.sf-invite__tiles strong { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-invite__url { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; border: 1px solid #e3eaf4; border-radius: 12px; background: #f6f9fd; }
.sf-invite__url span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #24324d; }
.sf-invite__copy { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #e3eeff; color: #1268d6; cursor: pointer; }
.sf-invite__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sf-invite__btn { height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 22px; font-size: 15px; font-weight: 700; cursor: pointer; }
.sf-invite__btn.is-tg { background: linear-gradient(135deg, #37aee2, #1e96c8); color: #fff; }
.sf-invite__btn.is-web { background: linear-gradient(135deg, #2f8bff, #1268d6); color: #fff; }
.sf-invite button:disabled { opacity: .5; cursor: default; }
:root[data-jg-mode="dark"] .sf-invite__card { background: linear-gradient(180deg, #1d3256 0, #182235 90px, #182235 100%); box-shadow: none; }
:root[data-jg-mode="dark"] .sf-invite__amount, :root[data-jg-mode="dark"] .sf-invite__tiles div, :root[data-jg-mode="dark"] .sf-invite__url { background: #1f2c43; border-color: #2b3c58; }
:root[data-jg-mode="dark"] .sf-invite__top p, :root[data-jg-mode="dark"] .sf-invite__kv p, :root[data-jg-mode="dark"] .sf-invite__tiles span, :root[data-jg-mode="dark"] .sf-invite__link { color: #a9b6cc; }
:root[data-jg-mode="dark"] .sf-invite__kv b, :root[data-jg-mode="dark"] .sf-invite__url span { color: #eef3fb; }
:root[data-jg-mode="dark"] .sf-invite__card hr { border-color: #2b3c58; }
:root[data-jg-mode="dark"] .sf-invite__copy { background: #24406b; color: #9cc4ff; }
:root[data-jg-mode="dark"] .sf-invite__amount strong { color: #6ea8ff; }

/* 信用投注盘顶部「清空下注」：与冷热/遗漏同一套胶囊样式 */
/* 皮肤里 #app .pc28-credit-center .credit-game-top button 带 !important，这里需更高优先级 */
#app .credit-game-top button.sf-clear-bet.sf-clear-bet { display: inline-flex !important; align-items: center !important; gap: .08rem !important; height: .74667rem !important; padding: 0 .37333rem !important; min-width: 2.18667rem !important; justify-content: center !important; flex: none !important; border: 0 !important; border-radius: .36rem !important; background: linear-gradient(180deg, #ff4d4f 0%, #e0202c 100%) !important; color: #fff !important; font-size: .36rem !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: .01333rem !important; cursor: pointer !important; box-shadow: 0 .05333rem .16rem rgba(224, 32, 44, .4), inset 0 1px 0 rgba(255, 255, 255, .28) !important; text-shadow: 0 1px 1px rgba(150, 20, 20, .25) !important; transition: transform .12s ease, box-shadow .12s ease !important; }
#app .credit-game-top button.sf-clear-bet.sf-clear-bet svg { width: .38667rem !important; height: .38667rem !important; fill: none !important; stroke: currentColor !important; stroke-width: 2.2 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
#app .credit-game-top button.sf-clear-bet.sf-clear-bet:active { transform: scale(.95) !important; box-shadow: 0 .02667rem .08rem rgba(224, 32, 44, .3) !important; }
:root[data-jg-mode="dark"] #app .credit-game-top button.sf-clear-bet.sf-clear-bet { background: linear-gradient(180deg, #ff5254 0%, #e0202c 100%) !important; color: #fff !important; box-shadow: 0 .05333rem .18667rem rgba(255, 70, 60, .4), inset 0 1px 0 rgba(255, 255, 255, .2) !important; }
/* 底部金额栏的「清空选号」垃圾桶隐藏，清空统一走顶部按钮（脚本仍会代点它） */
:is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .pc28-credit-amounts .bottom1-del { display: none !important; }
/* 信用投注盘底部金额条和下注按钮 */
html.jg-bet-room :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .pc28-standard-sheet--credit .botconentent { border-radius: .42667rem .42667rem 0 0 !important; box-shadow: 0 -1px 0 rgba(15, 35, 80, .05), 0 -.21333rem .53333rem rgba(15, 35, 80, .08) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .bottom1-select { gap: .05333rem !important; padding: .08rem !important; border-radius: .32rem !important; background: var(--jb-soft, #f2f5fa) !important; box-shadow: inset 0 0 0 1px rgba(15, 35, 80, .04) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .moneyselectItem, #app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .quick-entry { border: 0 !important; border-radius: .24rem !important; background: transparent !important; color: var(--jb-ink-2, #3f4c66) !important; font-weight: 600 !important; font-variant-numeric: tabular-nums; box-shadow: none !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .bottom1-select { box-sizing: border-box !important; align-items: stretch !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .bottom1-select > .moneyselectItem, #app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .bottom1-select > .quick-entry { box-sizing: border-box !important; height: auto !important; min-height: 0 !important; align-self: stretch !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .quick-entry { position: relative; gap: .05333rem; margin-right: .05333rem !important; background: #fff !important; color: var(--jb-ink, #0f1b33) !important; box-shadow: 0 1px 2px rgba(15, 35, 80, .08) !important; font-size: .32rem !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .quick-entry img { width: .32rem !important; height: .32rem !important; opacity: .75; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .moneyselectItem.active { background: linear-gradient(180deg, #1d3566 0%, #0b1a38 100%) !important; color: #ffd98a !important; font-weight: 800 !important; box-shadow: 0 .05333rem .16rem rgba(11, 26, 56, .3), inset 0 1px 0 rgba(255, 255, 255, .12) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .setmoney { border: 1.5px solid rgba(29, 53, 102, .22) !important; border-radius: .29333rem !important; background: #fff !important; color: var(--jb-ink, #0f1b33) !important; font-weight: 800 !important; text-align: center !important; box-shadow: 0 1px 2px rgba(15, 35, 80, .06) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .setmoney:focus { outline: 0 !important; border-color: #2f6fe4 !important; box-shadow: 0 0 0 .08rem rgba(47, 111, 228, .16) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .btoclassline { gap: .21333rem !important; align-items: stretch !important; margin-top: .26667rem !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .jqtouzhubnt:not(.spdzhhao) { flex: none !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-content: center !important; align-items: center !important; justify-content: center !important; gap: 0; width: 1.49333rem !important; height: 1.17333rem !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: .32rem !important; background: var(--jb-soft, #f2f5fa) !important; color: var(--jb-ink-2, #3f4c66) !important; font-size: .26667rem !important; font-weight: 600 !important; line-height: 1.2 !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .jqtouzhubnt:not(.spdzhhao)::before { content: ""; flex: 0 0 100%; height: .42667rem; margin-bottom: .05333rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8'/%3E%3Cpath d='M3 3v5h5M12 7v5l3 2'/%3E%3C/svg%3E") center / auto 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8'/%3E%3Cpath d='M3 3v5h5M12 7v5l3 2'/%3E%3C/svg%3E") center / auto 100% no-repeat; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .jqtouzhubnt:not(.spdzhhao) span { display: inline !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .jqtouzhubnt:not(.spdzhhao) span { white-space: nowrap; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .ljtouzhubtn { height: 1.17333rem !important; margin: 0 !important; border: 0 !important; border-radius: .32rem !important; background: linear-gradient(180deg, #3d86ff 0%, #1459cc 100%) !important; color: #fff !important; font-size: .42667rem !important; font-weight: 800 !important; letter-spacing: .02667rem; box-shadow: 0 .10667rem .26667rem rgba(20, 89, 204, .32), inset 0 1px 0 rgba(255, 255, 255, .25) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .ljtouzhubtn.is-disabled { background: repeating-linear-gradient(135deg, #e9edf4 0 .21333rem, #e3e8f0 .21333rem .42667rem) !important; color: #8b97ad !important; font-size: .37333rem !important; font-weight: 700 !important; letter-spacing: 0; box-shadow: inset 0 0 0 1px rgba(15, 35, 80, .05) !important; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .ljtouzhubtn.is-disabled span:first-child::before { content: ""; display: inline-block; width: .37333rem; height: .37333rem; margin-right: .10667rem; vertical-align: -.05333rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
#app :is(.lotteryaaa--zhuotou, .lotteryaaa--pcv) .botconentent .ljtouzhubtn span:last-child:not(:first-child) { opacity: .9; font-size: .29333rem !important; font-weight: 600 !important; letter-spacing: 0; }

/* 清空下注确认框（页面全局对 p / button 有字号、边距样式，这里统一 !important） */
.sf-ask { position: fixed !important; inset: 0 !important; z-index: 3000 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 24px !important; background: rgba(8, 18, 38, .6) !important; animation: sf-ask-fade .18s ease; }
.sf-ask .sf-ask__box { position: relative; box-sizing: border-box; width: min(312px, 100%) !important; padding: 0 22px 20px !important; border-radius: 20px !important; background: #fff !important; text-align: center !important; box-shadow: 0 24px 60px rgba(8, 18, 38, .32) !important; animation: sf-ask-pop .22s cubic-bezier(.2, .9, .3, 1.2); }
.sf-ask .sf-ask__box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 86px; border-radius: 20px 20px 0 0; background: linear-gradient(180deg, #fff1f0 0%, rgba(255, 241, 240, 0) 100%); pointer-events: none; }
.sf-ask .sf-ask__icon { position: relative; display: flex !important; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 26px auto 14px !important; border-radius: 50%; background: linear-gradient(180deg, #ff4d4f 0%, #e0202c 100%); box-shadow: 0 8px 20px rgba(224, 32, 44, .35), 0 0 0 7px rgba(255, 77, 79, .12); }
.sf-ask .sf-ask__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sf-ask .sf-ask__title { position: relative; margin: 0 0 8px !important; padding: 0 !important; color: #0f1b33 !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1.35 !important; }
.sf-ask .sf-ask__text { position: relative; margin: 0 0 22px !important; padding: 0 !important; color: #67748e !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.6 !important; }
.sf-ask .sf-ask__acts { display: flex !important; gap: 12px !important; }
.sf-ask .sf-ask__acts button { flex: 1 1 0 !important; height: 46px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 23px !important; font-size: 16px !important; font-weight: 700 !important; line-height: 46px !important; cursor: pointer; transition: transform .12s ease; }
.sf-ask .sf-ask__no { background: #f0f3f8 !important; color: #4a5872 !important; }
.sf-ask .sf-ask__yes { background: linear-gradient(180deg, #ff4d4f 0%, #e0202c 100%) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(224, 32, 44, .35) !important; }
.sf-ask .sf-ask__acts button:active { transform: scale(.97); }
@keyframes sf-ask-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sf-ask-pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
:root[data-jg-mode="dark"] .sf-ask .sf-ask__box { background: #1a2538 !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .5) !important; }
:root[data-jg-mode="dark"] .sf-ask .sf-ask__box::before { background: linear-gradient(180deg, rgba(255, 77, 79, .16) 0%, rgba(255, 77, 79, 0) 100%); }
:root[data-jg-mode="dark"] .sf-ask .sf-ask__title { color: #eef3fb !important; }
:root[data-jg-mode="dark"] .sf-ask .sf-ask__text { color: #a9b6cc !important; }
:root[data-jg-mode="dark"] .sf-ask .sf-ask__no { background: #26344d !important; color: #c7d2e4 !important; }
