/* 赌王 · 蓝白皮肤（参照 9y.com 的 UI 风格：浅蓝灰底、白卡片、蓝色渐变按钮） */
:root {
  --jb-bg: #f4f7ff;
  --jb-card: #ffffff;
  --jb-soft: #f0f6ff;
  --jb-line: #e3ecfb;
  --jb-ink: #0f1a33;
  --jb-ink-2: #3a4866;
  --jb-vice: #6a7897;
  --jb-assist: #8d9fc7;
  --jb-brand: #167de4;
  --jb-brand-2: #17bdff;
  --jb-fill: linear-gradient(90deg, #167de4 0%, #00a6ff 100%);
  --jb-title: linear-gradient(90deg, #17bdff, #167de4 30%, #167de4 70%, #17bdff);
  --jb-shadow: 0 .05333rem .26667rem #2c5fb00f;
}

html, body, #app { background: var(--jb-bg) !important; }
#realapp { background: var(--jb-bg) !important; }

/* ---------- 大厅 ---------- */
.hallPage { background: var(--jb-bg) !important; color: var(--jb-ink) !important; }
.hallPage .head_area { background: var(--jb-bg) !important; }
.hallPage .head_area .right_menu_down { display: none !important; }
.hallPage .head_area .right_menu_notice { margin-right: 0; }
.hallPage .head_area .unreadNum { left: auto; right: 0; }
.hallPage .head_area .head_text { color: var(--jb-ink) !important; }
.hallPage .toppart, .hallPage .allGameContent { background: transparent !important; }
/* 底部导航空间由主滚动区统一预留。 */
.hallPage.jg-hero-hall .hallinner { padding-bottom: 0 !important; }

/* 轮播：圆角 6px，底部带一层淡蓝 */
.hallPage .swiper-container {
  border-radius: .16rem !important; background: var(--jb-card);
  box-shadow: var(--jb-shadow);
}
.hallPage .swiper-container:after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(353deg, #3381ff35 6%, transparent 51%);
}
.hallPage .hall-banner-indicators span { background: #ffffff99 !important; border-radius: .05333rem; }
.hallPage .hall-banner-indicators span.active { background: var(--jb-brand) !important; }
.hallPage .hall-image-frame[data-hall-image-state=loading]:before {
  background: linear-gradient(100deg, #eef4ff 25%, #fff 45%, #eef4ff 65%) 0 0/220% 100% !important;
}
.hallPage .hall-image-frame[data-hall-image-state=loading]:after {
  border-color: #d6e6ff !important; border-top-color: var(--jb-brand) !important;
}

/* 公告条：白底 8px 圆角，无阴影 */
.hallPage .noticecontent {
  height: .8rem !important; border-radius: .21333rem !important;
  background: var(--jb-card) !important; border: 0 !important; box-shadow: none !important;
}
.hallPage .noticecontent .noticect .van-notice-bar,
.hallPage .noticecontent .noticect .van-notice-bar__wrap { background: transparent !important; }
.hallPage .noticecontent .van-notice-bar__content,
.hallPage .noticecontent .van-notice-bar span,
.hallPage .noticecontent .van-notice-bar p { color: var(--jb-ink-2) !important; font-weight: 500 !important; }

/* 登录 / 钱包卡：白底 12px 圆角 */
.hallPage .centerArea {
  background: var(--jb-card) !important; border: 0 !important;
  border-radius: .32rem !important; box-shadow: var(--jb-shadow) !important;
}
.hallPage .centerArea .toptit,
.hallPage .centerArea .logindd1 { color: var(--jb-assist) !important; font-weight: 600 !important; }
.hallPage .centerArea .logindd2 { color: var(--jb-ink) !important; }
.hallPage .centerArea .right_item_span { color: var(--jb-ink-2) !important; font-weight: 600 !important; }
/* 登录、注册改成 9y 的按钮：注册浅蓝底，登录蓝色渐变 */
.hallPage .centerArea .btn_item1, .hallPage .centerArea .btn_item2 {
  position: relative; background-image: none !important; border-radius: .16rem;
  display: flex; align-items: center; justify-content: center; font-size: .34667rem; font-weight: 600;
}
.hallPage .centerArea .btn_item1 { background: var(--jb-fill) !important; color: #fff; order: 2; margin-left: .13333rem; }
.hallPage .centerArea .btn_item2 { background: var(--jb-soft) !important; color: var(--jb-vice); order: 1; margin-left: 0 !important; }
.hallPage .centerArea .btn_item1:after { content: "登录"; }
.hallPage .centerArea .btn_item2:after { content: "注册"; }

/* 9y 账户栏：头像与真实等级、账号余额、三个快捷入口。原入口保留用于点击转发。 */
.hallPage .centerArea.jg-has-account { height: 2.4rem; padding: 0 .32rem; box-sizing: border-box; }
.hallPage .centerArea.jg-account-guest { height: 1.38667rem; }
.jg-account { display: grid; grid-template-columns: 1.28rem minmax(0, 1fr) 3.76rem; align-items: center; gap: .24rem; width: 100%; color: #111; }
.jg-account [hidden] { display: none !important; }
.jg-account--guest { display: flex; justify-content: space-between; }
.jg-account--guest .jg-account__info { display: contents; }
.jg-account button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.jg-account button:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: 3px; border-radius: .08rem; }
.jg-account__profile { display: flex; flex-direction: column; align-items: center; gap: .08rem; }
.jg-account__avatar { display: block; width: 1.04rem; height: 1.04rem; border-radius: 50%; object-fit: cover; }
.jg-account__vip { position: relative; display: block; min-width: 1.04rem; padding: 0 .08rem; box-sizing: border-box; border-radius: .08rem; background: #d8dee6; color: #3f4a59; font: italic 800 .26667rem/1.15 Arial,sans-serif; }
.jg-account__vip:before { content: "V"; position: absolute; left: -.12rem; top: -.09333rem; color: #b8c2cf; font: italic 900 .45333rem/1 Arial,sans-serif; }
.jg-account__info { min-width: 0; display: flex; flex-direction: column; gap: .16rem; font-size: .34667rem; font-weight: 700; }
.jg-account__id { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-account__balance { display: flex; align-items: center; gap: .13333rem; white-space: nowrap; font-family: Arial,sans-serif; }
.jg-account__balance strong { overflow: hidden; text-overflow: ellipsis; }
.hallPage .centerArea.jg-long-balance { min-height: 2.4rem; height: auto; padding-block: .12rem; }
.jg-long-balance .jg-account { grid-template-areas: "profile id actions" "balance balance actions"; row-gap: .12rem; }
.jg-long-balance .jg-account__info { display: contents; }
.jg-long-balance .jg-account__profile { grid-area: profile; }
.jg-long-balance .jg-account__id { grid-area: id; }
.jg-long-balance .jg-account__actions { grid-area: actions; }
.jg-long-balance .jg-account__balance { grid-area: balance; gap: .08rem; }
.jg-long-balance .jg-account__balance strong { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.jg-account__coin { display: inline-flex; flex: none; align-items: center; justify-content: center; width: .32rem; height: .32rem; border-radius: 50%; background: #36c8a1; color: #fff; font: 700 .26667rem/1 Arial,sans-serif; }
.jg-account .jg-account__refresh { display: flex; flex: none; align-items: center; justify-content: center; width: .48rem; height: .48rem; color: #6b8abc !important; }
.jg-account__refresh svg { width: .32rem; height: .32rem; }
.jg-account__auth { display: flex; align-items: center; gap: .32rem; }
.jg-account__auth button { width: 1.46667rem; height: .69333rem; border-radius: .16rem; font-size: .32rem !important; font-weight: 600 !important; }
.jg-account__auth [data-action="register"] { background: var(--jb-soft); color: var(--jb-assist) !important; }
.jg-account__auth [data-action="login"] { background: #0096ff; color: #fff !important; }
.jg-account__guest { color: var(--jb-assist); font-size: .32rem; font-weight: 600; white-space: nowrap; }
.jg-account__actions { display: flex; justify-content: space-between; align-items: center; }
.jg-account .jg-account__action { display: flex; flex-direction: column; align-items: center; gap: .24rem; width: 1.04rem; font-size: .29333rem !important; line-height: 1.2 !important; font-weight: 600 !important; }
.jg-account__icon { display: flex; align-items: center; justify-content: center; width: 1.04rem; height: 1.04rem; border-radius: 50%; background: #edf2ff; }
.jg-account__icon svg { display: block; width: .74667rem; height: .74667rem; }
.jg-account__action--withdraw .jg-account__icon { background: #eaf8f4; }
.jg-account__action--agent .jg-account__icon { background: #fff4e9; }
.jg-account__action:active .jg-account__icon { transform: scale(.94); }

/* 六宫格玩法入口（hall-grid.js），替代原分类条 */
.jg-has-play-grid .hallPage .gameContent-anchor { display: none !important; }
.jg-has-play-grid .hallPage .allGameContent.nav-fixed-gapless { margin-top: 0 !important; }
.jg-play-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .21333rem;
  width: 9.2rem; margin: 0 auto; box-sizing: border-box;
}
.jg-play {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  height: 3.73333rem; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: .32rem; cursor: pointer;
  font: inherit; background: transparent; box-shadow: var(--jb-shadow);
  -webkit-tap-highlight-color: transparent; transition: transform .12s, box-shadow .12s;
}
.jg-play:active { transform: scale(.97); }
.jg-play:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: 2px; }
.jg-play__image { display: block; width: 100%; height: 100%; pointer-events: none; }


/* 大厅下方不再显示游戏卡（电子/真人改为进入选择页） */
.jg-has-play-grid .hallPage .allGameContent { display: none !important; }

/* ---------- 选择页（飞升 / 电子 / 真人），hall-grid.js 打开 ---------- */
.jg-sheet {
  position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column;
  background: var(--jb-bg); color: var(--jb-ink);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}
.jg-sheet.is-open { transform: none; }
.jg-sheet__head {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  height: 1.2rem; padding-top: env(safe-area-inset-top); background: #fff;
  box-shadow: 0 1px 0 var(--jb-line);
}
.jg-sheet__title { margin: 0; font-size: .45333rem; font-weight: 700; color: var(--jb-ink); }
.jg-sheet__back {
  position: absolute; left: .21333rem; bottom: 0; width: 1.06667rem; height: 1.2rem;
  display: flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer;
  color: var(--jb-ink);
}
.jg-sheet__back svg { width: .58667rem; height: .58667rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.jg-sheet__body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: .32rem .32rem calc(.53333rem + env(safe-area-inset-bottom));
}
.jg-sheet__group {
  margin-bottom: .32rem; padding: .10667rem .32rem .16rem;
  background: var(--jb-card); border-radius: .32rem; box-shadow: var(--jb-shadow);
}
.jg-sheet__group-title {
  margin: 0; display: flex; align-items: center; height: .96rem; font-size: .42667rem; font-weight: 700;
  color: transparent; background: var(--jb-title); -webkit-background-clip: text; background-clip: text;
}
.jg-sheet__empty { margin: 1.6rem 0; text-align: center; font-size: .34667rem; color: var(--jb-assist); }
.jg-room {
  display: flex; align-items: center; gap: .26667rem; width: 100%; padding: .26667rem 0;
  border: 0; border-top: 1px solid var(--jb-line); background: none; font: inherit; text-align: left;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.jg-room:active { background: var(--jb-soft); }
.jg-room__logo {
  flex: none; width: 1.17333rem; height: 1.17333rem; border-radius: .26667rem; overflow: hidden; background: var(--jb-soft);
}
.jg-room__logo--art { position: relative; height: 1.49333rem; background: transparent; }
:root .jg-room__logo--art .jg-rcard__img { object-fit: contain; }
.jg-room__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jg-room__logo b {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: var(--jb-fill); color: #fff; font-size: .48rem; font-weight: 800;
}
.jg-room__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .08rem; }
.jg-room__name { font-size: .4rem; font-weight: 700; color: var(--jb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jg-room__online { display: flex; align-items: center; gap: .10667rem; font-size: .29333rem; color: var(--jb-assist); font-weight: 600; }
.jg-room__online i { width: .16rem; height: .16rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 .05333rem #22c55e26; }
.jg-room__go {
  flex: none; height: .69333rem; padding: 0 .32rem; display: flex; align-items: center;
  border-radius: .16rem; background: var(--jb-fill); color: #fff; font-size: .32rem; font-weight: 600;
}
.jg-venue {
  display: block; width: 100%; margin: 0 0 .26667rem; padding: 0; border: 0; cursor: pointer;
  border-radius: .32rem; overflow: hidden; background: var(--jb-card); box-shadow: var(--jb-shadow);
  aspect-ratio: 1380 / 480; transition: transform .12s;
}
.jg-venue:active { transform: scale(.98); }
.jg-venue img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .jg-sheet { transition: none; } }

/* ---------- 六宫格下方：热门推荐 / 三个入口（HallExtras.vue） ---------- */
.jg-extras {
  display: flex; flex-direction: column; gap: .26667rem;
  width: 9.2rem; margin: .26667rem auto 0; box-sizing: border-box;
}
.jg-extras button { font: inherit; -webkit-tap-highlight-color: transparent; }
.jg-extras button:focus-visible, .jg-notice .cffffbtn > div:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: 2px; }

.jg-sec-head { display: flex; align-items: center; justify-content: space-between; margin: .05333rem .05333rem .21333rem; }
.jg-sec-title {
  display: flex; align-items: center; gap: .16rem; margin: 0;
  font-size: .42667rem; font-weight: 800; color: var(--jb-ink); letter-spacing: .01333rem;
}
.jg-dot { width: .21333rem; height: .21333rem; border-radius: 50%; }
.jg-dot--green { background: #11c27c; box-shadow: 0 0 0 .08rem #11c27c26; }
.jg-dot--blue { background: #2f86ff; box-shadow: 0 0 0 .08rem #2f86ff26; }
/* 我的游戏（HallExtras.vue）：卡片同热门推荐，不自动滚动；没投注过时整块不显示 */
.jg-mine { margin-bottom: .32rem; }
.jg-sec-more { padding: .08rem 0; border: 0; background: none; color: var(--jb-vice); font-size: .32rem; font-weight: 600; cursor: pointer; }

/* 热门推荐：横向滑动的竖版卡片 */
.jg-hot__track {
  display: flex; gap: .21333rem; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 0 0 .21333rem; margin: 0;
  /* 卡片行与标题、上下模块左右对齐，不再伸到屏幕边缘；底部留出阴影空间 */
  /* 自动滚动（HallExtras.vue），不加 scroll-snap，否则会和逐帧滚动冲突 */
}
.jg-hot__track::-webkit-scrollbar { display: none; }
.jg-hot__track { -webkit-overflow-scrolling: touch; }
.jg-hot__track.is-dragging { cursor: grabbing; user-select: none; }
.jg-hot__track.is-dragging .jg-hot__card { transform: none; }
.jg-hot__empty { color: var(--jb-vice); font-size: .28rem; }
.jg-hot__card[hidden] { display: none; }

.jg-hot__card {
  position: relative; flex: none; width: 2.4rem; height: 3.2rem; padding: 0; border: 0; cursor: pointer;
  border-radius: .32rem; overflow: hidden; color: #fff;
  box-shadow: 0 .10667rem .26667rem var(--tone-shadow, #2c5fb033);
  background: var(--tone-bg); transition: transform .12s;
}
.jg-hot__card:active { transform: scale(.96); }
.jg-hot__card:after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0, #ffffff40, transparent 60%);
}
.jg-hot__mark {
  position: absolute; top: .16rem; left: 0; right: 0; text-align: center;
  font: italic 900 .85333rem/1 DIN, Arial, sans-serif; color: #ffffff2e; letter-spacing: -.02667rem;
}
.jg-hot__art {
  position: absolute; left: 50%; top: .48rem; width: 1.6rem; height: 1.6rem; transform: translateX(-50%);
  border-radius: 50%; box-shadow: 0 .10667rem .32rem #0000003d, 0 0 0 .05333rem #ffffff80;
  background: #ffffff26; overflow: hidden;
}
.jg-hot__art img, .jg-hot__art svg { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 整图卡片：房间设计图（自带圆角和边框）、场馆海报，图里自带名称 */
.jg-hot__card--art { background: none; box-shadow: none; }
.jg-hot__card--art:after, .jg-hot__card--poster:after, .jg-hot__card--cover:after { content: none; }
.jg-hot__card--art .jg-rcard__img { filter: drop-shadow(0 .05333rem .10667rem #1d4f9a2e); }
/* 图片占满卡片区域并保持完整比例，名称只用于无障碍标签。 */
.jg-hot__card--cover, .jg-hot__card--poster { background: none; }
.jg-hot__poster, .jg-hot__cover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.jg-tone--blue { --tone-bg: linear-gradient(160deg, #6fc0ff 0%, #2f7bff 55%, #1a4fd6 100%); --tone-shadow: #2f7bff4d; }
.jg-tone--violet { --tone-bg: linear-gradient(160deg, #c08bff 0%, #8a4dff 55%, #5a24d6 100%); --tone-shadow: #8a4dff4d; }
.jg-tone--amber { --tone-bg: linear-gradient(160deg, #ffd27a 0%, #ff9a3d 55%, #f0661f 100%); --tone-shadow: #ff9a3d4d; }
.jg-tone--rose { --tone-bg: linear-gradient(160deg, #ff9ec4 0%, #ff4f8b 55%, #d92a68 100%); --tone-shadow: #ff4f8b4d; }
.jg-tone--mint { --tone-bg: linear-gradient(160deg, #7ef0c4 0%, #18c487 55%, #0b9566 100%); --tone-shadow: #18c4874d; }

/* 人民币充值 / 赌尊社区 / 在线客服 */
.jg-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .21333rem; }
.jg-quick__item {
  display: flex; align-items: center; justify-content: center; gap: .13333rem;
  height: 1.17333rem; padding: 0 .13333rem; border: 0; border-radius: .32rem; cursor: pointer;
  background: var(--jb-card); box-shadow: var(--jb-shadow); color: var(--jb-ink); transition: transform .12s;
}
.jg-quick__item:active { transform: scale(.97); }
.jg-quick__icon { flex: none; width: .64rem; height: .64rem; }
.jg-quick__icon svg { display: block; width: 100%; height: 100%; }
.jg-quick__label { font-size: .37333rem; font-weight: 700; white-space: nowrap; }


/* ---------- 公告弹窗：品牌名 + 大标题 + 喇叭插画 ---------- */
.van-popup.jg-notice {
  width: 8.8rem !important; max-width: calc(100vw - .64rem); overflow: visible !important;
  border-radius: .64rem !important; padding: 0 .48rem .48rem; box-sizing: border-box;
  background: linear-gradient(180deg, #d9ecff 0%, #eef5ff 22%, #f6f9ff 46%, #ffffff 100%) !important;
  box-shadow: 0 .42667rem 1.06667rem #0f2a6640, inset 0 0 0 .02667rem #ffffffcc;
}
.jg-notice__hero { position: relative; min-height: 2.66667rem; padding: .64rem 2.4rem 0 .05333rem; box-sizing: border-box; text-align: left; }
.jg-notice__brand { display: block; font-size: .48rem; font-weight: 700; color: #1f6fd1; letter-spacing: .02667rem; }
.jg-notice__title {
  margin: .10667rem 0 0; font-size: .82667rem; line-height: 1.15; font-weight: 900; color: #11284d; letter-spacing: .02667rem;
  word-break: break-all;
}
.jg-notice__art {
  position: absolute; right: -.37333rem; top: -1.06667rem; width: 3.46667rem; height: 2.88rem; pointer-events: none;
  filter: drop-shadow(0 .16rem .26667rem #167de440);
}
.jg-notice__art svg { display: block; width: 100%; height: 100%; }
.jg-notice .outerwrap {
  height: auto !important; min-height: 0 !important; max-height: 52vh !important; text-align: left !important; margin-top: .32rem; padding: .05333rem .05333rem .16rem !important;
  color: #3a4866 !important; font-size: .37333rem !important; line-height: 1.75 !important;
  background: transparent !important; -webkit-overflow-scrolling: touch;
}
.jg-notice .outerwrap .jg-notice__lifted { display: none; }
.jg-notice .outerwrap strong, .jg-notice .outerwrap b,
.jg-notice .outerwrap h1, .jg-notice .outerwrap h2, .jg-notice .outerwrap h3, .jg-notice .outerwrap h4 { color: #11284d; }
.jg-notice .outerwrap p { margin: 0 0 .16rem; }
.jg-notice .outerwrap ul, .jg-notice .outerwrap ol { margin: 0 0 .16rem; padding: 0 !important; list-style: none !important; }
.jg-notice .outerwrap li { position: relative; padding-left: .37333rem !important; }
.jg-notice .outerwrap li:before { content: "*" !important; position: absolute; left: 0; top: .05333rem; color: #f0364a; font-weight: 800; }
.jg-notice .outerwrap img { max-width: 100%; height: auto; border-radius: .21333rem; }
.jg-notice .cffffbtn { display: flex !important; gap: .21333rem; margin-top: .32rem; border-top: 0 !important; background: transparent !important; }
.jg-notice .cffffbtn > div {
  flex: 1 1 0 !important; width: auto !important; height: 1.17333rem; padding: 0 !important; display: flex !important;
  align-items: center; justify-content: center; border-radius: .58667rem; cursor: pointer;
  font-size: .42667rem !important; font-weight: 700; color: var(--jb-brand) !important; background: #e3efff;
}
.jg-notice .cffffbtn > div:last-child {
  flex-grow: 2 !important; color: #fff !important; background: linear-gradient(90deg, #3aa0ff 0%, #167de4 55%, #0d5fd0 100%);
  box-shadow: 0 .10667rem .26667rem #167de44d, inset 0 .02667rem 0 #ffffff59;
}
.jg-notice .cffffbtn > div[aria-disabled="true"] { opacity: .7; }

/* 游戏卡 */
.hallPage .allGameContent .longbtn {
  border-radius: .32rem !important; background: var(--jb-card) !important; box-shadow: var(--jb-shadow) !important;
}
.hallPage .allGameContent .smallBg { background: var(--jb-card) !important; border-radius: .32rem !important; box-shadow: var(--jb-shadow) !important; }

/* 右侧活动浮窗：去掉 */
.hallActivityBox { display: none !important; }

/* ---------- 底部导航（全站） ---------- */
.jn-nav {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  height: 1.52rem; padding: 0 .32rem; box-sizing: content-box;
}
.jn-nav__item {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .08rem; height: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#app .jn-nav .jn-nav__item { color: var(--jb-vice) !important; }
.jn-nav__icon { width: .64rem; height: .64rem; transition: transform .22s cubic-bezier(.2, 1.4, .4, 1); }
.jn-nav__icon svg {
  width: 100%; height: 100%; display: block; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.jn-nav__label { font-size: .29333rem; font-weight: 600; line-height: 1; }
#app .jn-nav .jn-nav__item.is-active { color: var(--jb-brand) !important; }
.jn-nav__item.is-active .jn-nav__label { font-weight: 700; }
.jn-nav__item.is-active .jn-nav__icon { transform: translateY(-1px) scale(1.06); }
.jn-nav__item.is-active .jn-nav__icon svg { fill: #167de41f; }
/* 完整玻璃选中块：图标和文字一起包入，四周留出一致的间距。 */
.jn-nav__sel {
  position: absolute; left: 0; top: .08rem; bottom: .08rem; width: 1.52rem; margin-left: -.76rem;
  box-sizing: border-box; border: 1px solid #8eb9ec66; border-radius: .36rem; pointer-events: none;
  background: linear-gradient(145deg, #ffffffc9, #dcecff99 55%, #edf5ffb8);
  box-shadow: inset 0 1px #fff, inset 0 -1px #a9c8ed40, 0 2px 8px #5486bd1c;
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .2s;
}
/* 中间客服：突出的蓝色圆角按钮（白色耳机 + 客服） */
.jn-nav__center {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .02667rem;
  width: 1.17333rem; height: 1.17333rem; border-radius: .29333rem;
  background: radial-gradient(90% 70% at 30% 15%, #6fd0ff 0%, transparent 60%), linear-gradient(145deg, #2f9bff 0%, #167de4 50%, #0d55c8 100%);
  box-shadow: 0 .10667rem .26667rem #167de459, inset 0 .02667rem 0 #ffffff66; transition: transform .15s;
}
#app .jn-nav .jn-nav__item--service, #app .jn-nav .jn-nav__item--service.is-active { color: #fff !important; }
.jn-nav__item--service.is-active .jn-nav__icon { transform: none; }
.jn-nav__item--service.is-active .jn-nav__icon svg { fill: none; }
.jn-nav__item--service.is-active .jn-nav__center { box-shadow: 0 0 0 .08rem #167de433, 0 .10667rem .26667rem #167de459, inset 0 .02667rem 0 #ffffff66; }
.jn-nav__center .jn-nav__icon { width: .58667rem; height: .58667rem; }
.jn-nav__center .jn-nav__icon svg { stroke-width: 2.1; }
.jn-nav__center .jn-nav__label { font-size: .26667rem; font-weight: 700; letter-spacing: .02667rem; }
.jn-nav__item--service:active .jn-nav__center { transform: scale(.94); }
.jn-nav__item:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: -4px; border-radius: .26667rem; }
@media (prefers-reduced-motion: reduce) {
  .jn-nav__sel, .jn-nav__icon { transition: none; }
}

/* ---------- 登录弹窗 ---------- */
.Login-window .loginPage {
  background: #ffffffeb !important; border-radius: .32rem !important;
  box-shadow: 0 .10667rem .53333rem #2c5fb01f !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.Login-window .inputBox {
  background: var(--jb-bg) !important; border-radius: .21333rem !important;
  border: 1px solid transparent; transition: border-color .15s, background .15s;
}
.Login-window .inputBox:focus-within { background: #fff !important; border-color: var(--jb-brand); }
.Login-window .inputBox input { color: var(--jb-ink) !important; }
.Login-window .inputBox input::placeholder { color: var(--jb-assist); }
.Login-window .checkbox_text, .Login-window .b_item, .Login-window .b_other_menu .item { color: var(--jb-ink-2) !important; }
.Login-window .b_other_menu .item.blue { color: var(--jb-brand) !important; font-weight: 600; }
.Login-window .loginbtn {
  background: var(--jb-fill) !important; border-radius: .21333rem !important;
  box-shadow: 0 .10667rem .32rem #167de433; font-weight: 600;
}
.Login-window .b_kefu_span { color: var(--jb-vice) !important; }

/* ---------- 其他页面通用（登录后页面同样生效） ---------- */
:root {
  --van-primary-color: #167de4;
  --van-blue: #167de4;
  --van-background: #f4f7ff;
  --van-background-2: #ffffff;
  --van-active-color: #f0f6ff;
  --van-tabs-bottom-bar-color: #167de4;
  --van-tab-active-text-color: #167de4;
  --van-nav-bar-icon-color: #0f1a33;
  --van-nav-bar-title-text-color: #0f1a33;
  --van-nav-bar-text-color: #167de4;
  --van-tabbar-item-active-color: #17bdff;
  --van-checkbox-checked-icon-color: #167de4;
  --van-radio-checked-icon-color: #167de4;
  --van-switch-on-background: #167de4;
  --van-dialog-confirm-button-text-color: #167de4;
  --van-picker-confirm-action-color: #167de4;
}
.van-nav-bar { background: #fff !important; }
.van-tabs__line { background: var(--jb-fill) !important; }

/* vant 通用组件 */
.van-button--primary, .van-button--danger {
  background: var(--jb-fill) !important; border-color: transparent !important; color: #fff !important;
}
.van-dialog__confirm, .van-dialog__confirm:active { color: var(--jb-brand) !important; }
.van-pull-refresh__head, .van-loading__text { color: var(--jb-assist) !important; }

/* ---------- 我的钱包（/account，wallet.js）：参照 9nww 钱包页 ---------- */
.accounts.jg-wallet {
  min-height: 100vh;
  background: radial-gradient(130% 38% at 50% 0, #d6e8ff 0%, #eaf3ff 45%, transparent 75%), var(--jb-bg) !important;
}
.jg-wallet .head_area { background: transparent !important; }
.jg-wallet .head_area .head_text { color: var(--jb-ink) !important; font-weight: 800 !important; }
.jg-wallet .head_area .right_menu { color: var(--jb-brand) !important; font-weight: 600 !important; }
.jg-wallet .van-pull-refresh, .jg-wallet .main_content, .jg-wallet .accounts-scroll { background: transparent !important; }
.jg-wallet .accounts-scroll .topArea {
  min-height: 0 !important; padding-top: .21333rem !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
}

/* 余额主卡：深蓝渐变 + 右下角 DW 水印 */
.jg-wallet .topArea .MoneyArea {
  position: relative; overflow: hidden; padding: .48rem .53333rem .64rem !important; border-radius: .48rem;
  background: radial-gradient(90% 130% at 100% 0, #62ccff 0%, transparent 55%), linear-gradient(135deg, #1a4fd6 0%, #167de4 55%, #27a6ff 100%);
  box-shadow: 0 .21333rem .53333rem #167de440;
}
.jg-wallet .topArea .MoneyArea:after {
  content: ""; position: absolute; right: -.32rem; bottom: -.58667rem; width: 3.2rem; height: 3.2rem; pointer-events: none;
  background: url(/jg-skin/dwdw-logo.png) center / contain no-repeat; opacity: .12; transform: rotate(-12deg);
}
.jg-wallet .MoneyArea .item .money_title { color: #ffffffd9 !important; font-weight: 600 !important; }
.jg-wallet .MoneyArea .item { border: 0 !important; padding-bottom: 0 !important; }
.jg-wallet .MoneyArea .money_title img { border-radius: 50%; background: #fff; box-shadow: 0 0 0 .02667rem #ffffff80; }
.jg-wallet .MoneyArea .refresh { filter: brightness(0) invert(1); opacity: .85; }
.jg-wallet .MoneyArea .money_bottom { margin-top: .16rem; }
.jg-wallet .MoneyArea .money_bottom .money_text {
  color: #fff !important; font: 800 .96rem/1.1 DIN, Arial, sans-serif !important; letter-spacing: .02667rem;
  text-shadow: 0 .05333rem .16rem #0d3a9e59;
}

/* 存款 / 取款 */
.jg-wallet__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: .16rem; margin-top: .32rem; padding: .10667rem;
  border-radius: .64rem; background: #fff; box-shadow: var(--jb-shadow);
}
.jg-wallet__act {
  display: flex; align-items: center; justify-content: center; gap: .16rem; height: 1.12rem; border: 0; cursor: pointer;
  border-radius: .53333rem; font: inherit; font-size: .42667rem; font-weight: 800; letter-spacing: .05333rem;
  -webkit-tap-highlight-color: transparent; transition: transform .12s;
}
.jg-wallet__act:active { transform: scale(.97); }
.jg-wallet__act:focus-visible, .jg-wallet__help-btn:focus-visible, .jg-wallet .main_menu .item:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: 2px; }
.jg-wallet__act svg { width: .53333rem; height: .53333rem; }
.jg-wallet__act span, .jg-wallet__help-btn span { color: inherit !important; font: inherit !important; }
.jg-wallet__act--in {
  color: #fff; background: linear-gradient(90deg, #3aa0ff 0%, #167de4 55%, #0d5fd0 100%);
  box-shadow: 0 .08rem .21333rem #167de44d, inset 0 .02667rem 0 #ffffff59;
}
.jg-wallet__act--out { color: var(--jb-brand); background: #eef5ff; }

/* 快捷服务 */
.jg-wallet__menu-title { margin: .42667rem .05333rem .21333rem; font-size: .42667rem; font-weight: 800; color: var(--jb-ink); }
.jg-wallet .topArea .main_menu {
  display: flex !important; justify-content: space-around; margin-top: 0 !important;
  padding: .37333rem .16rem; border-radius: .42667rem; background: #fff; box-shadow: var(--jb-shadow);
}
.jg-wallet .main_menu .item { flex: 1 1 0; display: flex !important; flex-direction: column; align-items: center; gap: .13333rem; cursor: pointer; }
.jg-wallet .main_menu .item.jg-wallet__dup { display: none !important; }
.jg-wallet .main_menu .item > span { color: var(--jb-ink-2) !important; font-size: .32rem !important; font-weight: 600 !important; }
.jg-wallet .main_menu .item .bgbox { width: 1.06667rem !important; height: 1.06667rem !important; background: none !important; }
.jg-wallet__ico, .jg-wallet__ico svg { display: block; width: 100%; height: 100%; }
.jg-wallet__ico + img { display: none !important; }
.jg-wallet .topArea .one-line { display: none !important; }

/* 余额全站通用：场馆余额明细 / 一键取回不再展示 */
.jg-wallet .topArea .venuesDetail { display: none !important; }
/* 场馆余额明细（保留样式，以后恢复时可用） */
.jg-wallet .topArea .venuesDetail {
  margin-top: .32rem; padding: .32rem 0 .21333rem; border-radius: .42667rem; background: #fff; box-shadow: var(--jb-shadow);
}
.jg-wallet .venuesDetail .venues .left-nums { color: var(--jb-ink) !important; font-weight: 800 !important; }
.jg-wallet .venuesDetail .venues > span { color: var(--jb-brand) !important; }
.jg-wallet .venuesDetail .venuesList .top { background: linear-gradient(90deg, #eef5ff, #f6f9ff) !important; border-radius: .32rem !important; }
.jg-wallet .venuesDetail .venuesList .money { color: var(--jb-ink) !important; font-weight: 800 !important; }
.jg-wallet .venuesDetail .venuesList .van-button {
  border: 0 !important; border-radius: .42667rem !important; color: #fff !important; background: var(--jb-fill) !important;
}

/* 添加提现账户 */
.jg-wallet .accounts-opendetails {
  display: flex !important; align-items: center; justify-content: center; box-sizing: border-box;
  width: 9.2rem !important; height: 1.06667rem !important; margin: .32rem auto 0 !important;
  border: .02667rem dashed #9cc4f5 !important; border-radius: .42667rem !important;
  background: #fff !important; color: var(--jb-brand) !important; font-weight: 700 !important;
}

/* 客服提示卡 */
.jg-wallet__help {
  display: flex; align-items: center; gap: .26667rem; box-sizing: border-box;
  width: 9.2rem; margin: .32rem auto 1.06667rem; padding: .37333rem .37333rem .37333rem .42667rem;
  border-radius: .42667rem; background: #fff; box-shadow: var(--jb-shadow);
}
.jg-wallet__help-ico { flex: none; width: .58667rem; height: .58667rem; }
.jg-wallet__help-ico svg { display: block; width: 100%; height: 100%; }
.jg-wallet__help p { flex: 1; min-width: 0; margin: 0; font-size: .34667rem; line-height: 1.5; color: var(--jb-ink-2); }
.jg-wallet__help-btn {
  flex: none; display: flex; align-items: center; gap: .10667rem; height: .90667rem; padding: 0 .37333rem; border: 0; cursor: pointer;
  border-radius: .45333rem; background: var(--jb-fill); color: #fff; font: inherit; font-size: .34667rem; font-weight: 700;
  box-shadow: 0 .08rem .21333rem #167de440;
}
.jg-wallet__help-btn svg { width: .42667rem; height: .42667rem; }

/* 原站全局用超高优先级把 button 的 color / font 设成 inherit，自定义按钮的文字颜色和字号要用 !important 覆盖 */
.jg-wallet__act { font-size: .42667rem !important; font-weight: 800 !important; }
.jg-wallet__act--in { color: #fff !important; }
.jg-wallet__act--out { color: var(--jb-brand) !important; }
.jg-wallet__help-btn { color: #fff !important; font-size: .34667rem !important; font-weight: 700 !important; }
.jg-sec-more { color: var(--jb-vice) !important; font-size: .32rem !important; font-weight: 600 !important; }
.jg-quick__item { color: var(--jb-ink) !important; }
.jg-hot__card { color: #fff !important; }

/* ---------- 充值 / 提现（wallet.js）：参照 9nww 的存款 / 取款 ---------- */
.recharge.recharge-v3, .withdraw.withdrawal-v3 {
  min-height: 100vh;
  background: radial-gradient(130% 30% at 50% 0, #d6e8ff 0%, #eaf3ff 45%, transparent 75%), var(--jb-bg) !important;
}
.recharge-v3 .head_area, .withdrawal-v3 .head_area { background: transparent !important; box-shadow: none !important; }
.recharge-v3 .head_area .head_text, .withdrawal-v3 .head_area .head_text { color: var(--jb-ink) !important; font-weight: 800 !important; }
.recharge-v3 .head_area .right_menu { color: var(--jb-brand) !important; font-weight: 600 !important; }
.recharge-v3 .head_area .leftImg, .withdrawal-v3 .head_area .leftImg { background: transparent !important; }
.recharge-v3 .head_area .top_back, .withdrawal-v3 .head_area .top_back { mix-blend-mode: multiply; }
.recharge-v3 .topart { border-bottom: 0 !important; box-shadow: none !important; }

/* 存款 | 取款 切换 */
.jg-funds-seg {
  display: grid; grid-template-columns: 1fr 1fr; width: 5.6rem; margin: .10667rem auto .32rem; padding: .08rem;
  box-sizing: border-box; border-radius: .58667rem; background: #fff; box-shadow: var(--jb-shadow);
}
.jg-funds-seg__tab {
  height: .96rem; border: 0; border-radius: .48rem; background: none; cursor: pointer;
  color: var(--jb-vice) !important; font-size: .4rem !important; font-weight: 700 !important; -webkit-tap-highlight-color: transparent;
}
.jg-funds-seg__tab[aria-selected="true"] {
  color: #fff !important; background: linear-gradient(90deg, #3aa0ff 0%, #167de4 55%, #0d5fd0 100%);
  box-shadow: 0 .08rem .21333rem #167de44d, inset 0 .02667rem 0 #ffffff59;
}
.jg-funds-seg__tab:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: 2px; }
.jg-funds-title { display: flex; align-items: baseline; justify-content: space-between; margin: .37333rem .05333rem .26667rem; }
.jg-funds-title h3 { margin: 0; font-size: .45333rem; font-weight: 800; color: var(--jb-ink); }
.jg-funds-title small { font-size: .32rem; color: var(--jb-vice); }

/* 充值：顶部 */
.recharge-v3 .topart { background: transparent !important; padding: 0 .4rem !important; box-sizing: border-box; }
.recharge-v3 .topart .navhead { background: #ffffffb3 !important; border-radius: .48rem !important; height: .96rem !important; box-sizing: border-box; }
.recharge-v3 .topart .noticecont {
  margin: .26667rem 0 0 !important; padding: .21333rem .32rem !important; border-radius: .32rem !important; border: 0 !important;
  background: #fff7ea !important; color: #7a5520 !important; font-size: .29333rem !important; line-height: 1.6 !important;
}
.recharge-v3 .topart .noticecont span { color: #c46a00 !important; }
.recharge-v3 .rccontent, .recharge-v3 .rcinner, .recharge-v3 #offlinerechage, .recharge-v3 .newContent { background: transparent !important; }
.recharge-v3 .newContent .jg-funds-title { margin-left: .45333rem; margin-right: .45333rem; }
.recharge-v3 .recharge-read-state {
  margin: .32rem .4rem 0 !important; padding: .42667rem !important; border: 0 !important; border-radius: .42667rem !important;
  background: #fff !important; color: var(--jb-vice) !important; box-shadow: var(--jb-shadow); text-align: center;
}

/* 充值方式：三列胶囊 */
.recharge-v3 .newContent .outTypeList {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .21333rem;
  padding: 0 .4rem !important; border: 0 !important; background: transparent !important;
}
.recharge-v3 .newContent .outTypeList .TypeItem {
  position: relative; flex-direction: row !important; gap: .13333rem; box-sizing: border-box;
  width: auto !important; height: 1.12rem !important; margin: 0 !important; padding: 0 .16rem !important;
  border: .02667rem solid #e3ecfb !important; border-radius: .56rem !important; background: #fff !important;
  box-shadow: var(--jb-shadow);
}
.recharge-v3 .newContent .outTypeList .TypeItem.Typeactive {
  border-color: #5aa5ff !important; background: linear-gradient(180deg, #e8f2ff 0%, #d6e8ff 100%) !important;
  box-shadow: 0 .08rem .21333rem #167de426;
}
.recharge-v3 .newContent .outTypeList .TypeItem .type_img {
  flex: none; width: .64rem !important; height: .64rem !important; border-radius: 50%; object-fit: cover !important;
}
.recharge-v3 .newContent .outTypeList .TypeItem .type_text {
  min-width: 0; margin: 0 !important; overflow: hidden; text-overflow: ellipsis;
  color: var(--jb-ink) !important; font-size: .34667rem !important; font-weight: 700 !important;
}
#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24#sourceRecharge9f24 .newContent .outTypeList .TypeItem.Typeactive .type_text { color: var(--jb-brand) !important; }
.recharge-v3 .newContent .outTypeList .TypeItem .xianXia_img { top: -.08rem !important; left: .32rem !important; width: .56rem !important; height: .26667rem !important; }

/* 钱包协议 / 收款账户、金额：白卡 */
.recharge-v3 .newContent .ReceivingAccount, .recharge-v3 .newContent .moneyContent {
  margin: .32rem .4rem 0 !important; padding: .37333rem !important; border: 0 !important; border-radius: .42667rem !important;
  background: #fff !important; box-shadow: var(--jb-shadow);
}
.recharge-v3 .newContent .main_tittle .l_text, .recharge-v3 .newContent .main_tittle .tit {
  color: var(--jb-ink) !important; font-size: .37333rem !important; font-weight: 800 !important;
}
.recharge-v3 .newContent .main_tittle .r_text { color: var(--jb-brand) !important; }
.recharge-v3 .newContent .AccountList { display: grid !important; grid-template-columns: 1fr 1fr; gap: .21333rem; margin-top: .26667rem !important; }
.recharge-v3 .newContent .AccountList .Account_item {
  width: auto !important; min-height: 1.06667rem; margin: 0 !important; box-sizing: border-box;
  border: .02667rem solid #e3ecfb !important; border-radius: .53333rem !important; background: #f1f5fc !important;
}
.recharge-v3 .newContent .AccountList .Account_item.Accountactive, .recharge-v3 .newContent .AccountList .Account_item.shortactive {
  border-color: #5aa5ff !important; background: #e4f0ff !important;
}
.recharge-v3 .newContent .Account_item .t_Text { color: var(--jb-ink) !important; font-weight: 700 !important; }
.recharge-v3 .newContent .Account_item .b_Text { color: var(--jb-vice) !important; }
.recharge-v3 .newContent .usdtText { color: var(--jb-vice) !important; }
.recharge-v3 .newContent .meneyInput {
  width: 100% !important; height: 1.17333rem !important; margin: .26667rem 0 0 !important; padding: 0 .32rem !important; box-sizing: border-box;
  border: 0 !important; border-radius: .32rem !important; background: #f1f5fc !important;
}
.recharge-v3 .newContent .meneyInput .text { color: var(--jb-brand) !important; font-weight: 800 !important; }
.recharge-v3 .newContent .meneyInput .input { min-width: 0; flex: 1; background: transparent !important; font-size: .4rem !important; }
.recharge-v3 .newContent .meneyInput .left {
  flex: none; padding: .05333rem .16rem !important; border: 0 !important; border-radius: .26667rem !important;
  background: #fff !important; color: var(--jb-vice) !important; font-size: .29333rem !important;
}
.recharge-v3 .newContent .moneyList { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .16rem; margin-top: .26667rem !important; }
.recharge-v3 .newContent .moneyList .money_item {
  width: auto !important; height: .85333rem !important; margin: 0 !important;
  border: .02667rem solid #e3ecfb !important; border-radius: .42667rem !important; background: #fff !important;
  color: var(--jb-ink-2) !important; font-size: .32rem !important; font-weight: 600 !important;
}
.recharge-v3 .newContent .moneyList .money_item.moneyactive { border-color: #5aa5ff !important; background: #e4f0ff !important; color: var(--jb-brand) !important; }
.recharge-v3 .newContent .btn-wrap { padding: .42667rem .4rem 0 !important; background: transparent !important; }
.recharge-v3 .newContent .btn-wrap .chargeBtn {
  width: 100% !important; height: 1.17333rem !important; border-radius: .58667rem !important; background: #b9d3f5 !important;
  color: #fff !important; font-size: .42667rem !important; font-weight: 700 !important;
}
.recharge-v3 .newContent .btn-wrap .chargeBtn.chargeBtnActive {
  background: linear-gradient(90deg, #3aa0ff 0%, #167de4 55%, #0d5fd0 100%) !important; box-shadow: 0 .10667rem .26667rem #167de44d;
}
.recharge-v3 .newContent .tips { padding: 0 !important; background: transparent !important; margin: .26667rem .45333rem 0 !important; color: var(--jb-vice) !important; font-size: .29333rem !important; line-height: 1.6 !important; }

/* USDT 链上充值面板：白卡 + 二维码框 + 蓝色地址 */
.recharge-v3 .rcinner .chain-recharge {
  margin: .32rem .4rem 0 !important; padding: .42667rem !important; border: 0 !important; border-radius: .42667rem !important;
  background: #fff !important; box-shadow: var(--jb-shadow); color: var(--jb-ink-2) !important;
}
.recharge-v3 .rcinner .chain-recharge h3 { display: flex; align-items: center; gap: .16rem; color: var(--jb-ink) !important; font-size: .42667rem !important; font-weight: 800; }
.recharge-v3 .rcinner .chain-recharge:not(.jg-usdt-panel) button {
  min-height: 1.01333rem; padding: 0 .48rem !important; border: 0 !important; border-radius: .50667rem !important;
  background: linear-gradient(90deg, #3aa0ff 0%, #167de4 55%, #0d5fd0 100%) !important; color: #fff !important; font-weight: 700 !important;
}
.recharge-v3 .rcinner .chain-recharge > button:last-child { background: #eef5ff !important; color: var(--jb-brand) !important; }
/* 待转账订单：左边二维码，右边地址 + 复制（参照 9nww），其余信息整行 */
.recharge-v3 .rcinner .chain-recharge article {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .32rem; align-items: center;
  margin-top: .32rem; padding: .37333rem; border-radius: .37333rem; background: #f6f9ff;
}
.recharge-v3 .rcinner .chain-recharge article > * { grid-column: 1 / -1; }
.recharge-v3 .rcinner .chain-recharge article > canvas, .recharge-v3 .rcinner .chain-recharge article > svg, .recharge-v3 .rcinner .chain-recharge article > img { grid-column: 1; grid-row: span 2; }
.recharge-v3 .rcinner .chain-recharge article > .chain-address, .recharge-v3 .rcinner .chain-recharge article > button { grid-column: 2; }
.recharge-v3 .rcinner .chain-recharge article > .chain-address { align-self: end; margin: 0 !important; }
.recharge-v3 .rcinner .chain-recharge article > button { align-self: start; }
.recharge-v3 .rcinner .chain-recharge article canvas, .recharge-v3 .rcinner .chain-recharge article svg, .recharge-v3 .rcinner .chain-recharge article img {
  display: block; box-sizing: content-box; width: 3.2rem !important; height: 3.2rem !important; margin: .21333rem 0;
  padding: .21333rem; border-radius: .32rem; background: #fff; box-shadow: 0 0 0 .02667rem #e3ecfb;
}
.recharge-v3 .rcinner .chain-recharge .chain-address {
  color: var(--jb-brand) !important; font: 700 .37333rem/1.5 DIN, Menlo, monospace !important; word-break: break-all;
}
.recharge-v3 .rcinner .chain-recharge article button { width: 100%; margin: .16rem 0 0 !important; }
.recharge-v3 .rcinner > .jg-wallet__help { margin-bottom: .8rem; }

/* 提现：整块白卡 */
.withdrawal-v3 .withdraw_wrap { height: auto !important; min-height: calc(100vh - 1.33333rem); justify-content: flex-start !important; }
.withdrawal-v3 .head_area { border-bottom: 0 !important; }
.withdrawal-v3 .withdraw_main .withdraw_choose .right-cion { mix-blend-mode: multiply; opacity: .55; }
.withdrawal-v3 .withdraw_main {
  margin: 0 .4rem; padding: 0 .37333rem .42667rem; border-radius: .42667rem; background: #fff; box-shadow: var(--jb-shadow);
}
.withdrawal-v3 .withdraw_main .jg-funds-title { margin: .37333rem 0 .26667rem; }
.withdrawal-v3 .withdraw_main .withdraw_choose {
  box-sizing: border-box; width: 100% !important; height: 1.33333rem !important; margin: 0 !important; padding: 0 .32rem !important;
  border: .02667rem solid #e3ecfb !important; border-radius: .37333rem !important; background: #f1f5fc !important;
}
.withdrawal-v3 .withdraw_main .withdraw_choose span { color: var(--jb-ink) !important; font-weight: 700 !important; }
.withdrawal-v3 .withdraw_main .tips { width: auto !important; margin: .16rem .05333rem 0 !important; color: var(--jb-vice) !important; font-size: .29333rem !important; }
.withdrawal-v3 .withdraw_main .money_input {
  box-sizing: border-box; width: 100% !important; margin: .32rem 0 0 !important; border-radius: .37333rem !important; background: #f1f5fc !important;
}
.withdrawal-v3 .withdraw_main .money_input .yang { color: var(--jb-brand) !important; font-weight: 800 !important; }
.withdrawal-v3 .withdraw_main .money_input .input { background: transparent !important; font-size: .42667rem !important; }
.withdrawal-v3 .withdraw_main .money_input .all {
  padding: .10667rem .26667rem !important; border-radius: .32rem !important; background: #e3efff !important;
  color: var(--jb-brand) !important; font-size: .32rem !important; font-weight: 700 !important;
}
.withdrawal-v3 .withdraw_main .usdtResult, .withdrawal-v3 .withdraw_main .result {
  width: auto !important; margin: .21333rem .05333rem 0 !important; color: var(--jb-vice) !important; font-size: .32rem !important;
}
.withdrawal-v3 .withdraw_main .result .text2 { color: var(--jb-ink) !important; font-weight: 800 !important; }
/* 余额全站通用：不再需要一键取回 / 场馆余额提示 */
.withdrawal-v3 .withdraw_main .result .gooneback, .withdrawal-v3 .withdraw_main .withdraw-talk { display: none !important; }
.withdrawal-v3 .withdraw_main .handlebtn {
  width: 100% !important; height: 1.17333rem !important; margin: .48rem 0 0 !important; border-radius: .58667rem !important;
  background: linear-gradient(90deg, #3aa0ff 0%, #167de4 55%, #0d5fd0 100%) !important; opacity: .45;
}
.withdrawal-v3 .withdraw_main .handlebtn.shinee { opacity: 1; box-shadow: 0 .10667rem .26667rem #167de44d; }
.withdrawal-v3 .withdraw_main .handlebtn > span { color: #fff !important; font-size: .42667rem !important; font-weight: 700 !important; }
/* 联系客服：做成 9nww 那种提示条 + 右侧按钮 */
.withdrawal-v3 .withdraw_main .server_tip {
  position: relative; display: block !important; min-height: .8rem; margin-top: .42667rem !important; padding: .37333rem 2.4rem 0 0;
  border-top: .02667rem dashed var(--jb-line); color: var(--jb-ink-2) !important; font-size: .32rem !important; line-height: .8rem; text-align: left;
}
.withdrawal-v3 .withdraw_main .server_tip i { color: var(--jb-brand) !important; }
.withdrawal-v3 .withdraw_main .server_tip:after {
  content: "联系客服"; position: absolute; right: 0; bottom: 0; padding: 0 .32rem; border-radius: .42667rem; line-height: .8rem;
  background: var(--jb-fill); color: #fff; font-size: .32rem; font-weight: 700; box-shadow: 0 .08rem .21333rem #167de440;
}
.withdrawal-v3 .bottom_tops { margin: auto .4rem .42667rem !important; padding-top: .42667rem !important; color: var(--jb-vice) !important; font-size: .26667rem !important; }
.withdrawal-v3 .bottom_tops span { color: #c46a00 !important; }

/* ---------- 投注页（PC28 房间，bet-room.js）：参照 pc28 比赛页排版——开奖卡片、页签、常驻投注区 ---------- */
.jg-bet-tabs { display: none; }
html.jg-bet-room, html.jg-bet-room body { overflow: hidden !important; }
/* 原样式用 :not(#\#)×3 提权，这里要多一个 id 才能盖过 */
html.jg-bet-room #app .lotteryaaa--zhuotou:not(#\#):not(#\#):not(#\#) { background: var(--jb-bg) !important; }
/* 只保留投注区：聊天记录、文字下注和 信用/桌投/快投/更多 底栏不再显示 */
html.jg-bet-room .lotteryaaa--zhuotou > .zhuotou-chatlist { display: none !important; }
html.jg-bet-room .lotteryaaa--zhuotou > .bet-bottom > .talkbet,
html.jg-bet-room .lotteryaaa--zhuotou > .bet-bottom > .talkbottom { display: none !important; }
html.jg-bet-room .lotteryaaa--zhuotou > .bet-bottom .moreselect { opacity: 0 !important; pointer-events: none !important; }

/* 开奖卡片：上一期开奖号码在上，本期期号、倒计时、余额在下 */
html.jg-bet-room .zhuotou-source-chrome .result-show-lottery {
  display: flex !important; flex-direction: column !important; position: relative;
  width: auto !important; margin: .26667rem .32rem 0 !important; padding: 0 !important;
  background: var(--jb-card) !important; border-radius: .32rem !important;
  box-shadow: var(--jb-shadow) !important; border: 1px solid var(--jb-line) !important;
}
html.jg-bet-room .zhuotou-source-chrome { background: var(--jb-bg) !important; }
html.jg-bet-room .result-show-lottery .show-lottery {
  order: 1; display: flex !important; flex-direction: column !important; align-items: center !important;
  height: auto !important; padding: .32rem .32rem .26667rem !important; background: transparent !important;
  border: 0 !important; position: relative;
}
html.jg-bet-room .result-show-lottery .show-lottery-one {
  font-size: .34667rem !important; color: var(--jb-ink-2) !important; font-weight: 600 !important;
  margin: 0 0 .21333rem !important; line-height: 1.3 !important;
}
html.jg-bet-room .result-show-lottery .show-lottery-one::after { content: '结果'; }
html.jg-bet-room .result-show-lottery .show-lottery-one i { color: var(--jb-brand) !important; font-style: normal; margin: 0 .05333rem; }
html.jg-bet-room .result-show-lottery .show-lottery-two .out {
  display: flex !important; align-items: center !important; gap: .13333rem; font-size: .37333rem !important;
}
html.jg-bet-room .result-show-lottery .show-lottery-two .out > span:not(.draw-label) {
  width: .93333rem !important; height: .93333rem !important; line-height: .93333rem !important;
  font-size: .45333rem !important; font-weight: 700 !important; border-radius: 50% !important;
  box-shadow: inset 0 -.05333rem 0 #0000001f, 0 .05333rem .16rem #167de42e;
}
html.jg-bet-room .result-show-lottery .show-lottery-two .out > i { color: var(--jb-assist) !important; font-style: normal; font-size: .37333rem !important; }
html.jg-bet-room .result-show-lottery .show-lottery-two .draw-label {
  margin-left: .16rem; padding: .08rem .21333rem; border-radius: .26667rem;
  background: var(--jb-soft) !important; color: var(--jb-brand) !important; font-size: .32rem !important; font-weight: 600;
}
html.jg-bet-room #app .result-show-lottery .show-lottery-down {
  position: absolute !important; right: .32rem !important; top: .32rem !important; margin: 0 !important;
  width: .42667rem !important; height: auto !important;
}
html.jg-bet-room .result-show-lottery .result-top {
  order: 2; display: flex !important; align-items: center !important; justify-content: space-between !important;
  height: 1.06667rem !important; padding: 0 .32rem !important; margin: 0 !important;
  border-top: 1px solid var(--jb-line) !important; background: transparent !important;
}
html.jg-bet-room #app .result-show-lottery .result-top .left, html.jg-bet-room #app .result-show-lottery .result-top .right { height: auto !important; min-height: 0 !important; margin: 0 !important; }
html.jg-bet-room .result-show-lottery .history-menu .van-dropdown-menu__bar { height: 0 !important; overflow: hidden; box-shadow: none !important; }
html.jg-bet-room .result-show-lottery .result-top::before, html.jg-bet-room .result-show-lottery .result-top::after { display: none !important; }
html.jg-bet-room .result-show-lottery .result-top .left {
  display: flex !important; flex-direction: row !important; align-items: center !important; gap: .16rem;
  width: auto !important; border: 0 !important; padding: 0 !important;
}
html.jg-bet-room .result-show-lottery .result-top .left p { font-size: .32rem !important; color: var(--jb-vice) !important; margin: 0 !important; }
html.jg-bet-room .result-show-lottery .result-top .left p i { color: var(--jb-ink) !important; font-weight: 700; font-style: normal; }
html.jg-bet-room .result-show-lottery .result-top .left span {
  min-width: 1.6rem; padding: .05333rem .16rem !important; border-radius: .16rem !important;
  background: var(--jb-soft) !important; color: var(--jb-brand) !important; border: 1px solid #cfe3ff;
  font-size: .37333rem !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; text-align: center;
}
html.jg-bet-room .result-show-lottery .result-top .right {
  display: flex !important; flex-direction: row !important; align-items: center !important; gap: .10667rem;
  width: auto !important; padding: 0 !important; border: 0 !important;
}
html.jg-bet-room .result-show-lottery .result-top .right p { margin: 0 !important; white-space: nowrap; font-size: .32rem !important; color: var(--jb-vice) !important; display: flex; align-items: center; gap: .05333rem; }
html.jg-bet-room .result-show-lottery .result-top .right p:last-child { color: var(--jb-ink) !important; font-weight: 700; font-size: .34667rem !important; }
html.jg-bet-room .result-show-lottery .result-top .right .balance-refresh { width: .37333rem !important; height: auto !important; }

/* 页签：投注区 / 路单图 / 历史开奖 / 游戏记录 / 游戏规则 */
html.jg-bet-room .jg-bet-tabs {
  display: flex; gap: .05333rem; margin: .21333rem .32rem 0; padding: .08rem;
  background: var(--jb-card); border-radius: .26667rem; box-shadow: var(--jb-shadow); border: 1px solid var(--jb-line);
}
#app .jg-bet-tabs button {
  flex: 1; height: .82667rem; border: 0; border-radius: .18667rem; background: transparent;
  color: var(--jb-vice) !important; font-size: .34667rem !important; font-weight: 500 !important; white-space: nowrap;
}
#app .jg-bet-tabs button.is-active { background: var(--jb-fill); color: #fff !important; font-weight: 600 !important; box-shadow: 0 .05333rem .16rem #167de440; }

/* 投注区：原信用投注面板固定在页签下方，不再是弹窗 */
html.jg-bet-room .van-overlay:has(+ .pc28-standard-sheet--credit) { display: none !important; }
html.jg-bet-room .pc28-standard-sheet--credit {
  top: var(--jg-bet-top, 6rem) !important; bottom: 0 !important; left: 0 !important; right: 0 !important;
  height: auto !important; max-height: none !important; transform: none !important;
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important; z-index: 9 !important;
}
html.jg-bet-room .pc28-standard-sheet--credit > .pc28-standard-sheet__head { display: none !important; }
html.jg-bet-room .pc28-standard-sheet--credit .pc28-standard-sheet__body,
html.jg-bet-room .pc28-standard-sheet--credit .pc28-credit-content { background: transparent !important; }
html.jg-bet-room .pc28-standard-sheet--credit .pc28-credit-center {
  margin: 0 .32rem !important; background: var(--jb-card) !important; border-radius: .32rem !important;
  border: 1px solid var(--jb-line); box-shadow: var(--jb-shadow); overflow: hidden !important;
  justify-content: flex-start !important;
}
html.jg-bet-room .pc28-credit-center .credit-right { flex: 1 1 auto !important; width: auto !important; min-width: 0; }
/* 左侧竖排玩法 */
html.jg-bet-room .pc28-credit-center .credit-groups {
  width: 2.13333rem !important; flex: none !important; margin: 0 !important; padding: .13333rem .10667rem !important; box-shadow: none !important;
  background: var(--jb-soft) !important; border-right: 1px solid var(--jb-line) !important;
}
html.jg-bet-room .pc28-credit-center .credit-groups::-webkit-scrollbar { display: none; }
#app .pc28-credit-center .credit-groups button {
  width: 100% !important; min-height: 1.06667rem !important; height: auto !important; margin: 0 0 .08rem !important;
  padding: .13333rem .08rem !important; border: 0 !important; border-radius: .21333rem !important;
  background: transparent !important; color: var(--jb-ink-2) !important;
  font-size: .32rem !important; font-weight: 500 !important; line-height: 1.3 !important;
}
#app .pc28-credit-center .credit-groups button::before, #app .pc28-credit-center .credit-groups button::after { display: none !important; }
#app .pc28-credit-center .credit-groups button span { font-size: .32rem !important; color: inherit !important; }
#app .pc28-credit-center .credit-groups button.active {
  background: var(--jb-fill) !important; color: #fff !important; font-weight: 600 !important;
  box-shadow: 0 .05333rem .16rem #167de440 !important;
}
/* 右侧玩法内容 */
html.jg-bet-room .pc28-credit-center .credit-right { background: var(--jb-card) !important; }
html.jg-bet-room .pc28-credit-center .credit-game-top { padding: .21333rem .26667rem 0 !important; border: 0 !important; background: transparent !important; }
#app .pc28-credit-center .credit-game-top button {
  color: var(--jb-vice) !important; font-size: .29333rem !important; border-radius: .37333rem !important;
  border: 1px solid var(--jb-line) !important; background: var(--jb-card) !important; box-shadow: none !important;
}
#app .pc28-credit-center .credit-game-top button[aria-pressed="true"] { color: var(--jb-brand) !important; border-color: var(--jb-brand) !important; background: var(--jb-soft) !important; }
html.jg-bet-room .pc28-credit-center .credit-play-section h3 {
  display: flex; align-items: center; gap: .13333rem; color: var(--jb-ink) !important;
  font-size: .34667rem !important; font-weight: 700 !important;
}
html.jg-bet-room .pc28-credit-center .credit-play-section h3::before {
  content: ''; width: .08rem; height: .32rem; border-radius: .04rem; background: var(--jb-fill);
}
/* 原弹窗把选项区限高 7.46667rem，固定在页面后会在下方留白；改为占满投注区剩余高度 */
html.jg-bet-room .pc28-credit-center .credit-game-scroll { padding-right: .26667rem !important; max-height: none !important; }
html.jg-bet-room .pc28-credit-center .credit-options {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .16rem !important;
}
#app .pc28-credit-center .credit-option {
  width: auto !important; margin: 0 !important; position: relative; border: 1px solid var(--jb-line) !important; border-radius: .21333rem !important;
  background: var(--jb-card) !important; box-shadow: 0 .02667rem .08rem #2c5fb00a !important;
  transition: border-color .15s, background-color .15s;
}
#app .pc28-credit-center .credit-option .credit-option-name { color: var(--jb-ink) !important; font-weight: 700 !important; }
#app .pc28-credit-center .credit-option .credit-option-odds { color: var(--jb-brand) !important; }
#app .pc28-credit-center .credit-option.active {
  border-color: var(--jb-brand) !important; background: #eaf3ff !important;
  box-shadow: 0 0 0 1px var(--jb-brand) inset, 0 .05333rem .16rem #167de42e !important;
}
#app .pc28-credit-center .credit-option.active::after {
  content: ''; position: absolute; right: -1px; top: -1px; width: .42667rem; height: .42667rem;
  border-radius: 0 .21333rem 0 .21333rem; background: var(--jb-brand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
/* 底部下注栏：每注金额 + 筹码 + 立即投注 */
html.jg-bet-room .pc28-standard-sheet--credit .botconentent {
  margin: .21333rem 0 0 !important; padding: .26667rem .32rem calc(.26667rem + env(safe-area-inset-bottom)) !important;
  background: var(--jb-card) !important; border-radius: .37333rem .37333rem 0 0 !important;
  box-shadow: 0 -.05333rem .32rem #2c5fb014 !important; border-top: 1px solid var(--jb-line) !important;
}
html.jg-bet-room .botconentent .pc28-credit-amounts, html.jg-bet-room .botconentent .pc28-credit-amounts__bar { background: transparent !important; border: 0 !important; padding: 0 !important; }
#app .botconentent .moneyselectItem, #app .botconentent .quick-entry, #app .botconentent .bottom1-del {
  border: 1px solid var(--jb-line) !important; border-radius: .21333rem !important;
  background: var(--jb-soft) !important; color: var(--jb-ink-2) !important; font-size: .34667rem !important; font-weight: 600 !important;
}
#app .botconentent .moneyselectItem.active { background: var(--jb-fill) !important; color: #fff !important; border-color: transparent !important; }
#app .botconentent .setmoney {
  border: 1px solid var(--jb-brand) !important; border-radius: .21333rem !important; background: var(--jb-card) !important;
  color: var(--jb-ink) !important; font-size: .37333rem !important; font-weight: 700 !important;
}
html.jg-bet-room .botconentent .btoclassline { background: transparent !important; border: 0 !important; margin-top: .21333rem !important; padding: 0 !important; }
#app .botconentent .jqtouzhubnt, #app .botconentent .rtdivcontbtn {
  border-radius: .21333rem !important; background: transparent !important; color: var(--jb-vice) !important; font-size: .29333rem !important;
}
#app .botconentent .ljtouzhubtn {
  flex: 1 1 auto; height: 1.12rem !important; border-radius: .29333rem !important;
  background: var(--jb-fill) !important; color: #fff !important; font-size: .4rem !important; font-weight: 700 !important;
  box-shadow: 0 .10667rem .26667rem #167de44d !important; opacity: 1 !important;
}
#app .botconentent .ljtouzhubtn span:last-child { font-size: .29333rem !important; opacity: .85; font-weight: 500 !important; }
#app .botconentent .ljtouzhubtn.is-disabled { background: #c9d6ea !important; box-shadow: none !important; }
.jg-bet-idle { display: none; }
html.jg-bet-room:not(.jg-bet-docked) .jg-bet-idle {
  width: calc(100% - .64rem); box-sizing: border-box; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .16rem;
  margin: .21333rem .32rem 0; padding: 1.6rem .32rem; background: var(--jb-card); border-radius: .32rem;
  border: 1px solid var(--jb-line); box-shadow: var(--jb-shadow); color: var(--jb-vice); font-size: .32rem;
}
html.jg-bet-room .jg-bet-idle b { color: var(--jb-ink); font-size: .4rem; }
/* 开奖号码红蓝绿（bet-room.js 按数值打 data-jg-rgb） */
#app .lotteryaaa [data-jg-rgb="red"] { background: radial-gradient(circle at 35% 30%, #ff8a8a, #e5394a 70%) !important; color: #fff !important; }
#app .lotteryaaa [data-jg-rgb="blue"] { background: radial-gradient(circle at 35% 30%, #6cc4ff, #167de4 70%) !important; color: #fff !important; }
#app .lotteryaaa [data-jg-rgb="green"] { background: radial-gradient(circle at 35% 30%, #6fe3a2, #17a85a 70%) !important; color: #fff !important; }
#app .lotteryaaa .history-menu .kj_pop .pop_centent li div > i[data-jg-rgb] { border-radius: 50%; }
/* 3、9、27 项的玩法（龙虎、abc龙虎合、对子顺子豹子、红蓝绿等）每行 3 个，a/b/c 各占一行 */
html.jg-bet-room .pc28-credit-center .credit-options:has(> .credit-option:nth-child(3):last-child),
html.jg-bet-room .pc28-credit-center .credit-options:has(> .credit-option:nth-child(9):last-child),
html.jg-bet-room .pc28-credit-center .credit-options:has(> .credit-option:nth-child(27):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* 多档赔率（如三军 1:3.3/6.7/15）的玩法每行 3 个，赔率字号略小，避免溢出格子 */
html.jg-bet-room .pc28-credit-center .credit-options[data-jg-wide] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#app .pc28-credit-center .credit-options[data-jg-wide] .credit-option-odds { font-size: .29333rem !important; white-space: nowrap; letter-spacing: -.01rem; }
/* 红 / 蓝 / 绿 名称逐字上色（bet-room.js） */
#app .pc28-credit-center .credit-option-name .jg-rgb-ch { font-style: normal; }
#app .pc28-credit-center .credit-option-name .jg-rgb-ch[data-c="red"] { color: #e5394a !important; }
#app .pc28-credit-center .credit-option-name .jg-rgb-ch[data-c="blue"] { color: #167de4 !important; }
#app .pc28-credit-center .credit-option-name .jg-rgb-ch[data-c="green"] { color: #17a85a !important; }
/* 两面：大小单双、极大极小每行两个（占两列），四个组合仍一行四个 */
html.jg-bet-room .pc28-credit-center .credit-options[data-jg-sec="两面"] > .credit-option:nth-child(-n+4),
html.jg-bet-room .pc28-credit-center .credit-options[data-jg-sec="两面"] > .credit-option:nth-child(n+9) { grid-column: span 2; }
/* 点选累加金额（bet-room.js）：选项右上角显示已点金额，立即投注显示合计 */
#app .pc28-credit-center .credit-option[data-jg-amt] {
  border-color: var(--jb-brand) !important; background: #eaf3ff !important;
  box-shadow: 0 0 0 1px var(--jb-brand) inset, 0 .05333rem .16rem #167de42e !important;
}
#app .pc28-credit-center .credit-option[data-jg-amt]::after {
  content: attr(data-jg-amt); position: absolute; right: -1px; top: -1px; width: auto; height: auto;
  min-width: .42667rem; padding: .02667rem .10667rem; border-radius: 0 .21333rem 0 .21333rem;
  background: var(--jb-fill); color: #fff; font-size: .26667rem; font-weight: 700; line-height: 1.3;
}
/* 购彩篮、添加选号、追号依赖原来的勾选方式，点选累加模式下不显示 */
html.jg-bet-room .pc28-standard-sheet--credit .botconentent .rtdivcontbtn,
html.jg-bet-room .pc28-standard-sheet--credit .botconentent .spdzhhao { display: none !important; }
#app .botconentent .ljtouzhubtn.jg-armed { background: var(--jb-fill) !important; box-shadow: 0 .10667rem .26667rem #167de44d !important; }
.jg-bet-toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 3000;
  max-width: 80vw; padding: .26667rem .42667rem; border-radius: .21333rem;
  background: #0f1a33e6; color: #fff; font-size: .37333rem; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.jg-bet-toast.is-show { opacity: 1; }
.jg-bet-confirm {
  position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center;
  background: #0f1a3366; padding: 0 .64rem;
}
.jg-bet-confirm__card {
  width: 100%; max-width: 8.53333rem; background: #fff; border-radius: .37333rem; overflow: hidden;
  box-shadow: 0 .32rem .85333rem #0f1a3340; text-align: center;
}
.jg-bet-confirm__card h3 { margin: .42667rem 0 .16rem; font-size: .42667rem; color: var(--jb-ink); }
.jg-bet-confirm__card p { margin: 0 .42667rem .42667rem; font-size: .37333rem; color: var(--jb-ink-2); line-height: 1.5; }
.jg-bet-confirm__btns { display: flex; border-top: 1px solid var(--jb-line); }
#app ~ .jg-bet-confirm .jg-bet-confirm__btns button, .jg-bet-confirm .jg-bet-confirm__btns button {
  flex: 1; height: 1.17333rem; border: 0; background: #fff; font-size: .4rem !important; color: var(--jb-vice) !important;
}
.jg-bet-confirm .jg-bet-confirm__btns button[data-a="ok"] { color: var(--jb-brand) !important; font-weight: 700 !important; border-left: 1px solid var(--jb-line); }
/* 投注核对列表 */
.jg-bet-confirm__card h3 { margin-bottom: .05333rem; }
.jg-bet-confirm__card .jg-bet-confirm__issue { margin: 0 0 .21333rem; font-size: .32rem; color: var(--jb-vice); }
.jg-bet-confirm__table {
  margin: 0 .32rem; max-height: 45vh; overflow-y: auto; border: 1px solid var(--jb-line); border-radius: .21333rem;
  text-align: left; font-size: .34667rem; color: var(--jb-ink);
}
.jg-bet-confirm__row { display: grid; grid-template-columns: 1fr 1.6rem 1.6rem; align-items: center; padding: .18667rem .26667rem; border-top: 1px solid var(--jb-line); }
.jg-bet-confirm__row:first-child { border-top: 0; }
.jg-bet-confirm__row > span:nth-child(2), .jg-bet-confirm__row > span:nth-child(3) { text-align: right; }
.jg-bet-confirm__row > span:nth-child(2) { color: var(--jb-brand); }
.jg-bet-confirm__row > span:nth-child(3) { font-weight: 700; }
.jg-bet-confirm__row em { display: block; font-style: normal; font-size: .29333rem; color: var(--jb-vice); }
.jg-bet-confirm__row--head { position: sticky; top: 0; background: var(--jb-soft); color: var(--jb-vice); font-size: .29333rem; }
.jg-bet-confirm__card .jg-bet-confirm__sum { margin: .26667rem .32rem .37333rem; font-size: .37333rem; color: var(--jb-ink-2); }
.jg-bet-confirm__sum b { color: var(--jb-brand); }
/* 站点全局重置按钮颜色用了 :not(#\#)×4，这里多一层才能盖过 */
.jg-bet-confirm .jg-bet-confirm__btns button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { color: var(--jb-vice) !important; font-size: .4rem !important; }
.jg-bet-confirm .jg-bet-confirm__btns button[data-a="ok"]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { color: var(--jb-brand) !important; font-weight: 700 !important; }
.jg-bet-confirm__row--head > span:nth-child(2) { color: var(--jb-vice); }
.jg-bet-confirm__row .jg-rgb-ch { font-style: normal; font-weight: 700; }
.jg-bet-confirm__row .jg-rgb-ch[data-c="red"] { color: #e5394a; }
.jg-bet-confirm__row .jg-rgb-ch[data-c="blue"] { color: #167de4; }
.jg-bet-confirm__row .jg-rgb-ch[data-c="green"] { color: #17a85a; }
/* 尾球选项名已缩短（尾大双），不再需要原「长名称」的小字号 */
#app .pc28-credit-center .credit-options[data-jg-sec="尾球"] .credit-option-name-long { font-size: .37333rem !important; }

/* ---------- 开奖卡片（draw-card.js）：深蓝卡片、红蓝绿号码球、四项结果、倒计时环、咪牌 / 铃声 ---------- */
/* 原开奖区只保留历史开奖下拉（数据仍从这里读） */
html.jg-has-draw #app .zhuotou-source-chrome .result-show-lottery {
  margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
  min-height: 0 !important; height: auto !important;
}
html.jg-has-draw .zhuotou-source-chrome .result-show-lottery > .show-lottery,
html.jg-has-draw .zhuotou-source-chrome .result-show-lottery > .result-top,
html.jg-has-draw .zhuotou-source-chrome .right-set .mipai { display: none !important; }

.jg-draw {
  position: relative; margin: .26667rem .32rem 0; padding: .32rem .32rem .26667rem; border-radius: .42667rem;
  color: #fff; outline: none; overflow: hidden;
  background:
    radial-gradient(circle at 85% -10%, #3a7bff55, transparent 55%),
    radial-gradient(circle at 0% 110%, #17bdff33, transparent 50%),
    linear-gradient(160deg, #13235a 0%, #0c1840 55%, #0a1234 100%);
  box-shadow: 0 .21333rem .53333rem #0a12344d;
}
.jg-draw::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(#ffffff14 1px, transparent 1.4px); background-size: .42667rem .42667rem;
}
.jg-draw > * { position: relative; }
.jg-draw__head { display: flex; justify-content: space-between; align-items: flex-start; }
.jg-draw__head small { display: block; font-size: .29333rem; color: #9fb3e6; }
.jg-draw__head h2 { margin: .05333rem 0 0; font-size: .48rem; font-weight: 800; letter-spacing: .02667rem; }
.jg-draw__head h2 b { font-weight: 800; }
.jg-draw__side { text-align: right; }
.jg-draw__side > small { margin-top: .10667rem; font-size: .26667rem; color: #8ea3d6; }
.jg-draw__pills { display: flex; gap: .13333rem; justify-content: flex-end; }
.jg-draw__state {
  display: inline-flex; align-items: center; gap: .10667rem; height: .64rem; padding: 0 .21333rem; border-radius: .32rem;
  background: #0f3d3a; border: 1px solid #1f8f6d; color: #6ff0b9; font-size: .29333rem; font-weight: 600;
}
.jg-draw__state i { width: .18667rem; height: .18667rem; border-radius: 50%; background: #34e39a; box-shadow: 0 0 .16rem #34e39a; }
.jg-draw__state em { font-style: normal; }
.jg-draw__state.is-drawing { background: #3d300f; border-color: #a8832b; color: #ffd36a; }
.jg-draw__state.is-drawing i { background: #ffc53d; box-shadow: 0 0 .16rem #ffc53d; animation: jg-pulse 1s infinite; }
@keyframes jg-pulse { 50% { opacity: .3; } }
.jg-draw .jg-draw__calc:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  height: .64rem; padding: 0 .24rem; border-radius: .32rem; border: 1px solid #ffffff3d; background: #ffffff14;
  color: #fff !important; font-size: .29333rem !important; font-weight: 600 !important;
}

/* 号码球 */
.jg-draw__balls { display: flex; align-items: center; justify-content: space-between; margin: .32rem .05333rem .29333rem; }
.jg-draw__op { font-style: normal; color: #8ea3d6; font-size: .37333rem; }
.jg-ball {
  position: relative; width: 1.33333rem; height: 1.33333rem; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 28%, #c7cfdd, #7a8396 60%, #4b5263);
  box-shadow: inset 0 -.08rem .16rem #00000040, 0 .10667rem .26667rem #00000059;
}
.jg-ball[data-c="red"] { background: radial-gradient(circle at 35% 28%, #ff9a9a, #e5394a 60%, #a3121f); }
.jg-ball[data-c="blue"] { background: radial-gradient(circle at 35% 28%, #8fd2ff, #1e7ff0 60%, #0b47a8); }
.jg-ball[data-c="green"] { background: radial-gradient(circle at 35% 28%, #8ff0b8, #18a957 60%, #0a6a33); }
.jg-ball__face {
  width: 62%; height: 62%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 35%, #fff, #e9eef6); color: #0f1a33;
  font-size: .53333rem; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -.04rem .08rem #0000001f;
}
.jg-ball[data-c="red"] .jg-ball__face { color: #d0283a; }
.jg-ball[data-c="blue"] .jg-ball__face { color: #1663cf; }
.jg-ball[data-c="green"] .jg-ball__face { color: #12844a; }
.jg-ball--sum { width: 1.52rem; height: 1.52rem; box-shadow: 0 0 0 .08rem #f3c457, 0 0 .32rem #f3c45780, 0 .10667rem .26667rem #00000059; }

/* 大小 / 单双 / 龙虎 / 形态 */
.jg-draw__attrs {
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: .26667rem; overflow: hidden;
  background: #ffffff0f; border: 1px solid #ffffff1f;
}
.jg-draw__attr { position: relative; padding: .13333rem 0 .16rem; text-align: center; }
.jg-draw__attr + .jg-draw__attr::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #ffffff24; }
.jg-draw__attr small { display: block; font-size: .26667rem; color: #9fb3e6; }
.jg-draw__attr b { display: block; margin-top: .02667rem; font-size: .42667rem; font-weight: 800; }
.jg-draw__attr b[data-v="大"], .jg-draw__attr b[data-v="龙"] { color: #ff8a8a; }
.jg-draw__attr b[data-v="小"] { color: #6cc4ff; }
.jg-draw__attr b[data-v="单"], .jg-draw__attr b[data-v="虎"] { color: #ffbe5c; }
.jg-draw__attr b[data-v="双"] { color: #5ee89a; }
.jg-draw__attr b[data-v="豹"], .jg-draw__attr b[data-v="豹子"] { color: #c79bff; }
.jg-draw__hint { margin: .16rem 0 0; text-align: center; font-size: .29333rem; color: #9fb3e6; }
.jg-draw__hint[hidden] { display: none; }

/* 下期倒计时 + 开关 */
.jg-draw__next {
  display: flex; align-items: center; gap: .26667rem; margin-top: .26667rem; padding: .21333rem .26667rem;
  border-radius: .32rem; background: #ffffff0f; border: 1px solid #ffffff1f;
}
.jg-draw__ring { position: relative; width: 1.17333rem; height: 1.17333rem; flex: none; }
.jg-draw__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.jg-draw__ring circle { fill: none; stroke-width: 5; }
.jg-draw__ring circle.bg { stroke: #ffffff1f; }
.jg-draw__ring circle.fg { stroke: #38c7ff; stroke-linecap: round; stroke-dasharray: 169.6; transition: stroke-dashoffset .9s linear; }
.jg-draw.is-closed .jg-draw__ring circle.fg { stroke: #ffffff33; }
.jg-draw__ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .29333rem; color: #cbd6f5; }
.jg-draw__cd { flex: 1; min-width: 0; }
.jg-draw__cd small { display: block; font-size: .29333rem; color: #9fb3e6; white-space: nowrap; }
.jg-draw__cd strong { display: block; font-size: .64rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.jg-draw.is-closed .jg-draw__cd strong { font-size: .48rem; color: #ffd36a; }
.jg-draw .jg-draw__bal:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  padding: 0; border: 0; background: none; color: #9fb3e6 !important; font-size: .26667rem !important; text-align: left;
}
.jg-draw__bal b { color: #fff; font-weight: 700; }
.jg-draw__toggles { display: flex; gap: .21333rem; }
.jg-draw__toggles label { display: flex; flex-direction: column; align-items: center; gap: .08rem; font-size: .26667rem; color: #cbd6f5; }
.jg-draw .jg-switch:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  position: relative; width: 1.06667rem; height: .58667rem; padding: 0; border-radius: .32rem;
  border: 1px solid #ffffff33; background: #ffffff1f; transition: background .2s;
}
.jg-draw .jg-switch::after {
  content: ''; position: absolute; left: .05333rem; top: 50%; width: .45333rem; height: .45333rem; border-radius: 50%;
  background: #fff; transform: translateY(-50%); transition: left .2s; box-shadow: 0 .02667rem .08rem #0000004d;
}
.jg-draw .jg-switch[aria-checked="true"]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { background: linear-gradient(90deg, #20c997, #34e39a); border-color: transparent; }
.jg-draw .jg-switch[aria-checked="true"]::after { left: calc(100% - .50667rem); }

/* 咪牌遮罩 */
.jg-scratch { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity .2s; z-index: 2; }
.jg-scratch.is-round { border-radius: 50%; }
.jg-scratch.is-gone { opacity: 0; pointer-events: none; }
.jg-ball .jg-scratch { box-shadow: none; }

/* 计算过程弹窗沿用投注核对样式 */
.jg-calc .jg-calc__row { grid-template-columns: 1fr auto; }
.jg-calc .jg-calc__row > span:nth-child(2) { color: var(--jb-ink); font-weight: 700; }
/* 开奖卡片紧凑版：整体缩小约四分之一，给投注区留出更多高度 */
.jg-draw { margin-top: .21333rem; padding: .24rem .26667rem .21333rem; border-radius: .37333rem; }
.jg-draw__head small { font-size: .26667rem; }
.jg-draw__head h2 { font-size: .42667rem; }
.jg-draw__side > small { margin-top: .05333rem; font-size: .24rem; }
.jg-draw__state { height: .53333rem; padding: 0 .16rem; font-size: .26667rem; }
.jg-draw__state i { width: .16rem; height: .16rem; }
.jg-draw .jg-draw__calc:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { height: .53333rem; padding: 0 .18667rem; font-size: .26667rem !important; }
.jg-draw__balls { margin: .21333rem .10667rem .18667rem; }
.jg-draw__op { font-size: .32rem; }
.jg-ball { width: 1.06667rem; height: 1.06667rem; }
.jg-ball--sum { width: 1.2rem; height: 1.2rem; box-shadow: 0 0 0 .06667rem #f3c457, 0 0 .26667rem #f3c45780, 0 .08rem .21333rem #00000059; }
.jg-ball__face { font-size: .42667rem; }
.jg-draw__attr { padding: .08rem 0 .10667rem; }
.jg-draw__attr small { font-size: .24rem; }
.jg-draw__attr b { font-size: .37333rem; margin-top: 0; }
.jg-draw__hint { margin-top: .10667rem; font-size: .26667rem; }
.jg-draw__next { gap: .21333rem; margin-top: .18667rem; padding: .13333rem .21333rem; border-radius: .26667rem; }
.jg-draw__ring { width: .93333rem; height: .93333rem; }
.jg-draw__ring span { font-size: .24rem; }
.jg-draw__cd small { font-size: .26667rem; }
.jg-draw__cd strong { font-size: .53333rem; }
.jg-draw.is-closed .jg-draw__cd strong { font-size: .42667rem; }
.jg-draw__toggles { gap: .16rem; }
.jg-draw__toggles label { gap: .05333rem; font-size: .24rem; }
.jg-draw .jg-switch:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: .93333rem; height: .50667rem; }
.jg-draw .jg-switch::after { width: .38667rem; height: .38667rem; }
.jg-draw .jg-switch[aria-checked="true"]::after { left: calc(100% - .44rem); }
/* 开奖卡片再紧凑：去掉「最新开奖」小字，结果项标签和值同一行，号码球和倒计时区再缩小（约 190px 高） */
.jg-draw { margin-top: .16rem; padding: .18667rem .24rem .16rem; border-radius: .32rem; }
.jg-draw__head { align-items: center; }
.jg-draw__head > div:first-child > small { display: none; }
.jg-draw__head h2 { margin: 0; font-size: .4rem; }
.jg-draw__side { display: flex; align-items: center; gap: .13333rem; }
.jg-draw__side > small { margin: 0; order: -1; }
.jg-draw__state { height: .48rem; font-size: .24rem; }
.jg-draw .jg-draw__calc:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { height: .48rem; padding: 0 .16rem; font-size: .24rem !important; }
.jg-draw__balls { margin: .16rem .21333rem .13333rem; }
.jg-ball { width: .90667rem; height: .90667rem; }
.jg-ball--sum { width: 1.01333rem; height: 1.01333rem; box-shadow: 0 0 0 .05333rem #f3c457, 0 0 .21333rem #f3c45780, 0 .05333rem .16rem #00000059; }
.jg-ball__face { font-size: .37333rem; }
.jg-draw__attr { display: flex; align-items: baseline; justify-content: center; gap: .10667rem; padding: .08rem 0; }
.jg-draw__attr small { display: inline; font-size: .24rem; }
.jg-draw__attr b { display: inline; font-size: .34667rem; }
.jg-draw__hint { margin-top: .08rem; font-size: .24rem; }
.jg-draw__next { margin-top: .13333rem; padding: .10667rem .18667rem; gap: .18667rem; }
.jg-draw__ring { width: .8rem; height: .8rem; }
.jg-draw__ring span { font-size: .21333rem; }
.jg-draw__cd small { font-size: .24rem; }
.jg-draw__cd strong { font-size: .45333rem; }
.jg-draw.is-closed .jg-draw__cd strong { font-size: .37333rem; }
.jg-draw .jg-draw__bal:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { font-size: .24rem !important; }
.jg-draw__toggles label { font-size: .21333rem; }
.jg-draw .jg-switch:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: .82667rem; height: .45333rem; }
.jg-draw .jg-switch::after { width: .34667rem; height: .34667rem; }
.jg-draw .jg-switch[aria-checked="true"]::after { left: calc(100% - .4rem); }
/* 卡片自带基准字号和行高，避免继承根字号把行高撑大；余额按钮、倒计时环图块级显示 */
.jg-draw { font-size: .32rem; line-height: 1.3; }
.jg-draw .jg-draw__bal:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { display: block; line-height: 1.3; margin-top: .02667rem; }
.jg-draw__ring svg { display: block; }
/* 顶部标题栏右侧的咪牌 / 铃声开关（draw-card.js），在 ☰ 左边 */
.jg-head-tools { position: absolute; top: 0; bottom: 0; right: 1.42667rem; display: flex; align-items: center; gap: .08rem; z-index: 2; }
.jg-head-tools .jg-head-tool:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .02667rem;
  width: .74667rem; height: 1.06667rem; padding: 0; border: 0; background: none;
  color: #fff !important; font-size: .21333rem !important; line-height: 1 !important; opacity: .55; transition: opacity .2s;
}
.jg-head-tool svg { width: .50667rem; height: .50667rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.jg-head-tool .off { display: none; }
.jg-head-tools .jg-head-tool[aria-checked="true"]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { opacity: 1; }
.jg-head-tool[aria-checked="true"] svg { filter: drop-shadow(0 0 .08rem #ffffffb3); }
.jg-head-tool[data-t="sound"][aria-checked="false"] .off { display: inline; }
.jg-head-tool[data-t="mipai"][aria-checked="false"] svg path { opacity: .5; }

/* 卡片底部右侧改为余额 */
.jg-draw__wallet { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; position: relative; padding-right: .58667rem; }
.jg-draw__wallet small { font-size: .24rem; color: #9fb3e6; }
.jg-draw__wallet b { font-size: .42667rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.15; }
.jg-draw .jg-draw__refresh:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: .48rem; height: .48rem; padding: 0;
  border: 0; border-radius: 50%; background: #ffffff1f; color: #cbd6f5 !important;
  display: flex; align-items: center; justify-content: center;
}
.jg-draw__refresh svg { width: .32rem; height: .32rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.jg-draw__refresh.is-spin svg { animation: jg-spin .8s linear; }
@keyframes jg-spin { to { transform: rotate(360deg); } }
/* 房间名过长时省略，避免和顶栏右侧开关重叠 */
html.jg-has-draw .zhuotou-source-chrome .header .game-name span { display: inline-block; max-width: 3.89333rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
/* 咪牌：遮罩比球大一圈，边缘落在卡片底色上，不露球的红蓝绿；球本身保持原色和号码，刮到哪里露出哪里 */
.jg-ball .jg-scratch.is-round { inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); }
/* 去掉大小 / 单双 / 龙虎 / 形态这一行和咪牌提示，号码球放大 */
.jg-draw__attrs, .jg-draw__hint { display: none !important; }
.jg-draw__balls { margin: .26667rem .21333rem .21333rem; }
.jg-ball { width: 1.2rem; height: 1.2rem; }
.jg-ball--sum { width: 1.36rem; height: 1.36rem; box-shadow: 0 0 0 .06667rem #f3c457, 0 0 .26667rem #f3c45780, 0 .08rem .21333rem #00000059; }
.jg-ball__face { font-size: .48rem; }
.jg-draw__op { font-size: .37333rem; }
/* 倒计时上方的「开奖历史」入口 */
.jg-draw__cd small { display: flex; align-items: center; gap: .16rem; }
.jg-draw .jg-draw__hist:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  display: inline-flex; align-items: center; gap: .02667rem; height: .42667rem; padding: 0 .13333rem 0 .16rem;
  border: 1px solid #ffffff33; border-radius: .21333rem; background: #ffffff14;
  color: #cbe3ff !important; font-size: .24rem !important; line-height: 1 !important; white-space: nowrap;
}
.jg-draw__hist i { font-style: normal; font-size: .32rem; line-height: 1; margin-top: -.02667rem; }
/* 开奖历史下拉：与开奖卡片同款深蓝风格，号码为红蓝绿小球 */
html.jg-has-draw #app .history-menu .van-dropdown-item__content {
  background: linear-gradient(180deg, #13235a 0%, #0c1840 100%) !important; border-radius: 0 0 .37333rem .37333rem;
  box-shadow: 0 .21333rem .53333rem #0a12344d;
}
html.jg-has-draw #app .history-menu .kj_pop { background: transparent !important; color: #fff; }
html.jg-has-draw #app .history-menu .kj_pop .title {
  display: grid !important; grid-template-columns: 1.6rem 1.86667rem 1fr; align-items: center;
  height: auto !important; padding: .21333rem .32rem !important; background: #ffffff0d !important;
  color: #9fb3e6 !important; font-size: .29333rem !important; border: 0 !important;
}
html.jg-has-draw #app .history-menu .kj_pop .title span { width: auto !important; text-align: left !important; color: inherit !important; }
html.jg-has-draw #app .history-menu .kj_pop .title span:last-child { text-align: right !important; }
html.jg-has-draw #app .history-menu .kj_pop .pop_centent { background: transparent !important; }
html.jg-has-draw #app .history-menu .kj_pop li {
  display: grid !important; grid-template-columns: 1.6rem 1.86667rem 1fr; align-items: center;
  height: auto !important; padding: .18667rem .32rem !important; margin: 0 !important;
  border: 0 !important; border-top: 1px solid #ffffff14 !important; background: transparent !important;
  color: #cbd6f5 !important; font-size: .32rem !important;
}
html.jg-has-draw #app .history-menu .kj_pop li > span { width: auto !important; text-align: left !important; }
html.jg-has-draw #app .history-menu .kj_pop li > span:first-child { color: #6cc4ff !important; font-weight: 700; font-variant-numeric: tabular-nums; }
html.jg-has-draw #app .history-menu .kj_pop li > span:nth-child(2) { color: #8ea3d6 !important; font-size: .29333rem !important; }
html.jg-has-draw #app .history-menu .kj_pop li > div {
  display: flex !important; align-items: center; justify-content: flex-end; gap: .05333rem;
  width: auto !important; color: #8ea3d6 !important; font-size: .29333rem !important; white-space: nowrap;
}
html.jg-has-draw #app .history-menu .kj_pop li > div > i {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: .58667rem !important; height: .58667rem !important; margin: 0 !important; border-radius: 50% !important;
  font-style: normal; font-size: .29333rem !important; font-weight: 800; line-height: 1 !important; color: #fff !important;
  box-shadow: inset 0 -.04rem .08rem #00000033;
}
html.jg-has-draw #app .history-menu .kj_pop li > div > i:last-of-type { width: .64rem !important; height: .64rem !important; box-shadow: 0 0 0 .04rem #f3c457, inset 0 -.04rem .08rem #00000033; }
html.jg-has-draw #app .history-menu .search_more {
  background: transparent !important; color: #6cc4ff !important; border-top: 1px solid #ffffff14 !important;
  padding: .26667rem 0 !important; font-size: .32rem !important;
}
html.jg-has-draw #app .history-menu .kj_pop li > div > i:last-of-type { margin-right: .13333rem !important; }
html.jg-has-draw #app .history-menu .kj_pop li > div { color: #e6edff !important; font-weight: 600; }
/* 和值球与 A/B/C 同样大小，只保留金色外圈 */
.jg-ball--sum { width: 1.2rem; height: 1.2rem; }
/* 「开奖结果」整页的号码球红蓝绿（draw-card.js 打 data-jg-rgb） */
#app .result .ball[data-jg-rgb] { color: #fff !important; box-shadow: inset 0 -.05333rem .10667rem #00000033, 0 .05333rem .13333rem #0000001f; }
#app .result .ball[data-jg-rgb="red"] { background: radial-gradient(circle at 35% 28%, #ff9a9a, #e5394a 60%, #a3121f) !important; }
#app .result .ball[data-jg-rgb="blue"] { background: radial-gradient(circle at 35% 28%, #8fd2ff, #1e7ff0 60%, #0b47a8) !important; }
#app .result .ball[data-jg-rgb="green"] { background: radial-gradient(circle at 35% 28%, #8ff0b8, #18a957 60%, #0a6a33) !important; }

/* ---------- 下注功能页（bet-tools.js）：追号 + 00/27 保险 ---------- */
.jg-tools { display: grid; gap: .26667rem; padding: .32rem; background: var(--jb-bg); }
.jg-tools__card {
  padding: .37333rem .32rem; border-radius: .37333rem; background: var(--jb-card);
  border: 1px solid var(--jb-line); box-shadow: var(--jb-shadow); color: var(--jb-ink);
}
.jg-tools__card h3 { display: flex; align-items: center; gap: .16rem; margin: 0; font-size: .42667rem; font-weight: 800; }
.jg-tools__card h3::before { content: ''; width: .08rem; height: .37333rem; border-radius: .04rem; background: var(--jb-fill); }
.jg-tools__card h4 { margin: .37333rem 0 .16rem; font-size: .37333rem; font-weight: 700; color: var(--jb-ink); }
.jg-tools__desc { margin: .16rem 0 .26667rem; font-size: .32rem; line-height: 1.6; color: var(--jb-vice); }
.jg-tools__desc.is-err { color: #e5394a; }
.jg-tools__picked { display: flex; flex-wrap: wrap; align-items: center; gap: .13333rem; margin-bottom: .26667rem; font-size: .32rem; color: var(--jb-ink-2); }
.jg-tools__picked span { padding: .05333rem .18667rem; border-radius: .26667rem; background: var(--jb-soft); border: 1px solid var(--jb-line); }
.jg-tools__picked b { color: var(--jb-brand); }
.jg-tools__picked em { font-style: normal; color: var(--jb-assist); }
.jg-tools__btns { display: flex; gap: .21333rem; }
.jg-tools .jg-tools__btn:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  flex: 1; height: 1.06667rem; padding: 0 .26667rem; border-radius: .29333rem;
  border: 1px solid var(--jb-line); background: var(--jb-soft);
  color: var(--jb-ink-2) !important; font-size: .37333rem !important; font-weight: 700 !important;
}
.jg-tools .jg-tools__btn.is-primary:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  border-color: transparent; background: var(--jb-fill); color: #fff !important; box-shadow: 0 .08rem .21333rem #167de44d;
}
.jg-tools .jg-tools__btn.is-block:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { width: 100%; height: 1.17333rem; margin-top: .26667rem; }

.jg-ins__tag { margin-left: auto; padding: .04rem .18667rem; border-radius: .26667rem; background: #fff3e0; color: #c46a00; font-size: .26667rem; font-weight: 600; }
.jg-ins__nums { display: grid; grid-template-columns: 1fr 1fr; gap: .21333rem; }
.jg-tools .jg-ins__num:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  display: flex; align-items: center; gap: .21333rem; padding: .21333rem .26667rem; border-radius: .32rem;
  border: 1px solid var(--jb-line); background: var(--jb-card); color: var(--jb-ink) !important; text-align: left;
}
.jg-ins__num b {
  display: inline-flex; align-items: center; justify-content: center; width: .96rem; height: .96rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ff9a9a, #e5394a 60%, #a3121f); color: #fff; font-size: .42667rem; font-weight: 800;
  box-shadow: inset 0 -.05333rem .10667rem #00000033;
}
.jg-ins__num small { font-size: .32rem; color: var(--jb-vice); }
.jg-tools .jg-ins__num.is-on:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { border-color: var(--jb-brand); background: #eaf3ff; box-shadow: 0 0 0 1px var(--jb-brand) inset; }
.jg-ins__num.is-on small { color: var(--jb-brand); font-weight: 700; }
.jg-ins__num[disabled] { opacity: .5; }
.jg-ins__stake { display: flex; align-items: center; gap: .13333rem; margin-top: .26667rem; font-size: .34667rem; color: var(--jb-ink-2); }
.jg-ins__stake > span { margin-right: auto; font-weight: 600; }
.jg-ins__stake small { color: var(--jb-assist); font-size: .29333rem; }
.jg-tools .jg-ins__stake button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  width: .85333rem; height: .85333rem; border-radius: .21333rem; border: 1px solid var(--jb-line); background: var(--jb-soft);
  color: var(--jb-brand) !important; font-size: .48rem !important; font-weight: 700 !important; line-height: 1 !important;
}
.jg-ins__stake input {
  width: 1.6rem; height: .85333rem; border-radius: .21333rem; border: 1px solid var(--jb-brand); background: #fff;
  text-align: center; font-size: .4rem; font-weight: 800; color: var(--jb-ink);
}
.jg-ins__quote { display: grid; grid-template-columns: 1fr 1fr; gap: .10667rem .32rem; margin-top: .26667rem; padding: .26667rem .32rem; border-radius: .26667rem; background: var(--jb-soft); border: 1px solid var(--jb-line); }
.jg-ins__quote > div { display: flex; justify-content: space-between; gap: .13333rem; font-size: .32rem; color: var(--jb-vice); }
.jg-ins__quote > div b { color: var(--jb-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.jg-ins__quote > div:first-child { grid-column: 1 / -1; }
.jg-ins__quote > div.is-total b { color: var(--jb-brand); font-size: .37333rem; }
.jg-ins__quote .jg-tools__desc { grid-column: 1 / -1; margin: 0; }
.jg-ins__list { display: grid; gap: .16rem; }
.jg-ins__item { padding: .21333rem .26667rem; border-radius: .26667rem; border: 1px solid var(--jb-line); background: var(--jb-card); }
.jg-ins__item-top { display: flex; justify-content: space-between; font-size: .34667rem; }
.jg-ins__item-top span { color: #17a85a; font-size: .29333rem; font-weight: 600; }
.jg-ins__item.is-done .jg-ins__item-top span { color: var(--jb-vice); }
.jg-ins__item-meta { margin-top: .05333rem; font-size: .29333rem; color: var(--jb-vice); }
.jg-ins__item-meta b { color: var(--jb-brand); }
.jg-tools { align-content: start; grid-auto-rows: max-content; }

/* ---------- 下注功能：页签 + 追号面板（bet-tools.js chaseSection） ---------- */
.jg-tools > [hidden] { display: none !important; }
.jg-tools__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .10667rem; padding: .10667rem; border-radius: .32rem; background: #e6eefc; }
.jg-tools .jg-tools__tabs button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  height: .90667rem; border: 0; border-radius: .26667rem; background: transparent;
  color: var(--jb-vice) !important; font-size: .37333rem !important; font-weight: 700 !important;
}
.jg-tools .jg-tools__tabs button.is-on:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { background: #fff; color: var(--jb-brand) !important; box-shadow: 0 .05333rem .16rem #167de426; }

.jg-tools .jg-chase__link:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  margin-left: auto; padding: 0; border: 0; background: none; color: var(--jb-brand) !important; font-size: .32rem !important; font-weight: 600 !important;
}
.jg-chase__sec { padding: .29333rem 0; border-bottom: 1px dashed var(--jb-line); }
.jg-chase__sec:last-of-type { border-bottom: 0; }
.jg-chase__label { display: flex; align-items: baseline; gap: .16rem; font-size: .34667rem; font-weight: 700; color: var(--jb-ink); }
.jg-chase__label small { font-size: .28rem; font-weight: 400; color: var(--jb-assist); }
.jg-chase__row { display: flex; align-items: center; gap: .13333rem; margin-top: .21333rem; }
.jg-chase__row > .jg-chase__label { margin-right: auto; }
.jg-chase__unit { font-size: .32rem; color: var(--jb-vice); }
.jg-chase__help { margin: .13333rem 0 0; font-size: .29333rem; line-height: 1.5; color: var(--jb-vice); }

.jg-chase__codes, .jg-chase__chips, .jg-chase__modes { display: flex; flex-wrap: wrap; gap: .16rem; margin-top: .18667rem; }
.jg-chase__modes { display: grid; grid-template-columns: repeat(3, 1fr); }
.jg-tools .jg-chase__code:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.jg-tools .jg-chase__chips button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.jg-tools .jg-chase__modes button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  min-height: .8rem; padding: 0 .29333rem; border-radius: .4rem; border: 1px solid var(--jb-line); background: var(--jb-soft);
  color: var(--jb-ink-2) !important; font-size: .32rem !important; font-weight: 600 !important;
}
.jg-tools .jg-chase__modes button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { border-radius: .26667rem; min-height: .90667rem; font-size: .34667rem !important; }
.jg-tools .jg-chase__code.is-on:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.jg-tools .jg-chase__chips button.is-on:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#),
.jg-tools .jg-chase__modes button.is-on:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  border-color: var(--jb-brand); background: #eaf3ff; color: var(--jb-brand) !important; box-shadow: 0 0 0 1px var(--jb-brand) inset;
}
.jg-tools .jg-chase__code:not(.is-on):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { color: var(--jb-assist) !important; text-decoration: line-through; }
.jg-chase__code small { margin-left: .10667rem; font-size: .26667rem; color: #e5394a; font-weight: 700; }

.jg-step { display: inline-flex; align-items: center; gap: .08rem; }
.jg-tools .jg-step button:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  width: .8rem; height: .8rem; padding: 0; border-radius: .21333rem; border: 1px solid var(--jb-line); background: var(--jb-soft);
  color: var(--jb-brand) !important; font-size: .45333rem !important; font-weight: 700 !important; line-height: 1 !important;
}
.jg-step input {
  width: 1.6rem; height: .8rem; padding: 0; border-radius: .21333rem; border: 1px solid var(--jb-line); background: #fff;
  text-align: center; font-size: .37333rem; font-weight: 800; color: var(--jb-ink); -moz-appearance: textfield;
}
.jg-step input::-webkit-inner-spin-button, .jg-step input::-webkit-outer-spin-button,
.jg-chase__table input::-webkit-inner-spin-button, .jg-chase__table input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.jg-chase__row select {
  max-width: 5.6rem; height: .8rem; padding: 0 .26667rem; border-radius: .21333rem; border: 1px solid var(--jb-line); background: #fff;
  font-size: .32rem; font-weight: 600; color: var(--jb-ink);
}

.jg-chase__switch { display: flex; align-items: center; gap: .26667rem; margin-top: .26667rem; padding: .21333rem .26667rem; border-radius: .26667rem; background: var(--jb-soft); cursor: pointer; }
.jg-chase__switch > span { display: grid; gap: .04rem; margin-right: auto; }
.jg-chase__switch b { font-size: .34667rem; color: var(--jb-ink); }
.jg-chase__switch small { font-size: .28rem; color: var(--jb-vice); }
.jg-chase__switch input { position: absolute; opacity: 0; pointer-events: none; }
.jg-chase__switch i { position: relative; flex: none; width: 1.06667rem; height: .61333rem; border-radius: .32rem; background: #c9d5ea; transition: background .2s; }
.jg-chase__switch i::after { content: ''; position: absolute; top: .05333rem; left: .05333rem; width: .50667rem; height: .50667rem; border-radius: 50%; background: #fff; box-shadow: 0 .02667rem .08rem #0003; transition: transform .2s; }
.jg-chase__switch input:checked + i { background: var(--jb-brand); }
.jg-chase__switch input:checked + i::after { transform: translateX(.45333rem); }
.jg-chase__switch input:focus-visible + i { outline: 2px solid var(--jb-brand); outline-offset: 2px; }

.jg-chase__table { margin-top: .18667rem; border: 1px solid var(--jb-line); border-radius: .26667rem; overflow: hidden; font-variant-numeric: tabular-nums; }
.jg-chase__tr { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1.1fr 1.3fr; align-items: center; min-height: .85333rem; padding: 0 .16rem; font-size: .30667rem; color: var(--jb-ink-2); text-align: center; }
.jg-chase__tr + .jg-chase__tr { border-top: 1px solid var(--jb-line); }
.jg-chase__tr:nth-child(odd):not(.is-head) { background: #f8fbff; }
.jg-chase__tr.is-head { min-height: .69333rem; background: var(--jb-soft); font-size: .28rem; font-weight: 700; color: var(--jb-vice); }
.jg-chase__tr input { width: 1.2rem; height: .64rem; padding: 0; border-radius: .16rem; border: 1px solid var(--jb-line); background: #fff; text-align: center; font-size: .32rem; font-weight: 700; color: var(--jb-brand); -moz-appearance: textfield; }
.jg-chase__tr .is-up { color: #17a85a; font-weight: 700; }
.jg-chase__tr .is-down { color: #e5394a; font-weight: 700; }
.jg-tools .jg-chase__more:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
  display: block; width: 100%; margin-top: .13333rem; padding: .10667rem 0; border: 0; background: none; color: var(--jb-brand) !important; font-size: .32rem !important; font-weight: 600 !important;
}
.jg-chase__note { margin: .10667rem 0 0; font-size: .26667rem; line-height: 1.5; color: var(--jb-assist); }

.jg-chase__bar {
  position: sticky; bottom: -.32rem; z-index: 2; display: flex; align-items: center; gap: .26667rem;
  margin: .16rem -.32rem -.37333rem; padding: .26667rem .32rem calc(.26667rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--jb-line); border-radius: 0 0 .37333rem .37333rem; background: #fffffff2; backdrop-filter: blur(6px);
}
.jg-chase__bar:empty { display: none; }
.jg-chase__bar > div { display: grid; gap: .04rem; flex: 1; min-width: 0; }
.jg-chase__bar b { font-size: .34667rem; color: var(--jb-ink); }
.jg-chase__bar em { font-style: normal; color: var(--jb-brand); font-size: .42667rem; }
.jg-chase__bar small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .28rem; color: var(--jb-vice); }
.jg-chase__bar .is-err { color: #e5394a; }
.jg-tools .jg-chase__bar .jg-tools__btn:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { flex: none; width: 2.8rem; }
.jg-tools .jg-tools__btn[disabled]:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) { opacity: .45; box-shadow: none; }

.jg-chase__empty, .jg-chase__ok { display: grid; justify-items: center; gap: .16rem; padding: .53333rem .26667rem .26667rem; text-align: center; }
.jg-chase__empty b, .jg-chase__ok b { font-size: .4rem; color: var(--jb-ink); }
.jg-chase__ok b { color: #17a85a; }
.jg-chase__empty p, .jg-chase__ok p { margin: 0 0 .16rem; font-size: .32rem; line-height: 1.6; color: var(--jb-vice); }
.jg-chase__empty .jg-tools__btn, .jg-chase__ok .jg-tools__btns { width: 100%; }
.jg-chase__warn { margin: .13333rem 0 0; padding: .16rem .21333rem; border-radius: .21333rem; background: #fff3e0; color: #c46a00; font-size: .29333rem; line-height: 1.5; }
