/* Explicit light surfaces, shared by every customer page. Dark mode is untouched. */
html[data-appearance=light]{--xt-bg:#f4f6f8;--xt-surface:#fff;--xt-raised:#edf1f5;--xt-input:#f8fafc;--xt-line:#dce3ea;--xt-text:#192635;--xt-muted:#627185;--xt-accent:#5dd62c;--xt-positive:#087c48;--xt-negative:#d92d45;color-scheme:light}
html[data-appearance=light] body[data-xt-layout][data-xt-layout]{color-scheme:light;--text:#192635;--muted:#627185;--text-main:#192635;--font-color:#192635}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(h1,h2,h3,h4,.xw-wallet,.xw-balance>strong,.xw-market-top b,.xw-market-price,.profile-name,.user-name,.label-text,.section-title,.menu-label,.auth-form-panel){color:var(--xt-text)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xw-muted,.xw-stat p,.xw-balance-top,.xw-market-top small,.xw-source,.xw-day-note,.xw-heading p,.xw-markets-status,.xt-eyebrow,.xt-chart-caption,.xd-method small,.label,.subtitle,.page-subtitle){color:var(--xt-muted)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.page-title,.nav-header,.app-header,.header,.hdr,.page-header,.xg-header,.xt-topbar,.platform-rail,.xt-utility-rail,.xt-statusbar,.bottom-nav,.bottom-menu){background:#fff!important;color:var(--xt-text)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body .xt-topbar.xt-topbar-polished{background:#fff!important;border-color:var(--xt-line)!important;box-shadow:0 1px 12px #19263505}
html[data-appearance=light] body .xt-topbar-polished :is(.xt-all-tools,.xt-icon-button,.xt-wallet,.xt-account-menu){background:#f8fafc!important;border-color:var(--xt-line)!important;color:var(--xt-text)!important;box-shadow:none}
html[data-appearance=light] body .xt-topbar-polished :is(.xt-wallet strong,.xt-account-menu strong,.xt-account-menu button){color:var(--xt-text)!important}
html[data-appearance=light] body .xt-topbar-polished :is(.xt-wallet>span,.xt-account-menu small){color:var(--xt-muted)!important}
html[data-appearance=light] body .xt-topbar-polished .xt-account-menu button:hover{background:#eaf5e6!important}
html[data-appearance=light] body .xt-identity-logo,html[data-appearance=light] body.xt-racing-login .mobile-auth-brand img{content:url('/public/brand/logo-dark.svg')!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.bottom-nav-item,.xt-rail a){color:#637388!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.bottom-nav-item,.xt-rail a).active{background:#edf8e9!important;color:#247d19!important;box-shadow:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.bottom-nav,.xt-rail){box-shadow:0 -2px 18px #20324707!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.logout-btn,.back-btn,.back-icon,.copy-btn,.inbox-read-all,.store-nav,.network-badge,.wallet-network-pill,.xt-all-tools,.xt-segment,.xt-mobile-pair,.xt-chart-options summary,.invite-link-box,.level-stats,.level-action,.details-btn,.btn-manage,.tab-btn,.address-box,.amount-item,.method-item,.payment-method,.xt-icon-button,.xw-icon-button,.xw-history,.xt-zoom-controls button,.xt-analysis-options summary,.xt-crosshair-toggle){background:var(--xt-input)!important;color:var(--xt-text)!important;border-color:var(--xt-line)!important;box-shadow:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.appearance-option,.language-option)[aria-pressed=true]{background:#eff9e9!important;border-color:#58a836!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.appearance-check,.language-check,.positive,.xt-green,.xt-profit,.xw-heading h1 span,.xw-balance-top i){color:#258516!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.negative,.xw-wallet .negative){color:#d92d45!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xw-wallet-actions a,.xw-wallet-actions a i){color:#44566a}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xw-wallet-actions a i{background:#fff!important;border:1px solid var(--xt-line)!important;box-shadow:0 3px 10px #20324706!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xw-wallet-actions a:first-child i{background:#5dd62c!important;color:#153209!important;border-color:#5dd62c!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xw-wallet:before{opacity:.25;filter:blur(55px)}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xw-stat,.xw-balance,.xw-level,.xd-method,.xd-dialog,.xd-amount-box,.xd-dialog-heading,.xd-security,.xt-analysis-menu,.xt-analysis-hint,.xt-chart-menu,.xt-chart-toolbar,.xt-chart-caption,.tpanel,.balance-container,.settings-card){background:var(--xt-surface)!important;color:var(--xt-text)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xd-method,.xw-market,.profile-card,.appearance-option){box-shadow:0 3px 12px #20324705!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xd-method:hover,.xw-market:hover){border-color:#9dca8b!important;box-shadow:0 6px 20px #2032470a!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xd-method-main,.xd-method-footer,.xd-method-main strong,.xd-dialog-title,.xd-close,.xt-analysis-menu button,.xt-analysis-menu label,.xt-analysis-menu h3,.xt-chart-menu h3,.xt-chart-menu label){color:var(--xt-text)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xd-method-footer,.xd-security,.xt-second-chart-badge){background:#f4f7fa!important;color:var(--xt-muted)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xt-analysis-menu button,.xd-fast-amounts button,.xd-close){background:var(--xt-input)!important;color:var(--xt-text)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xt-analysis-menu button[aria-pressed=true],.xt-timeframes button.selected,.tpill.selected,.xt-watchlist .apill.on){background:#ecf7e7!important;color:#247d19!important;border-color:#8ebf77!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xt-return{background:#f2f9ee!important;border-color:#d3e8c9!important;color:#427337!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xt-return strong{color:#258516!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xt-return[data-position-state=losing] strong{color:#d92d45!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xt-amount-input,.tpanel select){background:var(--xt-input)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xt-vip{background:linear-gradient(135deg,color-mix(in srgb,var(--vip) 13%,#fff),#fff)!important;color:color-mix(in srgb,var(--vip) 65%,#183145)!important;border-color:color-mix(in srgb,var(--vip) 45%,#dce3ea)!important}
html[data-appearance=light] .xt-vip-shield{fill:color-mix(in srgb,var(--vip) 13%,#fff)}
html[data-appearance=light] body.xt-racing-login :is(.auth-form-panel,.xt-auth-tabs,.auth-tabs){background:var(--xt-bg)!important;color:var(--xt-text)!important}
html[data-appearance=light] body.xt-racing-login :is(.google-login,.google-login-btn,.xt-auth-appearance,.xt-language-login){background:#fff!important;color:var(--xt-text)!important;border-color:var(--xt-line)!important}
html[data-appearance=light] body.xt-racing-login :is(.auth-form-panel h1,.auth-form-panel h2,.label-text,.login-options a,.xt-auth-tabs a[aria-current]){color:var(--xt-text)!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(input,select,textarea):focus-visible,html[data-appearance=light] button:focus-visible,html[data-appearance=light] a:focus-visible{outline:2px solid #329b1d!important;outline-offset:3px}
html[data-appearance=light] .theme-preview.preview-dark{background:#10151b!important}html[data-appearance=light] .preview-dark .preview-card{background:#242d38!important}html[data-appearance=light] .preview-bar{background:#5dd62c!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .theme-preview.preview-dark{background:#10151b!important}html[data-appearance=light] body[data-xt-layout][data-xt-layout] .preview-dark .preview-card{background:#242d38!important;box-shadow:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.appearance-header a,.xd-dialog input,.xt-analysis-menu input:not([type=checkbox]):not([type=color]),.xt-analysis-menu select){background:#f8fafc!important;color:#192635!important;border-color:#dce3ea!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xt-chart-options summary i,.xt-analysis-options summary i){color:#427337!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xw-balance,.xw-stat){background:transparent!important;background-image:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xw-wallet-actions a i{color:#44566a!important}html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xw-wallet-actions a:first-child i{color:#153209!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xt-market-summary,.xt-canvas-controls button,.xt-quick-amounts button,.xt-asset-toggle){background:#f8fafc!important;color:#34475b!important;border-color:#dce3ea!important;box-shadow:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] #expected-profit{color:#327322!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xt-contract-details :is(dt,dd){color:#627185!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.xd-method small,.xd-method-sub,.xd-method-footer>span,.xd-section h2 i){color:#627185!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xd-method-footer>span:last-child{color:#287d1b!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] #deposit-dialog :is(.section-box,.reminder-box){box-shadow:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .balance-container{background:transparent!important;box-shadow:none!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.wallet-hero,.menu-list,.stat-card,.mini-card,.profile-card,.security-card,.team-stats-card,.invite-section,.section-box,.rules-card,.income-overview,.language-list,.appearance-option,.inbox-card,.card,.xd-method,.xw-market){box-shadow:0 4px 18px #20324707!important;border-color:#dce3ea!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.menu-icon,.icon-circle,.icon-accent,.reward-icon,.language-check,.appearance-check){color:#287d1b!important;background-color:#eff8eb!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] .xt-wallet-symbol{color:#287d1b!important;background:#eaf6e4!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] #live_price{color:#34475b!important}html[data-appearance=light] body[data-xt-layout][data-xt-layout] #live_price.price-up{color:#087c48!important}html[data-appearance=light] body[data-xt-layout][data-xt-layout] #live_price.price-down{color:#d92d45!important}
html[data-appearance=light] body[data-xt-layout][data-xt-layout] :is(.fcard label,.xt-contract-details,.xt-contract-details dt,.xt-contract-details dd){color:#627185!important}
