.locale-settings-title{font-size:12px!important;text-transform:uppercase;letter-spacing:.08em!important;color:#617269;margin:20px 0 6px!important}.appearance-setting{position:relative;cursor:pointer}.appearance-setting>span{flex:1}.appearance-setting>span small{display:block;font-size:11px;color:#617269;margin-top:3px}.appearance-setting input{position:absolute;inset-inline-end:0;width:48px;height:44px;opacity:0;cursor:pointer}.appearance-toggle{width:40px;height:24px;flex:0 0 40px;border-radius:30px;background:#c5d5cc;position:relative;pointer-events:none}.appearance-toggle:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:white;border-radius:50%;transition:transform .15s}.appearance-setting input:checked+.appearance-toggle{background:#268466}.appearance-setting input:checked+.appearance-toggle:after{transform:translateX(16px)}.appearance-setting input:focus-visible+.appearance-toggle{outline:3px solid #65bf9c;outline-offset:3px}
html[data-theme=dark]{color-scheme:dark;--bg:#0c1713;--line:#2c4439;--muted:#a6bdb1;--flow-bg:#0c1713;--flow-ink:#e6efe9;color:#e6efe9;background:#0c1713}
html[data-theme=dark] body{background:#0c1713;color:#e6efe9}
html[data-theme=dark] :is(.main,.hub-page,.native-hub,.flow-page,.payment-body,.native-profile-page,.referral-page,.stake-page,.webview-page,.android-home){background-color:#0c1713!important;color:#e6efe9}
html[data-theme=dark] :is(.card,.auth,.side,.section,.account-card,.tx,.row,.flow-card,.method-choice,.withdraw-account,.saved-row,.native-profile-hero,.native-profile-form,.native-profile-section,.native-profile-card,.native-profile-field,.native-profile-dialog,.review-dialog,.summary-rows,.stake-wallet,.stake-position,.stake-history,.stake-plan,.stake-record,.stake-dialog,.stake-detail,.referral-card,.referral-record,.referral-wallet,.referral-code-row,.feature-promo-dialog,.feature-guide,.deposit-bonus-popup,.deposit-bonus-card,.parity-profile-card,.parity-hub-row,.parity-announcement,.parity-news-help,.parity-news-help>a,.parity-news-help>button,.parity-shortcuts>button,.parity-hub-list,.parity-processing,.support-bubble,.support-compose-row,.support-composer,.support-message,.support-thread,.native-proof-row,.native-proof-address,.native-proof-account,.native-deposit-account,.withdraw-wallet-balance){background-color:#14261e!important;border-color:#2c4439!important;color:#e6efe9!important;box-shadow:none}
html[data-theme=dark] :is(.parity-hub,.parity-more,.parity-news){background:#0c1713!important;color:#e6efe9}
html[data-theme=dark] :is(.input,input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select,.amount-input,.native-deposit-amount-input,.native-profile-field input,.support-compose-row textarea){background:#0f1e17!important;color:#e6efe9!important;border-color:#365244!important;caret-color:#89dfb9}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#93aa9d!important;opacity:1}
html[data-theme=dark] :is(.sub,.field-hint,.native-caption,.locale-settings-title,.tx small,.row small,.parity-hub small,.native-profile-page small,.native-profile-page label,.stake-page small,.stake-dialog small,.referral-page small,.flow-page label,.flow-page .field label,.appearance-setting>span small,.support-meta){color:#a6bdb1!important}
html[data-theme=dark] :is(.main,.flow-page,.native-profile-page,.parity-hub,.stake-dialog,.referral-page,.review-dialog,.auth) :is(h1,h2,h3,.credential-value,.summary-rows b,.summary-rows strong,.stake-record-money,.native-profile-field label){color:#e6efe9!important}
html[data-theme=dark] :is(.soft,.line,.btn.soft,.btn.line,.ico,.method-icon,.stake-amount-chips button,.withdraw-amount-chips button,.parity-profile-icon,.parity-processing>div,.upload,.payment-note,.native-proof-note,.info-note,.summary-notice,.support-compose,.support-attach,.support-compose-row){background-color:#20392c!important;border-color:#365244!important;color:#96e0bc!important}
html[data-theme=dark] :is(.bottom,.native-profile-toolbar){background-color:#14261e!important;border-color:#2c4439!important;color:#d8e7de}
html[data-theme=dark] .bottom .active{color:#8ed9b5!important}
html[data-theme=dark] :is(.account-row,.parity-hub-row,.parity-processing,.rows,.row){border-color:#2c4439!important}
html[data-theme=dark] :is(.account-card,.flow-card,.auth,.review-dialog,.stake-dialog,.referral-page,.parity-hub) :is(p,small,span,label,b,strong){color:inherit}
html[data-theme=dark] :is(.account-row strong,.account-card h2){color:#e6efe9!important}
html[data-theme=dark] :is(.account-copy,.native-eye,.icon-button,.native-profile-eye){color:#9ce3c1!important}
html[data-theme=dark] :is(.parity-hub-row>svg,.parity-shortcuts svg,.parity-news-help svg,.parity-profile-icon,.parity-profile-link small,.eye){color:#8ed9b5!important}
html[data-theme=dark] :is(.open-app,.primary,.flow-primary,.support-send,.download-play,.parity-play,.feature-promo-action,.deposit-bonus-popup-action){color:white!important}
html[data-theme=dark] :is(.approved,.active-chip){background:#183b29!important;color:#a3e5bd!important}
html[data-theme=dark] :is(.status:not(.approved):not(.cancelled),.pending){background:#3b301a!important;color:#f3d58e!important}
html[data-theme=dark] :is(.cancelled,.danger,.error,.form-error){background:#3d242c!important;color:#ffb5c0!important}
html[data-theme=dark] :is(.download-apk,.parity-apk,.parity-download,.native-download,.parity-announcement>div,.news,.support-message:not(.mine)){background:#192f24!important;border-color:#365244!important;color:#c3e8d2!important}
html[data-theme=dark] :is(.support-message.mine,.support-bubble.mine){background:#12583f!important;color:#f3fff7!important}
html[data-theme=dark] .modal,html[data-theme=dark] dialog::backdrop{background:#0009!important}
html[data-theme=dark] :is(dialog,.language-choice){background:#14261e!important;border-color:#365244!important;color:#e6efe9!important}
html[data-theme=dark] .language-choice-options button{background:#20392c;border-color:#365244;color:#d8f0e2}
html[data-theme=dark] .language-choice-close{background:#294634;color:#e6efe9}
html[data-theme=dark] [style*="background:white"],html[data-theme=dark] [style*="background: white"],html[data-theme=dark] [style*="background:#fff;"]{background-color:#14261e!important;color:#e6efe9!important}
@media(prefers-reduced-motion:reduce){.appearance-toggle:after{transition:none}}
/* Keep the existing Android dashboard geometry; supply readable dark surfaces. */
html[data-theme=dark] .android-home #open{background:#20392c!important;border-color:#365244!important;color:#d8f5e5!important}
html[data-theme=dark] :is(.android-home,.parity-hub) .help-entry{background:#14261e!important;border-color:#365244!important;color:#e6efe9!important}
html[data-theme=dark] .help-entry :is(small,.support-hours){color:#a6bdb1!important}
html[data-theme=dark] #supportFlow .chat-bubble{background:#20392c!important;border-color:#365244!important;color:#e6efe9!important}
html[data-theme=dark] #supportFlow .chat-bubble.mine{background:#12583f!important;color:#f3fff7!important}
