:root{--bg-page:#0B0E11;--bg-card:#1A1D24;--bg-surface:#212630;--bg-dark:#0D1017;--text-primary:#EAECEF;--text-muted:#848E9C;--brand-cyan:#06B6D4;--brand-blue:#2563EB;--brand-green:#0ECB81;--brand-red:#F6465D;--border-color:#2B3139;--warning:#F59E0B}
*{box-sizing:border-box}body.elite-body{margin:0;background:var(--bg-page);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;padding-bottom:84px}.elite-body button,.elite-body input,.elite-body select{font:inherit}.elite-body button{cursor:pointer}.ticker-wrap{height:35px;background:#080a0d;border-bottom:1px solid #222831;overflow:hidden;white-space:nowrap}.ticker-track{display:flex;align-items:center;gap:35px;width:max-content;height:35px;animation:tickerMove 65s linear infinite;color:#d7dce2;font-size:12px;font-weight:650}.ticker-track span{display:inline-flex;gap:7px;align-items:center}.ticker-track b{color:var(--brand-green);font-variant-numeric:tabular-nums}.ticker-track .negative{color:var(--brand-red)}@keyframes tickerMove{to{transform:translateX(-50%)}}.elite-top{height:82px;display:flex;align-items:center;gap:24px;padding:0 26px;border-bottom:1px solid #1e242c;background:#0b0e11;position:sticky;top:0;z-index:20}.help-orb{border:0;width:48px;height:48px;border-radius:50%;background:var(--brand-cyan);color:#031319;font-weight:900;font-size:21px;box-shadow:0 0 24px #06b6d42b;flex:none}.elite-logo{display:flex;align-items:center;gap:11px;color:#f4f6f8;text-decoration:none;min-width:190px;font-size:17px;font-weight:900;letter-spacing:.7px;line-height:1.05}.elite-logo>span:last-child>span{color:var(--brand-cyan)}.elite-logo small{display:block;color:#66717f;font-size:9px;letter-spacing:2px;margin-top:6px;font-weight:700}.logo-gem{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#08c9df,#0878b8);color:#031318;font-size:22px;font-weight:1000;box-shadow:0 7px 25px #06b6d426}.global-search{height:48px;max-width:760px;flex:1;display:flex;align-items:center;gap:12px;background:#20252e;border:1px solid #2b3139;border-radius:28px;padding:0 18px;color:#8792a0}.global-search>span,.market-filter>span{font-size:27px;line-height:1}.global-search input,.market-filter input{width:100%;background:transparent;border:0;outline:0;color:#eaecef;font-size:15px}.global-search input::placeholder,.market-filter input::placeholder{color:#778291}.global-search kbd{border:1px solid #343c47;padding:3px 7px;border-radius:5px;font-size:10px;white-space:nowrap}.icon-btn{width:48px;height:48px;border:1px solid #2b3139;background:#20252e;color:#aab4c0;border-radius:50%;font-size:22px}.top-user{display:flex;align-items:center;gap:9px;font-size:12px;color:#8c97a5;white-space:nowrap}.small-action{background:#1d252c;border:1px solid #2d3944;color:#dce3ea;padding:10px 13px;border-radius:10px;font-size:12px!important}.app-shell{display:flex;min-height:calc(100vh - 200px)}.side-rail{width:92px;flex:none;border-right:1px solid #1e242c;padding:24px 10px;display:flex;flex-direction:column;gap:12px}.rail-link{border:0;background:transparent;color:#748294;display:flex;align-items:center;flex-direction:column;gap:7px;padding:13px 3px;border-radius:14px;font-size:11px}.rail-link span{font-size:25px;font-weight:400}.rail-link.active,.rail-link:hover{color:var(--brand-cyan);background:#06b6d411}.rail-bottom{margin-top:auto}.page-content{width:min(1440px,100%);padding:34px 36px 50px;margin:0 auto}.view{display:none;animation:viewIn .3s ease}.view.active{display:block}@keyframes viewIn{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.welcome-line,.view-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.eyebrow{color:var(--brand-cyan);font-size:10px;letter-spacing:1.7px;font-weight:800;margin:0 0 10px}.welcome-line h1,.view-title h1{font-size:30px;letter-spacing:-.8px;margin:0;font-weight:780}.welcome-line h1 span,.view-title h1 span{color:var(--brand-cyan)}.muted-copy{color:var(--text-muted);font-size:13px;margin:9px 0 0}.demo-pill{font-size:10px;font-weight:800;letter-spacing:.8px;color:var(--brand-green);background:#0ecb8112;border:1px solid #0ecb8138;border-radius:20px;padding:9px 12px;white-space:nowrap}.equity-card{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 0%,#0c9cbb14,transparent 32%),linear-gradient(125deg,#191d24,#151920);border:1px solid #2b3139;border-radius:25px;padding:25px 26px 18px;margin-bottom:32px;box-shadow:0 16px 45px #00000010}.equity-label{color:#8996a6;font-size:13px}.equity-card h2{font-size:44px;letter-spacing:-1.6px;margin:13px 0 5px;font-variant-numeric:tabular-nums}.equity-pnl{font-size:13px;color:var(--brand-green);margin:0}.equity-pnl b{font-weight:600}.equity-actions{display:flex;gap:12px;margin-top:25px}.equity-actions button{flex:1;min-height:63px;border-radius:15px;border:1px solid #303742;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;transition:transform .2s,box-shadow .2s}.equity-actions button:hover{transform:translateY(-2px);box-shadow:0 9px 25px #0003}.equity-actions small{display:block;font-size:10px;font-weight:500;opacity:.7}.deposit-action{background:linear-gradient(110deg,#06b6d4,#0789b6);color:#061319;box-shadow:0 7px 25px #06b6d421}.withdraw-action{background:#212630;color:#e4eaf0}.equity-foot{display:flex;justify-content:space-between;color:#65717f;font-size:10px;margin-top:17px}.equity-foot i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--brand-green);margin-right:5px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 15px}.section-heading h2{font-size:19px;margin:0;font-weight:750}.section-heading p{font-size:12px;color:#788493;margin:6px 0 0}.view-all{border:0;background:transparent;color:#7f9cb3;font-size:12px}.view-all span{font-size:20px;margin-left:5px}.watch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.watch-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#191d24;border:1px solid #2a3039;border-radius:17px;padding:17px;min-height:150px;color:var(--text-primary);transition:border .2s,transform .2s}.watch-card:hover{border-color:#06b6d478;transform:translateY(-3px)}.watch-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px}.watch-icon,.market-coin{display:grid;place-items:center;background:#232b35;color:var(--brand-cyan);width:32px;height:32px;border-radius:50%;font-size:17px;font-weight:800}.live-label{font-size:8px;letter-spacing:1px;color:var(--brand-green);background:#0ecb8114;padding:5px 7px;border-radius:10px}.watch-card>b{font-size:12px}.watch-card>strong{font-size:20px;margin-top:8px;font-variant-numeric:tabular-nums}.watch-change{font-size:11px;color:var(--brand-green);margin-top:5px}.negative{color:var(--brand-red)!important}.markets-heading{margin-top:35px}.market-list{border:1px solid #2a3039;border-radius:18px;overflow:hidden;background:#191d24}.market-row{display:grid;grid-template-columns:38px minmax(150px,1.3fr) 100px minmax(115px,.7fr) 100px 16px;align-items:center;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #262c35;background:transparent;color:var(--text-primary);padding:13px 18px;min-height:68px;transition:background .16s}.market-row:last-child{border-bottom:0}.market-row:hover{background:#212630}.market-name b{display:block;font-size:12px}.market-name small{display:block;color:#7e8a99;font-size:11px;margin-top:4px}.market-quote{text-align:right;font-variant-numeric:tabular-nums}.market-quote b{display:block;font-size:13px}.market-quote small{display:block;font-size:10px;color:var(--brand-green);margin-top:5px}.market-spark{font-size:22px;color:var(--brand-green);opacity:.8}.market-arrow{font-size:22px;color:#657386}.compact-list .market-row{grid-template-columns:38px minmax(140px,1fr) 65px minmax(110px,.7fr) 0 16px}.compact-list .market-spark{display:none}.load-markets{display:block;width:100%;margin-top:12px;padding:15px;background:#141920;border:1px solid #2c3540;border-radius:13px;color:var(--brand-cyan);font-weight:700}.load-markets span{margin-left:8px}.market-count{font-size:10px;letter-spacing:1px;color:#82909f;border:1px solid #2c3540;border-radius:9px;padding:9px 11px}.market-filter{display:flex;align-items:center;gap:12px;padding:13px 16px;background:#20252e;border:1px solid #2b3139;border-radius:15px;margin:20px 0 14px}.market-filter select{border:1px solid #343c47;border-radius:9px;background:#161a21;color:#cbd4de;padding:10px;font-size:11px}.market-table-head{display:grid;grid-template-columns:38px minmax(150px,1.3fr) 100px minmax(115px,.7fr) 100px 16px;gap:12px;padding:10px 18px;color:#707d8b;font-size:9px;letter-spacing:1px}.market-table-head span:nth-child(2){visibility:hidden}.data-disclaimer{color:#6e7a88;font-size:11px;margin-top:15px}.trade-intro,.asset-note{display:flex;align-items:center;gap:15px;background:#181d24;border:1px solid #2a3039;border-radius:16px;padding:19px;margin:18px 0}.trade-intro-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#06b6d41a;color:var(--brand-cyan);font-size:25px}.trade-intro b,.asset-note b{font-size:13px}.trade-intro p,.asset-note p{color:#82909f;font-size:12px;line-height:1.6;margin:6px 0 0}.trade-market-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.trade-market-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#191d24;border:1px solid #2a3039;border-radius:14px;padding:15px;color:#eaecef}.trade-market-choices button span{font-size:22px;color:var(--brand-cyan)}.trade-market-choices button b{font-size:12px}.trade-market-choices button small{color:#7f8b99;font-size:11px}.primary-wide{width:100%;margin-top:18px;border:0;border-radius:13px;padding:16px;background:var(--brand-cyan);color:#041319;font-weight:850}.assets-equity{margin-top:22px}.asset-note>span{font-size:23px;color:var(--brand-cyan)}.bottom-nav{display:none}.sidebar-scrim{position:fixed;inset:0;background:#0009;z-index:80;opacity:0;pointer-events:none;transition:opacity .25s}.sidebar-scrim.open{opacity:1;pointer-events:auto}.slide-sidebar{position:fixed;z-index:81;top:0;bottom:0;left:0;width:min(340px,88vw);background:#11151b;border-right:1px solid #2b3139;transform:translateX(-105%);transition:transform .3s cubic-bezier(.2,.75,.2,1);padding:22px;display:flex;flex-direction:column;box-shadow:20px 0 70px #0006}.slide-sidebar.open{transform:translateX(0)}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid #252c35}.close-sidebar{width:37px;height:37px;border-radius:11px;background:#222832;border:1px solid #333b46;color:#cbd5e1;font-size:24px}.sidebar-profile{display:flex;gap:12px;align-items:center;padding:22px 0;border-bottom:1px solid #252c35;margin-bottom:12px}.profile-avatar{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:linear-gradient(135deg,#06b6d4,#2563eb);color:#031319;font-weight:900}.sidebar-profile b{display:block;font-size:13px}.sidebar-profile small{display:block;color:#7e8a99;font-size:10px;margin-top:5px}.sidebar-item{display:flex;align-items:center;gap:13px;padding:15px 12px;border:0;border-radius:10px;background:transparent;color:#cbd5df;text-decoration:none;text-align:left;font-size:13px}.sidebar-item:hover{background:#1e252e;color:var(--brand-cyan)}.sidebar-item>span{width:22px;color:var(--brand-cyan);font-size:19px}.sidebar-item i{margin-left:auto;color:#748294;font-style:normal;font-size:19px}.sidebar-footer{margin-top:auto;padding-top:18px;border-top:1px solid #252c35;color:#7f8b99;font-size:10px}.status-pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--brand-green);margin-right:6px;box-shadow:0 0 10px #0ecb81}.sidebar-version{float:right;color:#55616e}.sidebar-footer p{line-height:1.6}.text-link{border:0;background:transparent;color:var(--brand-cyan);padding:8px 0;font-size:12px}.legacy-engine{display:none!important}.legacy-engine.show-engine{display:block!important;max-width:1400px;margin:20px auto;padding:20px}.legacy-engine .terminal-top{position:static}.legacy-engine .terminal-main{padding:0}.legacy-engine .chart-panel,.legacy-engine .trade-panel,.legacy-engine .panel{background:var(--bg-card)}.auth-card{background:#171b22!important;border:1px solid #303743!important;border-radius:22px!important}.auth-card input,.auth-card select{background:#0e1218!important;border-color:#303743!important;color:#eaecef!important}.auth-card .primary-btn{background:var(--brand-cyan)!important;color:#061319!important}.auth-brand .brand-mark{background:var(--brand-cyan)!important}.chat-panel{z-index:70}.toast{z-index:120}.hidden,[hidden]{display:none!important}
@media(max-width:1000px){.elite-top{gap:13px;padding:0 15px}.elite-logo{min-width:auto}.elite-logo small{display:none}.top-user>span{display:none}.page-content{padding:26px 20px}.side-rail{width:70px}.watch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-row,.market-table-head{grid-template-columns:34px minmax(130px,1fr) 60px minmax(95px,.7fr) 0 12px}.market-row .market-spark{display:none}.market-table-head span:nth-child(2){display:none}}
@media(max-width:650px){body.elite-body{padding-bottom:78px}.ticker-wrap,.ticker-track{height:29px}.ticker-track{font-size:10px;gap:24px}.elite-top{height:67px;gap:10px;padding:0 12px}.help-orb{width:38px;height:38px;font-size:18px}.elite-logo{gap:7px;font-size:13px}.logo-gem{width:33px;height:33px;border-radius:10px;font-size:18px}.elite-logo small{display:none}.global-search{height:39px;padding:0 11px;gap:7px}.global-search input{font-size:12px;min-width:0}.global-search kbd,.icon-btn,.top-user{display:none}.app-shell{display:block}.side-rail{display:none}.page-content{padding:23px 14px 30px}.welcome-line h1,.view-title h1{font-size:25px}.muted-copy{font-size:11px}.demo-pill{font-size:8px;padding:8px}.equity-card{padding:20px 17px 15px;border-radius:20px}.equity-card h2{font-size:36px}.equity-actions{gap:8px;margin-top:20px}.equity-actions button{min-height:58px;font-size:12px;border-radius:12px;flex-direction:column;gap:2px}.equity-actions small{font-size:9px}.equity-foot{font-size:9px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.watch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.watch-card{min-height:135px;padding:13px;border-radius:14px}.watch-card>strong{font-size:17px}.watch-card>b{font-size:11px}.market-row{grid-template-columns:32px minmax(90px,1fr) minmax(88px,.8fr) 13px;padding:12px 10px;gap:9px;min-height:65px}.market-row .market-spark,.market-row .market-arrow{display:none}.market-quote b{font-size:11px}.market-quote small{font-size:9px}.market-name b{font-size:11px}.market-name small{font-size:9px}.market-table-head{display:none}.compact-list .market-row{grid-template-columns:32px minmax(100px,1fr) minmax(85px,.8fr);padding:12px 10px;gap:9px}.market-filter{gap:7px;padding:10px}.market-filter input{font-size:12px;min-width:0}.market-filter select{max-width:105px;font-size:9px;padding:8px 5px}.market-count{font-size:8px}.trade-market-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:72px;z-index:50;background:#191d24;border-top:1px solid #2b3139;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 30px #0003}.bottom-link{flex:1;border:0;background:transparent;color:#77879a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px}.bottom-link span{font-size:24px;line-height:1.1}.bottom-link.active{color:var(--brand-cyan)}.bottom-link.active span{filter:drop-shadow(0 0 8px #06b6d466)}.legacy-engine.show-engine{margin:8px;padding:10px}.legacy-engine .terminal-top{display:none}.legacy-engine .chart-toolbar{gap:10px;flex-wrap:wrap}.legacy-engine .trade-panel{min-width:0}.legacy-engine .stats-strip{grid-template-columns:repeat(2,1fr)}.legacy-engine .chart-stage{height:300px}.legacy-engine .table-scroll{overflow:auto}.auth-card{width:calc(100vw - 28px)!important;padding:22px!important}.welcome-line{align-items:flex-start}.equity-foot span:last-child{max-width:140px;text-align:right}}

/* BitBank refinement: persistent bottom navigation on desktop and mobile */
.side-rail{display:none!important}.app-shell{display:block;min-height:calc(100vh - 200px)}.page-content{width:100%;max-width:1680px;padding:28px 28px 110px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:76px;z-index:60;background:#1a1d24;border-top:1px solid #2b3139;justify-content:space-around;padding:0 10px env(safe-area-inset-bottom);box-shadow:0 -8px 30px #0003;backdrop-filter:blur(16px)}.bottom-link{flex:1;max-width:280px;border:0;background:transparent;color:#7d8da0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:12px;transition:color .2s,transform .2s}.bottom-link span{font-size:25px;line-height:1.1}.bottom-link.active{color:var(--brand-cyan)}.bottom-link.active span{filter:drop-shadow(0 0 8px #06b6d466)}.bottom-link:hover{color:#eaecef;transform:translateY(-2px)}body.elite-body{padding-bottom:90px}
.global-search{position:relative;overflow:visible}.global-search:focus-within{border-color:#06b6d477;box-shadow:0 0 0 3px #06b6d40c}.search-results{position:absolute;top:calc(100% + 10px);left:0;right:0;z-index:100;background:#171b22;border:1px solid #303844;border-radius:16px;box-shadow:0 22px 60px #0009;overflow:hidden;max-height:min(65vh,520px);overflow-y:auto;padding:6px}.search-result{width:100%;display:flex;align-items:center;gap:12px;padding:12px;border:0;border-radius:10px;background:transparent;color:#eaecef;text-align:left}.search-result:hover,.search-result:focus{background:#252b35;outline:0}.search-result .sr-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#252c35;color:#06b6d4;font-weight:800}.search-result .sr-main{flex:1;min-width:0}.search-result b,.search-result small{display:block}.search-result b{font-size:12px}.search-result small{color:#848e9c;font-size:10px;margin-top:3px}.search-result .sr-price{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.search-empty{padding:18px 14px;color:#848e9c;font-size:12px}.legacy-engine.show-engine{max-width:none;width:100%;margin:0 auto;padding:18px 28px 110px;display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr);gap:16px;align-items:start}.legacy-engine .chart-panel,.legacy-engine .trade-panel,.legacy-engine .panel{border:1px solid #2b3139;border-radius:18px;overflow:hidden;background:#191d24}.legacy-engine .chart-panel{min-width:0}.legacy-engine .chart-toolbar{padding:20px 22px;gap:18px}.legacy-engine .chart-stage{height:430px;background:#0d1017}.legacy-engine .trade-panel{padding:20px;min-width:0}.legacy-engine .trade-head{margin-bottom:20px}.legacy-engine .trade-head h1{font-size:22px;margin:4px 0 0}.legacy-engine .asset-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.legacy-engine .asset-option{border:1px solid #2b3139;background:#212630;border-radius:12px;padding:10px;min-width:0}.legacy-engine .asset-option.selected{border-color:#06b6d4;background:#06b6d413;box-shadow:inset 0 0 0 1px #06b6d433}.legacy-engine .trade-config{margin-top:18px}.legacy-engine .amount-box{background:#0d1017;border:1px solid #303743;border-radius:12px}.legacy-engine .quick-amounts button,.legacy-engine .expiry-options button{background:#212630;border:1px solid #2b3139;border-radius:9px;color:#9ba7b5}.legacy-engine .quick-amounts button.chosen,.legacy-engine .expiry-options button.active{border-color:#06b6d4;background:#06b6d418;color:#67e8f9}.legacy-engine .direction-buttons button{min-height:58px;border-radius:12px}.legacy-engine .direction-buttons .buy{background:#0ecb81;color:#041710;box-shadow:0 6px 22px #0ecb8125}.legacy-engine .direction-buttons .sell{background:#f6465d;color:white;box-shadow:0 6px 22px #f6465d20}.legacy-engine .stats-strip,.legacy-engine .history-panel,.legacy-engine>footer{grid-column:1/-1}.legacy-engine .stats-strip{margin-top:0}.legacy-engine .history-panel{margin-top:0}.legacy-engine .chart-overlay{background:#0d1017dd;color:#aeb8c4}.legacy-engine .chart-footer{padding:12px 18px}.legacy-engine .asset-label .feed-badge{font-size:9px}.legacy-engine .big-price{font-variant-numeric:tabular-nums}.view#view-trade .view-title,.view#view-trade .trade-intro,.view#view-trade .trade-market-choices,.view#view-trade #openPracticeBtn{display:none!important}.view#view-trade{margin:0;padding:0}.view#view-trade.active{display:block;min-height:0}.chat-panel{position:fixed;right:22px;bottom:94px;width:min(390px,calc(100vw - 28px));max-height:min(580px,calc(100vh - 130px));display:flex;flex-direction:column;background:#171b22;border:1px solid #303844;border-radius:18px;box-shadow:0 24px 70px #0009;overflow:hidden}.chat-panel[hidden]{display:none!important}.chat-head{flex:none;padding:15px 17px;background:#20252e;border-bottom:1px solid #303844}.chat-messages{flex:1;min-height:130px;max-height:330px;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.chat-bubble{max-width:90%;padding:11px 13px;border-radius:13px;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble.bot{align-self:flex-start;background:#252b35;color:#dce3ea;border-bottom-left-radius:4px}.chat-bubble.user{align-self:flex-end;background:#063b46;color:#e7fbff;border-bottom-right-radius:4px}.chat-compose{display:flex;gap:8px;padding:12px;border-top:1px solid #303844}.chat-compose input{flex:1;min-width:0;background:#0d1017;border:1px solid #303844;border-radius:10px;padding:11px;color:#eaecef;outline:none}.chat-compose button{background:#06b6d4;color:#061319;border:0;border-radius:10px;padding:0 15px;font-weight:800}.chat-note{padding:0 14px 12px;margin:0;color:#778291;font-size:10px}.search-result[hidden]{display:none!important}
@media(max-width:900px){.legacy-engine.show-engine{grid-template-columns:1fr;padding:10px 14px 100px}.legacy-engine .chart-stage{height:340px}.legacy-engine .stats-strip,.legacy-engine .history-panel,.legacy-engine>footer{grid-column:auto}.legacy-engine .trade-panel{order:2}.legacy-engine .chart-panel{order:1}}
@media(max-width:650px){.elite-top{gap:10px}.elite-logo{display:none}.global-search{flex:1}.global-search kbd{display:none}.page-content{padding:22px 14px 100px}.bottom-nav{height:70px}.bottom-link{font-size:10px}.bottom-link span{font-size:23px}.legacy-engine.show-engine{margin:0;padding:8px 10px 94px;gap:10px}.legacy-engine .chart-toolbar{padding:15px 12px;flex-direction:column;align-items:stretch}.legacy-engine .chart-actions{justify-content:space-between}.legacy-engine .chart-stage{height:290px}.legacy-engine .trade-panel{padding:14px}.legacy-engine .asset-select{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-engine .direction-buttons{gap:8px}.legacy-engine .direction-buttons button{padding:12px 7px}.chat-panel{right:10px;bottom:82px;width:calc(100vw - 20px)}}
.search-highlight{background:#06b6d414!important;outline:1px solid #06b6d477}.legacy-engine .payout-row{padding:11px 0;border-bottom:1px solid #2b3139}.legacy-engine .expiry-clock{background:#0d1017;border:1px solid #2b3139;border-radius:12px;padding:12px}.legacy-engine .field-label{color:#aeb8c4}.legacy-engine .field-label span{color:#06b6d4}.legacy-engine .feed-badge{background:#20252e;color:#aeb8c4;border:1px solid #303743;border-radius:8px;padding:5px 7px}

/* Dynamic market selections use the same coin token styling as the built-in pairs. */
.coin.crypto{display:grid;place-items:center;background:#202b37;color:var(--brand-cyan);font-weight:850;border:1px solid #34404d;border-radius:50%;width:32px;height:32px;flex:none}.asset-option.selected .coin.crypto{background:#0e2a33;color:#22d3ee}
.market-coin img{display:block;width:28px;height:28px;object-fit:contain}
#candleChart{cursor:crosshair}
/* BitBank trade panel polish: compact direction controls, clear payout tiers and readable chart axis. */
.bottom-link svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
.legacy-engine.show-engine{margin:0 auto;padding:0 20px 100px;column-gap:16px;row-gap:12px}
body:has(#view-trade.active) .page-content{padding-top:0}
.legacy-engine .chart-stage{position:relative;overflow:hidden;padding:0 82px 0 0}
.legacy-engine .chart-stage #candleChart{position:absolute;left:0;top:0;width:calc(100% - 82px);height:100%;display:block}
.legacy-engine .chart-stage .chart-scale{position:absolute;right:7px;top:0;bottom:0;width:68px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:10px 0;color:#8290a0;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
.legacy-engine .chart-stage .chart-scale span{max-width:100%;overflow:visible;text-shadow:0 1px 3px #0d1017}
.legacy-engine .chart-stage .chart-watermark{right:92px}
.legacy-engine .trade-head{margin-bottom:13px}
.legacy-engine .trade-config{margin-top:12px}
.legacy-engine .quick-amounts{margin-top:8px}
.legacy-engine .direction-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.legacy-engine .direction-buttons button{min-height:53px;padding:8px 10px;display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:7px;align-content:center;justify-items:start;text-align:left;border:1px solid transparent;box-shadow:none}
.legacy-engine .direction-buttons button>span{grid-row:1/3;align-self:center;font-size:23px;line-height:1}
.legacy-engine .direction-buttons button>b{font-size:12px;line-height:1.25}
.legacy-engine .direction-buttons button>small{font-size:10px;line-height:1.2;margin-top:3px;opacity:.82}
.legacy-engine .direction-buttons .buy:not(.selected-direction){background:#17372e;color:#7edbb7;border-color:#245d48}
.legacy-engine .direction-buttons .sell:not(.selected-direction){background:#3a2028;color:#ff9aa8;border-color:#69313c}
.legacy-engine .direction-buttons .buy.selected-direction{border-color:#70e9bd;box-shadow:0 0 0 2px #0ecb8133}
.legacy-engine .direction-buttons .sell.selected-direction{border-color:#ff9cac;box-shadow:0 0 0 2px #f6465d33}
.profit-tier-wrap{margin-top:13px;padding:12px;background:#12161d;border:1px solid #2a3039;border-radius:13px;overflow:hidden}
.profit-tier-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;color:#8895a4;font-size:10px;letter-spacing:.5px}
.profit-tier-head>span{color:#06c5df;font-size:11px;letter-spacing:0}
.tier-info{color:#06c5df;font-size:13px}
.profit-tiers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.profit-tier{min-width:0;min-height:53px;padding:7px 3px;border:1px solid #29313b;border-radius:10px;background:#1a2029;color:#aab4c0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.profit-tier b{font-size:11px;white-space:nowrap}
.profit-tier small{font-size:9px;white-space:nowrap}
.profit-tier.active{border-color:#06c5df;background:#06b6d414;color:#06c5df;box-shadow:0 0 12px #06b6d414}
.profit-tier.locked{opacity:.53;cursor:not-allowed}
.place-trade-btn{width:100%;min-height:52px;margin-top:12px;border:0;border-radius:12px;background:linear-gradient(105deg,#0ecb81,#08b67a);color:#041710;font-size:15px;font-weight:850;box-shadow:0 7px 22px #0ecb8120;transition:transform .15s,filter .15s}
.place-trade-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.place-trade-btn.needs-auth{background:linear-gradient(105deg,#22d3ee,#06b6d4);color:#031319;box-shadow:0 7px 22px #06b6d420}
.place-trade-btn:disabled{opacity:.55;cursor:wait;transform:none}
.legacy-engine .fine-print{margin:9px 0 0;font-size:10px;line-height:1.45}
@media(max-width:900px){.legacy-engine.show-engine{padding:0 14px 100px;row-gap:10px}.legacy-engine .chart-stage{padding-right:74px}.legacy-engine .chart-stage #candleChart{width:calc(100% - 74px)}.legacy-engine .chart-stage .chart-scale{width:62px;right:5px}}
@media(max-width:650px){.legacy-engine.show-engine{padding:0 10px 92px;gap:9px}.legacy-engine .chart-stage{padding-right:68px;height:290px}.legacy-engine .chart-stage #candleChart{width:calc(100% - 68px)}.legacy-engine .chart-stage .chart-scale{width:58px;font-size:10px;right:4px}.legacy-engine .chart-stage .chart-watermark{right:76px}.legacy-engine .direction-buttons button{min-height:48px;padding:7px 8px}.legacy-engine .direction-buttons button>b{font-size:11px}.legacy-engine .direction-buttons button>small{font-size:9px}.profit-tier-wrap{padding:9px}.profit-tiers{gap:4px}.profit-tier{min-height:48px}.profit-tier b{font-size:10px}.profit-tier small{font-size:8px}.place-trade-btn{min-height:49px;font-size:14px}}

/* Trade view: no blank gap above the terminal; chart draws its own price/time axes */
body:has(#view-trade.active) .app-shell{min-height:0}
body:has(#view-trade.active) .page-content{padding:0}
.legacy-engine.show-engine{padding-top:14px}
.legacy-engine .chart-stage{padding:0}
.legacy-engine .chart-stage #candleChart{width:100%}
.legacy-engine .chart-stage .chart-scale,.legacy-engine .chart-stage .chart-times{display:none}
.legacy-engine .chart-stage .chart-watermark{left:18px;right:auto;bottom:38px}
@media(max-width:900px){.legacy-engine.show-engine{padding-top:10px}.legacy-engine .stats-strip,.legacy-engine .history-panel,.legacy-engine>footer{order:3}.legacy-engine .chart-stage{padding:0}.legacy-engine .chart-stage #candleChart{width:100%}}
@media(max-width:650px){.legacy-engine .chart-stage{padding:0}.legacy-engine .chart-stage #candleChart{width:100%}}
.profit-tier:disabled{cursor:default}.profit-tier.active:disabled{opacity:1}

/* Stats strip now has two items (trades placed, win rate) */
.legacy-engine .stats-strip{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Support chat: attachments, timestamps, unread dot */
.chat-messages{max-height:none;min-height:240px}
.chat-panel{height:min(560px,calc(100vh - 130px))}
.chat-bubble time{display:block;margin-top:5px;font-size:9px;opacity:.6;text-align:right}
.chat-bubble span{display:block}
.chat-img{display:block;max-width:220px;max-height:220px;border-radius:9px;margin-bottom:6px;cursor:zoom-in;object-fit:cover}
.chat-file{display:inline-block;margin-bottom:6px;padding:7px 10px;border-radius:8px;background:#0d1017;color:#67e8f9;text-decoration:none;font-size:12px}
.chat-empty{margin:auto;text-align:center;color:#8c98a7;font-size:12px;line-height:1.7}
.chat-signin{margin-top:8px;border:0;border-radius:8px;background:#06b6d4;color:#061319;padding:7px 16px;font-weight:800}
.chat-attach{display:grid;place-items:center;width:40px;flex:none;border:1px solid #303844;border-radius:10px;background:#0d1017;cursor:pointer;font-size:17px}
.chat-attach:hover{border-color:#06b6d4}
.chat-attach-preview{display:flex;align-items:center;gap:9px;margin:0 12px;padding:8px 10px;border:1px solid #303844;border-radius:10px;background:#0d1017;font-size:12px;color:#dce3ea}
.chat-attach-preview[hidden]{display:none}
.chat-attach-preview img{width:38px;height:38px;object-fit:cover;border-radius:6px}
.chat-attach-preview b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.chat-attach-preview button{border:0;background:transparent;color:#b5bec9;font-size:20px;cursor:pointer}
.chat-compose button:disabled{opacity:.6}
.chat-lightbox{position:fixed;inset:0;z-index:2000;background:#000d;display:grid;place-items:center;cursor:zoom-out;padding:20px}
.chat-lightbox img{max-width:100%;max-height:100%;border-radius:10px}
.has-chat-unread{position:relative}
.has-chat-unread::after{content:"";position:absolute;top:8px;right:10px;width:10px;height:10px;border-radius:50%;background:#f6465d;box-shadow:0 0 0 3px #f6465d40}

/* Smaller Deposit / Withdraw buttons */
.equity-actions{justify-content:flex-start;gap:10px}
.equity-actions button{flex:0 0 auto;min-width:150px;min-height:44px;padding:0 20px;flex-direction:row;gap:8px;font-size:13px;border-radius:11px}
.equity-actions small{font-size:10px}
@media(max-width:650px){.equity-actions button{flex:1 1 0;min-width:0;min-height:42px;padding:0 10px;flex-direction:column;gap:1px}}
/* Initials in the top-left circle once signed in */
.help-orb.has-initials{font-size:16px;letter-spacing:.5px}

/* ===== Theme: BitBank clone palette + neon glow =====
   Surfaces #0B0E11 / #1A1D24 / #212630 / #0D1017, borders #2B3139, text #EAECEF / #848E9C,
   accent cyan #06B6D4 -> blue #2563EB, green #0ECB81, red #F6465D. */
:root{--neon:rgba(6,182,212,.35);--neon-soft:rgba(6,182,212,.18);--grad:linear-gradient(90deg,#06B6D4,#2563EB)}
body.elite-body{background:radial-gradient(1200px 500px at 85% -10%,rgba(37,99,235,.10),transparent 60%),radial-gradient(900px 420px at 0% 0%,rgba(6,182,212,.08),transparent 55%),#0B0E11;background-attachment:fixed;color:#EAECEF}
.elite-top{background:rgba(11,14,17,.82);backdrop-filter:blur(12px);border-bottom-color:#2B3139}
.ticker-wrap{background:#0D1017;border-bottom-color:#2B3139}
/* Cards & panels */
.equity-card,.watch-card,.legacy-engine .chart-panel,.legacy-engine .trade-panel,.legacy-engine .panel,.legacy-engine .stats-strip,.legacy-engine .history-panel,.market-row,.market-filter,.chat-panel,.auth-card,.slide-sidebar{background:#1A1D24;border-color:#2B3139}
.equity-card{background:radial-gradient(ellipse at 100% 0%,rgba(6,182,212,.14),transparent 45%),radial-gradient(ellipse at 0% 100%,rgba(37,99,235,.10),transparent 50%),#1A1D24;box-shadow:0 0 0 1px rgba(6,182,212,.06),0 18px 50px rgba(0,0,0,.35)}
.equity-card h2{text-shadow:0 0 22px rgba(6,182,212,.25)}
.watch-card:hover,.market-row:hover{border-color:rgba(6,182,212,.55);box-shadow:0 0 18px var(--neon-soft)}
.legacy-engine .chart-stage{background:#0D1017}
.legacy-engine .amount-box,.chat-compose input,.market-filter input,.market-filter select,.global-search{background:#0D1017;border-color:#2B3139}
.muted-copy,.equity-foot,.data-disclaimer,.legacy-engine .field-label{color:#848E9C}
/* Primary actions: cyan -> blue gradient with glow */
.deposit-action,.primary-wide,.auth-card .primary-btn,.chat-compose button,.chat-signin,.place-trade-btn.needs-auth{background:var(--grad)!important;color:#041016!important;border:0!important;box-shadow:0 2px 12px rgba(6,182,212,.30),0 0 22px rgba(37,99,235,.18)!important}
.deposit-action:hover,.primary-wide:hover,.auth-card .primary-btn:hover,.chat-compose button:hover{box-shadow:0 2px 16px rgba(6,182,212,.45),0 0 30px rgba(37,99,235,.28)!important}
.withdraw-action{background:#212630;border:1px solid #2B3139;color:#EAECEF}
.withdraw-action:hover{border-color:rgba(6,182,212,.55);box-shadow:0 0 14px var(--neon-soft)}
.place-trade-btn{background:linear-gradient(90deg,#0ECB81,#0CB674);box-shadow:0 4px 16px rgba(14,203,129,.35)}
/* Neon accents */
.help-orb{background:var(--grad);color:#041016;box-shadow:0 0 24px rgba(6,182,212,.45),0 0 2px rgba(255,255,255,.4) inset}
.profile-avatar{background:var(--grad);color:#041016;box-shadow:0 0 22px rgba(6,182,212,.45)}
.logo-gem{background:var(--grad);box-shadow:0 0 22px rgba(6,182,212,.40)}
.elite-logo>span:last-child>span,.view-title h1 span,.eyebrow{color:#06B6D4;text-shadow:0 0 12px rgba(6,182,212,.55)}
.bottom-nav{background:rgba(13,16,23,.92);backdrop-filter:blur(12px);border-top:1px solid #2B3139}
.bottom-link.active{color:#06B6D4;text-shadow:0 0 10px rgba(6,182,212,.6)}
.bottom-link.active span{filter:drop-shadow(0 0 8px rgba(6,182,212,.75))}
/* Selected controls glow */
.legacy-engine .tf.active,.timeframes button.active{background:var(--grad);color:#041016;border-color:transparent;box-shadow:0 0 14px var(--neon)}
.legacy-engine .quick-amounts button.chosen,.legacy-engine .expiry-options button.active,.legacy-engine .asset-option.selected,.profit-tier.active{border-color:#06B6D4;background:rgba(6,182,212,.10);color:#22D3EE;box-shadow:0 0 14px var(--neon-soft),inset 0 0 0 1px rgba(6,182,212,.35)}
.legacy-engine .direction-buttons .buy.selected-direction{box-shadow:0 0 18px rgba(14,203,129,.45)}
.legacy-engine .direction-buttons .sell.selected-direction{box-shadow:0 0 18px rgba(246,70,93,.45)}
.feed-badge.is-live,.live-label{color:#0ECB81;border-color:rgba(14,203,129,.45);box-shadow:0 0 10px rgba(14,203,129,.25)}
.chat-bubble.user{background:linear-gradient(135deg,rgba(6,182,212,.28),rgba(37,99,235,.28));color:#EAF8FF;border:1px solid rgba(6,182,212,.35)}
.chat-bubble.bot{background:#212630;border:1px solid #2B3139}
.chat-panel{box-shadow:0 0 0 1px rgba(6,182,212,.10),0 24px 70px rgba(0,0,0,.6),0 0 40px rgba(6,182,212,.10)}
/* Notices */
.wallet-note{margin:12px 0 0;font-size:11px;color:#848E9C}
.legacy-engine .fine-print{color:#848E9C}
.help-orb,.profile-avatar{background:#06B6D4;color:#041016;font-weight:900;box-shadow:0 0 24px rgba(6,182,212,.5),0 0 2px rgba(255,255,255,.5) inset}
.demo-tag:empty,.eyebrow:empty,.muted-copy:empty,.sidebar-profile small:empty,.auth-brand small:empty{display:none}

/* ===== Stats cards + recent trades polish ===== */
.legacy-engine .stats-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;background:transparent;border:0;box-shadow:none}
.legacy-engine .stats-strip .stat-card{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid #2B3139;border-radius:16px;background:radial-gradient(ellipse at 100% 0%,rgba(6,182,212,.10),transparent 55%),#1A1D24;transition:border-color .2s,box-shadow .2s,transform .2s}
.legacy-engine .stats-strip .stat-card:hover{border-color:rgba(6,182,212,.5);box-shadow:0 0 20px rgba(6,182,212,.16);transform:translateY(-2px)}
.stat-card>div{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.stat-card small{font-size:10px;letter-spacing:.9px;color:#848E9C}
.stat-card b{font:700 24px 'Space Grotesk',sans-serif;color:#EAECEF;font-variant-numeric:tabular-nums;line-height:1.1}
.stat-card b.green{color:#0ECB81;text-shadow:0 0 14px rgba(14,203,129,.35)}
.stat-card b.red{color:#F6465D;text-shadow:0 0 14px rgba(246,70,93,.35)}
.stat-card em{font-style:normal;font-size:11px;color:#848E9C}
.stat-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;background:linear-gradient(135deg,rgba(6,182,212,.18),rgba(37,99,235,.18));border:1px solid rgba(6,182,212,.35);box-shadow:0 0 14px rgba(6,182,212,.18)}
.stat-icon svg{width:20px;height:20px;fill:none;stroke:#22D3EE;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(6,182,212,.6))}
.win-bar{display:block;height:6px;border-radius:6px;background:#2B3139;overflow:hidden;margin:2px 0}
.win-bar i{display:block;height:100%;width:0;border-radius:6px;background:linear-gradient(90deg,#0ECB81,#22D3EE);box-shadow:0 0 10px rgba(14,203,129,.6);transition:width .6s ease}
/* Recent trades */
.legacy-engine .history-panel{padding:22px}
.legacy-engine .history-panel .panel-head p{color:#848E9C}
.legacy-engine .history-count{color:#22D3EE;background:rgba(6,182,212,.10);border:1px solid rgba(6,182,212,.35);border-radius:999px;padding:6px 12px;font-size:11px;font-weight:700;box-shadow:0 0 12px rgba(6,182,212,.15)}
.legacy-engine .history-panel table{border-collapse:separate;border-spacing:0 6px;width:100%}
.legacy-engine .history-panel th{font-size:10px;letter-spacing:.9px;color:#848E9C;font-weight:600;padding:6px 14px;border:0;text-align:left}
.legacy-engine .history-panel td{padding:12px 14px;border:0;background:#161A21;font-size:13px;color:#EAECEF;font-variant-numeric:tabular-nums}
.legacy-engine .history-panel tr td:first-child{border-radius:12px 0 0 12px;box-shadow:inset 3px 0 0 #2B3139}
.legacy-engine .history-panel tr td:last-child{border-radius:0 12px 12px 0}
.legacy-engine .history-panel tr.win td:first-child{box-shadow:inset 3px 0 0 #0ECB81}
.legacy-engine .history-panel tr.loss td:first-child{box-shadow:inset 3px 0 0 #F6465D}
.legacy-engine .history-panel tr.open td:first-child{box-shadow:inset 3px 0 0 #06B6D4}
.legacy-engine .history-panel tbody tr:hover td{background:#1D222B}
.legacy-engine .history-panel td.empty{text-align:center;color:#848E9C;padding:28px;border-radius:12px}
.trade-market{display:flex;align-items:center;gap:10px}
.trade-coin{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#212630;border:1px solid #2B3139;color:#F7A928;font-weight:800;font-size:15px}
.trade-market b{display:block;font-size:13px}
.trade-market small{display:block;font-size:10px;color:#848E9C;margin-top:2px}
.legacy-engine .history-panel .dir,.legacy-engine .history-panel .result{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.4px;padding:5px 10px;border-radius:999px}
.legacy-engine .history-panel .dir.up{color:#0ECB81;background:rgba(14,203,129,.10);border:1px solid rgba(14,203,129,.35)}
.legacy-engine .history-panel .dir.down{color:#F6465D;background:rgba(246,70,93,.10);border:1px solid rgba(246,70,93,.35)}
.legacy-engine .history-panel .result.win{color:#04140e;background:#0ECB81;box-shadow:0 0 12px rgba(14,203,129,.45)}
.legacy-engine .history-panel .result.loss{color:#fff;background:#F6465D;box-shadow:0 0 12px rgba(246,70,93,.45)}
.legacy-engine .history-panel .result.open{color:#041016;background:#22D3EE;box-shadow:0 0 12px rgba(6,182,212,.45)}
.legacy-engine .history-panel td.pnl-cell{font-weight:800}
.legacy-engine .history-panel td.pnl-cell.green{color:#0ECB81;text-shadow:0 0 10px rgba(14,203,129,.35)}
.legacy-engine .history-panel td.pnl-cell.red{color:#F6465D;text-shadow:0 0 10px rgba(246,70,93,.35)}
@media(max-width:900px){.legacy-engine .stats-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card b{font-size:20px}.legacy-engine .history-panel{padding:14px}}
@media(max-width:420px){.legacy-engine .stats-strip .stat-card{padding:13px;gap:10px}.stat-icon{width:34px;height:34px}.stat-card b{font-size:18px}}
.legacy-engine .history-panel tr td:first-child{box-shadow:none;border-left:3px solid #2B3139}
.legacy-engine .history-panel tr.win td:first-child{box-shadow:none;border-left-color:#0ECB81}
.legacy-engine .history-panel tr.loss td:first-child{box-shadow:none;border-left-color:#F6465D}
.legacy-engine .history-panel tr.open td:first-child{box-shadow:none;border-left-color:#06B6D4}
.legacy-engine .history-panel td.empty{border-left:0!important}

/* ===== Home: compact wallet card + Need help card ===== */
.home-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:16px;margin-bottom:28px;align-items:stretch}
.home-top .equity-card{margin-bottom:0;padding:20px 22px 16px;border-radius:20px}
.home-top .equity-card h2{font-size:36px;margin:10px 0 4px}
.home-top .equity-actions{margin-top:16px}
.home-top .equity-actions button{min-width:0;min-height:40px;padding:0 16px;font-size:12px}
.home-top .equity-actions small{font-size:9px}
.home-top .equity-foot{margin-top:14px}
.help-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:20px 22px;border-radius:20px;border:1px solid #2B3139;color:#EAECEF;cursor:pointer;
  background:radial-gradient(ellipse at 100% 0%,rgba(37,99,235,.18),transparent 55%),radial-gradient(ellipse at 0% 100%,rgba(6,182,212,.12),transparent 55%),#1A1D24;
  transition:border-color .2s,box-shadow .2s,transform .2s}
.help-card:hover{border-color:rgba(6,182,212,.6);box-shadow:0 0 24px rgba(6,182,212,.22);transform:translateY(-2px)}
.help-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,rgba(6,182,212,.22),rgba(37,99,235,.22));border:1px solid rgba(6,182,212,.4);box-shadow:0 0 16px rgba(6,182,212,.25)}
.help-card-icon svg{width:22px;height:22px;fill:none;stroke:#22D3EE;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(6,182,212,.6))}
.help-card-text b{display:block;font:700 18px 'Space Grotesk',sans-serif}
.help-card-text small{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#848E9C}
.help-card-cta{margin-top:auto;display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:11px;background:linear-gradient(90deg,#06B6D4,#2563EB);color:#041016;font-weight:800;font-size:12px;box-shadow:0 2px 12px rgba(6,182,212,.30),0 0 22px rgba(37,99,235,.18)}
.help-card-cta span{transition:transform .2s}
.help-card:hover .help-card-cta span{transform:translateX(3px)}
@media(max-width:820px){.home-top{grid-template-columns:1fr;gap:12px}.home-top .equity-card h2{font-size:32px}.help-card{flex-direction:row;align-items:center;padding:15px 16px}.help-card-text small{display:none}.help-card-cta{margin:0 0 0 auto;padding:8px 12px}}

/* ===== Header: menu/avatar, bell, guest actions ===== */
.help-orb svg{width:22px;height:22px;fill:none;stroke:#041016;stroke-width:2.4;stroke-linecap:round}
body:not(.is-signed-in) .help-orb{background:#1A1D24;border:1px solid #2B3139;box-shadow:none}
body:not(.is-signed-in) .help-orb svg{stroke:#EAECEF}
body:not(.is-signed-in) .help-orb:hover{border-color:rgba(6,182,212,.55);box-shadow:0 0 14px rgba(6,182,212,.25)}
.top-user #userBadge{display:none}
.bell-btn{position:relative;display:grid;place-items:center;background:#1A1D24;border:1px solid #2B3139;transition:border-color .2s,box-shadow .2s}
.bell-btn svg{width:21px;height:21px;fill:none;stroke:#EAECEF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bell-btn:hover{border-color:rgba(6,182,212,.6);box-shadow:0 0 16px rgba(6,182,212,.3)}
.bell-btn:hover svg{stroke:#22D3EE;filter:drop-shadow(0 0 4px rgba(6,182,212,.7))}
.bell-btn .bell-dot{display:none;position:absolute;top:10px;right:11px;width:9px;height:9px;border-radius:50%;background:#F6465D;box-shadow:0 0 0 2px #1A1D24,0 0 10px rgba(246,70,93,.8)}
.bell-btn.has-unread .bell-dot{display:block}
.bell-btn.has-unread svg{animation:bellRing 1.6s ease-in-out infinite;transform-origin:50% 10%}
@keyframes bellRing{0%,60%,100%{transform:rotate(0)}10%,30%{transform:rotate(12deg)}20%,40%{transform:rotate(-12deg)}}
body:not(.is-signed-in) .bell-btn{display:none!important}
.top-user{gap:10px}
.top-user button{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 16px;border-radius:12px;font-size:13px;font-weight:700;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .15s;white-space:nowrap}
.top-user button:hover{transform:translateY(-1px)}
.nav-contact{background:transparent;border:1px solid #2B3139;color:#EAECEF}
.nav-contact svg{width:17px;height:17px;fill:none;stroke:#22D3EE;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-contact:hover,.nav-signin:hover{border-color:rgba(6,182,212,.6);box-shadow:0 0 14px rgba(6,182,212,.22)}
.nav-signin{background:#1A1D24;border:1px solid #2B3139;color:#EAECEF}
.nav-create{background:linear-gradient(90deg,#06B6D4,#2563EB);border:0;color:#041016;box-shadow:0 2px 12px rgba(6,182,212,.30),0 0 22px rgba(37,99,235,.18)}
body.is-signed-in .nav-contact,body.is-signed-in .nav-create{display:none!important}
@media(max-width:900px){.elite-top .top-user{display:flex!important}.top-user .nav-contact,.top-user .nav-create{display:none!important}.top-user button{height:38px;padding:0 13px;font-size:12px}.elite-top .bell-btn{display:grid;width:40px;height:40px;flex:none}}

/* ===== Sidebar ===== */
.slide-sidebar{padding:22px 18px;background:radial-gradient(ellipse at 50% 0%,rgba(6,182,212,.12),transparent 55%),#14171D}
.close-sidebar{position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:11px;border:1px solid #2B3139;background:#1A1D24;color:#B5BEC9;font-size:20px;cursor:pointer}
.close-sidebar:hover{border-color:rgba(6,182,212,.6);color:#22D3EE}
.sidebar-profile{flex-direction:column;align-items:center;text-align:center;gap:10px;padding:34px 0 24px;margin-bottom:10px}
.sidebar-profile .profile-avatar{width:78px;height:78px;font-size:26px;letter-spacing:.5px;box-shadow:0 0 0 4px rgba(6,182,212,.12),0 0 30px rgba(6,182,212,.5)}
.sidebar-profile b{font-size:17px}
.sidebar-profile small{margin:0;font-size:11px;color:#848E9C}
.sidebar-item{width:100%;font-size:14px;cursor:pointer}
.sidebar-item .svg-ico svg{width:19px;height:19px;fill:none;stroke:#06B6D4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
body.is-signed-in .guest-only{display:none!important}
.sidebar-bottom{margin-top:auto;padding-top:14px;border-top:1px solid #252c35}
.logout-item{color:#FF8A9A}
.logout-item .svg-ico svg{stroke:#F6465D}
.logout-item:hover{background:rgba(246,70,93,.10)!important;color:#F6465D!important}
.logout-item[hidden]{display:none!important}

/* ===== Need help card: headphones ===== */
.help-card-icon svg{width:23px;height:23px}

/* ===== Market search bar ===== */
.market-filter{gap:10px;padding:7px 8px 7px 16px;background:#0D1017;border:1px solid #2B3139;border-radius:16px;transition:border-color .2s,box-shadow .2s}
.market-filter:focus-within{border-color:rgba(6,182,212,.6);box-shadow:0 0 0 3px rgba(6,182,212,.10),0 0 18px rgba(6,182,212,.18)}
.market-filter .mf-icon{display:grid;place-items:center}
.market-filter .mf-icon svg{width:19px;height:19px;fill:none;stroke:#848E9C;stroke-width:2;stroke-linecap:round}
.market-filter:focus-within .mf-icon svg{stroke:#22D3EE}
.market-filter input{flex:1;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;outline:0;padding:10px 0;font-size:14px;color:#EAECEF}
.market-filter select{flex:none;height:40px;padding:0 34px 0 14px;border-radius:11px;background:#1A1D24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center/14px;border:1px solid #2B3139;color:#EAECEF;font-size:12px;font-weight:600;appearance:none;-webkit-appearance:none;cursor:pointer}
.market-filter select:hover{border-color:rgba(6,182,212,.55)}
@media(max-width:650px){.market-filter{padding:6px 6px 6px 12px}.market-filter input{font-size:13px}.market-filter select{height:36px;max-width:none;font-size:11px;padding:0 28px 0 10px}}

/* ===== Coin logos ===== */
.coin-img{width:100%;height:100%;object-fit:contain;border-radius:50%;display:block}
.watch-icon,.asset-option .coin,#assetIcon,.trade-coin,.market-coin{overflow:hidden}
.watch-icon .coin-img,.asset-option .coin .coin-img,#assetIcon .coin-img,.trade-coin .coin-img{padding:3px}
.asset-option .coin:has(.coin-img),#assetIcon:has(.coin-img),.watch-icon:has(.coin-img){background:#212630}

/* ===== Chat: sign in / create account prompt ===== */
.chat-bubble.bot span+span{margin-top:6px}
.chat-auth-actions{display:flex;gap:8px;align-self:flex-start;flex-wrap:wrap}
.chat-auth-actions button{border:0;border-radius:10px;padding:9px 16px;font-weight:800;font-size:12px;cursor:pointer}
.chat-auth-actions .chat-signin{margin:0}
.chat-auth-actions .chat-create{background:#212630;color:#EAECEF;border:1px solid #2B3139}
.chat-auth-actions .chat-create:hover{border-color:rgba(6,182,212,.6)}

/* ===== Sign in / Create account card ===== */
.auth-card{max-width:440px;padding:30px 28px 24px!important;background:radial-gradient(ellipse at 100% 0%,rgba(37,99,235,.14),transparent 50%),radial-gradient(ellipse at 0% 0%,rgba(6,182,212,.10),transparent 45%),#1A1D24!important;border-color:#2B3139!important;box-shadow:0 0 0 1px rgba(6,182,212,.08),0 30px 80px rgba(0,0,0,.6),0 0 40px rgba(6,182,212,.10)!important}
.auth-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin-bottom:20px}
.auth-brand .brand-mark{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;font-size:26px;font-weight:900;background:linear-gradient(135deg,#06B6D4,#2563EB)!important;color:#041016!important;box-shadow:0 0 26px rgba(6,182,212,.45)}
.auth-brand b{display:block;font:700 21px 'Space Grotesk',sans-serif}
.auth-brand small{display:block;margin-top:4px;color:#848E9C;font-size:12px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:13px;background:#0D1017;border:1px solid #2B3139;margin-bottom:18px}
.auth-tab{border:0;border-radius:10px;padding:10px;background:transparent!important;color:#848E9C!important;font-weight:700;cursor:pointer}
.auth-tab.active{background:linear-gradient(90deg,rgba(6,182,212,.22),rgba(37,99,235,.22))!important;color:#EAECEF!important;box-shadow:inset 0 0 0 1px rgba(6,182,212,.45),0 0 14px rgba(6,182,212,.18)}
.auth-form label{display:block;margin:12px 0 6px;font-size:12px;font-weight:600;color:#AEB8C4}
.auth-field{position:relative;display:flex;align-items:center}
.auth-field .af-icon{position:absolute;left:14px;display:grid;place-items:center;pointer-events:none}
.auth-field .af-icon svg,.af-eye svg{width:18px;height:18px;fill:none;stroke:#848E9C;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.auth-card .auth-field input,.auth-card .auth-field select{width:100%;height:48px;padding:0 14px 0 44px!important;border-radius:12px!important;background:#0D1017!important;border:1px solid #2B3139!important;color:#EAECEF!important;font-size:14px;outline:0;transition:border-color .2s,box-shadow .2s}
.auth-card .auth-field.has-eye input{padding-right:46px!important}
.auth-card .auth-select select{padding-left:14px!important;appearance:none;-webkit-appearance:none;background:#0D1017 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23848E9C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/14px!important}
.auth-card .auth-field input::placeholder{color:#5E6876}
.auth-card .auth-field input:focus,.auth-card .auth-field select:focus{border-color:rgba(6,182,212,.7)!important;box-shadow:0 0 0 3px rgba(6,182,212,.12),0 0 16px rgba(6,182,212,.18)}
.auth-field:focus-within .af-icon svg{stroke:#22D3EE}
.af-eye{position:absolute;right:8px;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;cursor:pointer}
.af-eye:hover{background:#1A1D24}
.af-eye.on svg{stroke:#22D3EE}
.auth-card .primary-btn{width:100%;height:50px;margin-top:20px;border-radius:13px!important;font-size:15px;font-weight:800}
.auth-error{min-height:16px;margin:10px 0 0;font-size:12px;color:#FF8A9A}
.auth-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;margin-top:14px;padding-top:16px;border-top:1px solid #2B3139}
.auth-trust span{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#848E9C}
.auth-trust svg{width:16px;height:16px;fill:none;stroke:#0ECB81;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.modal-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:10px;border:1px solid #2B3139;background:#0D1017;color:#B5BEC9;cursor:pointer}
/* Market list header lines up with the row columns (icon+name | trend | price) */
.market-table-head span:nth-child(1){grid-column:1/3}
.market-table-head span:nth-child(3){text-align:right}
.market-table-head{color:#848E9C;font-weight:600}
/* Trade panel market boxes: logo | name, with the live price on its own line */
.legacy-engine .asset-option{display:grid!important;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;row-gap:3px;align-items:center;text-align:left}
.legacy-engine .asset-option .coin{grid-row:1/3;width:32px;height:32px}
.legacy-engine .asset-option>span:nth-child(2){min-width:0;overflow:hidden}
.legacy-engine .asset-option>span:nth-child(2) b,.legacy-engine .asset-option>span:nth-child(2) small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.legacy-engine .asset-option .asset-mini-price{grid-column:2;justify-self:start;font-size:11px;font-weight:700;color:#22D3EE;font-variant-numeric:tabular-nums}

/* Header: "?" menu orb back, a little more room before the logo */
body:not(.is-signed-in) .help-orb{background:#06B6D4;border:0;color:#041016;font-weight:900;font-size:21px;box-shadow:0 0 24px rgba(6,182,212,.5),0 0 2px rgba(255,255,255,.5) inset}
body:not(.is-signed-in) .help-orb:hover{box-shadow:0 0 30px rgba(6,182,212,.65)}
.elite-top .elite-logo{margin-left:12px}
@media(max-width:900px){.elite-top .elite-logo{margin-left:4px}}

/* Deposit / Withdraw: larger buttons with circle-arrow icons */
.equity-actions,.home-top .equity-actions{gap:14px;margin-top:20px}
.equity-actions button,.home-top .equity-actions button{flex:0 1 230px;min-width:170px;height:56px;min-height:56px;padding:0 24px;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;border-radius:14px;font-size:16px;font-weight:800;letter-spacing:.2px;transition:transform .15s,box-shadow .2s,border-color .2s}
.equity-actions .act-ico{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.equity-actions .deposit-action{color:#041016!important;box-shadow:0 4px 18px rgba(6,182,212,.35),0 0 26px rgba(37,99,235,.22)!important}
.equity-actions .deposit-action:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgba(6,182,212,.5),0 0 34px rgba(37,99,235,.32)!important}
.equity-actions .withdraw-action{background:#212630;border:1px solid #2B3139;color:#EAECEF}
.equity-actions .withdraw-action:hover{transform:translateY(-2px);border-color:rgba(6,182,212,.55);box-shadow:0 0 18px rgba(6,182,212,.2)}
@media(max-width:650px){.equity-actions button,.home-top .equity-actions button{flex:1 1 0;min-width:0;height:50px;min-height:50px;padding:0 12px;font-size:15px;gap:8px}.equity-actions .act-ico{width:20px;height:20px}}
/* Signed in: no guest buttons, so the search grows and the bell sits at the right edge */
body.is-signed-in .elite-top .top-user{display:none!important}
body.is-signed-in .elite-top .global-search{max-width:none}
body.is-signed-in .elite-top .bell-btn{margin-left:auto}
.profit-tiers{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.profit-tier.locked small{color:#5E6876}
.profit-tier.active small{color:#22D3EE;font-weight:700}

/* ===== Readability: larger text and tap targets on every screen size; layout and colours unchanged ===== */
/* Tiny labels (were 8-9px) */
.live-label,.feed-badge,.expiry-clock small,.chart-footer span,.field-label span,.clock-hint,.elite-logo small{font-size:11px!important}
.profit-tier small{font-size:11px!important}
#potentialProfit small,#possibleLoss small{font-size:12px!important}
/* Secondary text (were 9-11px) */
.market-name small,.market-quote small,.watch-change,.asset-option small,#feedDetail,#priceChange,.asset-mini-price,.history-count,#tradeOpen,#winLoss,.stat-card em,.sidebar-profile small{font-size:12.5px!important}
.field-label,.toggle span,.profit-tier-head b,.eyebrow,.trade-table th,table th{font-size:12px!important}
.global-search kbd{font-size:11px!important}
.ticker-track span,.ticker-track b{font-size:12.5px!important}
.section-heading p,.help-card-text small,.asset-note p,#authSubtitle,.auth-trust span{font-size:13px!important}
#buyBtn small,#sellBtn small{font-size:12px!important}
#tierProgress{font-size:12.5px!important}
/* Primary text (were 11-12px) */
.watch-card b,.market-name b,.market-quote b{font-size:14.5px!important}
.payout-row span{font-size:13.5px!important}
.payout-row b{font-size:15px!important}
.profit-tier b{font-size:14px!important}
#buyBtn b,#sellBtn b{font-size:14.5px!important}
#expiryLabel{font-size:15px!important}
.help-card-cta,.nav-signin,.auth-form label{font-size:13.5px!important}
/* Buttons: at least ~40px tall so they are easy to tap */
.quick-amounts button,.expiry-options button{min-height:42px!important;font-size:14px!important}
#maxBtn{min-height:36px!important;font-size:13px!important;padding:0 12px!important}
.timeframes .tf{min-height:40px!important;min-width:44px;font-size:13px!important}
.view-all{min-height:36px!important;font-size:13.5px!important;padding:0 6px!important}
.help-orb,.close-sidebar,.nav-signin{min-height:40px!important;min-width:40px}
.profit-tier{min-height:58px!important}
.profit-tier small,.profit-tier b{white-space:nowrap}
.asset-option b{font-size:14px!important}
.panel-head p{font-size:13px!important}

/* ===== Server wake-up splash: covers the page until the server answers ===== */
.boot-splash{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:var(--bg-page,#0B0E11);transition:opacity .35s ease,visibility .35s ease}
.boot-splash.hide{opacity:0;visibility:hidden;pointer-events:none}
.boot-box{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:0 24px}
.boot-logo{width:64px!important;height:64px!important;border-radius:18px!important;font-size:34px!important;animation:bootPulse 1.6s ease-in-out infinite}
.boot-box>b{font-size:22px;font-weight:900;letter-spacing:1.5px;color:#EAECEF}.boot-box>b span{color:var(--brand-cyan,#06B6D4)}
.boot-spinner{width:34px;height:34px;border-radius:50%;border:3px solid #2B3139;border-top-color:var(--brand-cyan,#06B6D4);animation:bootSpin .8s linear infinite}
.boot-box small{color:#848E9C;font-size:14px;max-width:300px;line-height:1.5}
@keyframes bootSpin{to{transform:rotate(360deg)}}@keyframes bootPulse{50%{transform:scale(1.06);box-shadow:0 0 34px rgba(6,182,212,.55)}}

/* ===== Logo image: public/logo.png (replace that file to change the logo everywhere on the site) ===== */
.logo-gem.has-img,.brand-mark.has-img{background:none!important;box-shadow:none!important;padding:0!important;overflow:hidden;color:transparent}
.logo-gem.has-img img,.brand-mark.has-img img{width:100%;height:100%;object-fit:contain;display:block}
/* Bigger logo image (header 70px, mobile 52px; sign-in 96px; loading screen 120px) */
.elite-logo .logo-gem.has-img{width:70px!important;height:70px!important;border-radius:16px!important}
@media(max-width:650px){.elite-logo .logo-gem.has-img{width:52px!important;height:52px!important}}
.brand-mark.has-img{width:96px!important;height:96px!important;border-radius:20px!important}
.boot-logo.has-img{width:120px!important;height:120px!important;border-radius:26px!important}
/* Fill the logo box: a wide picture is cropped at the sides instead of shrunk, so the mark itself shows larger. A square logo is unaffected. */
.logo-gem.has-img img,.brand-mark.has-img img{object-fit:cover!important}
