/* 轻聊 v20261102-81 — existing client only. No host style injection.
 * Light/default: no legacy selector changes. Geometry belongs to baseline styles.
 * Images, QR codes, emoji, avatars and lottery artwork are never filtered.
 */

/* Independent appearance control; never hide, relabel, or replace the original avatar. */
#workspace>header>div{min-width:0}
#appearanceHeaderActions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
#appearanceHeaderActions>#profileButton{flex:0 0 44px}
#workspace>header:has(#appearanceButton:not([hidden])){padding-left:14px;padding-right:14px;gap:8px}
#workspace>header .eyebrow{white-space:nowrap}
#appearanceButton.ql-appearance-toggle{display:grid;place-items:center;padding:0;line-height:1;width:44px;min-width:44px;height:44px;min-height:44px;flex:0 0 44px;border:1px solid var(--line,#dce6e1);border-radius:50%;background:transparent;color:var(--green,#167b69);cursor:pointer;touch-action:manipulation}
#appearanceButton.ql-appearance-toggle[hidden]{display:none!important}
#appearanceButton .icon{width:22px;height:22px}
.ql-appearance-dialog{box-sizing:border-box;width:min(430px,calc(100% - 16px));max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);overscroll-behavior:contain;scrollbar-gutter:stable;overflow:auto}
.ql-appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ql-appearance-heading h2{margin:0}
#appearanceClose{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:10px}
.ql-appearance-options{display:grid;gap:8px;border:0;padding:0;margin:0;min-width:0}
.ql-appearance-options>legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ql-appearance-choice{display:flex;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border:1px solid var(--line,#e4ebe7);border-radius:12px;color:inherit;cursor:pointer}
.ql-appearance-choice input[type=radio]{flex:0 0 20px;width:20px;height:20px;min-width:20px;margin:0;padding:0;accent-color:var(--green,#167b69)}
.ql-appearance-choice>span{flex:1;min-width:0}
.ql-appearance-choice strong,.ql-appearance-choice small{display:block}
.ql-appearance-choice strong{font-size:14px;line-height:1.5}
.ql-appearance-choice small{margin-top:3px;font-size:12px;line-height:1.5;color:var(--muted,#7b8c86)}
.ql-appearance-choice:has(input:checked){border-color:var(--green,#167b69);background:#edf4f0}
.ql-appearance-choice:focus-within{outline:2px solid var(--green,#167b69);outline-offset:2px}
.ql-appearance-schedule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line,#e4ebe7)}
.ql-appearance-schedule label{min-width:0}
.ql-appearance-schedule input[type=time]{box-sizing:border-box;display:block;width:100%;min-height:44px;padding:10px 8px;margin-top:6px;font-size:16px}
#appearanceTimeSave{grid-column:1/-1;min-height:44px;margin-top:0}
#appearanceStatus{margin:16px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#7b8c86);overflow-wrap:anywhere}
@media(max-height:450px){.ql-appearance-dialog{margin:auto;max-height:calc(100dvh - 12px);padding-top:12px;padding-bottom:12px}.ql-appearance-choice{min-height:54px;padding-block:7px}}

/* Semantic night tokens; #000 is the opaque page, #111 the existing cards. */
html[data-ql-theme=dark]{color-scheme:dark;--ql-bg:#000;--ql-surface:#111;--ql-raised:#1b1b1b;--ql-soft:#18211e;--ql-text:#e8e6e3;--ql-muted:#a7b5af;--ql-line:#35413c;--ql-accent:#68d6ba;--ql-success:#7ce0ae;--ql-warning:#f2cc78;--ql-danger:#ff9aa3;--green:#68d6ba;--muted:#a7b5af;--line:#35413c;--soft:#18211e;background:#000!important;color:#e8e6e3!important;scrollbar-color:#53615a #111}
html[data-ql-theme=dark] body{background:#000!important;color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(#workspace,#workspace>header,#workspace nav,.chat-layout nav,#personalView,.personal-identity,.recharge-head,.recharge-dialog,.recharge-dialog iframe,#originalChatFrame,#personalFrame,#rechargeFrame){background:#000!important;color:var(--ql-text);border-color:var(--ql-line)}
html[data-ql-theme=dark] :is(.panel,.account-card,.user-card,.listener-banner,.composer,.search,dialog,.chat-message p){background:var(--ql-surface)!important;color:var(--ql-text);border-color:var(--ql-line)}
html[data-ql-theme=dark] :is(input,textarea,select,option,optgroup){background-color:var(--ql-raised);color:var(--ql-text);border-color:var(--ql-line);caret-color:var(--ql-accent);accent-color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.search input,#messageInput){background:transparent}
html[data-ql-theme=dark] :is(input,textarea)::placeholder{color:#9eaaa4;opacity:1}
html[data-ql-theme=dark] :is(input,select,textarea):focus{border-color:var(--ql-accent);box-shadow:0 0 0 3px #68d6ba26}
html[data-ql-theme=dark] input:autofill{box-shadow:0 0 0 1000px var(--ql-raised) inset;color:var(--ql-text)}
html[data-ql-theme=dark] input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--ql-raised) inset;-webkit-text-fill-color:var(--ql-text);caret-color:var(--ql-accent)}
html[data-ql-theme=dark] :is(label,.muted,.fine,.eyebrow,dt,.offline,.account-name p,.original-identity small,.identity-row,.message-meta,.message-meta time,.quota-summary,.account-balance,.personal-identity label,.search>span,.empty,.empty-tag,.chat-empty p,.account-organize button,.account-organize .account-drag,[data-app-version]){color:var(--ql-muted)}
html[data-ql-theme=dark] :is(.empty strong,.chat-empty h2){color:#c0d0c8}
html[data-ql-theme=dark] .account-remark{color:#b3c8be!important}
html[data-ql-theme=dark] :is(.text-button,.password-field button,.quick-toggle,.identity-row strong,.original-identity b,.account-balance b,.recharge-head button,#profileView #adminNav,nav button.active,.identity-choice.selected){color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.profile,.avatar,.chat-symbol){background:#182d25;color:var(--ql-accent);border-color:var(--ql-line)}
html[data-ql-theme=dark] :is(.primary,.send){background:#196b56;color:#fff}
html[data-ql-theme=dark] :is(.secondary,.quick-replies button,.room-choice,.listener-banner .pill,.account-actions button:first-child,#accountsView .account-actions .account-edit,#telegramSync){background:#1a3027;color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.danger,#deleteEditedAccount,#accountList .account-logout,#accountsView .account-actions .remove){background:#391c21;color:var(--ql-danger)}
html[data-ql-theme=dark] :is(.account-actions button,.account-name-tools button){color:#bbd0c5}
html[data-ql-theme=dark] :is(#accountList .account-login,#accountList [aria-pressed=true],.account-organize .is-main,.account-organize [aria-pressed=true],.account-recharge,.status-success){background:#143525;color:var(--ql-success)}
html[data-ql-theme=dark] .status-offline{background:#391c21;color:var(--ql-danger)}
html[data-ql-theme=dark] .status-pending{background:#392d16;color:var(--ql-warning)}
html[data-ql-theme=dark] .status-dot{background:#9bac9f}
html[data-ql-theme=dark] .account-status .status-dot{background:currentColor}
html[data-ql-theme=dark] :is(.account-actions,.account-name-tools,.account-organize,.user-tools,.identity-choice,.quick-item,.profile-summary,.telegram-binding,.ql-appearance-schedule){border-color:var(--ql-line)}
html[data-ql-theme=dark] :is(.notice,.recharge-result.is-warning){background:#302616;color:var(--ql-warning);border-color:#69532a}
html[data-ql-theme=dark] :is(.login-error,.recharge-result.is-error){background:#391c21;color:var(--ql-danger);border-color:#6e353e}
html[data-ql-theme=dark] :is(#bulkLoginFailures p,.quick-item [data-delete-quick]){color:var(--ql-danger)}
html[data-ql-theme=dark] .recharge-result{background:#153126;color:var(--ql-success);border-color:#365d48}
html[data-ql-theme=dark] .quota-card{background:linear-gradient(120deg,#10382d,#174c3b);color:var(--ql-text)}
html[data-ql-theme=dark] :is(.quota-number>span,.quota-card .fine){color:#bbd9cd}
html[data-ql-theme=dark] .pill{background:#ffffff18;color:inherit}
html[data-ql-theme=dark] .room-choice.selected{background:#196b56;color:#fff}
html[data-ql-theme=dark] .account-finance{background:#15221b}
html[data-ql-theme=dark] .account-recharge:disabled{background:#252c28;color:#a0aaa5}
html[data-ql-theme=dark] nav button{color:#a7b5af}
html[data-ql-theme=dark] :is(#workspace nav button.active,.chat-layout nav button.active){color:var(--ql-accent)}
html[data-ql-theme=dark] dialog::backdrop{background:#000b}
html[data-ql-theme=dark] :is(.close,#appearanceClose){color:#c1cdc6}
html[data-ql-theme=dark] #toast{background:#233c31;color:#f1f4f1;box-shadow:0 8px 30px #0008}
html[data-ql-theme=dark] .ql-appearance-choice:has(input:checked){background:#17372c;border-color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.ql-appearance-choice small,#appearanceStatus){color:var(--ql-muted)}
html[data-ql-theme=dark] :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--ql-accent);outline-offset:2px}
html[data-ql-theme=dark] :is(.danger,#deleteEditedAccount,#accountsView .account-actions .remove):focus-visible{outline-color:var(--ql-danger)}
@media(hover:hover){html[data-ql-theme=dark] :is(.secondary,.text-button,.quick-replies button,.room-choice,.identity-choice,.ql-appearance-choice):not(:disabled):hover{background-color:#23392e}}
html[data-ql-theme=dark] ::selection{background:#3a6c57;color:#fff}

/* Embedded manual bridge surfaces. Dynamic vendor CSS is handled by the
 * pinned frame-only DarkReader engine, never by a host filter/inversion. */
html[data-ql-theme=dark] :is(#app,.v-application,.v-application--wrap,.chat-main,.chat-container,.virtual-list,.virtual-list-footer){background-color:#000!important;color:var(--ql-text)}
html[data-ql-theme=dark] :is(.ql-composer-head,.chat-input-bar,.ql-chat-active .chat-bottom){background:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.ql-phrase,.ql-manage){background:#1c3027;color:#bbdfd0}
html[data-ql-theme=dark] :is(.ql-identity,.ql-switch,.ql-quick-toggle){color:var(--ql-accent);border-color:var(--ql-line)}
html[data-ql-theme=dark] :is(.ql-label,.ql-note){color:var(--ql-muted)}
html[data-ql-theme=dark] .ql-state{color:var(--ql-success)}
html[data-ql-theme=dark] .ql-offline{color:var(--ql-danger)}
html[data-ql-theme=dark].ql-identity-switching .ql-state{color:var(--ql-warning)}
html[data-ql-theme=dark] .ql-avatar{background:#19382b;color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.chat-input-bar .message-input,.ql-chat-active .chat-input-bar .message-input){background:#1b1f1d!important;color:var(--ql-text)!important}
html[data-ql-theme=dark] .chat-input-bar textarea{background:transparent!important;color:var(--ql-text)!important;caret-color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.chat-input-bar .chat-send-btn,.ql-chat-active .chat-input-bar .chat-send-btn){background:#196b56!important;color:#fff!important}
html[data-ql-theme=dark] :is(.ql-room-toggle,.ql-back-bottom,.ql-bet-expand){background:#151b18;color:var(--ql-accent);border-color:var(--ql-line)}
html[data-ql-theme=dark] .ql-packet-close{background:#181818;color:var(--ql-danger);border-color:#725047}
html[data-ql-theme=dark] .ql-image-status{background:#242c28ed;color:#fff}
html[data-ql-theme=dark] .ql-draw-status{background:#362a13;color:var(--ql-warning)}
html[data-ql-theme=dark] .ql-bet-hide{color:#c2c5c2}
html[data-ql-theme=dark] .ql-bet-hide:before{background:#181818;border-color:#5b625d}
html[data-ql-theme=dark] .ql-bet-float{background:#111}
/* Preserve its existing disabled/drag filter exactly; no theme image filter. */

/* Betting catalog, expanded stake/confirmation, result and permission errors. */
html[data-ql-theme=dark] :is(.ql-bet-panel,.ql-bet-tools){background:#000;color:var(--ql-text)}
html[data-ql-theme=dark] :is(.ql-bet-head,.ql-bet-period){background:linear-gradient(135deg,#63232b,#772b33);color:#fff}
html[data-ql-theme=dark] :is(.ql-bet-head small,.ql-bet-period small){color:#ffd5d5}
html[data-ql-theme=dark] :is(.ql-bet-tools label,.ql-bet-refresh,.ql-bet-period-refresh,.ql-bet-draw,.ql-bet-playways,.ql-bet-stake,.ql-bet-options button,.ql-bet-confirm>div){background:#111;color:var(--ql-text);border-color:var(--ql-line)}
html[data-ql-theme=dark] .ql-bet-card{background:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.ql-bet-tools input,.ql-bet-playways select,.ql-bet-stake input){background:#1b1b1b;color:var(--ql-text);border-color:#48514b;caret-color:var(--ql-accent)}
html[data-ql-theme=dark] :is(.ql-bet-favorite-tip,.ql-bet-grid-title,.ql-bet-card-copy small,.ql-bet-empty,.ql-bet-draw small,.ql-bet-balls i,.ql-bet-balls em,.ql-bet-playways label,.ql-bet-stake label,.ql-bet-stake>p,.ql-bet-confirm dt,.ql-bet-result dt,.ql-bet-loading p,.ql-bet-error p,.ql-bet-result>p){color:var(--ql-muted)}
html[data-ql-theme=dark] :is(.ql-bet-draw>div:first-child strong,.ql-bet-main section>h3){color:var(--ql-text)}
html[data-ql-theme=dark] .ql-bet-options button small{color:#ff9ea6}
html[data-ql-theme=dark] .ql-bet-options button.selected{background:#3e1d25;color:#ffb6bc;border-color:#f17986;box-shadow:inset 0 0 0 1px #f17986}
html[data-ql-theme=dark] .ql-bet-quick button{background:#242424;color:#d6dcd7}
html[data-ql-theme=dark] :is(.ql-bet-refresh,.ql-bet-period-refresh){color:#ff9ea6}
html[data-ql-theme=dark] :is(.ql-bet-submit,.ql-bet-result-close,.ql-bet-confirm-send,.ql-bet-retry){background:#9c303c;color:#fff}
html[data-ql-theme=dark] :is(.ql-bet-cancel,.ql-bet-result-back){background:#242424;color:#e5dbdc;border-color:#79525a}
html[data-ql-theme=dark] :is(.ql-bet-confirm dl,.ql-bet-result dl){background:#1d1d1d;color:var(--ql-text)}
html[data-ql-theme=dark] .ql-bet-confirm{background:#000a}
html[data-ql-theme=dark] .ql-bet-confirm p{color:var(--ql-danger)}
html[data-ql-theme=dark] .ql-bet-notice{background:#302616;color:var(--ql-warning)}
html[data-ql-theme=dark] .ql-bet-notice-error{background:#391c21;color:var(--ql-danger)}
html[data-ql-theme=dark] .ql-bet-favorite{color:#aeb9b0}
html[data-ql-theme=dark] .ql-bet-favorite.active{color:#ffd15c}
html[data-ql-theme=dark] .ql-bet-favorite:active{background:#3b3015}
html[data-ql-theme=dark] .ql-bet-grid-title~.ql-bet-grid-title{border-color:var(--ql-line)}
html[data-ql-theme=dark] .ql-bet-loading span{border-color:#61383e;border-top-color:#ff9ea6}
html[data-ql-theme=dark] .ql-bet-result>span{background:#176b49;color:#fff}
html[data-ql-theme=dark] .ql-bet-result.uncertain>span{background:#6d501a}
html[data-ql-theme=dark] .ql-bet-result.failed>span{background:#96313e}

/* Known chat DOM from the running bridge contract (not invented redesign).
 * Scoped attributes from upstream Vue builds do not defeat these !important
 * color-only overrides. Never touch dimensions/display/overflow/permissions. */
html[data-ql-theme=dark] :is(.app-bar,.chat-notice-bar-box,.chat-openlobby-box,.openlobby-main,.openlobby-container,.openlobby-content,.openlobby-header,.openlobby-details,.openlobby-periods-container,.openlobby-periods-container-open,.chat-slide-btn-group-box,.chat-slide-btn-group-btn,.chat-bottom,.chat-input-more-box,.chat-emoji-box,.emoji-picker,.bet-box,.bet-bar,.bet-content,.bet-bottom,.bet-th,.bet-tips){background-color:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.app-bar-title,.app-bar-title-sub,.app-bar-back-btn,.openlobby-title,.openlobby-periods,.openlobby-details-periodsNumber,.openlobby-countdown-tips,.openlobby-arrow-left-btn,.chat-item-tips-bar,.chat-load-more-box,.chat-item-loading-box){color:var(--ql-muted)!important}
html[data-ql-theme=dark] :is(.openlobby-open-btn,.chat-slide-btn-group-btn){background-color:#182b23!important;color:var(--ql-accent)!important}
html[data-ql-theme=dark] .chat-item-content:not(.chat-item-content-img){background-color:#1c1c1c!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.chat-item-content-right,.chat-item-right .chat-item-content){background-color:#16382c!important;color:#e2f0e9!important}
html[data-ql-theme=dark] .chat-item-content-arrow{border-right-color:#1c1c1c!important}
html[data-ql-theme=dark] .chat-item-content-arrow-right{border-left-color:#16382c!important}
html[data-ql-theme=dark] :is(.bet-input,.bet-input input,.bet-input-box input,.countdown-item-box){background-color:#242424!important;color:var(--ql-text)!important;border-color:#535c55!important}
html[data-ql-theme=dark] :is(.bet-confirm,.bet-totalamount-btn){background-color:#9c303c!important;color:#fff!important}
/* Actual downloaded public CSS families: Vant/Vuetify, wallet/recharge and
 * the default2 expanding QR/bank detail panel. Images retain original bytes. */
html[data-ql-theme=dark] :is(.van-dialog,.van-popup,.van-action-sheet,.van-action-sheet__item,.van-action-sheet__cancel,.van-picker,.van-picker__toolbar,.van-cell,.van-cell-group,.van-field,.van-search,.van-search__content,.van-dropdown-item__content,.van-calendar,.van-calendar__header,.van-calendar__bottom-info,.van-number-keyboard,.van-number-keyboard__body,.van-password-input__security li,.van-collapse-item__content,.v-card,.v-sheet,.v-list,.v-menu__content,.v-data-table,.v-data-table__wrapper,.theme--light.v-card,.theme--light.v-sheet,.theme--light.v-list){background-color:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.van-cell__title,.van-field__label,.van-dialog__header,.van-dialog__message,.van-action-sheet__header,.van-picker-column__item,.v-list-item__title,.v-list-item__subtitle,.v-label,.v-input input,.v-input textarea,.theme--light.v-input,.theme--light.v-label,.theme--light.v-data-table){color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(.van-field__control,.van-stepper__input,.van-stepper__minus,.van-stepper__plus,.van-checkbox__icon,.v-text-field--outlined fieldset){background-color:#202020!important;color:var(--ql-text)!important;border-color:#535c55!important}
html[data-ql-theme=dark] :is(.van-cell__value,.van-cell__label,.van-action-sheet__description,.van-field__word-limit,.van-list__loading,.van-list__finished-text,.van-empty__description,.v-messages,.v-input__details){color:var(--ql-muted)!important}
html[data-ql-theme=dark] :is(.van-button--default,.van-dialog__cancel,.van-picker__cancel,.van-action-sheet__cancel){background:#242424!important;color:var(--ql-text)!important;border-color:#535c55!important}
html[data-ql-theme=dark] :is(.van-button--primary,.van-dialog__confirm,.van-picker__confirm){color:var(--ql-accent)!important}
html[data-ql-theme=dark] :is(.van-field__error-message,.van-form__error-message){color:var(--ql-danger)!important}
html[data-ql-theme=dark] :is(.van-overlay,.van-image-preview__overlay){background-color:#000c!important}
html[data-ql-theme=dark] .van-picker__mask{background-image:linear-gradient(180deg,#111e,#1110),linear-gradient(0deg,#111e,#1110)!important}
html[data-ql-theme=dark] .van-picker__frame:after,html[data-ql-theme=dark] [class*=van-hairline]:after{border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.page-wallet,.page-wallet-default2,.page-recharge,.page-recharge-success,.page-walletdetails,.page-walletprogress,.page-rechargewithdrawal,.message-center,.message-content,.message-div,.empty-message,.page-billchangerecord,.page-billchangerecorddetail,.page-drawrecords,.page-transferrecord,.page-transferrecorddetail,.page-expenditurerecord,.record-list-wrapper){background-color:#000!important;color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(.recharge-rate,.bankcard-item,.banksheetheader,.qrcode-voucher-upload,.recharge-warn-tips,.recharge-content,.recharge-box,.rechargeListItem,.rechargeListItemBox,.record-item,.record-itembox,.record-bar,.ranking-board,.ranking-content,.ranking-list,.input-content,.reward-dialog,.dialog-box){background-color:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .handle-item-bar,.page-wallet-default2 .gou-box,.page-wallet-default2 .bankcardContainer .bankcardInfoBox,.page-recharge .handle-item-bar){border-color:#535c55!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .bank-num,.page-wallet-default2 .bank-title,.page-wallet-default2 .item-title,.page-wallet-default2 .tipsBar,.page-wallet-default2 .item-sub-title,.page-wallet-default2 .bankcardInfoItem-tips,.reward-dialog .title,.dialog-content){color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .item-text,.page-wallet-default2 .label,.page-wallet-default2 .recharge-rate,.page-wallet-default2 .bankcardInfoItemSub,.page-wallet-default2 .voucher-title span,.page-wallet-default2 .bank-info-box){color:var(--ql-muted)!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .copy-button,.page-wallet-default2 .recharge-button,.reward-amount-item){background-color:#242424!important;color:var(--ql-text)!important;border-color:#535c55!important;box-shadow:none!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .recharge-button.pass,.page-wallet-default2 .copybutton){background-color:#953044!important;color:#fff!important}
html[data-ql-theme=dark] .reward-amount-item.active{background:#173d30!important;color:var(--ql-accent)!important;border-color:var(--ql-accent)!important}
/* Native packet artwork stays red/gold; only surrounding text/paper changes. */
html[data-ql-theme=dark] :is(.redpacketsinfo-container,.redpacketslist-container,.redpacketsinfo-list,.redpacketslist-list,.contacts-container,.contacts-list,.friend-list,.message-list-container,.groupinfo-container,.memberinfo-container,.chat-record-container,.bet-record-container,.rank-container){background-color:#000!important;color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(.redpacketsinfo-item,.redpacketslist-item,.contacts-item,.friend-item,.message-item,.groupinfo-item,.memberinfo-item,.chat-record-item,.bet-record-item){background-color:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}

/* Rich option group may be a vendor section; retain an opaque black parent. */
html[data-ql-theme=dark] .ql-bet-options{background-color:#000;color:var(--ql-text)}

/* Remaining source-derived recharge amount, voucher and framework states. */
html[data-ql-theme=dark] :is(.page-wallet-default2 .input-item,.page-wallet-default2 .amount-container,.page-wallet-default2 .amount-set-list,.page-wallet-default2 .vc-client-address-tips,.van-picker__loading){background-color:#111!important;color:var(--ql-text)!important;border-color:var(--ql-line)!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .amount-item,.page-wallet-default2 .select-item,.page-wallet-default2 .bb6){border-color:#535c55!important;color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .select-item.active,.page-wallet-default2 .amount-item.active){background:#3a1d29!important;border-color:#f286ad!important;color:#ffbcd4!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .amount-name,.page-wallet-default2 .amount-tips,.page-wallet-default2 .recharge-tips,.page-wallet-default2 .recharge-sub){color:var(--ql-muted)!important}
html[data-ql-theme=dark] :is(.page-wallet-default2 .vc-client-address-tips,.page-wallet-default2 .vcamount,.page-wallet-default2 .item-error,.recharge-warn-tips){color:var(--ql-danger)!important}
html[data-ql-theme=dark] .page-wallet-default2 .voucher-add{background:#333!important;color:#ccc!important}
html[data-ql-theme=dark] :is(.theme--light.v-list-item:not(.v-list-item--active):not(.v-list-item--disabled),.theme--light.v-card .v-card__subtitle,.theme--light.v-card>.v-card__text,.reward-dialog .close-icon){color:var(--ql-text)!important}
html[data-ql-theme=dark] :is(.theme--light.v-list .v-list--disabled,.theme--light.v-list-item--disabled){color:#8c968f!important}
html[data-ql-theme=dark] .theme--light.v-list-item .v-list-item__mask{background:#242424!important;color:#adb7af!important}
/* Disabled transparency/cursors remain defined by original components. */
