/* Account profile and grouped preferences */
.account-backdrop{position:fixed;inset:0;z-index:80;background:#050b16b8;backdrop-filter:blur(2px)}
.account-backdrop[hidden],.account-drawer[hidden],.account-view[hidden],.wallet-modal[hidden],.account-toast[hidden]{display:none!important}
.account-drawer{position:fixed;z-index:81;top:0;right:0;width:min(440px,100vw);height:100dvh;display:flex;flex-direction:column;border-left:1px solid #394861;background:#202638;color:#f5f7fc;box-shadow:-18px 0 55px #0007}
.account-drawer-head{height:70px;min-height:70px;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;background:#202638;border-bottom:1px solid #2c354b}
.account-drawer-head h2{margin:1px 0 0;font-size:22px}.account-plan{font-size:9px;letter-spacing:.12em;color:#9db2ce;font-weight:800}.account-head-actions{display:flex;gap:8px}.account-head-actions button,.settings-page-head button{width:35px;height:35px;border:1px solid #34415b;border-radius:8px;background:#242d42;color:#bac9dd;font-size:18px}
.account-view{flex:1;min-height:0;overflow:hidden}.account-scroll{height:100%;min-height:0;padding:15px 17px 24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5b6680 transparent}.account-scroll::-webkit-scrollbar{width:7px}.account-scroll::-webkit-scrollbar-thumb{background:#56627b;border-radius:8px}
.profile-identity{min-height:75px;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;column-gap:11px;position:relative;padding:5px 0 12px}.profile-avatar-wrap{position:relative;width:50px;height:50px}.profile-avatar{width:50px;height:50px;display:grid;place-items:center;border:2px solid #c15ee8;border-radius:50%;background:radial-gradient(circle at 50% 35%,#e6eff5 0 20%,#8093a2 21% 45%,#34445a 46%);font-size:0;box-shadow:0 0 0 3px #ad49dc2b}.online-dot{position:absolute;right:-1px;bottom:0;width:13px;height:13px;border:2px solid #202638;border-radius:50%;background:#39d982}.online-dot[hidden]{display:none}.profile-name-line{display:flex;align-items:center;gap:6px;min-width:0}.profile-name-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.verification-badge{width:16px;height:16px;display:inline-grid;place-items:center;flex:none;border-radius:50%;background:#75859e;color:white;font-size:11px}.profile-user-id{font-size:10px;color:#9aacbf}.profile-private{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;margin:7px 0 0 63px;color:#98a9c1;font-size:10px}.profile-private span{white-space:nowrap}.profile-private b{font-size:13px}
.balance-card{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px -17px 13px;padding:16px 18px;background:#202638}.balance-card>div:first-child{display:grid;gap:4px}.balance-card .muted{font-size:9px;letter-spacing:.06em}.balance-card strong{font-size:26px;line-height:1.15;color:#fff}.balance-actions{display:flex;gap:8px}.balance-actions button{min-height:38px;padding:0 14px;border:1px solid #138b72;border-radius:8px;background:#00634e;color:#fff;font-weight:800}.balance-actions .withdraw-button{width:40px;padding:0;background:#252d40;border-color:#3a455d;font-size:18px}
.account-card{margin:10px 0 12px;padding:13px 14px;border:1px solid #30394f;border-radius:22px;background:#222a3e}.account-card>summary{display:flex;align-items:center;gap:11px;list-style:none;cursor:pointer;font-size:15px;font-weight:700}.account-card>summary::-webkit-details-marker{display:none}.account-card>summary .card-caret{margin-left:auto;color:#9aabc2;font-size:18px}.card-icon{width:22px;color:#9bafca;font-size:20px}.progress-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}.progress-points span{display:flex;align-items:center;justify-content:center;gap:8px;height:43px;border:1px solid #303b52;border-radius:16px;background:linear-gradient(115deg,#252b3e,#2b3042);font-size:16px}.progress-points span:last-child{color:#71e3ba}.progress-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #30384c}.progress-meta{display:grid;gap:4px;min-width:0}.progress-meta small{color:#96a8c0;font-size:10px}.progress-meta b{font-size:13px}.progress-row>button{min-height:34px;padding:5px 9px;border:1px solid #303a50;border-radius:8px;background:#252d41;color:#9eafc7;font-size:11px}.account-progress-bar{height:6px;overflow:hidden;border-radius:9px;background:#39445c}.account-progress-bar i{display:block;width:0;height:100%;border-radius:inherit;background:#28a4e9;transition:width .25s ease}
.profile-market-watch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0 11px;padding:10px 12px;border:1px solid #34415a;border-radius:13px;background:#1a2336}.profile-market-watch>div{display:grid;gap:4px}.profile-market-watch small{font-size:9px;letter-spacing:.08em;color:#91a5bf}.profile-market-watch b{font-size:12px}.profile-watch-price{text-align:right}.profile-watch-price span{font-size:10px;color:#78d9a2}
.stats-card{padding-bottom:13px}.stats-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:17px 0 8px;font-size:12px}.stats-toolbar button{padding:7px 9px;border:1px solid #303b51;border-radius:8px;background:#252d41;color:#9db0c8;font-size:11px}.stats-list{margin:0}.stats-list>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0}.stats-list dt{color:#98aac1}.stats-list dd{margin:0;font-weight:800}.stats-list dd.up{color:#64d78b}.stats-list dd.down{color:#ff665c}.wide-link{width:100%;margin-top:8px;padding:10px;border:1px solid #303b51;border-radius:8px;background:#252d41;color:#a8b9d0}
.account-menu-row{width:100%;min-height:51px;display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:9px;margin:10px 0;padding:0 13px;border:1px solid #30394e;border-radius:18px;background:#222a3e;color:#becbe0;text-align:left;font-size:14px}.account-menu-row>b{color:#92a5bf;font-size:17px}.account-menu-row .support-count{display:grid;place-items:center;width:24px;height:24px;border:1px solid #0aa1ef;border-radius:50%;background:#126798;color:#fff;font-size:12px}.account-demo-note{padding:0 4px;color:#879ab3;font-size:10px;text-align:center}
.settings-page-head{height:56px;display:grid;grid-template-columns:35px 1fr 35px;align-items:center;gap:8px;padding:8px 18px;border-bottom:1px solid #30394e}.settings-page-head h2{margin:0;text-align:center;font-size:19px}.settings-scroll h3{margin:19px 0 7px;color:#9bafcc;font-size:12px;letter-spacing:.05em}.settings-scroll h3:first-child{margin-top:4px}.setting-row{min-height:51px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #30394e;color:#f2f5fa}.setting-row select,.setting-row input:not([type=file]){max-width:55%;padding:7px;border:1px solid #34415a;border-radius:7px;background:#252d41;color:#b7c8df}.timezone-row>div{display:flex;gap:5px}.timezone-row select{max-width:155px}.timezone-row button{padding:6px 8px;border:1px solid #34415a;border-radius:7px;background:#252d41;color:#9bb2cc;font-size:11px}.upload-row{flex-wrap:wrap;padding:9px 0}.upload-row input{max-width:100%;width:100%;font-size:11px;color:#a9bbd1}.upload-row small{width:100%;color:#8294ab;font-size:10px}
.setting-toggle{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #30394e;color:#edf2fa;cursor:pointer}.setting-toggle input{position:absolute;width:1px;height:1px;opacity:0}.setting-toggle i{position:relative;width:42px;height:23px;flex:none;border-radius:20px;background:#59657a;transition:background .15s}.setting-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#eef4fa;transition:transform .15s}.setting-toggle input:checked+i{background:#288acb}.setting-toggle input:checked+i:after{transform:translateX(19px)}.setting-toggle input:focus-visible+i{outline:2px solid #a7d9ff;outline-offset:2px}.setting-row[hidden]{display:none}.islamic-setting{margin:8px 0;padding:3px 12px 9px;border:1px solid #30394e;border-radius:12px;background:#222a3e}.islamic-setting p{margin:5px 0;color:#91a4bd;font-size:10px;line-height:1.5}.confidentiality-settings{margin:12px 0;border:1px solid #30394e;border-radius:13px;background:#222a3e}.confidentiality-settings>summary{display:flex;justify-content:space-between;gap:8px;list-style:none;padding:14px;cursor:pointer}.confidentiality-settings>summary::-webkit-details-marker{display:none}.confidentiality-settings>summary span{margin-right:auto}.confidentiality-settings .setting-toggle{margin:0 13px}
.wallet-modal{position:fixed;z-index:95;top:50%;left:50%;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 30px));padding:21px;border:1px solid #42536f;border-radius:15px;background:#20283a;box-shadow:0 18px 60px #0009}.wallet-modal>button:first-child{float:right;border:0;background:none;color:#cbd6e6;font-size:22px}.wallet-modal h2{margin:3px 0 5px}.wallet-modal p{color:#9eafc6;font-size:12px;line-height:1.5}.wallet-modal label{display:block;margin:16px 0 6px;color:#b2c0d4;font-size:12px}.wallet-modal input{width:100%;padding:11px;border:1px solid #40516d;border-radius:8px;background:#141e30;color:#fff}.wallet-modal>div button{width:100%;margin-top:12px;padding:11px;border:1px solid #0a9277;border-radius:8px;background:#08765e;color:#fff;font-weight:800}.account-toast{position:fixed;z-index:110;right:20px;bottom:20px;max-width:min(360px,calc(100vw - 40px));padding:12px 16px;border:1px solid #426183;border-radius:9px;background:#14243a;color:#eef5ff;box-shadow:0 8px 28px #0008}
body.profile-no-trade-colors .trade.buy,body.profile-no-trade-colors .trade.sell{filter:saturate(.15)}body.profile-hide-results #trade-list .trade-result{filter:blur(5px);user-select:none}body.profile-tool-tips-off [title]{cursor:inherit!important}body.profile-reverse-buttons .ticket .trade{transition:order .15s}body.profile-light-theme .account-drawer,body.profile-light-theme .account-drawer-head{background:#e9eef5;color:#18283b}body.profile-light-theme .account-card,body.profile-light-theme .account-menu-row,body.profile-light-theme .islamic-setting,body.profile-light-theme .confidentiality-settings{background:#f5f7fb;color:#18283b;border-color:#cbd5e1}body.profile-light-theme .profile-private,body.profile-light-theme .profile-user-id,body.profile-light-theme .progress-meta small{color:#52677f}body.profile-light-theme .balance-card{background:#e9eef5;color:#18283b}body.profile-light-theme .balance-card strong{color:#18283b}body.profile-light-theme .account-drawer-head{border-color:#cbd5e1}body.profile-mountain-theme .account-drawer{background:linear-gradient(135deg,#20283bef,#101b2bef),url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=900&q=70') center/cover}body.profile-mountain-theme .account-card,body.profile-mountain-theme .account-menu-row{background:#1e293bd9}
@media(max-width:540px){.account-drawer{width:100vw}.profile-private{font-size:9px;margin-left:0}.profile-identity{grid-template-columns:46px minmax(0,1fr)}.profile-avatar-wrap,.profile-avatar{width:44px;height:44px}.balance-card{padding:14px 12px}.account-scroll{padding-left:13px;padding-right:13px}.balance-card{margin-left:-13px;margin-right:-13px}}
