:root[data-jg-mode="light"] { color-scheme: light; }
:root[data-jg-mode="dark"] { color-scheme: dark; background: #101a2d; }
:root[data-jg-mode="dark"] body { background-color: #101a2d; color: #e5edfc; }
/* 红包钱包显式使用夜间材质，避免自动转换把浅红底变成棕红底。 */
@layer jg-night-materials {
  :root[data-jg-mode="dark"] .jg-ac-commission-table td, :root[data-jg-mode="dark"] .jg-ac-commission-vendors button[aria-pressed=true] { color:#83b8ff !important; }
  :root[data-jg-mode="dark"] .profile-details-v3 :is(.pd-header,.pd-identity-text h2,.pd-field strong) { color:#edf2fa !important; }
  :root[data-jg-mode="dark"] .profile-details-v3 :is(.pd-label,.pd-identity-text p,.pd-lock) { color:#a5b3c7 !important; }
  :root[data-jg-mode="dark"] .profile-details-v3 :is(.pd-change-avatar,.pd-edit-label) { color:#83b8ff !important; }
  :root[data-jg-mode="dark"] .pd-nickname :is(.tittle,.indses) { color:#edf2fa !important; }
  :root[data-jg-mode="dark"] .pd-nickname .beCancel { color:#a5b3c7 !important; }
  :root[data-jg-mode="dark"] .pd-nickname .beSure { color:#83b8ff !important; }
  :root[data-jg-mode="dark"] .packet-accounts { --red:#ff98a4 !important; --ink:#edf2fa !important; --muted:#a5b3c7 !important; background:#101a2d !important; color:#edf2fa !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(h1,h2,h3,.row-balance strong,.progress-values,.record-summary b,.record-line,.detail>p,.back-button) { color:#edf2fa !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.explain,.games-label,.loading,.empty-state p,.card-title small,.row-balance>span,.progress-heading,.progress-values span,.record-summary,.record-line small,.transfer-dialog>p) { color:#a5b3c7 !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.header-records,.account-tabs button.selected,.progress-heading b,.text-button) { color:#ff98a4 !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.card,.transfer-dialog) { background:#18263c !important; border-color:#2b3b54 !important; color:#edf2fa !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(button,select,input,a) { background-color:#1c2c44 !important; border-color:#34465f !important; color:#dbe5f3 !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.back-button,.header-records,.account-tabs button,.text-button) { background:transparent !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.primary,.detail a) { background:#bf3049 !important; border-color:#bf3049 !important; color:#fff !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.account-tabs,.card-actions,.record-line,.transfer-choice,.usage-panel) { border-color:#2b3b54 !important; }
  :root[data-jg-mode="dark"] .packet-accounts :is(.account-tabs span,.state-badge,.venue,.empty-transfer) { background:#22324a !important; color:#b6c3d6 !important; }
  :root[data-jg-mode="dark"] .packet-accounts .state-badge.ready { background:#482c34 !important; color:#ffb3b9 !important; }
  :root[data-jg-mode="dark"] .packet-accounts .packet-badge { background:#432a36 !important; color:#ff98a4 !important; --packet-icon-line:#432a36; }
  :root[data-jg-mode="dark"] .packet-accounts .empty-icon { color:#e78394 !important; --packet-icon-line:#101a2d; }
  :root[data-jg-mode="dark"] .packet-accounts progress, :root[data-jg-mode="dark"] .packet-accounts progress::-webkit-progress-bar { background:#344157 !important; }
  :root[data-jg-mode="dark"] .packet-accounts progress::-webkit-progress-value { background:linear-gradient(90deg,#ffacac,#ee6d87) !important; }
  :root[data-jg-mode="dark"] .packet-accounts progress::-moz-progress-bar { background:#ee6d87 !important; }
  :root[data-jg-mode="dark"] .packet-accounts .feedback { background:#432a36 !important; color:#ffbac4 !important; }
  :root[data-jg-mode="dark"] .packet-accounts .feedback.success { background:#183d34 !important; color:#a2e1c5 !important; }
  :root[data-jg-mode="dark"] .packet-accounts .pending { background:#3d3325 !important; border-color:#6d5941 !important; color:#edce9c !important; }
  :root[data-jg-mode="dark"] .packet-accounts .balance-card { background:linear-gradient(118deg,#c63f56,#a32643 68%,#86233c) !important; box-shadow:0 10px 24px #0003 !important; }
  :root[data-jg-mode="dark"] .packet-accounts .balance-card * { color:#fff !important; }
  :root[data-jg-mode="dark"] .packet-accounts .balance-card .icon-button { background:transparent !important; }
  :root[data-jg-mode="dark"] .packet-accounts .balance-card .refresh { background:#ffffff1c !important; }
  :root[data-jg-mode="dark"] .packet-accounts .balance-foot { border-color:#ffffff29 !important; }
}
.hallPage > .head_area:has(.jg-mode-toggle) { display:grid; grid-template-columns:1fr auto 1fr; }
.hallPage > .head_area:has(.jg-mode-toggle) .head_text { margin:0; width:auto; }
.hallPage > .head_area:has(.jg-mode-toggle) .right_menu { justify-self:end; gap:.12rem; }
.hallPage .jg-mode-toggle { display:inline-grid; place-items:center; width:clamp(34px,.8rem,44px); height:clamp(34px,.8rem,44px); padding:0; border:0; border-radius:.2rem; cursor:pointer; color:#1b69b4; background:transparent; }
.hallPage .jg-mode-toggle svg { width:.46rem; height:.46rem; min-width:18px; min-height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.hallPage .jg-mode-toggle:focus-visible { outline:2px solid #348ef1; outline-offset:1px; }
:root[data-jg-mode="dark"] .hallPage .jg-mode-toggle { color:#ffd585; background:#22334e; }
#jg-mode-notice { position:fixed; left:50%; bottom:16%; transform:translateX(-50%); z-index:99999; padding:.22rem .4rem; border-radius:.2rem; background:#253650; color:#fff; font-size:.32rem; pointer-events:none; }
/* 与 9n 相同的按钮原点圆形扩散；不支持视图过渡或减少动态效果时直接切换。 */
html[data-jg-transition="reveal"]::view-transition { pointer-events: none; }
html[data-jg-transition="reveal"] *, html[data-jg-transition="reveal"] ::before, html[data-jg-transition="reveal"] ::after { transition: none !important; }
html[data-jg-transition="reveal"]::view-transition-group(root) { animation: none; }
html[data-jg-transition="reveal"]::view-transition-image-pair(root) { isolation: auto; }
html[data-jg-transition="reveal"]::view-transition-old(root), html[data-jg-transition="reveal"]::view-transition-new(root) { mix-blend-mode: normal; animation: none; pointer-events: none; }
html[data-jg-transition="reveal"]::view-transition-old(root) { z-index: 1; }
html[data-jg-transition="reveal"]::view-transition-new(root) { z-index: 2; animation: jg-mode-reveal .6s cubic-bezier(.4,0,.2,1) both; }
@keyframes jg-mode-reveal {
  from { clip-path: circle(0 at var(--jg-mode-origin)); }
  to { clip-path: circle(var(--jg-mode-radius) at var(--jg-mode-origin)); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-jg-transition="reveal"]::view-transition-new(root) { animation: none; }
}
/* 夜间材料保留大厅的蓝色层次和底栏玻璃质感；图片使用自身的颜色。 */
@layer jg-night-materials {
  :root[data-jg-mode="dark"] .jg-hero-hall > .head_area { background: transparent !important; }
  :root[data-jg-mode="dark"] .jg-hero-hall > .maincontent { background: linear-gradient(155deg,#1b304a,#101b2d 12rem) !important; }
  :root[data-jg-mode="dark"] .jg-footer__panel { background: #142238 !important; }
  :root[data-jg-mode="dark"] .jg-brand-hero { background: linear-gradient(180deg,#101b2d,#182d49 64%,#101a2d) !important; }
  :root[data-jg-mode="dark"] .jg-brand-hero:has(.jg-brand-hero__person[src*="hall-hero-portrait-night"]) {
    background: linear-gradient(90deg, #162941a6, transparent 70%), var(--hall-night-scene) center / cover no-repeat, #192c43 !important;
  }
  :root[data-jg-mode="dark"] .jg-brand-hero:has(.jg-brand-hero__person[src*="hall-hero-portrait-night"])::before { display: none; }
  :root[data-jg-mode="dark"] .jg-brand-hero__person[src*="hall-hero-portrait-night"] {
    mask-image: none !important;
    top: 2%; right: 2%; height: 96%; max-width: 53%;
  }
  :root[data-jg-mode="dark"] .jg-brand-hero::before { opacity: .13; }
  :root[data-jg-mode="dark"] .jg-brand-hero__copy h2 { color: #e6efff !important; }
  :root[data-jg-mode="dark"] .jg-hero-hall .jg-brand-hero { border-color:#ffffff12 !important; box-shadow:inset 0 0 0 1px #344861 !important; }
  /* premium.css 游戏大厅暗夜材质（房间卡片本身为彩色，保持原色） */
  :root[data-jg-mode="dark"] .jg-lobby-sheet { background:#101a2d !important; }
  :root[data-jg-mode="dark"] .jg-lobby-sheet .jg-sheet__head { background:#16233ab8 !important; box-shadow:0 1px 0 #ffffff0f !important; }
  :root[data-jg-mode="dark"] .jg-lobby__tabs { background:#101a2ddb !important; }
  :root[data-jg-mode="dark"] .jg-lobby__tabs.is-stuck { box-shadow:0 1px 0 #ffffff0f !important; }
  :root[data-jg-mode="dark"] .jg-lobby__seg button { background:linear-gradient(180deg,#1b2a44 0%,#17243b 100%) !important; box-shadow:0 0 0 1px #ffffff12,0 1px 2px #00000040,inset 0 1px 0 #ffffff0d !important; }
  :root[data-jg-mode="dark"] .jg-lobby__seg button:not(.is-on):active { background:#1f2f4c !important; }
  :root[data-jg-mode="dark"] .jg-lobby__ind { background:linear-gradient(180deg,#3a88f7 0%,#1f63dc 52%,#1a55c4 100%) !important; box-shadow:0 0 0 1px #2c6fe0,inset 0 1px 0 #ffffff47,inset 0 -1px 0 #0a2f7a59,0 .08rem .21333rem -.08rem #000000b3 !important; }
  :root[data-jg-mode="dark"] .jg-lobby__ind::after { background:linear-gradient(180deg,#ffffff2e,#ffffff00) !important; }
  :root[data-jg-mode="dark"] .jg-lobby__lbl { color:#aab7cc !important; }
  :root[data-jg-mode="dark"] .jg-lobby__seg svg { color:#7fb5ff !important; }
  :root[data-jg-mode="dark"] .jg-lobby__seg button.is-on .jg-lobby__lbl,
  :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-target .jg-lobby__lbl,
  :root[data-jg-mode="dark"] .jg-lobby__seg button.is-on svg,
  :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-target svg { color:#fff !important; }
  :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-on:not(.is-target) .jg-lobby__lbl { color:#aab7cc !important; }
  :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-on:not(.is-target) svg { color:#7fb5ff !important; }
  :root[data-jg-mode="dark"] .jg-rcard--soon { background:linear-gradient(155deg,#223652 0%,#192b44 65%,#16263d) !important; border-color:#ffffff12 !important; box-shadow:inset 0 0 0 1px #344861 !important; color:#97a8c2 !important; }
  :root[data-jg-mode="dark"] .jg-rcard--soon b { color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-rcard__lock { background:#263652 !important; box-shadow:0 0 0 1px #ffffff17 !important; }
  :root[data-jg-mode="dark"] .jg-wallet-page, :root[data-jg-mode="dark"] .jg-payments.recharge, :root[data-jg-mode="dark"] .jg-payments.dw-native-withdrawal-slot, :root[data-jg-mode="dark"] .jg-payments.withdraw { background:linear-gradient(155deg,#18284a 0,#121d33 4.8rem,#101a2d 9rem) !important; }
  :root[data-jg-mode="dark"] .jg-funds-title h3 { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-funds-title small { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wallet-brand b { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-wallet-brand small { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wallet-records, :root[data-jg-mode="dark"] .jg-payments .navhead .source-tab { background:#1a2a42 !important; border-color:#ffffff1f !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-wallet-records span { color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-payments .navhead .source-tab { color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .jg-wallet-balance { background:radial-gradient(120% 140% at 100% 0%,#ffffff26 0%,#ffffff00 45%),linear-gradient(135deg,#2f7fe6 0%,#1556c2 52%,#0a3c96 100%) !important; color:#fff !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-wallet-balance * { color:#fff !important; }
  :root[data-jg-mode="dark"] .jg-wallet-balance__coin { background:#fff !important; color:#17a676 !important; }
  :root[data-jg-mode="dark"] .jg-channel { background:#1a2a42 !important; border-color:#ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-channel span { color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-channel[aria-pressed=true] { background:#1d3a63 !important; border-color:#4f96ff !important; }
  :root[data-jg-mode="dark"] .jg-channel[aria-pressed=true] span { color:#9cc4ff !important; }
  :root[data-jg-mode="dark"] .jg-channel:disabled { background:#16233a !important; }
  :root[data-jg-mode="dark"] .jg-channel:disabled span { color:#6f819c !important; }
  :root[data-jg-mode="dark"] .jg-channel:disabled::after { background:#22324d !important; color:#8ea0bb !important; }
  :root[data-jg-mode="dark"] .jg-payments #orderlist#orderlist .box { background:#1a2a42 !important; border-color:#ffffff1f !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-amount-clear { color:#5d7091 !important; }
  :root[data-jg-mode="dark"] .jg-hot__card--art { background:none !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-hot__card--art .jg-rcard__img { filter:drop-shadow(0 .05333rem .10667rem #00000066) !important; }
  :root[data-jg-mode="dark"] .jg-cs-page { background:#101a2d !important; }
  :root[data-jg-mode="dark"] .jg-cs__head h1 { color:#0b1a38 !important; }
  :root[data-jg-mode="dark"] .jg-cs__back { color:#102d4d !important; background:#ffffffc7 !important; box-shadow:inset 0 0 0 1px #ffffffb3 !important; }
  :root[data-jg-mode="dark"] .jg-cs__hero::after { background:linear-gradient(180deg,#101a2d00,#101a2d) !important; }
  :root[data-jg-mode="dark"] .jg-cs__tip { color:#c1d0e6 !important; }
  :root[data-jg-mode="dark"] .jg-cs__card { background:#172338 !important; box-shadow:inset 0 0 0 1px #ffffff12,0 .21333rem .53333rem -.26667rem #000000b3 !important; }
  :root[data-jg-mode="dark"] .jg-cs__card b { color:#edf2fb !important; }
  :root[data-jg-mode="dark"] .jg-cs__card small { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-chat { background:radial-gradient(90% 34% at 12% 0,#1d3a63 0%,#1d3a6300 100%),radial-gradient(70% 28% at 92% 2%,#1a2a42 0%,#1a2a4200 100%),#101a2d !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__header { background:#101a2da8 !important; box-shadow:0 1px 0 #ffffff14 !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__title { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__back { background:#1a2a42 !important; box-shadow:inset 0 0 0 1px #ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__back img { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f7fd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important; }
  :root[data-jg-mode="dark"] .jg-chat__empty p { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__composer { background:transparent !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__composer-main { background:#1a2a42eb !important; box-shadow:inset 0 0 0 1px #ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__input { background:transparent !important; color:#edf2fb !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__tool img { filter:brightness(0) invert(.82) !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__input:empty::before { color:#7f92ad !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__loading::after { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__send { color:#fff !important; background:linear-gradient(180deg,#2b7ff2 0%,#1459cc 100%) !important; }
  :root[data-jg-mode="dark"] .jg-usdt-panel { background:#131e33 !important; border-color:#ffffff1f !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-usdt-panel h4, :root[data-jg-mode="dark"] .jg-usdt-label { color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-usdt-net { background:#1a2a42 !important; border-color:#ffffff1f !important; color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-usdt-net[aria-pressed=true] { background:#1d3a63 !important; border-color:#4f96ff !important; color:#9cc4ff !important; }
  :root[data-jg-mode="dark"] .jg-usdt-net:disabled { background:#16233a !important; color:#6f819c !important; }
  :root[data-jg-mode="dark"] .jg-usdt-net em { color:#8ea0bb !important; }
  :root[data-jg-mode="dark"] .jg-usdt-qr { background:#fff !important; border-color:#ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-usdt-text { color:#edf2fb !important; }
  :root[data-jg-mode="dark"] .jg-usdt-text b { color:#6ea8ff !important; }
  :root[data-jg-mode="dark"] .jg-usdt-copy { color:#fff !important; background:linear-gradient(180deg,#2b7ff2 0%,#1459cc 100%) !important; box-shadow:inset 0 1px 0 #ffffff33 !important; }
  :root[data-jg-mode="dark"] .jg-usdt-note, :root[data-jg-mode="dark"] .jg-usdt-loading { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-usdt-credited { background:#123a2a !important; color:#7dffb8 !important; }
  :root[data-jg-mode="dark"] .jg-usdt-error { color:#ff9b96 !important; }
  :root[data-jg-mode="dark"] .jg-wd-card { background:#131e33 !important; border-color:#ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-wd-fields h4, :root[data-jg-mode="dark"] .jg-wd-head h4 { color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-wd-records { background:#1a2a42 !important; border-color:#ffffff1f !important; box-shadow:none !important; color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .jg-wd-link { color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .jg-wd-account { background:#1a2a42 !important; border-color:#ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-wd-account b { color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-wd-account small { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wd-account[aria-checked=true] { background:#1d3a63 !important; border-color:#4f96ff !important; }
  :root[data-jg-mode="dark"] .jg-wd-account[aria-checked=true] b { color:#9cc4ff !important; }
  :root[data-jg-mode="dark"] .jg-wd-amount, :root[data-jg-mode="dark"] .jg-wd-pin { background:#1a2a42 !important; border-color:#ffffff1f !important; }
  :root[data-jg-mode="dark"] .jg-wd-amount b { color:#6ea8ff !important; }
  :root[data-jg-mode="dark"] .jg-wd-amount input, :root[data-jg-mode="dark"] .jg-wd-pin input { color:#edf2fb !important; }
  :root[data-jg-mode="dark"] .jg-wd-amount input::placeholder, :root[data-jg-mode="dark"] .jg-wd-pin input::placeholder { color:#6f819c !important; }
  :root[data-jg-mode="dark"] .jg-wd-all { background:#1d3a63 !important; color:#9cc4ff !important; }
  :root[data-jg-mode="dark"] .jg-wd-hint, :root[data-jg-mode="dark"] .jg-wd-status, :root[data-jg-mode="dark"] .jg-wd-ref, :root[data-jg-mode="dark"] .jg-wd-note { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wd-hint b, :root[data-jg-mode="dark"] .jg-wd:not([data-view=form]) .jg-wd-status { color:#edf2fb !important; }
  :root[data-jg-mode="dark"] .jg-wd-status[data-tone=error] { background:#3a1d1f !important; color:#ff9b96 !important; }
  :root[data-jg-mode="dark"] .jg-wd-status[data-tone=ok] { background:#123a2a !important; color:#7dffb8 !important; }
  :root[data-jg-mode="dark"] .jg-wd-btn.is-primary { background:#22324d !important; color:#7f92ad !important; }
  :root[data-jg-mode="dark"] .jg-wd-btn.is-primary.is-ready { background:linear-gradient(100deg,#2b8dff,#1459cc) !important; color:#fff !important; }
  :root[data-jg-mode="dark"] .jg-wd-btn.is-ghost { background:#1a2a42 !important; color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .jg-wd-bind { background:#16233a !important; border-color:#2f4566 !important; }
  :root[data-jg-mode="dark"] .jg-wd-bind b { color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-wd-bind small { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wd-bind em { color:#fff !important; background:linear-gradient(100deg,#2b8dff,#1459cc) !important; }
  :root[data-jg-mode="dark"] .jg-wd-add { color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .withdrawal-v3 .jg-wd-account b em { background:#123a2a !important; color:#7dffb8 !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate__mask { background:#00000066 !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate__sheet { background:#162238eb !important; box-shadow:0 -.10667rem .64rem -.21333rem #0008 !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate__grip { background:#3a4b66 !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate h2 { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate p { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate__cancel { background:#22324d !important; color:#dbe6f7 !important; }
  :root[data-jg-mode="dark"] .jg-wd-gate__go { color:#fff !important; background:linear-gradient(100deg,#2b8dff,#1459cc) !important; }
  :root[data-jg-mode="dark"] .jg-usdt-error button { background:#1a2a42 !important; border-color:#ffffff1f !important; color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .jg-payments .newContent .btn-wrap .chargeBtn:not(.chargeBtnActive), :root[data-jg-mode="dark"] .jg-payments .withdraw_main .handlebtn:not(.shinee) { color:#8799b4 !important; background:#22324d !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-payments .jg-funds-seg__tab[aria-selected="false"] { color:#c4d2e8 !important; }
  :root[data-jg-mode="dark"] .jg-payments .jg-funds-seg__tab[aria-selected="true"] { color:#fff !important; background:#1f6fe0 !important; }
  :root[data-jg-mode="dark"] .jg-payments .withdraw_main .handlebtn:not(.shinee) > span { color:#8799b4 !important; }
  :root[data-jg-mode="dark"] .jg-payments .jg-amount-hint { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-wallet-balance__refresh { background:#ffffff26 !important; }
  :root[data-jg-mode="dark"] .jg-wallet-records svg { color:#8fbfff !important; }
  :root[data-jg-mode="dark"] .jg-soon__hero { background:linear-gradient(155deg,#223652 0%,#192b44 65%,#16263d) !important; border-color:#ffffff12 !important; box-shadow:inset 0 0 0 1px #344861 !important; }
  :root[data-jg-mode="dark"] .jg-soon__mark { color:#7fb5ff1f !important; }
  :root[data-jg-mode="dark"] .jg-soon__lock { background:#263652 !important; box-shadow:0 0 0 1px #ffffff17 !important; }
  :root[data-jg-mode="dark"] .jg-soon__lock svg { stroke:#7fb5ff !important; }
  :root[data-jg-mode="dark"] .jg-soon__hero h3 { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-soon__hero p { background:#4f96ff29 !important; color:#9cc4ff !important; }
  :root[data-jg-mode="dark"] .jg-soon__desc { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-soon__sub { color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-soon__room { background:#1a2a42 !important; border-color:#ffffff14 !important; color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-soon__room svg { stroke:#7d8fab !important; }
  :root[data-jg-mode="dark"] .jg-soon__back { background:linear-gradient(180deg,#2b7ff2 0%,#1459cc 100%) !important; color:#fff !important; }
  /* 房间卡片在暗夜保持原色：DarkReader 会改写变量与渐变，这里按原值固定 */
  :root[data-jg-mode="dark"] .jg-rcard--azure { --c1:#6cb8ff !important; --c2:#1f5fe0 !important; }
  :root[data-jg-mode="dark"] .jg-rcard--violet { --c1:#b49bff !important; --c2:#6a46e0 !important; }
  :root[data-jg-mode="dark"] .jg-rcard--amber { --c1:#ffd27a !important; --c2:#f0861c !important; }
  :root[data-jg-mode="dark"] .jg-rcard--rose { --c1:#ffa8bd !important; --c2:#e44a72 !important; }
  :root[data-jg-mode="dark"] .jg-rcard--jade { --c1:#7fe9c1 !important; --c2:#12a07a !important; }
  :root[data-jg-mode="dark"] .jg-rcard--teal { --c1:#7fe0f0 !important; --c2:#1792b8 !important; }
  :root[data-jg-mode="dark"] .jg-rcard:not(.jg-rcard--soon) { background:radial-gradient(120% 80% at 80% 10%,#ffffff59 0%,#ffffff00 55%),linear-gradient(160deg,var(--c1),var(--c2)) !important; border-color:#ffffff33 !important; box-shadow:0 .13333rem .32rem -.13333rem #00000099,0 1px 2px #00000040 !important; }
  :root[data-jg-mode="dark"] .jg-rcard__mark, :root[data-jg-mode="dark"] .jg-rcard__name, :root[data-jg-mode="dark"] .jg-rcard__ball { color:#fff !important; }
  :root[data-jg-mode="dark"] .jg-rcard__ball { background:radial-gradient(circle at 34% 28%,#ffffff 0,#ffd9de 10%,#f0475a 42%,#b3142a 78%,#7d0b1b 100%) !important; }
  :root[data-jg-mode="dark"] .jg-rcard--jade .jg-rcard__ball { background:radial-gradient(circle at 34% 28%,#ffffff 0,#fff4cf 10%,#f2c14e 42%,#c88a17 78%,#8a5a08 100%) !important; }
  :root[data-jg-mode="dark"] .jg-rcard__name { background:linear-gradient(180deg,#00000000,#0000003d) !important; }
  :root[data-jg-mode="dark"] .jg-rcard.jg-rcard--art { background:none !important; border-color:transparent !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-rcard--art .jg-rcard__img { filter:drop-shadow(0 .08rem .16rem #00000066) !important; }
  :root[data-jg-mode="dark"] .jg-brand-hero__copy p { color: #a3b8d3 !important; }
  :root[data-jg-mode="dark"] .jg-hero-brand { background: #1c2b43ed !important; box-shadow: 0 0 0 1px #ffffff1a,0 .06rem .24rem #0004 !important; }
  /* 复用原 PNG，仅将字标区域提亮；皇冠、DW 与下方蓝色标语保留原色。 */
  :root[data-jg-mode="dark"] .jg-hero-brand::after {
    content: ''; position: absolute; inset: 50% var(--jg-logo-inset) auto; aspect-ratio: 711 / 160; transform: translateY(-50%); pointer-events: none;
    background: url('/jg-skin/hero-logo.png') center / 100% 100% no-repeat !important;
    filter: brightness(0) invert(1); clip-path: inset(0 0 36% 37%);
  }
  :root[data-jg-mode="dark"] .jg-play-grid .jg-play { background:linear-gradient(155deg,#223652 0%,#192b44 65%,#16263d) !important; box-shadow:inset 0 0 0 1px #344861 !important; }
  :root[data-jg-mode="dark"] .hallPage .hall-image-frame[data-hall-image-state=loading]::before { background:linear-gradient(100deg,#17263d 25%,#243650 45%,#17263d 65%) 0 0/220% 100% !important; }
  /* 底栏玻璃胶囊（premium.css）：外层透明，胶囊为深色毛玻璃 */
  :root[data-jg-mode="dark"] #app .bottom-taps, :root[data-jg-mode="dark"] .jg-wallet-nav { background:transparent !important; border-color:transparent !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jn-nav { background:linear-gradient(180deg,#263652c7,#16223aad) !important; border-color:#ffffff1a !important; box-shadow:0 .26667rem .8rem -.21333rem #00000099,inset 0 1px 0 #ffffff1a !important; }
  :root[data-jg-mode="dark"] .jn-nav__sel { background:#78aaff29 !important; border-color:#8cb9ff38 !important; box-shadow:inset 0 1px 0 #ffffff1f !important; }
  :root[data-jg-mode="dark"] .jn-nav.is-dragging .jn-nav__sel { background:#ffffff24 !important; border-color:#ffffff47 !important; box-shadow:0 .16rem .48rem #00000073,inset 0 1px 0 #ffffff33 !important; }
  :root[data-jg-mode="dark"] #app .jn-nav.is-dragging .jn-nav__item.is-active:not(.is-target) { color:#aec1db !important; }
  :root[data-jg-mode="dark"] #app .jn-nav .jn-nav__item.is-target { color:#83c3ff !important; }
  :root[data-jg-mode="dark"] #app .jn-nav .jn-nav__item--service { color:#fff !important; }
  /* premium.css 全站细节：矢量返回/右箭头的暗夜色、分组卡片底 */
  :root[data-jg-mode="dark"] img.top_back, :root[data-jg-mode="dark"] img.v3-secondary__back-img { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 25'%3E%3Cpath d='M12 3 3.5 12.5 12 22' fill='none' stroke='%23e5edfc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
  :root[data-jg-mode="dark"] img[src*="arrow-right"], :root[data-jg-mode="dark"] img[src*="right-arrow"] { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2.5 2.5 8 8l-5.5 5.5' fill='none' stroke='%236a7a96' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
  /* premium.css 大厅右上角玻璃按钮（明暗切换 + 公告）暗夜材质 */
  :root[data-jg-mode="dark"] .hallPage .jg-mode-toggle, :root[data-jg-mode="dark"] .jg-notice-btn { background:linear-gradient(180deg,#263652d9,#1a2840cc) !important; box-shadow:0 0 0 1px #ffffff17,0 .05333rem .18667rem -.02667rem #00000066,inset 0 1px 0 #ffffff14 !important; }
  :root[data-jg-mode="dark"] .jg-notice-btn { color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-notice-btn svg { stroke:#83c3ff !important; }
  :root[data-jg-mode="dark"] .jg-notice-btn svg path:first-child { fill:#83c3ff29 !important; }
  :root[data-jg-mode="dark"] .jg-notice-btn.has-unread::after { box-shadow:0 0 0 2px #1a2840 !important; }
  /* 公告页（frontend notice-center.css）暗夜：与活动中心同一套深色卡片 */
  :root[data-jg-mode="dark"] .noticecenter { background:radial-gradient(80% 8rem at 0 0,#0186fe1f,transparent),#15191e !important; color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter .head_area { background:transparent !important; }
  :root[data-jg-mode="dark"] .noticecenter .head_area .head_text { color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter :is(.head_area .leftImg, .notice-round) { background:linear-gradient(180deg,#263652d9,#1a2840cc) !important; box-shadow:0 0 0 1px #ffffff17,0 .10667rem .32rem #0006,inset 0 1px 0 #ffffff14 !important; color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .noticecenter :is(.head_area, .notice-round) svg { stroke:#e5edfc !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-summary { background:#1d2329d9 !important; box-shadow:inset 0 0 0 1px #ffffff12,0 .16rem .48rem #0005 !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-summary-text b { color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter :is(.notice-summary-text small, .notice-group, .mes-right-time, .notice-sheet-head span, .litledivbox, .empty_text) { color:#b7bec6 !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-list { background:#1d2329 !important; box-shadow:0 0 0 1px #ffffff0f,0 .10667rem .37333rem #0004 !important; }
  :root[data-jg-mode="dark"] .noticecenter .mesmainbox { color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter .mesmainbox:active { background:#4ba9ff14 !important; }
  :root[data-jg-mode="dark"] .noticecenter .mesmainbox + .mesmainbox::before { background:#5b657066 !important; }
  :root[data-jg-mode="dark"] .noticecenter .mes-dot { background:#4ba9ff !important; box-shadow:0 0 0 .08rem #4ba9ff2e !important; }
  :root[data-jg-mode="dark"] .noticecenter .mes-right-title { color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter .mes-right-content { color:#c2cad4 !important; }
  :root[data-jg-mode="dark"] .noticecenter .isreadmessage .mes-right-title { color:#c9d2dd !important; }
  :root[data-jg-mode="dark"] .noticecenter .isreadmessage .mes-right-content { color:#8a95a3 !important; }
  :root[data-jg-mode="dark"] .noticecenter :is(.notice-end, .notice-error) { color:#8a95a3 !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-error button { color:#83c3ff !important; }
  :root[data-jg-mode="dark"] .noticecenter .noticecontent { background:#1d2329 !important; box-shadow:0 -.26667rem 1.06667rem #000a,inset 0 1px 0 #ffffff14 !important; color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-grab { background:#ffffff2e !important; }
  :root[data-jg-mode="dark"] .noticecenter .headdivbox { color:#f3f4f6 !important; }
  :root[data-jg-mode="dark"] .noticecenter :is(.litledivbox, .notice-sheet-foot) { border-color:#5b657066 !important; }
  :root[data-jg-mode="dark"] .noticecenter .textcontent { color:#d5dbe3 !important; }
  :root[data-jg-mode="dark"] .noticecenter .textcontent a { color:#83c3ff !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-ghost { background:#ffffff12 !important; color:#d5dbe3 !important; }
  :root[data-jg-mode="dark"] .noticecenter :is(.notice-primary, .notice-summary-icon) { background:linear-gradient(90deg,#3e9fff,#0186fe 48%,#0065cc) !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-summary-icon svg { stroke:#fff !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-primary { color:#fff !important; box-shadow:inset 0 1px 1px #ffffff59,0 .21333rem .48rem #0186fe4d !important; }
  :root[data-jg-mode="dark"] .noticecenter .notice-primary:disabled { background:#ffffff0d !important; box-shadow:none !important; color:#6b7685 !important; }
  /* premium.css 游客账户卡暗夜材质 */
  :root[data-jg-mode="dark"] .jg-account--guest .jg-account__guest { color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-account--guest .jg-account__guest::after { color:#97a8c2 !important; }
  :root[data-jg-mode="dark"] .jg-account--guest .jg-account__guest::before { background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='3.6' fill='none' stroke='%2383c3ff' stroke-width='1.7'/%3E%3Cpath d='M5.6 19.2c1.1-3.1 3.6-4.8 6.4-4.8s5.3 1.7 6.4 4.8' fill='none' stroke='%2383c3ff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 58% no-repeat, linear-gradient(180deg,#263652,#1d2c44) !important; box-shadow:inset 0 0 0 1px #ffffff17 !important; }
  :root[data-jg-mode="dark"] .jg-account .jg-account__auth [data-action="register"] { background:linear-gradient(180deg,#263652,#1f2e47) !important; color:#d5e0f2 !important; box-shadow:0 0 0 1px #ffffff17,inset 0 1px 0 #ffffff12 !important; }
  :root[data-jg-mode="dark"] img[src*="/invite."] { filter:hue-rotate(-55deg) brightness(1.9) saturate(.85) !important; }
  :root[data-jg-mode="dark"] .set-list, :root[data-jg-mode="dark"] .v3-secondary__group, :root[data-jg-mode="dark"] .helpList, :root[data-jg-mode="dark"] section.toppart:has(> .part_item), :root[data-jg-mode="dark"] .macinfo > .lines { background:#1c2c45 !important; box-shadow:inset 0 0 0 1px #2c3d5a !important; }
  :root[data-jg-mode="dark"] #app .jn-nav__item { color:#aec1db !important; }
  :root[data-jg-mode="dark"] #app .jn-nav__item.is-active { color:#83c3ff !important; }
  :root[data-jg-mode="dark"] .hallPage .jg-mode-toggle, :root[data-jg-mode="dark"] .hallPage .jg-mode-toggle svg { color:#ffd585 !important; }
  :root[data-jg-mode="dark"] .jg-art-card, :root[data-jg-mode="dark"] .jg-art-open { background:transparent !important; }
  :root[data-jg-mode="dark"] .jg-art-filters button { background:linear-gradient(180deg,#1f3150 0%,#192942 100%) !important; border-color:#ffffff14 !important; box-shadow:none !important; color:#c9d6ea !important; }
  :root[data-jg-mode="dark"] .jg-art-filters button[aria-pressed=true] { background:linear-gradient(180deg,#24497e 0%,#1d3d6c 100%) !important; border-color:#4f96ff80 !important; color:#ffffff !important; }
  :root[data-jg-mode="dark"] .jg-art-find { background:#1f3150 !important; border-color:#ffffff14 !important; color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-art-find[aria-expanded=true] { background:linear-gradient(180deg,#2b7ff2 0%,#1459cc 100%) !important; color:#fff !important; }
  :root[data-jg-mode="dark"] .jg-art-search, :root[data-jg-mode="dark"] .jg-art-more { background:#1a2a42 !important; border-color:#ffffff1f !important; color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-art-fav { background:#00000059 !important; }
  :root[data-jg-mode="dark"] .jg-art-fav svg { stroke:#fff !important; }
  :root[data-jg-mode="dark"] .jg-art-fav[aria-pressed=true] { background:#ffffffe6 !important; }
  :root[data-jg-mode="dark"] .jg-art-fav[aria-pressed=true] svg { fill:#ff4d6d !important; stroke:#ff4d6d !important; }
  /* premium.css 账户卡、「我的」页余额卡与入口卡片同一种暗夜材质；「我的」页顶部暗夜底 */
  :root[data-jg-mode="dark"] .hallPage .centerArea.jg-account-guest, :root[data-jg-mode="dark"] .personPage .personBox .topbox { background:linear-gradient(155deg,#223652 0%,#192b44 65%,#16263d) !important; border-color:#ffffff12 !important; box-shadow:inset 0 0 0 1px #344861 !important; }
  :root[data-jg-mode="dark"] .personPage .topArea { background:linear-gradient(180deg,#16233a,#121d31 64%,#101a2d) !important; }
  :root[data-jg-mode="dark"] .personPage .head_area .head_text, :root[data-jg-mode="dark"] .personPage .personal .nickname, :root[data-jg-mode="dark"] .personPage .personal .nickname > div, :root[data-jg-mode="dark"] .personPage .personBox .money_text { color:#eef3fc !important; }
  :root[data-jg-mode="dark"] .personPage .personal .detail > div:not(.nickname), :root[data-jg-mode="dark"] .personPage .personal .b_text, :root[data-jg-mode="dark"] .personPage .personBox .l_Text { color:#97a8c2 !important; }
  :root[data-jg-mode="dark"] .personPage .personal .head_img { background:linear-gradient(#1c2c45,#1c2c45) padding-box, conic-gradient(from 210deg,var(--f1),var(--f2),var(--f3),var(--f4),var(--f1)) border-box !important; }
  :root[data-jg-mode="dark"] .personPage .personal .jg-person-vip { color:var(--bt) !important; background:linear-gradient(180deg,var(--b1),var(--b2)) !important; box-shadow:0 0 0 1.5px #16233a,0 1px 3px #00000066 !important; }
  :root[data-jg-mode="dark"] .personPage .personal .eyeimg img, :root[data-jg-mode="dark"] .personPage .personal .right_arrow { filter:brightness(0) invert(.7) !important; }
  :root[data-jg-mode="dark"] .jg-art-media { background:#17263d !important; }
  :root[data-jg-mode="dark"] .jg-art-card strong { color:#e5edfc !important; }
  :root[data-jg-mode="dark"] .jg-art-card small,:root[data-jg-mode="dark"] .jg-art-count { color:#b2bfd3 !important; }
  /* premium.css：玩法入口卡片描边（PC2.0 金边）、金色 VIP、快捷入口图标底 */
  :root[data-jg-mode="dark"] .jg-play-grid--tiles .jg-play { border-color:#ffffff12 !important; }
  :root[data-jg-mode="dark"] .jg-hot__card:has(> .jg-play__image--default),
  :root[data-jg-mode="dark"] .jg-play-grid--tiles .jg-play:has(> .jg-play__image--default) { background:linear-gradient(135deg,#243851,#182a42) !important; }
  :root[data-jg-mode="dark"] .jg-play__image--default { mask:var(--entry-art-mask) center / contain no-repeat; }
  :root[data-jg-mode="dark"] .jg-hot__card:has(> .jg-play__image--default)::after,
  :root[data-jg-mode="dark"] .jg-play:has(> .jg-play__image--default)::after {
    content:"" !important; position:absolute; inset:0; pointer-events:none; background:#fff !important;
    mask:var(--entry-text-mask) center / contain no-repeat;
  }
  :root[data-jg-mode="dark"] .jg-play-grid--tiles .jg-play--pc20 { border-color:#b8975a8c !important; }
  /* premium.css 登录后账户条：头像框徽章、余额文字、取款按钮的暗夜色 */
  /* 账户条 VIP 头像框：DarkReader 会改写 CSS 变量，夜间层按原色重新声明各档变量与框、徽章（金属色在深底上直接可用） */
  :root[data-jg-mode="dark"] :is(.jg-account .jg-account__profile, .personPage .personal) { --f1: #e9edf3 !important; --f2: #7f8ba0 !important; --f3: #d3dae5 !important; --f4: #5d697e !important; --b1: #eef1f6 !important; --b2: #a7b2c3 !important; --bt: #2c3646 !important; --glow: #0f235033 !important; }
  :root[data-jg-mode="dark"] :is(.jg-account .jg-account__profile, .personPage .personal)[data-tier="bronze"] { --f1: #ffe2c4 !important; --f2: #c07a45 !important; --f3: #f6caa0 !important; --f4: #8f5228 !important; --b1: #ffe6cc !important; --b2: #d39462 !important; --bt: #5a2e0f !important; --glow: #8f52283d !important; }
  :root[data-jg-mode="dark"] :is(.jg-account .jg-account__profile, .personPage .personal)[data-tier="silver"] { --f1: #ffffff !important; --f2: #b8c6da !important; --f3: #f2f6fc !important; --f4: #8da2c0 !important; --b1: #ffffff !important; --b2: #cfdaea !important; --bt: #2f4566 !important; --glow: #4a6a9a33 !important; }
  :root[data-jg-mode="dark"] :is(.jg-account .jg-account__profile, .personPage .personal)[data-tier="gold"] { --f1: #fff3cf !important; --f2: #d6a94f !important; --f3: #fbe7b0 !important; --f4: #b8862f !important; --b1: #fdeec4 !important; --b2: #dcb265 !important; --bt: #5b4113 !important; --glow: #8a632047 !important; }
  :root[data-jg-mode="dark"] :is(.jg-account .jg-account__profile, .personPage .personal)[data-tier="sapphire"] { --f1: #d9ecff !important; --f2: #2f7cf0 !important; --f3: #9fd0ff !important; --f4: #1747b8 !important; --b1: #cfe6ff !important; --b2: #4a90f2 !important; --bt: #0b2a66 !important; --glow: #1747b84d !important; }
  :root[data-jg-mode="dark"] :is(.jg-account .jg-account__profile, .personPage .personal)[data-tier="ruby"] { --f1: #ffe7c2 !important; --f2: #e0485a !important; --f3: #ffd08a !important; --f4: #9e1730 !important; --b1: #ffe1b3 !important; --b2: #e86a5a !important; --bt: #5c0d18 !important; --glow: #9e17304d !important; }
  :root[data-jg-mode="dark"] .hallPage .centerArea.jg-account-member {
    --account-ink: #f0f6ff !important; --account-muted: #b1c5db !important; --account-rim: #3c536b !important;
    --account-surface: linear-gradient(106deg,#172a41 3%,#20364f 65%,#284562) !important;
    --account-arc: rgba(144,181,217,.13) !important; --account-gloss: rgba(203,227,255,.10) !important;
    --deposit-fill: linear-gradient(162deg,#397de0,#245bb7) !important; --deposit-border: #5587c2 !important;
    --withdraw-fill: linear-gradient(#304961,#253a53) !important; --withdraw-ink: #e2efff !important; --withdraw-border: #506982 !important;
    background: var(--account-surface) !important; border-color: var(--account-rim) !important;
  }
  :root[data-jg-mode="dark"] .jg-account-member .jg-account__value strong { color: var(--account-ink) !important; }
  :root[data-jg-mode="dark"] .jg-account-member :is(.jg-account__label,.jg-account__refresh,.jg-account__value small) { color: var(--account-muted) !important; }
  :root[data-jg-mode="dark"] .jg-account-member .jg-account__action--deposit { color: #fff !important; background: var(--deposit-fill) !important; border-color: var(--deposit-border) !important; }
  :root[data-jg-mode="dark"] .jg-account-member .jg-account__action--withdraw { color: var(--withdraw-ink) !important; background: var(--withdraw-fill) !important; border-color: var(--withdraw-border) !important; }
  :root[data-jg-mode="dark"] .jg-account-member .jg-account__vip { color: var(--bt) !important; background: linear-gradient(var(--b1),var(--b2)) !important; }
  :root[data-jg-mode="dark"] .jg-account-member .jg-account__profile[data-tier="bronze"] {
    --b1: #4a3827 !important; --b2: #322b24 !important; --bt: #ffe7b8 !important; --f2: #bf9d69 !important;
  }
  :root[data-jg-mode="dark"] .jg-account-member .jg-account__profile[data-tier="bronze"] .jg-account__avatar { border-color: #d3b788 !important; }
  /* 登录/注册页 */
  :root[data-jg-mode="dark"] .loginNew.jg-auth-page { background:#0b1424 !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginInner:not(:has(.jg-auth-banner:not(.jg-auth-banner--configured) .jg-auth-banner__pilot)) { background-color:#0b1424 !important; background-image:linear-gradient(180deg,transparent 66%,#0b1424 97%),radial-gradient(90% 75% at 88% 12%,rgba(47,110,214,.5),transparent 68%),radial-gradient(70% 60% at 4% 92%,rgba(28,78,168,.3),transparent 72%),linear-gradient(168deg,#071230 0%,#0b2259 58%,#123f94 100%) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-header h1, :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-banner__default strong { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-header button { color:#f4f7fd !important; background:rgba(255,255,255,.1) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.16) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-banner__default p { color:rgba(232,240,252,.74) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-banner__default p::before { background:linear-gradient(90deg,#f1d595,#c79c4f) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage { background:rgba(21,32,52,.92) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 22px 44px -26px rgba(0,0,0,.8) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-tabs { background:rgba(255,255,255,.07) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.04) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-tabs__thumb { background:#31425f !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 2px rgba(0,0,0,.4),0 5px 12px -6px rgba(0,0,0,.6) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-tabs button { color:#9db0cc !important; background:transparent !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-tabs button[aria-selected="true"], :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-tabs button.is-target { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-tabs.is-dragging button[aria-selected="true"]:not(.is-target) { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox { color:#8c9dba !important; background:rgba(7,13,27,.55) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.09) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox:focus-within { color:#7fb2ff !important; background:rgba(7,13,27,.75) !important; box-shadow:inset 0 0 0 1.5px #4d90f5,0 0 0 4px rgba(77,144,245,.18) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox::before { background:currentColor !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox input { color:#edf2fb !important; caret-color:#7fb2ff !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox input::placeholder { color:#8c9dba !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox input::-webkit-input-placeholder { color:#8c9dba !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .inputBox input:-webkit-autofill { -webkit-text-fill-color:#edf2fb !important; box-shadow:inset 0 0 0 40px #101a2d !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .inputBox .eyes[src*="login_5209"] { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c9dba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10c2.200 3.200 5.300 4.900 9 4.900s6.800-1.700 9-4.900'/%3E%3Cpath d='m5.800 13-1.700 2.300M18.200 13l1.700 2.300M12 15v2.800M9 14.600l-.8 2.700M15 14.600l.8 2.700'/%3E%3C/svg%3E") !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .inputBox .eyes[src*="login_0713"] { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.800 12S6.200 5.800 12 5.800 21.200 12 21.200 12 17.800 18.200 12 18.200 2.800 12 2.800 12z'/%3E%3Ccircle cx='12' cy='12' r='2.800'/%3E%3C/svg%3E") !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .bottomMenu .b_item, :root[data-jg-mode="dark"] .jg-auth-page .bottomMenu .checkbox_text { color:#c4d1e6 !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .bottomMenu .b_item:not(.checkbox) { color:#7fb2ff !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .bottomMenu .checkbox img[src*="login_8aa3"] { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232f7ff0'/%3E%3Cpath d='m7.200 12.400 3.200 3.200 6.400-6.800' fill='none' stroke='%23fff' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .bottomMenu .checkbox img[src*="login_4f51"] { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.200' fill='none' stroke='%238c9dba' stroke-width='1.600'/%3E%3C/svg%3E") !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .loginbtn { color:#fff !important; background:linear-gradient(180deg,#2f7ff0 0%,#1653c2 100%) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(0,0,0,.4),0 12px 22px -12px rgba(30,100,220,.7) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-quick__line { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-quick__line::before, :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-quick__line::after { background:rgba(255,255,255,.1) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-quick__tg { background:linear-gradient(180deg,#37aeee 0%,#1e91d6 100%) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 2px rgba(0,0,0,.4),0 8px 16px -9px rgba(40,150,225,.7) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-quick__tg svg { fill:#fff !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-bind-hint { color:#a9cbff !important; background:rgba(77,144,245,.14) !important; box-shadow:inset 0 0 0 1px rgba(127,178,255,.22) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .jg-auth-bind-hint button { color:#d6e6ff !important; background:rgba(255,255,255,.1) !important; }
  :root[data-jg-mode="dark"] .jg-auth-notice { color:#edf2fb !important; background:rgba(28,41,64,.9) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 14px 28px -16px rgba(0,0,0,.8) !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet { background:rgba(2,6,16,.56) !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__panel { background:rgba(21,32,52,.94) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 24px 50px -24px rgba(0,0,0,.9) !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__icon { background:linear-gradient(180deg,#37aeee 0%,#1e91d6 100%) !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__icon svg { fill:#fff !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet h2 { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__name, :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__cancel { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__primary { color:#fff !important; background:linear-gradient(180deg,#2f7ff0 0%,#1653c2 100%) !important; }
  :root[data-jg-mode="dark"] .jg-tg-sheet .jg-tg-sheet__secondary { color:#edf2fb !important; background:rgba(255,255,255,.08) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .loginPage .b_other_menu .item { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .b_kefu { background:rgba(255,255,255,.07) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.09) !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .b_kefu_span { color:#c4d1e6 !important; }
  :root[data-jg-mode="dark"] .jg-auth-page .b_kefu_img { content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb2ff' stroke-width='1.900' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.500 14v-2.500a7.500 7.500 0 0 1 15 0V14'/%3E%3Crect x='3' y='12.500' width='4' height='6' rx='1.800'/%3E%3Crect x='17' y='12.500' width='4' height='6' rx='1.800'/%3E%3Cpath d='M19 18.500c0 1.700-2 2.800-5 2.800'/%3E%3C/svg%3E") !important; }
  /* 品牌等待动图 */
  :root[data-jg-mode="dark"] .jg-brand-loading { background:transparent !important; }
  :root[data-jg-mode="dark"] .jg-brand-loading__card { color:#e5f0ff !important; background:rgba(20,31,50,.62) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 12px 26px -16px rgba(0,0,0,.8) !important; }
  :root[data-jg-mode="dark"] .jg-brand-loading__logo { filter:drop-shadow(0 0 5px rgba(255,205,100,.62)) drop-shadow(0 0 15px rgba(230,170,60,.4)) !important; }
  :root[data-jg-mode="dark"] .jg-brand-loading__logo i { background-image:linear-gradient(112deg,transparent 38%,rgba(255,250,225,.28) 44%,#fffdf2 50%,rgba(255,250,225,.28) 56%,transparent 62%),linear-gradient(180deg,#fff0bf 0%,#f7d477 30%,#dba53f 58%,#ffe38f 80%,#e6b24a 100%) !important; }
  :root[data-jg-mode="dark"] .jg-brand-loading__card button { color:#a9cbff !important; background:rgba(255,255,255,.1) !important; }
  /* 「我的」页 */
  :root[data-jg-mode="dark"] .jg-me-copy { color:rgba(232,240,252,.72) !important; }
  :root[data-jg-mode="dark"] .jg-me-copy.is-done { color:#7dffb8 !important; }
  :root[data-jg-mode="dark"] .jg-me-edit { color:#f4f7fd !important; background:rgba(255,255,255,.1) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18) !important; }
  :root[data-jg-mode="dark"] .personPage > .head_area { background:#0a1430 !important; }
  :root[data-jg-mode="dark"] .personPage .personal { background:linear-gradient(180deg,#0a1430 0%,#0e2258 100%) !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .personPage .personal .nickname, :root[data-jg-mode="dark"] .personPage .personal .nickname > div { color:#fff !important; }
  :root[data-jg-mode="dark"] .personPage .personal .detail > div:not(.nickname) { color:rgba(232,240,252,.72) !important; }
  :root[data-jg-mode="dark"] .personPage .personal .eyeimg img { filter:none !important; }
  :root[data-jg-mode="dark"] .personPage .personBox .topbox { background:linear-gradient(180deg,#0e2258 0%,#143f9c 100%) !important; box-shadow:0 .34rem .66rem -.34rem rgba(0,0,0,.8) !important; }
  :root[data-jg-mode="dark"] .personPage .personBox .l_Text { color:rgba(232,240,252,.78) !important; }
  :root[data-jg-mode="dark"] .personPage .personBox .money_text { color:#fff !important; }
  :root[data-jg-mode="dark"] .personPage .personBox .my_refresh { background:rgba(255,255,255,.1) !important; }
  :root[data-jg-mode="dark"] .jg-me-eye { color:rgba(232,240,252,.75) !important; background:transparent !important; }
  :root[data-jg-mode="dark"] .jg-me-unit { color:rgba(232,240,252,.7) !important; }
  :root[data-jg-mode="dark"] .jg-me-private .r_box::before { color:#fff !important; }
  :root[data-jg-mode="dark"] .jg-me-cash__in { color:#3a2608 !important; background:linear-gradient(180deg,#ffe9a8,#e0b052) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 .2rem .34rem -.2rem rgba(0,0,0,.8) !important; }
  :root[data-jg-mode="dark"] .jg-me-cash__out { color:#f4f7fd !important; background:rgba(255,255,255,.1) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.2) !important; }
  :root[data-jg-mode="dark"] .personPage .mianMenuList { background:#172338 !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.07) !important; }
  :root[data-jg-mode="dark"] .personPage .mianMenuList .text { color:#d6e0f0 !important; }
  :root[data-jg-mode="dark"] .personPage .mianMenuList .main_img { box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 .08rem .18rem -.08rem rgba(0,0,0,.7) !important; }
  :root[data-jg-mode="dark"] .jg-me-vip { color:#f2d899 !important; background:linear-gradient(135deg,#2c2415 0%,#1b1a16 100%) !important; box-shadow:inset 0 0 0 1px rgba(230,178,74,.26) !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__head strong { color:#ffe7a8 !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__next, :root[data-jg-mode="dark"] .jg-me-vip__more, :root[data-jg-mode="dark"] .jg-me-vip__name, :root[data-jg-mode="dark"] .jg-me-vip__value { color:#c9ad6c !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__crown { color:#3a2608 !important; background:linear-gradient(180deg,#ffe9a8,#d9a441) !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__gift { color:#fff !important; background:linear-gradient(180deg,#f0625e,#d93a3f) !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__track { background:rgba(255,255,255,.1) !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__track i { background:linear-gradient(90deg,#ffe29a,#d9a441) !important; }
  :root[data-jg-mode="dark"] .jg-me-vip__row + .jg-me-vip__row .jg-me-vip__track i { background:linear-gradient(90deg,#7db8ff,#3f8cf5) !important; }
  :root[data-jg-mode="dark"] .personPage .personcontent > .ceterMenu_item { background:#172338 !important; box-shadow:inset 1px 0 0 rgba(255,255,255,.07),inset -1px 0 0 rgba(255,255,255,.07) !important; }
  :root[data-jg-mode="dark"] .personPage .personcontent > .ceterMenu_item.jg-me-first { box-shadow:inset 1px 1px 0 rgba(255,255,255,.07),inset -1px 0 0 rgba(255,255,255,.07) !important; }
  :root[data-jg-mode="dark"] .personPage .personcontent > .ceterMenu_item.jg-me-last { box-shadow:inset 1px -1px 0 rgba(255,255,255,.07),inset -1px 0 0 rgba(255,255,255,.07) !important; }
  :root[data-jg-mode="dark"] .personPage .ceterMenu_item .item_inner { border-bottom-color:rgba(255,255,255,.07) !important; }
  :root[data-jg-mode="dark"] .personPage .ceterMenu_item .menu_text { color:#edf2fb !important; }
  :root[data-jg-mode="dark"] .personPage .ceterMenu_item .right_text { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-me-logout { color:#ff7d78 !important; background:rgba(239,76,71,.13) !important; box-shadow:inset 0 0 0 1px rgba(239,76,71,.3) !important; }
  :root[data-jg-mode="dark"] .jg-me-sheet { background:rgba(2,6,16,.56) !important; }
  :root[data-jg-mode="dark"] .jg-me-sheet__panel { background:rgba(21,32,52,.95) !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 24px 50px -24px rgba(0,0,0,.9) !important; }
  :root[data-jg-mode="dark"] .jg-me-sheet__panel strong { color:#f4f7fd !important; }
  :root[data-jg-mode="dark"] .jg-me-sheet__panel p, :root[data-jg-mode="dark"] .jg-me-sheet__panel .jg-me-sheet__cancel { color:#9db0cc !important; }
  :root[data-jg-mode="dark"] .jg-me-sheet__danger { color:#fff !important; background:linear-gradient(180deg,#ef4c47 0%,#d52b2b 100%) !important; }
  :root[data-jg-mode="dark"] .jg-me-tile { color:#6ea8ff !important; background:rgba(79,150,255,.16) !important; }
}
