*{box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--green:#28ad61;--green-2:#16a37d;--red:#f04d64;--orange:#f2a51a;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:Inter,Arial,Helvetica,sans-serif}html,body,#root{width:100%;min-height:100%;margin:0}body{overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}.clientShell{min-height:100vh;color:var(--text);background:var(--page-bg)}.clientShell.dark{--page-bg:#000;--top-bg:#191919;--panel-bg:#191919;--panel-bg-2:#252525;--panel-bg-3:#303030;--field-bg:#373737;--text:#fff;--muted:#9da3ad;--border:#333;--soft-border:#424242;--chart-bg:#111923}.clientShell.light{--page-bg:#f4f4f4;--top-bg:#fff;--panel-bg:#fff;--panel-bg-2:#f7f7f7;--panel-bg-3:#eee;--field-bg:#f6f6f6;--text:#111827;--muted:#697386;--border:#e6e6e6;--soft-border:#d8d8d8;--chart-bg:#fff}.topbar{background:var(--top-bg);border-bottom:1px solid var(--border);justify-content:center;align-items:center;gap:180px;width:100%;height:96px;padding:0 34px;display:flex}.topbarStats{align-items:center;gap:34px;display:flex}.infoItem{align-items:center;gap:12px;min-width:120px;display:flex}.infoIcon{background:var(--panel-bg-2);border:1px solid var(--border);color:#8e8e8e;border-radius:6px;justify-content:center;align-items:center;width:44px;height:44px;font-size:22px;display:inline-flex}.infoItem small{color:var(--muted);margin-bottom:3px;font-size:15px;display:block}.infoItem strong{color:var(--text);font-size:15px;font-weight:800;display:block}.topbarRight{align-items:center;gap:10px;display:flex}.themeSwitch{background:var(--panel-bg-2);border:1px solid var(--border);border-radius:5px;height:42px;padding:3px;display:flex}.themeSwitch button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:4px;font-size:18px}.themeSwitch button.active{background:var(--panel-bg-3);color:var(--text)}.topPill{border:1px solid var(--border);background:var(--panel-bg-2);min-width:82px;height:42px;color:var(--text);border-radius:5px;padding:0 16px;font-weight:700}.clientBody{grid-template-columns:136px minmax(0,1fr);gap:12px;width:1300px;max-width:calc(100vw - 40px);margin:14px auto 0;display:grid}.sidebar{background:var(--panel-bg);border:1px solid var(--border);flex-direction:column;align-items:stretch;min-height:calc(100vh - 120px);padding:18px 0;display:flex}.sideLink{width:100%;height:88px;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:9px;font-size:15px;display:flex}.sideLink span{font-size:27px;line-height:1}.sideLink b{font-weight:500}.sideLink.active{color:var(--orange)}.tradeGrid{grid-template-columns:335px minmax(520px,1fr) 330px;gap:10px;min-height:calc(100vh - 120px);display:grid}.assetsPanel,.emptyOrders,.orderPanel,.marketHeader,.chartCard,.pageCard,.tabs{background:var(--panel-bg);border:1px solid var(--border)}.assetsPanel{min-height:calc(100vh - 120px);overflow:hidden}.assetsHeader{justify-content:space-between;align-items:center;padding:18px 16px 12px;display:flex}.assetsHeader strong{font-size:16px}.assetsHeader label{border:1px solid var(--soft-border);background:var(--panel-bg-2);width:205px;height:38px;color:var(--muted);border-radius:20px;align-items:center;gap:8px;padding:0 13px;display:flex}.assetsHeader input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:14px}.tags{flex-wrap:wrap;gap:8px;padding:0 16px 20px;display:flex}.tags button{background:var(--panel-bg-2);color:var(--text);border:0;border-radius:18px;padding:7px 14px;font-size:13px}.tags button.active{color:var(--orange);outline:1px solid var(--orange)}.assetTable{height:calc(100vh - 314px);overflow:auto}.assetRow{border:0;border-bottom:1px solid var(--border);width:100%;min-height:42px;color:var(--text);text-align:left;background:0 0;grid-template-columns:1.35fr .75fr .75fr 1fr;align-items:center;gap:8px;padding:0 14px;font-size:13px;display:grid}.assetRow.active{background:var(--panel-bg-2)}.assetHead{color:var(--muted);z-index:2;background:var(--panel-bg);font-size:13px;position:sticky;top:0}.assetName{align-items:center;gap:7px;font-weight:800;display:flex}.green,.greenDot{color:var(--green)}.red,.redDot{color:var(--red)}.greenDot,.redDot{background:currentColor;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.tradeCenter{min-width:0}.marketHeader{grid-template-columns:1.4fr .8fr 1fr .9fr .9fr;align-items:center;height:72px;margin-bottom:10px;padding:0 18px;display:grid}.symbolBox{align-items:center;gap:12px;display:flex}.symbolLogo{color:#28ad61;border:2px solid #28ad6159;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:13px;display:inline-flex}.symbolBox strong{font-size:15px;display:block}.symbolBox small{color:var(--muted);margin-top:3px;font-size:13px;display:block}.metric small{color:var(--muted);margin-bottom:8px;font-size:13px;display:block}.metric strong{font-size:14px;display:block}.chartCard{min-height:610px;overflow:hidden}.chartToolbar{background:var(--panel-bg);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:48px;padding:0 14px;display:flex}.chartToolbar div{align-items:center;gap:8px;display:flex}.chartToolbar button{color:var(--text);border:0;border-right:1px solid var(--border);background:0 0;padding:5px 11px;font-size:14px}.chartToolbar button.active{color:var(--orange)}.chartSource{height:34px;color:var(--muted);background:var(--chart-bg);align-items:center;padding:0 16px;font-size:13px;display:flex}.chartSource b{color:var(--text);margin-left:4px}.chartContainer{background:var(--chart-bg);width:100%;height:520px}.orderPanel{min-height:calc(100vh - 120px);padding:16px 20px}.buySell{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:32px;display:grid}.buySell button{background:var(--panel-bg-2);height:42px;color:var(--text);border:0;border-radius:4px;font-size:16px;font-weight:800}.buySell button.active.buy{background:var(--green);color:#fff}.buySell button.active.sell{background:var(--red);color:#fff}.orderLine{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:28px;font-size:15px;display:flex}.orderLine strong{color:var(--text)}.leverage{border:1px solid var(--orange);border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex;color:var(--orange)!important}.orderField>span{color:var(--muted);margin-bottom:12px;font-size:15px;display:block}.volumeControl{background:var(--panel-bg-2);border-radius:20px;grid-template-columns:45px 1fr 45px;align-items:center;height:39px;margin-bottom:18px;margin-left:74px;display:grid;overflow:hidden}.volumeControl button{height:100%;color:var(--text);background:0 0;border:0;font-size:20px}.volumeControl input{border:0;border-left:1px solid var(--soft-border);border-right:1px solid var(--soft-border);height:100%;color:var(--text);text-align:center;background:0 0;outline:0;font-weight:800}.percentBox{margin-bottom:24px}.percentBox>strong{color:var(--orange);margin-bottom:8px;font-size:14px;display:block}.percentDots{grid-template-columns:repeat(5,1fr);align-items:start;gap:0;display:grid}.percentDots button{color:var(--muted);background:0 0;border:0;padding:0;font-size:12px;position:relative}.percentDots button:before{content:"";background:var(--soft-border);z-index:0;width:100%;height:1px;position:absolute;top:7px;left:-50%}.percentDots button:first-child:before{display:none}.percentDots i{z-index:1;background:var(--panel-bg);border:2px solid #858585;border-radius:50%;width:12px;height:12px;margin:0 auto 8px;display:block;position:relative}.percentDots button.active i{background:var(--orange);border-color:var(--orange);box-shadow:0 0 0 4px #f2a51a40}.orange{color:var(--orange)!important}.toggleLine{border:1px solid var(--soft-border);background:var(--panel-bg-2);width:100%;height:54px;color:var(--text);border-radius:4px;justify-content:space-between;align-items:center;margin-bottom:14px;padding:0 14px;font-weight:800;display:flex}.toggleLine i{background:#666;border-radius:20px;justify-content:flex-start;width:38px;height:20px;padding:2px;display:flex}.toggleLine i.active{background:var(--orange);justify-content:flex-end}.toggleLine b{background:#f5f5f5;border-radius:50%;width:16px;height:16px}.submitOrder{color:#fff;border:0;border-radius:4px;width:100%;height:48px;margin-top:12px;font-size:16px;font-weight:900}.submitOrder.buy{background:var(--green)}.submitOrder.sell{background:var(--red)}.emptyOrders{min-height:calc(100vh - 120px);padding:22px 16px;position:relative}.emptyOrders>strong{font-size:16px}.emptyOrders>div{flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.emptyIcon{width:58px;height:58px;color:var(--orange);border:3px solid var(--orange);border-radius:50%;justify-content:center;align-items:center;font-size:32px;display:flex}.dashboardArea,.profileArea{min-height:calc(100vh - 120px)}.tabs{align-items:stretch;width:520px;height:70px;margin-bottom:12px;display:flex}.tabs button{min-width:130px;height:100%;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;font-size:17px}.tabs button.active{color:var(--orange);border-bottom-color:var(--orange)}.pageCard{min-height:calc(100vh - 204px);padding:28px}.pageCard h2{margin:0 0 36px;font-size:22px}.titleRow{justify-content:space-between;align-items:center;margin-bottom:44px;display:flex}.titleRow h2{margin:0}.orangeBtn,.grayBtn,.depositBtn{color:#fff;border:0;border-radius:4px;height:46px;padding:0 28px;font-size:16px;font-weight:900}.orangeBtn{background:#e9910d}.grayBtn{background:var(--field-bg)}.subtitle{flex-direction:column;gap:12px;margin-bottom:34px;display:flex}.subtitle span{color:var(--muted)}.accountCards{grid-template-columns:repeat(2,minmax(320px,1fr));gap:24px;display:grid}.accountCard{background:var(--panel-bg-2);border:1px solid var(--border);border-radius:4px;padding:24px;position:relative}.removeAcc{color:var(--red);background:0 0;border:0;font-size:23px;position:absolute;top:14px;right:16px}.accountHead{align-items:center;gap:16px;margin-bottom:26px;display:flex}.accountHead>span{color:#fff;background:#e9910d;border-radius:6px;justify-content:center;align-items:center;width:44px;height:44px;font-size:24px;display:inline-flex}.accountHead h3{margin:0 0 7px;font-size:18px}.accountHead small{color:var(--orange);font-size:15px}.balanceLine{justify-content:space-between;margin-bottom:30px;display:flex}.accountMiniStats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 18px;display:grid}.accountMiniStats div{border:1px solid var(--soft-border);background:var(--field-bg);border-radius:6px;padding:9px 10px}.accountMiniStats span{color:var(--muted);margin-bottom:5px;font-size:11px;display:block}.accountMiniStats b{color:var(--text);font-size:13px;font-weight:900;display:block}.depositBtn{background:var(--field-bg);width:100%}.formCard,.qrCard{background:var(--panel-bg-2);border:1px solid var(--border);border-radius:10px;width:650px;margin-bottom:34px;padding:28px}.formCard.wide{width:720px}.formCard h3,.qrCard h3{margin:0 0 24px;font-size:18px}.formGrid,.profileForm{grid-template-columns:repeat(2,minmax(240px,1fr));gap:20px 28px;display:grid}.field{flex-direction:column;gap:9px;display:flex}.field.full{grid-column:1/-1}.field.short{width:330px}.field span{color:var(--muted);font-size:13px}.field input,.field select{border:1px solid var(--soft-border);background:var(--field-bg);height:46px;color:var(--text);border-radius:4px;outline:0;padding:0 14px}.field em{color:var(--muted);font-size:13px;font-style:normal}.radioLine{margin:22px 0}.radioLine>span{color:var(--muted);margin-bottom:12px;font-size:13px;display:block}.radioLine div{gap:24px;display:flex}.radioLine label{color:var(--text);align-items:center;gap:10px;font-size:16px;display:inline-flex}.radioLine i{border:1px solid var(--orange);border-radius:50%;width:22px;height:22px}.radioLine i.active{box-shadow:inset 0 0 0 4px var(--panel-bg-2);background:var(--orange)}.formSubmit{width:320px}.copyField{grid-template-columns:1fr 70px;gap:0;display:grid}.copyField input{border-top-right-radius:0;border-bottom-right-radius:0}.copyField button{border:1px solid var(--soft-border);background:var(--field-bg);color:var(--text);border-left:0;border-radius:0 4px 4px 0;font-weight:800}.narrowPage{max-width:980px}.qrCard{text-align:center;width:650px}.realQr{object-fit:contain;background:#fff;border:12px solid #fff;border-radius:10px;width:220px;height:220px;margin:0 auto 20px;display:block}.realQr.empty{color:#111;justify-content:center;align-items:center;font-size:58px;font-weight:900;display:flex}.qrCard p{color:var(--muted);margin-bottom:30px}.qrCard .field{text-align:left;margin-bottom:18px}.formActions{grid-template-columns:320px 320px;gap:24px;display:grid}.operationTable{background:var(--panel-bg-2);border:1px solid var(--border);padding:20px 24px}.operationRow{border-bottom:1px solid var(--soft-border);grid-template-columns:1.25fr 1.5fr 1.1fr 1.2fr 1fr 1fr;align-items:center;gap:16px;min-height:64px;display:grid}.operationRow:last-child{border-bottom:0}.operationRow.head{color:var(--muted)}.operationRow small{color:var(--muted);margin-top:4px;display:block}.statusPill{color:#3182ff;background:#3182ff29;border-radius:4px;width:max-content;padding:8px 13px}.profileArea .tabs{width:720px}.profilePage{padding:36px 28px}.profileForm{width:680px}.profileSave{width:320px;margin-top:34px}.passwordForm{flex-direction:column;gap:22px;width:320px;display:flex}.passwordForm .orangeBtn{margin-top:10px}@media (width<=1600px){.clientBody{width:calc(100vw - 24px);max-width:none}.tradeGrid{grid-template-columns:315px minmax(450px,1fr) 310px}.topbar{gap:80px}}@media (width<=1320px){.topbar{justify-content:space-between;gap:24px;height:auto;min-height:90px}.topbarStats{gap:16px}.infoItem{min-width:auto}.tradeGrid{grid-template-columns:300px minmax(420px,1fr) 300px}.assetRow{grid-template-columns:1.2fr .7fr .7fr .9fr;font-size:12px}}@media (width<=1100px){.topbar{z-index:20;flex-direction:column;align-items:stretch;padding:12px;position:sticky;top:0}.topbarStats{grid-template-columns:repeat(4,1fr);gap:8px;width:100%;display:grid}.infoItem{background:var(--panel-bg-2);border:1px solid var(--border);border-radius:8px;min-width:0;padding:8px}.infoIcon{display:none}.infoItem small{font-size:12px}.infoItem strong{font-size:14px}.topbarRight{justify-content:space-between;width:100%}.clientBody{grid-template-columns:90px minmax(0,1fr);gap:8px;width:calc(100vw - 16px);margin-top:8px}.sidebar{min-height:calc(100vh - 145px)}.sideLink{height:78px;font-size:13px}.sideLink span{font-size:23px}.tradeGrid{grid-template-columns:1fr;min-height:auto}.assetsPanel,.emptyOrders,.orderPanel{min-height:auto}.assetsPanel{order:1}.tradeCenter{order:2}.orderPanel{order:3}.marketHeader{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;height:auto;padding:14px}.symbolBox{grid-column:1/-1}.chartContainer{height:460px}.chartCard{min-height:auto}.assetTable{height:330px}.orderPanel{padding:16px}.volumeControl{margin-left:0}.dashboardArea,.profileArea{min-width:0}.tabs,.profileArea .tabs{width:100%;overflow-x:auto}.tabs button{min-width:145px}.accountCards{grid-template-columns:1fr}.formCard,.formCard.wide,.qrCard{width:100%}.formActions{grid-template-columns:repeat(2,1fr)}.profileForm{width:100%}.operationTable{overflow-x:auto}.operationRow{min-width:900px}}@media (width<=720px){body{background:var(--page-bg)}.clientShell{padding-bottom:calc(78px + var(--safe-bottom))}.topbar{gap:8px;min-height:auto;padding:8px}.topbarStats{grid-template-columns:repeat(2,1fr);gap:6px}.infoItem{gap:0;padding:7px 8px}.infoItem small{font-size:11px}.infoItem strong{font-size:13px}.topbarRight{grid-template-columns:auto 1fr 1fr 1fr;gap:6px;display:grid}.themeSwitch{height:38px}.themeSwitch button{width:31px;height:31px}.topPill{white-space:nowrap;min-width:0;height:38px;padding:0 8px;font-size:12px}.clientBody{width:100%;margin:0;padding:8px;display:block}.sidebar{z-index:50;height:calc(68px + var(--safe-bottom));min-height:0;padding:0 4px var(--safe-bottom);border-bottom:0;border-left:0;border-right:0;border-top:1px solid var(--border);background:var(--panel-bg);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.sideLink{gap:5px;height:68px;font-size:11px}.sideLink span{font-size:20px}.tradeGrid{flex-direction:column;gap:8px;display:flex}.assetsPanel{border-left:0;border-right:0}.assetsHeader{flex-wrap:wrap;gap:10px;padding:12px}.assetsHeader label{width:100%}.tags{scrollbar-width:none;flex-wrap:nowrap;padding:0 12px 12px;overflow-x:auto}.tags::-webkit-scrollbar{display:none}.tags button{white-space:nowrap;flex:none;padding:8px 13px}.assetTable{height:300px}.assetRow{grid-template-columns:1.35fr .8fr .8fr .95fr;gap:5px;min-height:40px;padding:0 10px;font-size:11px}.assetHead{font-size:11px}.marketHeader{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:8px;padding:12px}.symbolBox{grid-column:1/-1}.metric small{margin-bottom:5px;font-size:11px}.metric strong{font-size:13px}.chartToolbar{flex-wrap:wrap;gap:6px;height:auto;min-height:44px;padding:6px}.chartToolbar div{flex-wrap:wrap;gap:2px}.chartToolbar button{padding:5px 7px;font-size:12px}.chartSource{height:30px;padding:0 10px;font-size:12px}.chartContainer{height:390px}.orderPanel{border-left:0;border-right:0;padding:12px}.buySell{margin-bottom:18px}.buySell button{height:44px}.orderLine{margin-bottom:18px}.leverage{width:36px;height:36px}.volumeControl{width:100%;margin-left:0}.toggleLine{height:50px;font-size:15px}.submitOrder{height:52px;font-size:17px}.emptyOrders{min-height:280px;padding:16px 12px}.dashboardArea,.profileArea{width:100%}.tabs{scrollbar-width:none;width:100%;height:58px;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.tabs button{min-width:120px;font-size:15px}.pageCard{border-left:0;border-right:0;min-height:auto;padding:16px 12px}.pageCard h2{margin-bottom:22px;font-size:20px}.titleRow{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:28px}.orangeBtn,.grayBtn,.depositBtn{width:100%;height:48px}.accountCards{grid-template-columns:1fr;gap:14px}.accountCard{padding:16px}.accountHead h3{font-size:16px}.formGrid,.profileForm{grid-template-columns:1fr;gap:16px}.field.short{width:100%}.field.full{grid-column:auto}.radioLine div{flex-direction:column;gap:12px}.formSubmit,.profileSave{width:100%}.qrCard{padding:18px}.realQr{width:190px;height:190px}.copyField{grid-template-columns:1fr 58px}.formActions{grid-template-columns:1fr;gap:12px}.operationTable{background:0 0;border:0;padding:0;overflow:visible}.operationRow,.operationRow.head{min-width:0}.operationRow.head{display:none}.operationRow{background:var(--panel-bg-2);border:1px solid var(--border);border-radius:8px;grid-template-columns:1fr;gap:8px;min-height:auto;margin-bottom:10px;padding:14px;display:grid}.statusPill{margin-top:4px}.passwordForm{width:100%}}@media (width<=430px){.topbarStats{grid-template-columns:repeat(2,1fr)}.topbarRight{grid-template-columns:1fr 1fr}.themeSwitch{grid-column:1/-1;justify-content:center;width:100%}.topPill{font-size:12px}.assetRow{grid-template-columns:1.25fr .7fr .7fr .85fr;font-size:10px}.assetName{gap:4px}.marketHeader{grid-template-columns:1fr}.chartContainer{height:340px}.sideLink{font-size:10px}.sideLink span{font-size:18px}}.positionsPanel{background:var(--panel-bg);border:1px solid var(--border);min-height:calc(100vh - 120px);padding:18px 16px;overflow:auto}.positionsPanel>strong{margin-bottom:18px;font-size:16px;display:block}.positionsHeader{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.positionsHeader strong{margin-bottom:4px;font-size:18px;display:block}.positionsHeader span{color:var(--muted);font-size:12px;line-height:1.35;display:block}.positionsActions{flex-direction:column;gap:8px;min-width:118px;display:flex}.positionsActions button{border:1px solid var(--soft-border);background:var(--field-bg);height:32px;color:var(--text);border-radius:4px;font-size:12px;font-weight:900}.positionsActions button:hover{border-color:var(--orange);color:var(--orange)}.positionsActions button.danger{color:var(--red);background:#f04d6424;border-color:#f04d6473}.portfolioSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.portfolioSummaryItem{border:1px solid var(--soft-border);background:var(--panel-bg-2);border-radius:6px;min-height:54px;padding:9px 10px}.portfolioSummaryItem span{color:var(--muted);margin-bottom:6px;font-size:11px;display:block}.portfolioSummaryItem b{color:var(--text);text-overflow:ellipsis;font-size:14px;font-weight:900;display:block;overflow:hidden}.portfolioEmptyBlock{border:1px dashed var(--soft-border);background:var(--panel-bg-2);min-height:260px;color:var(--muted);text-align:center;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;margin-bottom:16px;padding:22px;display:flex}.portfolioEmptyBlock b{color:var(--text)}.portfolioEmptyBlock p{margin:0;font-size:12px;line-height:1.4}.tradeEventsList{border:1px solid var(--soft-border);background:var(--panel-bg-2);border-radius:8px;margin-top:16px;overflow:hidden}.tradeEventsList>strong{border-bottom:1px solid var(--soft-border);padding:12px;font-size:14px;display:block}.tradeEventRow{border-bottom:1px solid var(--soft-border);grid-template-columns:92px minmax(0,1fr) 54px;align-items:center;gap:8px;min-height:44px;padding:8px 12px;display:grid}.tradeEventRow:last-child{border-bottom:0}.tradeEventRow span{color:var(--orange);font-size:11px;font-weight:900}.tradeEventRow b{min-width:0;color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:800;overflow:hidden}.tradeEventRow small{color:var(--muted);text-align:right;font-size:11px}.positionList{flex-direction:column;gap:14px;display:flex}.positionCard{background:var(--panel-bg-2);border:1px solid var(--soft-border);border-radius:8px;padding:14px}.positionTop{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.positionTop b{margin-bottom:4px;font-size:15px;display:block}.positionTop small{color:var(--muted);font-size:12px;display:block}.sideBuy,.sideSell{border-radius:4px;justify-content:center;align-items:center;min-width:58px;height:26px;font-size:12px;font-weight:900;display:inline-flex}.sideBuy{color:#fff;background:var(--green)}.sideSell{color:#fff;background:var(--red)}.positionGrid{grid-template-columns:1fr 1fr;gap:9px 14px;margin-bottom:14px;font-size:13px;display:grid}.positionGrid span{color:var(--muted)}.positionGrid b{text-align:right;color:var(--text)}.closePositionBtn{background:var(--orange);color:#fff;border:0;border-radius:4px;width:100%;height:38px;font-weight:900}.closePositionBtn:hover{filter:brightness(1.08)}@media (width<=720px){.positionsPanel{border-left:0;border-right:0;min-height:auto;padding:14px 12px}.positionCard{padding:12px}.positionGrid{grid-template-columns:1fr 1fr;font-size:12px}.closePositionBtn{height:42px}}.tradeExtraBlock{border:1px solid var(--soft-border);background:var(--panel-bg-2);border-top:0;border-radius:0 0 4px 4px;margin:-8px 0 14px;padding:0 12px 12px}.miniPriceControl{background:var(--field-bg);border:1px solid var(--soft-border);border-radius:20px;grid-template-columns:42px 1fr 42px;height:38px;margin-bottom:10px;display:grid;overflow:hidden}.miniPriceControl button{color:var(--text);background:0 0;border:0;font-size:18px}.miniPriceControl input{border:0;border-left:1px solid var(--soft-border);border-right:1px solid var(--soft-border);min-width:0;color:var(--text);text-align:center;background:0 0;outline:0;font-weight:800}.expectedLine{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.expectedLine b{color:var(--text);white-space:nowrap}.positionCard.pending{border-color:#f2a51aa6}.sidePending{min-width:68px;height:26px;color:var(--orange);background:#f2a51a2e;border:1px solid #f2a51aa6;border-radius:4px;justify-content:center;align-items:center;font-size:12px;font-weight:900;display:inline-flex}.cancelPendingBtn{border:1px solid var(--soft-border);background:var(--field-bg);width:100%;height:38px;color:var(--text);border-radius:4px;font-weight:900}.cancelPendingBtn:hover{border-color:var(--orange);color:var(--orange)}@media (width<=720px){.tradeExtraBlock{padding:0 10px 10px}.miniPriceControl{height:42px}.expectedLine{font-size:11px}}.chartCard{min-height:610px;position:relative;overflow:visible}.chartFullscreen{background:var(--panel-bg);border:0;width:100vw;height:100vh;min-height:100vh}.chartCard:fullscreen{background:var(--panel-bg);border:0;width:100vw;height:100vh;min-height:100vh}.chartFullscreen .chartContainer{height:calc(100vh - 48px)}.chartCard:fullscreen .chartContainer{height:calc(100vh - 48px)}.tvToolbar{background:var(--panel-bg);border-bottom:1px solid var(--border);z-index:30;justify-content:space-between;align-items:stretch;height:48px;padding:0;display:flex;position:relative}.chartToolbar .tvToolbarLeft,.chartToolbar .tvToolbarRight,.tvToolbarLeft,.tvToolbarRight{flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;display:flex!important}.tvToolWrap{position:relative;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;display:flex!important}.chartToolbar .tvToolBtn,.tvToolBtn{border:0;border-right:1px solid var(--border);min-width:48px;height:48px;color:var(--text);cursor:pointer;white-space:nowrap;background:0 0;border-radius:0;justify-content:center;align-items:center;gap:8px;padding:0 13px;font-size:15px;font-weight:800;line-height:1;display:inline-flex}.chartToolbar .tvToolBtn:hover,.tvToolBtn:hover,.tvToolBtn.active{color:var(--orange);background:#ffffff0e}.tvIntervalBtn{width:54px;padding:0}.tvIconOnly{width:52px;padding:0}.tvIndicatorsBtn{justify-content:flex-start;min-width:145px;padding:0 16px;font-size:15px}.chartToolbar .tvDropdown,.chartToolbar .tvDropdown *{box-sizing:border-box}.chartToolbar .tvDropdown,.tvDropdown{z-index:1000;color:#f3f6fb;background:#202635;border:1px solid #ffffff13;position:absolute;top:48px;left:0;overflow:hidden;box-shadow:0 16px 40px #0000006b;align-items:unset!important;flex-wrap:nowrap!important;gap:0!important;display:block!important}.chartToolbar .tvTimeDropdown,.tvTimeDropdown{padding:0;width:156px!important;min-width:156px!important}.chartToolbar .tvChartTypeDropdown,.tvChartTypeDropdown{padding:0;width:248px!important;min-width:248px!important}.chartToolbar .tvIndicatorsDropdown,.tvIndicatorsDropdown,.chartToolbar .tvSettingsDropdown,.tvSettingsDropdown{padding:0;width:220px!important;min-width:220px!important}.tvToolbarRight .tvDropdown{left:auto;right:0}.chartToolbar .tvMenuGroup,.tvMenuGroup{width:100%;align-items:unset!important;gap:0!important;display:block!important}.tvMenuGroup+.tvMenuGroup{border-top:1px solid #ffffff0e}.chartToolbar .tvMenuTitle,.tvMenuTitle{color:#7f8796;letter-spacing:.02em;width:100%;height:35px;padding:12px 14px 7px;font-size:12px;font-weight:800;justify-content:space-between!important;align-items:center!important;gap:0!important;display:flex!important}.tvMenuTitle:after{content:"⌃";color:#7f8796;font-size:12px}.chartToolbar .tvMenuItem,.tvMenuItem{color:#f3f6fb;text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:0;height:36px;padding:0 13px;font-size:14px;font-weight:700;justify-content:flex-start!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:100%!important;display:flex!important}.tvMenuItem:hover{background:#ffffff0e}.tvMenuItem.active{color:#fff;background:#2f66ff}.chartToolbar .tvChartTypeItem,.tvChartTypeItem{height:42px;flex-direction:row!important;gap:13px!important;display:flex!important}.tvChartTypeItem+.tvChartTypeItem:last-child{border-top:1px solid #ffffff13}.tvSettingItem{justify-content:flex-start!important}.tvCheck{color:#0000;width:18px;font-weight:900}.tvCheck.active{color:var(--orange)}.tvDisabledMenuItem,.tvDisabledMenuItem:hover{cursor:default;opacity:.5;background:0 0}.chartTypeIcon{color:currentColor;flex:0 0 22px;width:22px;height:22px;display:inline-block;position:relative}.chartTypeIcon.candles:before,.chartTypeIcon.candles:after,.chartTypeIcon.hollow:before,.chartTypeIcon.hollow:after,.chartTypeIcon.heikin:before,.chartTypeIcon.heikin:after{content:"";border:1px solid;width:4px;height:14px;position:absolute;top:4px}.chartTypeIcon.candles:before,.chartTypeIcon.hollow:before,.chartTypeIcon.heikin:before{left:5px}.chartTypeIcon.candles:after,.chartTypeIcon.hollow:after,.chartTypeIcon.heikin:after{right:5px}.chartTypeIcon.candles:before,.chartTypeIcon.candles:after,.chartTypeIcon.heikin:before,.chartTypeIcon.heikin:after{background:currentColor}.chartTypeIcon.candles,.chartTypeIcon.hollow,.chartTypeIcon.heikin{background:linear-gradient(currentColor,currentColor) 7px 1px/1px 20px no-repeat,linear-gradient(currentColor,currentColor) 14px 1px/1px 20px no-repeat}.chartTypeIcon.bars{background:linear-gradient(currentColor,currentColor) 6px 2px/1px 18px no-repeat,linear-gradient(currentColor,currentColor) 15px 2px/1px 18px no-repeat,linear-gradient(currentColor,currentColor) 2px 8px/9px 1px no-repeat,linear-gradient(currentColor,currentColor) 11px 14px/9px 1px no-repeat}.chartTypeIcon.columns{background:linear-gradient(currentColor,currentColor) 3px 12px/3px 8px no-repeat,linear-gradient(currentColor,currentColor) 9px 7px/3px 13px no-repeat,linear-gradient(currentColor,currentColor) 15px 3px/3px 17px no-repeat}.chartTypeIcon.line{background:linear-gradient(135deg,#0000 45%,currentColor 46% 54%,#0000 55%) 2px 8px/18px 10px no-repeat}.chartTypeIcon.linePoints{background:radial-gradient(circle,currentColor 0 2px,#0000 2.5px) 2px 15px/6px 6px no-repeat,radial-gradient(circle,currentColor 0 2px,#0000 2.5px) 9px 8px/6px 6px no-repeat,radial-gradient(circle,currentColor 0 2px,#0000 2.5px) 16px 12px/6px 6px no-repeat,linear-gradient(135deg,#0000 45%,currentColor 46% 54%,#0000 55%) 3px 9px/16px 9px no-repeat}.chartTypeIcon.stepLine{background:linear-gradient(currentColor,currentColor) 2px 16px/7px 1px no-repeat,linear-gradient(currentColor,currentColor) 9px 10px/1px 7px no-repeat,linear-gradient(currentColor,currentColor) 9px 10px/7px 1px no-repeat,linear-gradient(currentColor,currentColor) 16px 4px/1px 7px no-repeat,linear-gradient(currentColor,currentColor) 16px 4px/5px 1px no-repeat}.chartTypeIcon.area,.chartTypeIcon.areaHlc{background:linear-gradient(135deg,#0000 45%,currentColor 46% 54%,#0000 55%) 1px 5px/20px 11px no-repeat,repeating-linear-gradient(-45deg,currentColor 0 1px,#0000 1px 4px) 1px 12px/20px 8px no-repeat}.chartTypeIcon.areaHlc{opacity:.95;filter:drop-shadow(0 2px)}.chartTypeIcon.baseline{background:linear-gradient(currentColor,currentColor) 2px 11px/18px 1px no-repeat,linear-gradient(135deg,#0000 45%,currentColor 46% 54%,#0000 55%) 2px 4px/18px 8px no-repeat,linear-gradient(45deg,#0000 45%,currentColor 46% 54%,#0000 55%) 2px 12px/18px 8px no-repeat}.chartTypeIcon.minmax{background:linear-gradient(currentColor,currentColor) 5px 3px/1px 16px no-repeat,linear-gradient(currentColor,currentColor) 14px 3px/1px 16px no-repeat,linear-gradient(currentColor,currentColor) 3px 4px/5px 1px no-repeat,linear-gradient(currentColor,currentColor) 12px 18px/5px 1px no-repeat}.chartSource{display:none!important}@media (width<=900px){.tvToolbar{min-height:48px;overflow:auto visible}.tvToolbarLeft,.tvToolbarRight{flex-shrink:0}.tvDropdown{position:fixed;top:120px;left:12px;right:auto}.tvToolbarRight .tvDropdown{left:12px;right:auto}.tvIndicatorsBtn{min-width:auto;font-size:13px}}.tvIndicatorItem{opacity:1;justify-content:flex-start!important}.tvIndicatorItem .tvCheck{flex:0 0 18px}.tvIndicatorItem.active{color:#fff;background:#2f66ffb8}.tvIndicatorItem.active:hover{background:#2f66ff}@media (width<=720px){.positionsHeader{flex-direction:column}.positionsActions{flex-direction:row;width:100%;min-width:0}.positionsActions button{flex:1;height:40px}.portfolioSummary{grid-template-columns:1fr}.tradeEventRow{grid-template-columns:1fr;gap:4px}.tradeEventRow b{white-space:normal}.tradeEventRow small{text-align:left}.accountMiniStats{grid-template-columns:1fr}}.clientSessionBanner{color:#f8fafc;background:linear-gradient(#fbbf2429 0%,#f59e0b14 100%);border:1px solid #f59e0b5c;border-radius:14px;margin:0 20px 12px 104px;padding:10px 14px;font-size:13px;font-weight:800}.clientShell.light .clientSessionBanner{color:#7c2d12;background:linear-gradient(#fff7ed 0%,#ffedd5 100%)}.clientSessionBanner.error{color:#fecaca;background:linear-gradient(#ef44442e 0%,#7f1d1d29 100%);border-color:#ef444473}.clientShell.light .clientSessionBanner.error{color:#991b1b;background:linear-gradient(#fef2f2 0%,#fee2e2 100%)}.orderLocked{color:#fecaca;background:#ef44441f;border:1px solid #ef444457;border-radius:14px;margin-top:14px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.35}.clientShell.light .orderLocked{color:#991b1b;background:#fef2f2}.submitOrder:disabled{cursor:not-allowed;opacity:.55;filter:grayscale(.45)}.topDropdownWrap{align-items:center;display:inline-flex;position:relative}.topDropdown{z-index:80;background:#181818;border:1px solid #ffffff1c;border-radius:12px;min-width:260px;padding:10px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 20px 45px #00000061}.light .topDropdown{background:#fff;border-color:#0f172a1f;box-shadow:0 20px 45px #0f172a29}.topDropdown>strong{color:#facc15;padding:4px 6px 10px;font-size:13px;display:block}.light .topDropdown>strong{color:#92400e}.accountDropdown button{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:10px;display:flex}.accountDropdown button:hover,.accountDropdown button.active{background:#f59e0b1f;border-color:#f59e0b8c}.accountDropdown button span{flex-direction:column;gap:3px;display:flex}.accountDropdown button b{color:#fff;font-size:14px}.light .accountDropdown button b{color:#0f172a}.accountDropdown button small{color:#9ca3af;font-size:12px}.accountDropdown button em{color:#fff;white-space:nowrap;font-style:normal;font-weight:900}.light .accountDropdown button em{color:#0f172a}.languageDropdown{min-width:190px}.languageDropdown button{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:42px 1fr;align-items:center;gap:10px;padding:10px;display:grid}.languageDropdown button:hover,.languageDropdown button.active{background:#f59e0b1f;border-color:#f59e0b8c}.languageDropdown button b{color:#fff;font-size:14px}.light .languageDropdown button b{color:#0f172a}.languageDropdown button span{color:#9ca3af;font-size:13px}.flagPill{width:54px;min-width:54px;padding:0;font-size:21px;line-height:1}.languageDropdown button b{font-size:20px}.languageFlag{vertical-align:middle;border-radius:3px;flex:none;width:30px;height:20px;display:inline-block;position:relative;overflow:hidden;box-shadow:0 0 0 1px #ffffff38,0 3px 8px #00000047}.languageFlag-ru{background:linear-gradient(#fff 0 33.333%,#1c57a6 33.333% 66.666%,#d52b1e 66.666% 100%)}.languageFlag-de{background:linear-gradient(#000 0 33.333%,#d00 33.333% 66.666%,#ffce00 66.666% 100%)}.languageFlag-cs{background:linear-gradient(#fff 0 50%,#d7141a 50% 100%)}.languageFlag-cs:before{content:"";border-top:10px solid #0000;border-bottom:10px solid #0000;border-left:16px solid #11457e;width:0;height:0;position:absolute;top:0;left:0}.languageFlag-en{background:linear-gradient(33deg,#0000 42%,#fff 42% 47%,#c8102e 47% 53%,#fff 53% 58%,#0000 58%),linear-gradient(-33deg,#0000 42%,#fff 42% 47%,#c8102e 47% 53%,#fff 53% 58%,#0000 58%),linear-gradient(#0000 38%,#fff 38% 62%,#0000 62%),linear-gradient(90deg,#0000 38%,#fff 38% 62%,#0000 62%),linear-gradient(#0000 44%,#c8102e 44% 56%,#0000 56%),linear-gradient(90deg,#0000 44%,#c8102e 44% 56%,#0000 56%),#012169}.flagPill{justify-content:center;align-items:center;display:inline-flex}.flagPill .languageFlag{width:32px;height:22px}.languageDropdown button{grid-template-columns:42px 1fr}.languageDropdown button b{letter-spacing:.04em;font-size:14px}.languageFlagCell{justify-content:flex-start;align-items:center;display:flex}.languageDropdown .languageFlag{width:30px;height:20px}.quickAmountGrid{grid-template-columns:repeat(5,minmax(90px,1fr));gap:10px;margin-top:8px;display:grid}.quickAmountBtn{min-height:42px;color:var(--text-main);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;font-weight:800}.quickAmountBtn.active,.quickAmountBtn:hover{border-color:var(--accent);color:var(--accent)}.requestNoticeOverlay{z-index:10000;background:#0000009e;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.requestNoticeCard{width:min(440px,100%);color:var(--text-main);text-align:center;background:#1e1e1e;border:1px solid #ffaa006b;border-radius:14px;padding:28px;box-shadow:0 18px 70px #00000073}.requestNoticeIcon{border:2px solid var(--accent);width:58px;height:58px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 14px;font-size:30px;font-weight:900;display:flex}.requestNoticeCard h3{margin:0 0 10px;font-size:24px}.requestNoticeCard p{color:var(--text-soft);margin:0 0 22px;line-height:1.5}@media (width<=720px){.quickAmountGrid{grid-template-columns:repeat(2,minmax(120px,1fr))}}
