:root { --pc28-chip-violet: #773f9f; }
: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"] .chase-picker { color-scheme: dark; background:#19283e !important; color:#edf3fc !important; border-color:#7189a7 !important; box-shadow:0 16px 48px #03081399 !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(header, footer) { border-color:#40546e !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(h2, label, input) { color:#edf3fc !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(.jg-pick__label, .jg-pick__tip, .jg-pick__tip b) { color:#b6d6ff !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(.jg-pick__bar, .jg-pick__chip) { background:#23364f !important; color:#e3edfc !important; }
  :root[data-jg-mode="dark"] .chase-picker .jg-pick__sel { color:#e3edfc !important; }
  :root[data-jg-mode="dark"] .chase-picker .jg-pick__add:enabled { background:#9cc4ff !important; color:#102848 !important; }
  :root[data-jg-mode="dark"] .chase-picker footer { background:#152236 !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(select, button, .chase-picker__amount) { background:#23364f !important; color:#e3edfc !important; border-color:#516780 !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(.chase-picker__count, .chase-picker__count b) { background:#243b59 !important; color:#b6d6ff !important; }
  :root[data-jg-mode="dark"] .chase-picker .chase-picker__amount > span { color:#b6c7df !important; }
  :root[data-jg-mode="dark"] .chase-picker :is([aria-pressed=true], .chase-picker__next:enabled) { background:#9cc4ff !important; border-color:#9cc4ff !important; color:#102848 !important; }
  :root[data-jg-mode="dark"] .chase-picker button:disabled { background:#25334a !important; color:#9aabc2 !important; border-color:#3c4e66 !important; }
  :root[data-jg-mode="dark"] .chase-picker :is(:focus-visible, .chase-picker__amount:focus-within) { outline-color:#aed6ff !important; }
  :root[data-jg-mode="dark"] .chase-picker p[role=alert] { color:#ffb8af !important; }
  :root[data-jg-mode="dark"] :is(.pc28-credit-amounts__editor, .standard-recent-popup) {
    background: #17263b !important; color: #edf3fc !important;
  }
  :root[data-jg-mode="dark"] :is(.amount-editor-head h2, .standard-recent__head h2, .standard-recent__state > span, .standard-recent__card-title strong, .standard-recent__selection, .standard-recent__card footer b) { color: #edf3fc !important; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts__editor .amount-editor-label { color: #b8cbe2 !important; }
  :root[data-jg-mode="dark"] :is(.amount-editor-head button, .amount-editor-actions button, .amount-editor-field input, .standard-recent__head button:not(:where(.pc-sheet-close)), .standard-recent__state button, .standard-recent__state > .van-icon) {
    background: #25374f !important; border-color: #405571 !important; color: #dce8fa !important;
  }
  :root[data-jg-mode="dark"] :is(.amount-editor-actions .amount-editor-save, .standard-recent__toolbar nav button.active) { background: #245fac !important; color: #fff !important; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts__editor .amount-editor-clear { color: #adc1db !important; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts__editor input[aria-invalid=true] { border-color: #ef919b !important; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts__editor .attention { color: #ffacac !important; }
  :root[data-jg-mode="dark"] .standard-recent__scroll { background: #101c2c !important; }
  :root[data-jg-mode="dark"] .standard-recent__card { background: #1c2d43 !important; border-color: #354962 !important; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts [data-slot="0"] { --chip-night: #205b9e; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts [data-slot="1"] { --chip-night: #1b684d; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts [data-slot="2"] { --chip-night: #76449b; }
  :root[data-jg-mode="dark"] .pc28-credit-amounts [data-slot="3"] { --chip-night: #98531d; }
  :root[data-jg-mode="dark"] .pc28-credit-chip { background: repeating-conic-gradient(var(--chip-night) 0deg 31deg, #dce4f2 31deg 45deg) !important; }
  :root[data-jg-mode="dark"] .pc28-credit-chip > span, :root[data-jg-mode="dark"] .amount-editor-label::before { background: var(--chip-night) !important; color: #fff !important; }
  :root[data-jg-mode="dark"] .moneyselectItem[aria-pressed=true] .pc28-credit-chip { outline-color: #97cbff !important; }
  :root[data-jg-mode="dark"] .pc28-trend-sum[data-jg-rgb="red"] { background: #522738 !important; color: #ffb8c7 !important; }
  :root[data-jg-mode="dark"] .pc28-trend-sum[data-jg-rgb="blue"] { background: #203c5e !important; color: #a9d3ff !important; }
  :root[data-jg-mode="dark"] .pc28-trend-sum[data-jg-rgb="green"] { background: #193e34 !important; color: #9ce5bd !important; }
  :root[data-jg-mode="dark"] .van-overlay:has(+ .deposit-address-dialog) { background: rgba(2, 7, 16, .8) !important; }
  :root[data-jg-mode="dark"] .deposit-address-dialog {
    background: #263952 !important; border: 1px solid #839bbd !important;
    box-shadow: 0 16px 56px rgba(0, 0, 0, .55) !important;
  }
  :root[data-jg-mode="dark"] .deposit-address-dialog .address-check-title { color: #f3f7ff !important; }
  :root[data-jg-mode="dark"] .deposit-address-dialog :is(.address-check-hint, .address-check-label) { color: #d4e1f4 !important; }
  :root[data-jg-mode="dark"] .deposit-address-dialog code { background: #17263a !important; color: #f3f7ff !important; border-color: #637b98 !important; }
  :root[data-jg-mode="dark"] .deposit-address-dialog mark { background: #ffe1a1 !important; color: #342306 !important; }
  :root[data-jg-mode="dark"] .pc28-review-backdrop { background: rgba(2, 7, 16, .8) !important; }
  :root[data-jg-mode="dark"] .pc28-review {
    background: #263952 !important; color: #f3f7ff !important; border: 1px solid #839bbd !important;
    box-shadow: 0 16px 56px rgba(0, 0, 0, .55) !important;
  }
  :root[data-jg-mode="dark"] .pc28-review :is(h3, strong, td) { color: #f3f7ff !important; }
  :root[data-jg-mode="dark"] .pc28-review__total { background: #354d6b !important; }
  :root[data-jg-mode="dark"] .pc28-review :is(td, th) { border-color: #4e6582 !important; }
  :root[data-jg-mode="dark"] .pc28-review th { background: #263952 !important; }
  :root[data-jg-mode="dark"] .pc28-review td:nth-child(2) { color: #9cccff !important; }
  :root[data-jg-mode="dark"] .pc28-review footer button { background: #304761 !important; color: #eef5ff !important; border-color: #829ab7 !important; }
  :root[data-jg-mode="dark"] .pc28-review footer [data-a="ok"] { background: #96c4ff !important; color: #142940 !important; border-color: transparent !important; }
  :root[data-jg-mode="dark"] .standard-recent .standard-recent__action--cancel {
    background: #ffd4c2 !important; color: #65331e !important; border-color: #ffd4c2 !important;
  }
  :root[data-jg-mode="dark"] .pc28-review :is(header span, th, small, .pc28-review__total span, .jg-bet-confirm__note),
  :root[data-jg-mode="dark"] .standard-recent :is(.standard-recent__card-title > span, footer > span:first-child, .standard-recent__more, .standard-recent__records, .standard-recent__action:not(.standard-recent__action--cancel), .standard-recent__toolbar nav button:not(.active)),
  :root[data-jg-mode="dark"] .standard-revoke-dialog .van-dialog__message { color: #b5c7df !important; }
  :root[data-jg-mode="dark"] .jg-ac-commission-table td { 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; }
  html[data-jg-mode="dark"] .jg-brand-hero__copy.jg-xk-copy,
  .van-theme-dark .jg-brand-hero__copy.jg-xk-copy,
  .dark .jg-brand-hero__copy.jg-xk-copy {
    --xk-ink-1: #ffffff !important;
    --xk-ink-2: #dcecff !important;
    --xk-ink-3: #9ec6f7 !important;
    --xk-ink-4: #eef6ff !important;
    --xk-hi-1: #ffffff !important;
    --xk-hi-2: #c8e5ff !important;
    --xk-hi-3: #7dbaff !important;
    --xk-hi-4: #dff0ff !important;
    --xk-hi-5: #a8cffc !important;
    --xk-gold-1: #fff7da !important;
    --xk-gold-2: #f8d377 !important;
    --xk-gold-3: #d99b2e !important;
    --xk-gold-4: #ffe294 !important;
    --xk-gold-5: #b87c19 !important;
    --xk-depth: rgba(2, 8, 20, 0.82) !important;
    --xk-depth-hi: rgba(2, 8, 20, 0.88) !important;
    --xk-depth-gold: rgba(2, 8, 20, 0.88) !important;
    --xk-bevel: rgba(255, 255, 255, 0.32) !important;
    --xk-bevel-hi: rgba(230, 244, 255, 0.55) !important;
    --xk-bevel-gold: #fff9e6 !important;
    --xk-edge-hi: #081830 !important;
    --xk-edge-gold: #4a2a02 !important;
    --xk-sub-svg-1: #eef6ff !important;
    --xk-sub-svg-2: #b9d7fc !important;
    --xk-sub-svg-3: #8db9f2 !important;
    --xk-sub-svg-sh: rgba(2, 8, 20, 0.82) !important;
  }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-sh { fill: var(--xk-depth) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-sh-hi { fill: var(--xk-depth-hi) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-sh-gold { fill: var(--xk-depth-gold) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-bv { fill: var(--xk-bevel) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-bv-hi { fill: var(--xk-bevel-hi) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-bv-gold { fill: var(--xk-bevel-gold) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-sub-sh { fill: var(--xk-sub-svg-sh) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-edge-hi { stroke: var(--xk-edge-hi) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-xk-copy .xk-edge-gold { stroke: var(--xk-edge-gold) !important; }
  :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__dots button::after { background:#ffffff40 !important; }
  :root[data-jg-mode="dark"] .jg-lobby__dots button[aria-pressed="true"]::after { background:#4fa3ff !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__icon { stroke: #fff !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 { 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-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:linear-gradient(180deg,#152944,#101a2d 220px) !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__messages { background-image:linear-gradient(#101a2dd4,#101a2dd4),url("/jg-skin/logo-wordmark.svg?v=jnd") !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__telegram { background:#9ad8ff !important; color:#082744 !important; box-shadow:none !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__meta { color:#dbe7f8 !important; }
  :root[data-jg-mode="dark"] .jg-chat__day, :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__time { color:#a5b7cd !important; }
  :root[data-jg-mode="dark"] .jg-chat__day::before, :root[data-jg-mode="dark"] .jg-chat__day::after { background:#31415a !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__bubble:not(.customer-chat-v3__bubble--image) { background:#1c2d46 !important; color:#edf3ff !important; border-color:#344662 !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__message--self .customer-chat-v3__bubble:not(.customer-chat-v3__bubble--image) { background:#245cab !important; color:#fff !important; border-color:transparent !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__emoji-panel, :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__more-panel { background:#192940 !important; }
  :root[data-jg-mode="dark"] .customer-chat-v3__attachment { background:#20334d; color:#edf3ff; border-color:#354965; }
  :root[data-jg-mode="dark"] .customer-chat-v3__attachment i, :root[data-jg-mode="dark"] .customer-chat-v3__attachment small { color:#b7dcff; }
  :root[data-jg-mode="dark"] .jg-chat__latest { background:#20334d !important; color:#b7dcff !important; border-color:#395371 !important; }
  :root[data-jg-mode="dark"] .jg-chat-faq { --faq-surface:#1c2d46; --faq-line:#354965; --faq-soft:#233953; --faq-accent:#a5d5ff; background:#17253a !important; color:#edf3ff !important; }
  :root[data-jg-mode="dark"] .jg-chat-contact { color:#ffb273 !important; background:#1c2d46 !important; }
  :root[data-jg-mode="dark"] .jg-chat-contact__panel { background:#352d2a !important; border-color:#f69a4f !important; }
  :root[data-jg-mode="dark"] .jg-chat-contact__identity small { color:#f5eee6 !important; }
  :root[data-jg-mode="dark"] .jg-chat-contact__action { border-color:#5b4640 !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__composer { background:#121f33 !important; border-color:#2a3b53 !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__composer-main { background:#1c2d46 !important; border-color:#354965 !important; box-shadow:none !important; }
  :root[data-jg-mode="dark"] .jg-chat .customer-chat-v3__composer-main:focus-within { border-color:#78a7e8 !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:is([aria-pressed=true], .jg-usdt-net--current) { 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: #1c2b43 !important; box-shadow: 0 0 0 1px #ffffff1a,0 .06rem .24rem #0004 !important; }
  :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-hero-hall > .head_area :is(.jg-mode-toggle, .jg-notice-btn) { background: linear-gradient(180deg,#263652,#1a2840) !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:has(.jg-login-brush-copy + .jg-auth-banner__pilot) {
    --sky-tint: linear-gradient(108deg, rgb(5 16 34 / 96%), rgb(9 28 51 / 90%) 38%, rgb(16 46 76 / 58%) 75%, rgb(18 45 72 / 52%));
  }
  :root[data-jg-mode="dark"] .jg-auth-intro:has(.jg-auth-banner:not(.jg-auth-banner--configured) .jg-login-brush-copy + .jg-auth-banner__pilot) {
    background: linear-gradient(108deg, #08182d, #102a45 62%, #224563) !important;
  }
  :root[data-jg-mode="dark"] .jg-login-brush-copy + .jg-auth-banner__pilot { filter: brightness(.8) saturate(.82) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-login-brush-copy {
    --jg-lp-w1: #edf5ff !important; --jg-lp-w2: #dce9f7 !important; --jg-lp-w3: #abc6df !important; --jg-lp-w4: #e9f2ff !important;
    --jg-lp-c2: #cbe6ff !important; --jg-lp-c3: #72b5ec !important; --jg-lp-c4: #a7d8ff !important; --jg-lp-c5: #5089c3 !important;
    --jg-lp-m1: #c3d8ec !important; --jg-lp-m2: #9cb9d7 !important;
  }
  /* Keep the engraved edges dark when DarkReader adjusts SVG fills. */
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-login-brush-copy :is(.jg-lp-body-sh, .jg-lp-sub-sh) { fill: rgb(2 11 26 / 82%) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-login-brush-copy .jg-lp-du-sh { fill: rgb(1 8 20 / 90%) !important; }
  :is(:root[data-jg-mode="dark"], .van-theme-dark, .dark) .jg-login-brush-copy .jg-lp-du-hi { fill: rgb(218 240 255 / 70%) !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:#086fab !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; }
  /* 三方游戏：电脑端剧场壳与手机横屏贴边抽屉暗色材质 */
  @media (min-width: 1024px) and (min-height: 541px) {
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header { background-color:#101a2d !important; }
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header > .sf-game-bar { background:transparent !important; box-shadow:none !important; }
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header > .sf-game-bar .sf-game-bar__back {
      background:#1b2b44 !important; border-color:rgba(255,255,255,.12) !important; color:#edf3fc !important; box-shadow:0 4px 12px rgba(0,0,0,.32) !important;
    }
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header > .sf-game-bar .sf-game-bar__back:hover {
      background:#243857 !important; color:#8fc0ff !important;
    }
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header > .sf-game-bar .sf-game-bar__title { color:#eef3fb !important; }
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header > .sf-game-stage {
      background:#000 !important; box-shadow:0 22px 54px -20px rgba(0,0,0,.78), 0 0 0 1px rgba(255,255,255,.1) !important;
    }
    :root[data-jg-mode="dark"] .float-ball-page.has-game-header .sf-game-fullscreen {
      background:rgba(0,0,0,.62) !important; color:#fff !important; box-shadow:inset 0 0 0 1px rgba(255,255,255,.32) !important;
    }
  }
  :root[data-jg-mode="dark"] .sf-game-edge {
    background:rgba(10,14,22,.84) !important; color:#fff !important; border-color:rgba(255,255,255,.22) !important;
  }
  :root[data-jg-mode="dark"] .sf-game-edge__btn,
  :root[data-jg-mode="dark"] .sf-game-edge__handle { color:#fff !important; background:transparent !important; }

  /* 9nww 同款桌面端暗夜材质（#15191e 背景 / #1d2329 卡片 / #101419 嵌槽 / 白色边缘流光） */
  @media (min-width: 640px) {
    :root[data-jg-mode="dark"] { background:#15191e !important; }
    :root[data-jg-mode="dark"] body { background-color:#15191e !important; color:#f3f4f6 !important; }
    :root[data-jg-mode="dark"] .jg-hero-hall > .maincontent { background:#15191e !important; }
    :root[data-jg-mode="dark"] .jg-edge-orbit { --jg-orbit-color:#ffffff; }

    /* 侧栏与双形态切换器 */
    :root[data-jg-mode="dark"] .jg-wide-nav {
      background:#15191e !important; border-right-color:rgb(91 101 112 / 0.36) !important; color:#f3f4f6 !important;
    }
    :root[data-jg-mode="dark"] .jg-wide-mode {
      --jg-wide-mode-cut:#b7bec6;
      background:rgb(29 35 41 / 0.88) !important; border-color:rgb(91 101 112 / 0.45) !important;
      box-shadow:none !important;
    }
    :root[data-jg-mode="dark"] .jg-wide-mode__tab { color:#b7bec6 !important; }
    :root[data-jg-mode="dark"] .jg-wide-mode__tab[aria-selected="true"] { color:#ffffff !important; --jg-wide-mode-cut:#0186fe; }
    :root[data-jg-mode="dark"] .jg-wide-search {
      background:#1d2329 !important; border-color:rgb(91 101 112 / 0.45) !important; color:#b7bec6 !important;
    }
    :root[data-jg-mode="dark"] .jg-wide-search:hover { color:#f3f4f6 !important; }
    :root[data-jg-mode="dark"] .jg-wide-divider::before { background:rgb(91 101 112 / 0.45) !important; }
    :root[data-jg-mode="dark"] .jg-wide-collapse {
      background:rgb(29 35 41 / 0.85) !important; border-color:rgb(255 255 255 / 0.16) !important;
      color:#ffffff !important; box-shadow:0 4px 20px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.12) !important;
    }
    :root[data-jg-mode="dark"] .jg-wide-nav__section + .jg-wide-nav__section { border-top-color:rgb(91 101 112 / 0.35) !important; }
    :root[data-jg-mode="dark"] .jg-wide-nav__section > p { color:#9199a3 !important; }
    :root[data-jg-mode="dark"] .jg-wide-nav nav:not(.jg-wide-mode-nav) :is(a, button) { color:#f3f4f6 !important; }
    :root[data-jg-mode="dark"] .jg-wide-nav nav:not(.jg-wide-mode-nav) svg { stroke:#9199a3 !important; }
    :root[data-jg-mode="dark"] .jg-wide-nav nav:not(.jg-wide-mode-nav) :is(a, button):hover { background:#232b33 !important; color:#ffffff !important; }
    :root[data-jg-mode="dark"] .jg-wide-nav nav:not(.jg-wide-mode-nav) [aria-current="page"] {
      background:rgb(1 134 254 / 0.16) !important; color:#4ba9ff !important;
    }
    :root[data-jg-mode="dark"] .jg-wide-nav nav:not(.jg-wide-mode-nav) [aria-current="page"] svg { stroke:#4ba9ff !important; }
    :root[data-jg-mode="dark"] .jg-wide-nav__foot { border-top-color:rgb(91 101 112 / 0.35) !important; }
    :root[data-jg-mode="dark"] .jg-wide-theme { background:#101419 !important; box-shadow:inset 0 0 0 1px rgb(91 101 112 / 0.32) !important; }
    :root[data-jg-mode="dark"] .jg-wide-theme__btn { color:#b7bec6 !important; }
    :root[data-jg-mode="dark"] .jg-wide-theme__btn[aria-pressed="true"] { color:#ffffff !important; }
    :root[data-jg-mode="dark"] .jg-wide-support { color:#f3f4f6 !important; }
    :root[data-jg-mode="dark"] .jg-wide-support:hover { background:#232b33 !important; }

    /* 顶部品牌胶囊、登录/注册/余额胶囊 */
    :root[data-jg-mode="dark"] .hallPage.jg-hero-hall .jg-hero-brand,
    :root[data-jg-mode="dark"] .jg-lobby-sheet .jg-sheet__back {
      background:rgb(29 35 41 / 0.84) !important; border-color:rgb(255 255 255 / 0.14) !important;
      box-shadow:inset 0 1px 0 rgb(255 255 255 / 0.12), 0 4px 20px rgb(0 0 0 / 0.4) !important;
    }
    :root[data-jg-mode="dark"] .jg-pc-capsule--clear {
      background:transparent !important; color:#f3f4f6 !important;
      box-shadow:inset 0 0 0 1px rgb(255 255 255 / 0.22) !important;
    }
    :root[data-jg-mode="dark"] .jg-pc-balance {
      background:rgb(29 35 41 / 0.88) !important; border-color:rgb(91 101 112 / 0.45) !important; color:#f3f4f6 !important;
    }
    :root[data-jg-mode="dark"] .jg-pc-balance__unit { color:#b7bec6 !important; }
    :root[data-jg-mode="dark"] .jg-pc-balance__refresh { background:#29323a !important; color:#e5edfc !important; }
    :root[data-jg-mode="dark"] .hallPage.jg-hero-hall > .head_area :is(.jg-mode-toggle, .jg-notice-btn),
    :root[data-jg-mode="dark"] .jg-lobby-sheet .jg-sheet__head :is(.jg-mode-toggle, .jg-notice-btn) {
      background:rgb(29 35 41 / 0.88) !important; border-color:rgb(91 101 112 / 0.45) !important; box-shadow:none !important;
    }

    /* 首页 Bento 右侧活动卡 & 快捷/页脚 */
    :root[data-jg-mode="dark"] .jg-pc-hero-promo {
      background:radial-gradient(ellipse at 92% 14%, rgb(255 255 255 / 0.18), transparent 62%), linear-gradient(120deg, #13398a 0%, #0952ba 54%, #1a78e6 100%) !important;
      box-shadow:inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 8px 22px -8px rgb(0 0 0 / 0.55) !important;
    }
    :root[data-jg-mode="dark"] .jg-hot__card {
      border-color:rgb(255 255 255 / 0.14) !important; box-shadow:0 8px 20px rgb(0 0 0 / 0.45) !important;
    }
    :root[data-jg-mode="dark"] .jg-sec-more--pc { color:#9199a3 !important; }
    :root[data-jg-mode="dark"] .jg-sec-more--pc:hover { color:#4ba9ff !important; }
    :root[data-jg-mode="dark"] .jg-quick__item {
      background:#1d2329 !important; border-color:rgb(91 101 112 / 0.4) !important; color:#f3f4f6 !important;
    }
    :root[data-jg-mode="dark"] .jg-footer__panel {
      background:#1d2329 !important; border-color:rgb(91 101 112 / 0.4) !important;
    }
    :root[data-jg-mode="dark"] .jg-footer__payments h3,
    :root[data-jg-mode="dark"] .jg-footer__support p { color:#f3f4f6 !important; }
    :root[data-jg-mode="dark"] .jg-footer__payments li { background:#15191e !important; color:#e5edfc !important; }

    /* 游戏大厅桌面暗夜（背景 #15191e / 活动卡 / 页签 / 厂商 / 4-edge 内高光卡框） */
    :root[data-jg-mode="dark"] .jg-lobby-sheet { background:#15191e !important; }
    :root[data-jg-mode="dark"] .jg-lobby-sheet .jg-sheet__head { background:transparent !important; box-shadow:none !important; }
    :root[data-jg-mode="dark"] .jg-lobby__promo-card {
      background:#1d2329 !important; border-color:rgb(91 101 112 / 0.45) !important; box-shadow:0 6px 20px rgb(0 0 0 / 0.35) !important;
    }
    :root[data-jg-mode="dark"] .jg-lobby__promo-inner { background:#101419 !important; }
    :root[data-jg-mode="dark"] .jg-lobby__tabs {
      background:transparent !important; border-bottom-color:rgb(145 153 163 / 0.35) !important;
    }
    :root[data-jg-mode="dark"] .jg-lobby__seg button,
    :root[data-jg-mode="dark"] .jg-lobby__seg button:not(.is-on):active { background:transparent !important; box-shadow:none !important; }
    :root[data-jg-mode="dark"] .jg-lobby__seg button .jg-lobby__lbl { color:#b7bec6 !important; }
    :root[data-jg-mode="dark"] .jg-lobby__seg button .jg-lobby__icon { stroke:#b7bec6 !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 { color:#0186fe !important; }
    :root[data-jg-mode="dark"] .jg-lobby__seg button.is-on .jg-lobby__icon,
    :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-target .jg-lobby__icon { stroke:#0186fe !important; }
    :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-on:not(.is-target) .jg-lobby__lbl { color:#b7bec6 !important; }
    :root[data-jg-mode="dark"] .jg-lobby__seg.is-dragging button.is-on:not(.is-target) .jg-lobby__icon { stroke:#b7bec6 !important; }
    :root[data-jg-mode="dark"] .jg-lobby__ind {
      background:linear-gradient(90deg, rgb(1 134 254 / 0.2), #0186fe 50%, rgb(1 134 254 / 0.2)) !important;
      box-shadow:none !important;
    }
    :root[data-jg-mode="dark"] .jg-lobby__ind::after { content:none !important; }

    /* 厂商胶囊 + 搜索按钮 + 4-edge 玻璃卡框 */
    :root[data-jg-mode="dark"] .jg-art-filters button {
      background:#1d2329 !important; color:#b7bec6 !important; box-shadow:none !important;
    }
    :root[data-jg-mode="dark"] .jg-art-filters button:hover { color:#f3f4f6 !important; }
    :root[data-jg-mode="dark"] .jg-art-filters button[aria-pressed=true] {
      color:#0186fe !important;
      background:radial-gradient(ellipse at 50% 0%, rgb(1 134 254 / 0.22), rgb(1 134 254 / 0.05) 50%, transparent 85%), #1d2329 !important;
    }
    :root[data-jg-mode="dark"] .jg-art-find {
      background:rgb(29 35 41 / 0.88) !important; border-color:rgb(91 101 112 / 0.45) !important; color:#f3f4f6 !important;
    }
    :root[data-jg-mode="dark"] .jg-art-open {
      border:0 !important; background:rgb(16 20 25 / 0.25) !important; padding:4px !important;
      box-shadow:
        inset 1.8px 3px 0 -2px rgb(255 255 255 / 0.2),
        inset 2px 2px 0 -2px rgb(255 255 255 / 0.2),
        inset -2px -2px 2px -2px rgb(255 255 255 / 0.2),
        inset -1.8px -3px 0 -2px rgb(255 255 255 / 0.2) !important;
    }
    :root[data-jg-mode="dark"] .jg-art-media { background:#101419 !important; }
  }
}
