.mobile-only{display:none!important}.order-field>label{display:block}.call small,.put small{display:none}
@media(max-width:720px){
:root{--mobile-bg:#000000;--mobile-panel:#000000;--mobile-border:#333333}body:not(.auth-open){background:var(--mobile-bg)}#terminalApp{padding-bottom:calc(82px + env(safe-area-inset-bottom));min-height:100dvh}#terminalApp>header{height:65px;min-height:65px;padding:10px 14px;gap:8px;flex-wrap:nowrap;position:sticky;top:0;z-index:30;background:#000000;border-bottom:1px solid #303030}#terminalApp>header>.brand{font-size:23px;letter-spacing:-.8px;gap:0}#terminalApp>header>.brand img{display:none}#terminalApp>header>.brand::first-letter{color:#2097ff}#terminalApp>header>nav,#terminalApp>header>.mode-switch,#terminalApp>header>#deposit,#terminalApp>header>#profileButton{display:none}#terminalApp>header>.account{padding:0;border:0;white-space:nowrap;margin-left:auto}#terminalApp>header>.account small{display:none}#terminalApp>header>.account strong{font-size:13px;letter-spacing:-.3px}.mobile-only{display:flex!important}[hidden].mobile-only{display:none!important}#mobileMenuButton{width:28px;padding:5px 0;flex-shrink:0}#mobileMenuButton svg{width:22px;height:22px}#mobileAccountButton{padding:5px 7px;background:#087eeb;color:white;font-size:10px;font-weight:700;line-height:1.6;border-radius:5px;flex-shrink:0}.shell{display:block;padding:0 12px;gap:0}.rail{display:none}#trade,#trade.asset-menu-closed,#trade.analysis-mode{display:flex;flex-direction:column;gap:0;min-width:0}#trade>.workspace{display:contents}#trade .chart-panel{order:0;width:100%;border:0;background:transparent;border-radius:0;overflow:visible}#trade>.ticket{display:block;order:1;width:100%;grid-column:auto}#trade .positions{order:2;width:100%;margin-top:18px}.ticket>.summary{display:none}.panel{background:var(--mobile-panel);border:1px solid var(--mobile-border);border-radius:10px}.instrument,.toolbar{display:none}.mobile-market-row{gap:8px;align-items:center;padding:12px 0}.mobile-market-row>button,.mobile-market-row>select{background:#000000;border:1px solid #363636;border-radius:7px;height:42px;font-size:12px;padding:8px;min-width:0}.mobile-market-row #mobileAssetButton{flex:1.6;gap:5px;align-items:center;display:flex;padding:6px;white-space:nowrap}.mobile-market-row #mobilePeriod{width:58px;flex-shrink:0}.mobile-market-row #mobileChartType{width:80px;flex-shrink:0}.mobile-market-row #mobileIndicators{width:32px;padding:6px}.mobile-market-row #mobileIndicators svg{width:18px;height:18px}.mobile-market-row .chevron{margin-left:auto;color:#b4b4b4}#mobileAssetIcon{display:flex;width:28px;flex-shrink:0}#mobileAssetIcon .market-icon{width:20px;height:20px}#mobileAssetIcon .paired{width:26px}#mobileAssetIcon .paired .market-icon+.market-icon{margin-left:-12px}.chart-wrap{padding-left:0!important;display:flex;flex-direction:column;position:relative}.chart-wrap .draw-tools{position:static;width:100%;height:49px;max-height:49px;flex-direction:row;overflow-x:auto;overflow-y:hidden;border:0;padding:0 0 7px;gap:7px;scrollbar-width:none}.draw-tools::-webkit-scrollbar{display:none}.chart-wrap .draw-tools button{width:39px;height:39px;padding:8px;background:#131313;border:1px solid #373737;border-radius:7px;flex-shrink:0}.chart-wrap .draw-tools button.selected{color:#50b6ff;box-shadow:none;border-color:#3977a5;background:#1c1c1c}.chart-wrap .draw-tools button svg{width:20px;height:20px}.chart-wrap .plot,.analysis-mode .plot{height:clamp(270px,43dvh,460px);width:100%;border-top:1px solid #212121;border-bottom:1px solid #212121;background:#000000}.chart-focus .plot{height:65dvh}.watermark{font-size:55px!important;opacity:.05!important}.watermark img{display:none}#ohlc{font-size:10px;top:9px;left:8px}#drawingHint{font-size:11px;max-width:90%;padding:4px 6px}.indicator{display:none!important}#trade.mobile-indicators-open .indicator:not([hidden]){display:block!important}.chart-foot{height:29px;padding:3px 0;font-size:10px;border:0}.chart-foot .marker-legend{display:none}.chart-foot button{min-height:26px;padding:2px 6px;font-size:11px}.chart-foot #soundToggle{margin-left:auto}.mobile-trade-timer{position:absolute;bottom:24px;right:78px;z-index:3;background:#111111;border:1px solid #3f3f3f;color:#6ec6ff;border-radius:8px;padding:5px 8px;font-size:12px;pointer-events:none}.order{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px 0 0;background:transparent;border:0}.order h2,.order h3,.order>.quick-values,.order>.returns,.order>.sentiment{display:none}.order-field{background:#141414;border:1px solid #393939;border-radius:9px;padding:9px;min-width:0}.order-field label{font-size:12px;color:#bfbfbf;margin-bottom:5px}.amount-field{grid-column:1;grid-row:1}.expiry-field{grid-column:2;grid-row:1}.amount{height:35px;padding:0 5px;border:0;background:#2a2a2a;border-radius:5px;display:flex;align-items:center;gap:2px;min-width:0}.amount span{font-size:12px}.amount input{width:50px;flex:1;font-size:15px;font-weight:600;padding:0;border:0;background:transparent;min-width:0;height:30px}.amount button{font-size:20px;padding:0 4px;min-width:22px}.amount #minus{order:3}.amount #plus{order:4}.amount span{order:0}.amount input{order:1}.expiry-row{height:35px;display:flex;margin:0}.expiry-row select{width:100%;height:35px;font-size:14px;background:#2a2a2a;border:0;border-radius:5px;padding:4px 7px}#countdown{display:none}.order .call,.order .put{margin:0;width:100%;min-height:64px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:15px}.order .call{background:#00bf82}.order .put{background:#fb3c4c}.call small,.put small{display:block;color:#fff;font-size:11px;font-weight:400}.call span,.put span{font-weight:650}.positions .tabs button{font-size:12px}.positions table th,.positions table td{font-size:11px;padding:10px}#empty{font-size:12px;padding:18px}.analysis-inspector{order:3!important;margin-top:16px}.watch,#trade.asset-menu-closed .watch{display:none!important}body.mobile-assets-open #trade .watch{display:block!important;position:fixed;z-index:70;left:10px;right:10px;bottom:calc(85px + env(safe-area-inset-bottom));top:100px;border:1px solid #484848;border-radius:14px;max-height:none;overflow-y:auto;background:#000000;padding:15px;width:auto}body.mobile-assets-open .watch h2{display:flex;align-items:center;font-size:18px;margin:0 0 15px}body.mobile-assets-open .watch input{width:100%;font-size:16px}body.mobile-assets-open .categories{width:100%;display:flex;flex-wrap:wrap;margin:12px 0}body.mobile-assets-open #assets{display:block}body.mobile-assets-open .watch-head,body.mobile-assets-open .asset{display:grid;grid-template-columns:minmax(0,1fr) 80px 55px;min-width:0;width:100%;gap:7px}body.mobile-assets-open .asset .name{font-size:13px}#mobileAssetBackdrop{position:fixed;inset:0;z-index:60;background:#0009;backdrop-filter:blur(4px)}#mobileBottomNav{position:fixed;bottom:0;left:0;right:0;z-index:50;height:calc(75px + env(safe-area-inset-bottom));padding:7px 18px calc(7px + env(safe-area-inset-bottom));display:grid!important;grid-template-columns:repeat(4,1fr);background:#000000ee;backdrop-filter:blur(18px);border-top:1px solid #323232;gap:8px}#mobileBottomNav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;padding:5px;color:#9c9c9c;border-radius:0;min-width:0}#mobileBottomNav button svg{width:23px;height:23px}#mobileBottomNav button.selected{background:none;color:#49baff;border-bottom:2px solid #49baff}.mobile-menu-links{display:grid;gap:8px;margin-top:22px}.mobile-menu-links button{text-align:left;padding:13px 10px;background:#131313;border:1px solid #353535}.result-cards{bottom:calc(95px + env(safe-area-inset-bottom))}.trade-feedback{top:75px}.shell+#footer,footer{display:none}#secondary{padding:18px 0;min-width:0}#secondary .page-heading{margin:0 0 16px;align-items:center}#secondary .page-heading h1{font-size:22px}#walletView .page-heading .muted,#walletView .page-heading .demo-badge{display:none}#walletView .stat-grid{grid-template-columns:1fr 1fr;gap:9px;margin:0 0 14px}#walletView .stat-grid .stat{padding:14px 10px;grid-column:auto}#walletView .stat-grid .stat:last-child{display:none}#walletView .stat>span{font-size:11px}#walletView .stat>strong{font-size:17px;white-space:nowrap}#walletView .wallet-actionbar{display:none}#walletView .wallet-grid{display:flex;flex-direction:column;gap:14px}#walletView .balance-chart .section-header{padding:13px 11px}#walletView .balance-chart h2{font-size:13px}#walletView .balance-chart .tabs button{font-size:10px;padding:6px}#walletView .balance-chart canvas{height:160px}#walletView #balanceHint{font-size:10px;padding:0 12px 12px}#walletView .demo-funds{display:flex;padding:16px;align-items:stretch;text-align:left;gap:8px;background:#000000}#walletView .demo-funds h2{justify-content:flex-start;font-size:16px;margin:0}#walletView .demo-funds p{font-size:12px;margin:0;line-height:1.5;color:#9d9d9d}#walletView .demo-funds .fund-icon,#walletView .demo-funds>small{display:none}.mobile-wallet-presets{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:6px 0}.mobile-wallet-presets button{border:1px solid #3a3a3a;background:#191919;padding:10px 2px;font-size:10px;white-space:nowrap;border-radius:6px}.mobile-wallet-presets button.selected{background:#087eeb;color:#fff;border-color:#087eeb}#walletAdd{min-height:45px;font-size:14px}.mobile-deposits{display:block!important;padding:15px;margin-top:14px}.mobile-deposits h2{font-size:14px}.mobile-deposit-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #313131}.mobile-deposit-row>span:first-child{display:grid;place-items:center;width:34px;height:34px;background:#2e2e2e;border-radius:7px;color:#7dc3ff;font-size:17px;flex-shrink:0}.mobile-deposit-row>div{min-width:0;flex:1}.mobile-deposit-row strong{display:block;font-size:12px;font-weight:500}.mobile-deposit-row small{font-size:10px;color:#939393}.mobile-deposit-row>b{font-size:12px;color:var(--up);white-space:nowrap}.mobile-deposits>small{display:block;text-align:center;font-size:10px;margin-top:15px;color:#9f9f9f}#mobileWalletMore{display:block;width:100%;padding:12px 0 0;color:#a2a2a2;font-size:12px}#walletView .wallet-methods,#walletView .withdrawal-history,#walletView .ledger{display:none}#walletView.wallet-details-open .wallet-methods{display:grid}#walletView.wallet-details-open .withdrawal-history,#walletView.wallet-details-open .ledger{display:block;margin-top:15px}.auth-screen{padding:30px 22px 24px;background:#000000}.auth-top{justify-content:center;position:relative}.auth-top .brand{font-size:29px;letter-spacing:-1px}.auth-top .brand img{display:none}.auth-language{position:absolute;right:0}.auth-language select{font-size:11px;padding:7px;border:1px solid #313131}.auth-layout{margin:35px auto 0;max-width:440px}.auth-card{background:none;border:0;padding:0;box-shadow:none}.auth-tabs{justify-content:space-between;gap:20px;margin-bottom:24px}.auth-tabs button{font-size:14px;flex:1;text-align:center;padding-bottom:13px}.auth-tabs button[aria-selected=true]{border-color:#1399ff;color:#6ec4ff}.auth-card>.demo-badge{display:table;margin:0 auto 16px;background:#171717;border:1px solid #575757;border-radius:9px;color:#38aaff;padding:7px 13px;font-size:11px}.auth-card h2{text-align:center;font-size:25px;margin:10px 0}.auth-card>p.muted{text-align:center;font-size:13px;margin-bottom:22px}.auth-card form>label{font-size:12px;margin-top:15px;color:#dadada}.auth-card input,.auth-card select{background:#151515;border:1px solid #404040;border-radius:8px;min-height:44px;font-size:16px}.auth-card .auth-password button{height:35px;top:5px}.auth-card .auth-consent{font-size:12px;margin-top:22px;line-height:1.7;color:#b6b6b6}.auth-card .auth-consent input{width:17px;min-height:17px;height:17px}.auth-submit{height:48px;background:#087fff;border-radius:8px;font-size:15px;margin-top:7px}.auth-guest{border:0;color:#249fff;font-size:13px}.auth-divider{display:none}.auth-local-note{font-size:10px;text-align:center;margin-top:12px}.auth-bottom{margin-top:30px;font-size:10px}.auth-card .form-error:empty{min-height:0;margin:0}.auth-card label>small{font-size:10px}.auth-open #mobileBottomNav{display:none!important}
}
@media(max-width:360px){#terminalApp>header{padding:10px;gap:6px}#terminalApp>header>.brand{font-size:21px}#terminalApp>header>.account strong{font-size:12px}.mobile-market-row{gap:5px}.mobile-market-row #mobileAssetButton{font-size:11px}.mobile-market-row #mobileChartType{width:68px}.shell{padding:0 9px}.mobile-wallet-presets button{font-size:9px}.auth-screen{padding:25px 16px}}
@media(max-width:720px) and (orientation:landscape){.chart-wrap .plot{height:250px}.auth-layout{max-width:420px}}
@media(max-width:720px){.brand-i{color:#1599ff}}
/* Taller market workspace and compact floating drawing palette. */
@media(max-width:720px){
#terminalApp>header{height:55px;min-height:55px;padding-top:7px;padding-bottom:7px}.mobile-market-row{padding:7px 0;gap:7px}.mobile-market-row>button,.mobile-market-row>select{height:36px}.chart-wrap{position:relative}.chart-wrap .plot,.analysis-mode .plot{height:clamp(320px,calc(100dvh - 320px - env(safe-area-inset-bottom)),720px);min-height:320px;flex-shrink:0}.chart-wrap .draw-tools{position:absolute;left:8px;top:35px;bottom:auto;z-index:5;width:auto;max-width:calc(100% - 85px);height:38px;max-height:38px;padding:0;gap:0;border:1px solid #424242;border-radius:8px;display:flex;background:#000000e6;backdrop-filter:blur(10px);overflow:hidden}.chart-wrap .draw-tools button{width:34px;height:36px;border:0;border-right:1px solid #363636;border-radius:0;padding:7px;background:transparent}.chart-wrap .draw-tools button:last-child{border-right:0}.chart-wrap .draw-tools button[data-tool]:not([data-tool="cursor"]):not([data-tool="trend"]):not([data-tool="rect"]),.chart-wrap .draw-tools #undoDraw,.chart-wrap .draw-tools #redoDraw,.chart-wrap .draw-tools #clearDraw{display:none}.chart-wrap .draw-tools #chartOptions{display:block}.chart-wrap.mobile-tools-expanded .draw-tools{width:calc(100% - 24px);max-width:calc(100% - 24px);overflow-x:auto;height:40px;max-height:40px}.chart-wrap.mobile-tools-expanded .draw-tools button{display:block!important;flex-shrink:0}.chart-wrap.mobile-tools-expanded .draw-tools button:disabled{opacity:.3}.chart-foot{height:22px;font-size:10px}.order{padding-top:7px;gap:8px}.order-field{padding:7px 9px}.order .call,.order .put{min-height:54px;font-size:14px;gap:2px}.call small,.put small{font-size:10px}#mobileBottomNav{height:calc(66px + env(safe-area-inset-bottom));padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}#terminalApp{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.mobile-trade-timer{bottom:37px}.result-cards{left:20px;right:20px;top:115px;bottom:auto;max-width:none;z-index:20;pointer-events:none}.result-cards .mobile-result-card{position:relative;width:100%;min-height:92px;border-radius:11px;padding:14px 37px 17px 63px;background:#000000eF;border:1px solid #00b891;box-shadow:0 8px 30px #0007;backdrop-filter:blur(14px);display:block;pointer-events:auto;animation:result-enter .2s ease-out}.result-cards .mobile-result-card.loss{background:#201017ef;border-color:#c64a62}.result-cards .mobile-result-card.neutral{background:#121212ef;border-color:#757575}.mobile-result-card .result-symbol{position:absolute;left:15px;top:20px;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;background:#00b893;color:#fff;font-size:21px}.mobile-result-card.loss .result-symbol{background:#ed3c56}.mobile-result-card.neutral .result-symbol{background:#6f6f6f}.mobile-result-card .close{position:absolute;top:10px;right:10px;width:26px;height:26px;font-size:22px;color:#b2b2b2;font-weight:300}.mobile-result-card .result-heading{font-size:13px;font-weight:600;color:#f5f5f5;display:block}.mobile-result-card .result-asset{display:block;font-size:11px;color:#b3b3b3;margin-top:3px}.mobile-result-card .result-value{font-size:21px;color:var(--up);font-weight:650;display:inline-block;margin-top:4px}.mobile-result-card.loss .result-value{color:#ff4962}.mobile-result-card.neutral .result-value{color:#b9b9b9}.mobile-result-card .result-demo{display:inline-block;float:right;font-size:10px;color:#a6a6a6;margin-top:13px}.mobile-result-card .result-progress{position:absolute;bottom:9px;left:15px;right:15px;height:3px;background:#383838;border-radius:3px;overflow:hidden}.result-progress i{display:block;height:100%;background:var(--up);transform-origin:left;animation:mobile-result-lifetime 4s linear forwards}.loss .result-progress i{background:#ff4962}.neutral .result-progress i{background:#b9b9b9}.trade-feedback{top:65px;padding:8px 13px;font-size:12px}
}
@keyframes mobile-result-lifetime{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:720px) and (orientation:landscape){.chart-wrap .plot,.analysis-mode .plot{height:300px;min-height:300px}}
@media(prefers-reduced-motion:reduce){.result-progress i{animation:none!important}}
@media(max-width:720px){.draw-tools #mobilePaletteSettings{display:none!important}.mobile-tools-expanded .draw-tools #mobilePaletteSettings{display:block!important}}
/* Fit the chart and order controls into the real visible viewport. */
@media(max-width:720px){
.chart-wrap .plot,.analysis-mode .plot{flex:none!important;height:var(--mobile-chart-height,calc(100dvh - 310px))!important;min-height:180px!important;max-height:none;width:100%;overflow:hidden}.chart-wrap .plot canvas{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none;display:block}.mobile-market-mode #trade>.ticket{position:fixed;bottom:calc(66px + env(safe-area-inset-bottom));left:0;right:0;width:100%;z-index:35;background:#000000;border-top:1px solid #343434;padding:0 12px 10px}.mobile-market-mode .order{padding-top:8px;gap:7px}.mobile-market-mode .order-field{padding:6px 9px}.mobile-market-mode .order .call,.mobile-market-mode .order .put{min-height:52px}.mobile-market-mode #trade .positions{display:none}.mobile-market-mode #trade{padding-bottom:155px}.mobile-market-mode #terminalApp{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.chart-wrap .draw-tools{top:31px}.chart-wrap.mobile-tools-expanded .draw-tools{max-width:calc(100% - 85px);width:calc(100% - 85px);border-color:#595959}.chart-foot{padding-right:4px;padding-left:4px}#mobileTradeTimer{bottom:36px}.result-cards{z-index:25}
}
