:root{font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#202925;background:#f4f6f5;font-synthesis:none;letter-spacing:0;color-scheme:light;--green:#15865b;--red:#ce4654;--muted:#839087;--line:#e4e9e6;--accent:#b9ed68}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,input,select{letter-spacing:0}input,select{min-width:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.7}[hidden]{display:none!important}.up{color:var(--green)!important}.down{color:var(--red)!important}.muted{color:var(--muted)}.pending{color:#a97515}.numeric{font-variant-numeric:tabular-nums}.topbar{height:64px;background:#171b1a;color:#e5eae7;display:flex;align-items:center;padding:0 26px;gap:46px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-icon{height:30px;width:30px;display:grid;place-items:center;background:var(--accent);color:#1a2910;border-radius:4px}.brand-icon svg{width:23px;height:23px}.brand h1{font-size:24px;line-height:1;margin:0;font-weight:650}.simulation{font-size:10px;color:#c1cebf;border:1px solid #455043;border-radius:3px;padding:3px 5px;margin-left:3px;white-space:nowrap}.topbar nav{align-self:stretch;display:flex;align-items:stretch;gap:28px;font-size:13px}.topbar nav a{display:flex;align-items:center;color:#959f99;border-bottom:2px solid transparent}.topbar nav a.current{color:#f0f6f2;border-color:var(--accent)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:25px}.connection{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#aebbb2}.dot{width:6px;height:6px;background:#a5aea7;border-radius:50%;display:inline-block;flex-shrink:0}.dot.online{background:#4cbd82}.dot.warning{background:#d4a14b}.fund-button{display:flex;align-items:center;gap:8px;background:var(--accent);color:#182514;border:0;border-radius:4px;padding:9px 14px;font-size:12px;font-weight:600}.fund-button:hover{background:#c9f28e}main{max-width:1920px;margin:0 auto}.account-band{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.15fr 195px;gap:26px;align-items:center;padding:22px 26px;background:#fff;border-bottom:1px solid var(--line)}.account-band>div{min-width:0;display:flex;flex-direction:column;gap:8px}.label{font-size:11px;color:#79867e;white-space:nowrap}.unit{font-size:10px;background:#f1f4f0;color:#74826e;padding:2px 4px;margin-left:6px;border-radius:2px}.account-band strong{font-size:24px;line-height:1.2;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.account-band .equity-metric strong{font-size:30px;font-weight:650}.account-id,.metric-sub{font-size:10px;color:#87928b}.fund-shortcuts{border-left:1px solid var(--line);padding-left:24px}.fund-shortcuts button{border:0;background:transparent;display:flex;gap:10px;align-items:center;text-align:left;padding:0;color:#3e5045}.fund-shortcuts button>svg:first-child{color:#54876a;width:17px}.fund-shortcuts button>svg:last-child{margin-left:auto;width:13px;color:#a2aca4}.fund-shortcuts button span{font-size:11px;line-height:1.6}.fund-shortcuts small{display:block;font-size:10px;color:#8b998b;font-variant-numeric:tabular-nums}.ticker-strip{height:42px;border-bottom:1px solid var(--line);background:#fafcfb;display:flex;align-items:center;overflow:auto;scrollbar-width:none}.ticker-strip>button{flex:1;display:flex;align-items:center;gap:11px;padding:0 22px;height:22px;border:0;border-right:1px solid var(--line);background:transparent;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}.ticker-strip b{font-weight:650}.ticker-strip span{color:#68796e}.ticker-strip small{font-size:10px;margin-left:auto}.global-notice{margin:0;background:#fff4d9;padding:9px 26px;font-size:12px;line-height:1.7;color:#926115;border-bottom:1px solid #efd7aa}.terminal{display:grid;grid-template-columns:245px minmax(0,1fr) 310px;align-items:stretch;background:#fff}.market-pane{grid-row:1 / 3;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.pane-heading{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 17px}.pane-heading h2{margin:0;font-size:14px;font-weight:650}.pane-heading h2 span{font-size:10px;font-weight:400;color:#8b978f;margin-left:7px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;padding:0;border:0;border-radius:3px;background:transparent;color:#7d8a81}.icon-button:hover{background:#edf3ef;color:#315b44}.market-search{display:flex;gap:8px;align-items:center;background:#f3f6f4;margin:0 14px 12px;padding:0 9px;border:1px solid #e9eee9;border-radius:4px;min-height:33px}.market-search svg{width:14px;color:#8c988e}.market-search input{border:0;background:transparent;outline:0!important;width:100%;height:30px;padding:0;color:#38463c;font-size:11px}.market-search input::placeholder{color:#8a978d}.market-filters{display:flex;align-items:center;justify-content:space-between;padding:0 14px 8px}.small-tabs{display:flex;gap:15px}.small-tabs button{background:none;border:0;padding:5px 0;color:#939e97;font-size:11px}.small-tabs button[aria-pressed=true]{color:#247b53;font-weight:600}.market-filters select{max-width:90px;border:0;background:transparent;color:#89958e;font-size:10px;outline-offset:0}.market-columns{display:flex;justify-content:space-between;font-size:9px;color:#96a198;padding:9px 17px;background:#fafcfb;border-top:1px solid #eff3f0;border-bottom:1px solid #eff3f0}.market-list{height:587px;overflow:auto;scrollbar-width:thin;scrollbar-color:#dbe4dd transparent;flex:1;min-height:200px;max-height:750px}.market-row{display:flex;align-items:center;padding:0 10px 0 7px;border-bottom:1px solid #f2f5f3;min-height:54px}.market-row:hover{background:#f7faf8}.market-row.selected{background:#edf6ef;border-left:2px solid #409368;padding-left:5px}.star-button{color:#b8c3bb;width:24px;height:28px;min-width:24px;padding:0;display:grid;place-items:center;border:0;background:transparent}.star-button svg{width:12px;height:12px;stroke-width:1.5}.star-button.active svg{fill:#c89a35;color:#c89a35}.market-select{border:0;background:none;display:flex;align-items:center;gap:8px;min-width:0;width:100%;text-align:left;padding:9px 0;font-size:11px}.coin-mini{width:24px;height:24px;border-radius:50%;object-fit:contain;flex-shrink:0}.coin-fallback{display:grid;place-items:center;background:#e6eee8;color:#4f725b;font-size:11px}.market-identity{min-width:0;flex:1}.market-identity b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;max-width:83px}.market-identity small{color:#99a39b;font-size:9px;display:block;margin-top:5px}.market-quote{text-align:right;font-variant-numeric:tabular-nums;min-width:0}.market-quote b{display:block;font-size:11px;font-weight:500}.market-quote small{font-size:10px;display:block;margin-top:5px}.list-empty{font-size:12px;color:#93a094;text-align:center;padding:30px 8px}.market-foot{display:flex;align-items:center;justify-content:center;gap:5px;padding:14px 8px;border-top:1px solid var(--line);font-size:9px;color:#93a094;white-space:nowrap}.chart-pane{min-width:0;border-bottom:1px solid var(--line);display:flex;flex-direction:column}.instrument-bar{display:flex;align-items:center;gap:20px;padding:20px 21px 16px;min-height:93px;border-bottom:1px solid #f0f3f1;flex-wrap:wrap}.instrument-identity{display:flex;align-items:center;gap:10px;min-width:0}.instrument-identity img{object-fit:contain;border-radius:50%;flex-shrink:0}.instrument-identity>div{min-width:0}.instrument-name{display:flex;align-items:center;gap:6px}.instrument-name select{border:0;background:transparent;max-width:170px;font-size:17px;font-weight:650;margin-left:-4px;color:#263b2d;padding:0;cursor:pointer}.venue{font-size:8px;color:#849084;background:#f0f4f0;padding:3px 4px;border-radius:2px;white-space:nowrap}#coin-name{font-size:10px;color:#87948a;display:block;margin-top:6px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.instrument-price{display:flex;flex-direction:column;gap:5px;min-width:0;font-variant-numeric:tabular-nums}.instrument-price strong{font-size:22px;font-weight:550;overflow-wrap:anywhere}.instrument-price span{font-size:11px}.instrument-cap{margin-left:auto;display:flex;flex-direction:column;gap:9px;text-align:right;min-width:0}.instrument-cap strong{font-size:11px;font-weight:500;overflow-wrap:anywhere}.chart-toolbar{display:flex;align-items:center;gap:12px;padding:12px 18px 4px;flex-wrap:wrap}.segments{display:flex;border-radius:3px;background:#f0f4f1;padding:2px}.segments button,.range-buttons button{border:0;background:transparent;font-size:10px;padding:5px 10px;color:#8b988e;border-radius:2px;min-height:26px}.segments button[aria-pressed=true]{background:white;color:#35764c;box-shadow:0 1px 3px #203d2610}.range-buttons{display:flex;gap:5px}.range-buttons button[aria-pressed=true]{background:#edf5ed;color:#358056}.log-control{font-size:10px;color:#8a998d;display:flex;align-items:center;gap:4px;margin-left:auto;white-space:nowrap}.log-control input{accent-color:#388459;width:12px;height:12px;margin:0}.chart-value{width:100%;font-size:9px;color:#9ba79e;min-height:15px;display:none}.chart-frame{height:316px;min-height:260px;flex:1;position:relative;padding:10px 12px 0;width:100%}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;background:#ffffffed;color:#8b988f;font-size:12px;padding:15px;text-align:center;pointer-events:none}.trend-caption{display:flex;gap:8px;justify-content:space-between;padding:5px 20px 10px;color:#98a49b;font-size:9px;line-height:1.6;flex-wrap:wrap}.quote-details{padding:12px 20px;border-top:1px solid #f0f3f1;display:flex;gap:18px;align-items:center;font-size:9px;color:#99a49d;flex-wrap:wrap;min-height:39px}.quote-details b{font-weight:400;color:#64766a;margin-left:5px;font-variant-numeric:tabular-nums}.quote-state{color:#488663;margin-left:auto}.order-pane{border-left:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;padding:0 19px 15px}.trade-modes{display:flex;align-items:center;height:54px;border-bottom:1px solid var(--line);gap:26px;margin-bottom:16px}.trade-modes>button:not(.icon-button){align-self:stretch;border:0;border-bottom:2px solid transparent;background:transparent;font-size:13px;padding:0;color:#8c988f}.trade-modes>button[aria-pressed=true]{border-bottom-color:#358a59;color:#2a573a;font-weight:650}.trade-modes>.icon-button{margin-left:auto}.side-segments{display:grid;grid-template-columns:1fr 1fr;background:#f1f4f2;border-radius:4px;padding:3px;gap:4px}.side-segments button{border:0;background:none;color:#8b998f;font-size:12px;min-height:33px;border-radius:3px;font-weight:600}.side-segments [data-side=buy][aria-pressed=true]{background:#dcefe4;color:#26744d}.side-segments [data-side=sell][aria-pressed=true]{background:#f9e4e6;color:#bf4b57}.order-options{display:flex;justify-content:space-between;align-items:center;margin:15px 0 11px}.order-options select{border:0;background:none;font-size:11px;color:#586b5f;padding:0;margin-left:-4px}.isolated-tag{font-size:10px;color:#607b62;border:1px solid #d5e4d7;padding:2px 7px;border-radius:3px}.market-price{display:flex;justify-content:space-between;font-size:11px;background:#f6f8f6;padding:13px 12px;border:1px solid #eef2ee;border-radius:4px;margin-bottom:13px;color:#9aa69c}.market-price b{font-weight:400;color:#657c68}.field{display:flex;flex-direction:column;border:1px solid #dee6df;border-radius:4px;padding:10px 12px 8px;margin-bottom:10px;background:#fcfdfc}.field:focus-within{border-color:#68a47a}.field>span{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#7c8e7e}.field b{font-size:9px;font-weight:400;color:#98a499}.field input{width:100%;outline:0!important;border:0;background:transparent;color:#2c4133;padding:8px 0 0;font-size:17px;font-variant-numeric:tabular-nums;height:33px}.field input::placeholder{font-size:12px;color:#bcc5be}.leverage-field{margin:13px 0 16px}.leverage-field label{display:flex;justify-content:space-between;font-size:10px;color:#829384}.leverage-field output{color:#42654b;font-weight:600}.leverage-field input{width:100%;accent-color:#4c8d5e;height:18px;margin:9px 0 0}.leverage-presets{display:flex;justify-content:space-between}.leverage-presets button{font-size:9px;color:#98a599;border:0;background:none;padding:2px}.allocation{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.allocation button{font-size:9px;background:#f3f6f3;border:0;color:#91a093;height:24px;border-radius:2px}.allocation button:hover{background:#e6eee7;color:#438353}.available-line{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#95a396;margin:12px 0 17px;overflow-wrap:anywhere}.available-line>span:last-child{color:#657a6a;font-variant-numeric:tabular-nums;text-align:right}.order-estimate{margin:0 0 16px;font-size:10px;display:flex;flex-direction:column;gap:10px}.order-estimate div{display:flex;justify-content:space-between;gap:12px}.order-estimate dt{color:#91a094;flex-shrink:0}.order-estimate dd{margin:0;color:#6a7f6e;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}.submit-order{border:0;border-radius:4px;color:#fff;width:100%;min-height:42px;font-size:13px;font-weight:600;padding:10px 12px;overflow-wrap:anywhere}.submit-order.buy{background:#30835a}.submit-order.sell{background:#c34d59}.submit-order.buy:hover:not(:disabled){background:#236b48}.submit-order.sell:hover:not(:disabled){background:#ac3e49}.ticket-caption{font-size:9px;color:#a6b1a8;text-align:center;margin:11px 0 0;line-height:1.6}.form-error{font-size:11px;line-height:1.6;color:#b84c57;background:#fef1f1;padding:9px;border-radius:3px;margin:0 0 12px;overflow-wrap:anywhere}.portfolio-pane{grid-column:2 / 4;min-width:0}.portfolio-toolbar{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:0 17px;min-height:48px}.portfolio-tabs{display:flex;gap:25px;overflow:auto;scrollbar-width:none;flex:1}.portfolio-tabs button{height:48px;flex-shrink:0;border:0;background:none;border-bottom:2px solid transparent;font-size:11px;padding:0;color:#92a095;white-space:nowrap}.portfolio-tabs button[aria-selected=true]{color:#306440;border-bottom-color:#4a8960;font-weight:600}.portfolio-tabs button span{font-size:9px;color:#8d9e90;margin-left:4px}.portfolio-table-wrap{overflow:auto;min-height:175px;max-height:360px;position:relative;scrollbar-width:thin;scrollbar-color:#d8e1da transparent}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}th{text-align:right;font-size:9px;color:#99a59b;font-weight:400;padding:12px 16px;background:#fcfdfc;position:sticky;top:0;z-index:1}td{padding:13px 16px;border-top:1px solid #f0f4f0;text-align:right;color:#586f5d}th:first-child,td:first-child{text-align:left}td:first-child{color:#304b37;font-weight:600}td small{display:block;font-size:9px;color:#97a79a;font-weight:400;margin-top:5px}.row-action{font-size:10px;color:#4d815a;background:#f0f6ef;border:1px solid #dce9db;border-radius:3px;min-height:27px;padding:4px 10px;white-space:nowrap}.row-action:hover{background:#e1efdf}.row-coin{background:none;border:0;color:inherit;font-weight:600;font-size:11px;padding:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.row-coin:hover{color:var(--green)}.side-badge{font-size:9px;padding:3px 5px;margin-left:7px;border-radius:2px;font-weight:400;background:#edf5ef;color:var(--green)}.side-badge.short{background:#fbedef;color:var(--red)}.risk-meter{height:3px;width:50px;background:#e9eee9;margin-top:5px;margin-left:auto;overflow:hidden}.risk-meter>span{display:block;height:100%;background:#66a66c}.risk-meter.danger>span{background:var(--red)}.portfolio-empty{height:163px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#a6b3a8;font-size:11px}.portfolio-empty svg{width:31px;height:31px;color:#bfcac0;stroke-width:1}.portfolio-footer{padding:11px 18px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#98a69a;line-height:1.7;flex-wrap:wrap}.portfolio-footer b{font-weight:400;color:#667e6b;font-variant-numeric:tabular-nums}.page-footer{display:flex;justify-content:space-between;padding:14px 22px;border-top:1px solid var(--line);font-size:9px;line-height:1.7;color:#96a198;gap:12px;flex-wrap:wrap}.footer-separator{margin:0 12px;color:#c4cdc6}.mobile-only{display:none}dialog{width:410px;max-width:calc(100% - 28px);max-height:calc(100dvh - 40px);border:1px solid #d8e1da;border-radius:7px;padding:24px;color:#304335;background:#fff;box-shadow:0 20px 80px #14271d30;overflow:auto}dialog::backdrop{background:#11211a70;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.dialog-heading h2{font-size:18px;margin:0;font-weight:600}.fund-tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;background:#f1f5f1;border-radius:4px;gap:4px}.fund-tabs button{min-height:39px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;border-radius:3px;font-size:12px;color:#829383}.fund-tabs button[aria-pressed=true]{background:#fff;color:#357248;box-shadow:0 1px 3px #28462c12}.fund-tabs svg{width:15px}.fund-reward{padding:30px 0;display:flex;align-items:center;flex-direction:column;gap:10px;border-bottom:1px solid var(--line)}.fund-reward>span{font-size:11px;color:#95a396}.fund-reward strong{font-size:40px;color:#3e7950;font-weight:600;font-variant-numeric:tabular-nums}.fund-details{display:flex;flex-direction:column;gap:16px;padding:9px 0;margin:16px 0;font-size:12px}.fund-details>div{display:flex;justify-content:space-between;gap:15px}.fund-details dt{color:#8b9c8e}.fund-details dd{margin:0;text-align:right;overflow-wrap:anywhere}.fund-message{font-size:12px;line-height:1.8;color:#849688;padding:13px;background:#f5f8f5;border-radius:3px}.dialog-primary{background:#328456;color:white;border:0;border-radius:4px;min-height:42px;padding:10px 15px;width:100%;font-size:13px}.dialog-primary:disabled{background:#e4ebe5;color:#a1afa4;opacity:1}.dialog-footnote{text-align:center;font-size:10px;line-height:1.8;color:#a1afa4;margin:12px 0 0}.rules-list{font-size:12px;display:flex;flex-direction:column;gap:15px}.rules-list>div{display:flex;justify-content:space-between;gap:15px}.rules-list dt{color:#8fa094}.rules-list dd{margin:0;text-align:right}#rules-dialog p{font-size:12px;line-height:1.9;color:#85978a;padding-top:12px;border-top:1px solid var(--line)}#confirm-description{font-size:13px;color:#65806c;line-height:1.8}#confirm-submit{margin-top:16px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#213c2c;color:#eaf5eb;padding:13px 22px;max-width:calc(100% - 28px);border:1px solid #44654d;border-radius:5px;box-shadow:0 6px 20px #13281820;font-size:12px;line-height:1.6;z-index:20;overflow-wrap:anywhere;pointer-events:none}#toast.error{background:#6f3038;border-color:#9b5a63;color:#ffedf0}.drawer-backdrop{position:fixed;inset:0;background:#16291c77;z-index:9}
@media(min-width:1600px){.terminal{grid-template-columns:280px minmax(0,1fr) 345px}.chart-frame{height:355px}.market-list{max-height:840px}.order-pane{padding-left:26px;padding-right:26px}.account-band{gap:44px}}
@media(max-width:1200px){.terminal{grid-template-columns:215px minmax(0,1fr) 275px}.order-pane{padding-left:14px;padding-right:14px}.account-band{gap:20px;grid-template-columns:1.2fr 1fr 1fr 1fr 170px;padding-left:20px;padding-right:20px}.fund-shortcuts{padding-left:16px}.account-band strong{font-size:21px}.account-band .equity-metric strong{font-size:27px}.instrument-bar{gap:14px;padding:18px 15px}.instrument-cap{display:none}.instrument-name select{max-width:145px;font-size:16px}.instrument-price strong{font-size:20px}.market-identity b{max-width:66px}.market-quote b{font-size:10px}.portfolio-tabs{gap:19px}.topbar{gap:30px}}
@media(max-width:1020px){.terminal{grid-template-columns:minmax(0,1fr) 295px}.market-pane{display:none;position:fixed;inset:0 auto 0 0;width:330px;max-width:92%;z-index:10;background:#fff;box-shadow:8px 0 30px #14241a20}.market-pane.open{display:flex}.market-list{max-height:none;height:auto}.mobile-only{display:inline-flex}.chart-pane{grid-column:1}.order-pane{grid-column:2}.portfolio-pane{grid-column:1 / 3}.account-band{grid-template-columns:1.15fr 1fr 1fr 1fr}.fund-shortcuts{display:none!important}.instrument-cap{display:flex}.instrument-name select{max-width:120px}.ticker-strip>button{padding:0 17px}.chart-frame{height:315px}.market-identity b{max-width:130px}.market-quote b{font-size:12px}}
@media(max-width:760px){.topbar{height:58px;padding:0 16px;gap:20px}.brand h1{font-size:22px}.brand-icon{height:27px;width:27px}.brand-icon svg{width:20px;height:20px}.simulation{font-size:9px}.topbar nav{gap:16px;font-size:11px}.top-actions{gap:8px}.connection{display:none}.fund-button{padding:8px 10px;gap:5px;font-size:11px}.fund-button svg{width:15px}.account-band{grid-template-columns:1fr 1fr;gap:22px 26px;padding:22px 20px}.account-band strong{font-size:23px}.account-band .equity-metric strong{font-size:28px}.account-band>div{gap:7px}.label{font-size:10px}.unit{font-size:8px;margin-left:3px}.metric-sub,.account-id{font-size:9px}.ticker-strip{height:40px}.ticker-strip>button{padding:0 17px;font-size:10px;gap:10px;flex:none;min-width:180px}.terminal{grid-template-columns:minmax(0,1fr)}.chart-pane{grid-column:1}.order-pane{grid-column:1;border-left:0;padding:0 20px 22px}.portfolio-pane{grid-column:1}.instrument-bar{padding:16px;gap:13px;min-height:88px}.instrument-identity{gap:8px}.instrument-identity img{width:28px;height:28px}.instrument-name select{max-width:116px;font-size:16px}.instrument-price{margin-left:auto}.instrument-price strong{font-size:21px}.instrument-cap{display:none}.instrument-identity .icon-button{width:25px;min-width:25px}.venue{display:none}.chart-frame{height:280px;min-height:280px;flex:none;padding:7px 6px 0}.chart-toolbar{padding:10px 16px 0}.trend-caption{padding:5px 16px 10px;gap:3px;font-size:8px}.quote-details{padding:10px 16px;font-size:8px;gap:12px}.trade-modes{height:53px;margin-bottom:14px}.trade-modes>button:not(.icon-button){font-size:14px}.side-segments button{min-height:35px;font-size:13px}.order-options{margin-top:17px}.order-options select{font-size:12px}.field{padding:12px 13px 10px}.field>span{font-size:11px}.field input{font-size:19px;height:37px}.market-price{font-size:12px;padding:14px 13px}.allocation button{font-size:10px;height:28px}.available-line{font-size:11px;margin-bottom:20px}.order-estimate{font-size:11px;gap:12px}.submit-order{min-height:45px;font-size:14px}.ticket-caption{font-size:10px}.portfolio-toolbar{padding:0 14px}.portfolio-tabs{gap:17px}.portfolio-tabs button{font-size:11px}.portfolio-tabs button span{font-size:8px;margin-left:2px}.portfolio-toolbar>.icon-button{width:26px;min-width:26px}.portfolio-table-wrap{max-height:340px}.portfolio-footer{padding:11px 15px;font-size:8px}.page-footer{padding:14px 16px;font-size:8px;gap:3px;flex-direction:column}.global-notice{padding:9px 16px;font-size:11px}.leverage-field label{font-size:11px}.leverage-presets button{font-size:10px}.leverage-field input{height:22px}.order-pane form{max-width:520px;margin:auto}.fund-shortcuts{display:none!important}}
@media(max-width:390px){.topbar{padding:0 12px;gap:16px}.topbar nav{gap:12px}.topbar nav a:last-child{display:none}.brand{gap:7px}.account-band{padding:20px 16px;gap:21px 17px}.instrument-name select{max-width:102px}.instrument-price strong{font-size:19px}.instrument-bar{gap:7px}.portfolio-tabs{gap:14px}.portfolio-tabs button{font-size:10px}.trend-caption{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.chart-frame canvas{position:absolute;left:12px;top:10px}.chart-pane{overflow:hidden}.chart-frame{min-height:300px}.quote-details{margin-top:auto}.label{color:#7a8588}.market-columns{font-size:10px}.market-identity small{font-size:10px}.market-quote small{font-size:11px}.order-estimate,.available-line{font-size:11px}.field>span{font-size:11px}.ticket-caption{font-size:10px}.portfolio-tabs button{font-size:12px}th{font-size:10px}td{font-size:12px}.trend-caption{font-size:10px}.quote-details{font-size:10px}.portfolio-footer{font-size:10px}.account-id,.metric-sub{font-size:11px}.instrument-name select{color:#253d37}.fund-message{color:#74817e}.segments button[aria-pressed=true]{color:#3977a3}
@media(max-width:760px){.chart-frame{height:280px;min-height:280px}.chart-frame canvas{left:6px;top:7px}.trend-caption{font-size:9px}.quote-details{font-size:9px}.portfolio-tabs button{font-size:11px}.account-id,.metric-sub{font-size:10px}.portfolio-footer{font-size:9px}}
@media(max-width:390px){.portfolio-tabs button{font-size:10px}}
.market-list{height:0;flex:1 1 0px}.bottom-nav,.wallet-pane,.phone-only{display:none}
@media(max-width:760px){
  body{padding-bottom:calc(74px + env(safe-area-inset-bottom));background:#fff}body[data-mobile-view=trade]{padding-bottom:calc(144px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;z-index:8;padding-top:env(safe-area-inset-top);height:calc(54px + env(safe-area-inset-top));gap:12px}.topbar nav{display:none}.brand h1{font-size:23px}.brand-icon{width:29px;height:29px}.top-actions{margin-left:auto}.fund-button{min-height:34px;font-size:12px;padding:8px 12px}.simulation{font-size:10px}.phone-only{display:flex}.account-band{grid-template-columns:1fr 1fr;padding:17px 18px 15px;gap:15px}.account-band>div{gap:7px}.account-band>div:nth-child(3),.account-band>div:nth-child(4){display:none}.account-band strong,.account-band .equity-metric strong{font-size:25px}.account-id,.metric-sub{font-size:9px}.label{font-size:11px}.unit{font-size:9px}.ticker-strip,.page-footer{display:none}.terminal{display:block}.instrument-bar{min-height:73px;padding:12px 16px}.instrument-price strong{font-size:21px}.instrument-name select{max-width:125px}.instrument-identity .icon-button{width:29px;min-width:29px;min-height:36px}.chart-toolbar{padding:5px 16px 2px;gap:8px;min-height:40px}.chart-toolbar .segments button,.chart-toolbar .range-buttons button{font-size:11px;min-height:30px}.chart-toolbar .log-control{font-size:11px}.chart-toolbar>.icon-button{width:26px;min-width:26px;height:30px}.chart-frame{height:180px;min-height:180px}.trend-caption{font-size:8px;padding:4px 16px 8px;gap:2px}.trend-caption #trend-updated{display:none}.quote-details{font-size:9px;padding:8px 16px;min-height:30px;gap:9px}.chart-pane{border-bottom:7px solid #f2f5f3}.chart-collapsed .chart-frame,.chart-collapsed .trend-caption{display:none}.order-pane{padding:0 17px 12px}.order-pane .trade-modes{height:46px;margin-bottom:12px}.order-pane .side-segments button{min-height:34px}.order-pane .order-options{margin:13px 0 12px;min-height:20px}.order-options select{font-size:13px}.market-price{display:none}.order-pane .field{padding:10px 12px 8px;margin-bottom:9px}.field>span{font-size:12px}.field b{font-size:10px}.field input{height:36px;font-size:20px}.allocation button{height:30px;font-size:11px}.available-line{margin:11px 0 17px;font-size:12px}.order-estimate{font-size:12px;gap:13px}.ticket-caption{display:none}.submit-bar{position:fixed;left:0;right:0;bottom:calc(61px + env(safe-area-inset-bottom));padding:9px 16px 10px;background:#fffffff5;border-top:1px solid #e5ece7;z-index:7}.submit-order{min-height:43px;font-size:15px;border-radius:4px}.order-pane form{max-width:none}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;height:calc(62px + env(safe-area-inset-bottom));padding:5px 6px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #e4ebe6;background:#fff;z-index:8}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:46px;background:none;border:0;font-size:11px;color:#98a49d}.bottom-nav button>svg,.nav-icon>svg{width:20px;height:20px;stroke-width:1.7}.bottom-nav button[aria-pressed=true]{color:#287a54;font-weight:650}.bottom-nav button[aria-pressed=true] svg{stroke-width:2}.nav-icon{position:relative;height:20px}.nav-icon>b{position:absolute;left:15px;top:-6px;background:#dceee3;color:#267448;min-width:15px;padding:1px 4px;border:1px solid #fff;border-radius:8px;font-size:8px;font-weight:500}.phone-portfolio-heading{flex-direction:column;padding:23px 18px;background:#fafcfb;border-bottom:1px solid var(--line);gap:23px}.phone-portfolio-heading h2{margin:0;font-size:22px;font-weight:650}.phone-portfolio-heading>div{display:flex;flex-direction:column;gap:9px}.phone-portfolio-heading span{font-size:11px;color:#87988d}.phone-portfolio-heading strong{font-size:31px;font-weight:600;font-variant-numeric:tabular-nums}.phone-portfolio-heading small{font-size:11px;color:#8b9b90}.phone-portfolio-heading b{font-weight:500}.portfolio-tabs button{font-size:12px;min-height:48px}.portfolio-tabs{gap:18px}.portfolio-toolbar{padding:0 15px}.portfolio-table-wrap{min-height:200px;max-height:none}.portfolio-empty{height:240px}.portfolio-footer{font-size:10px;line-height:1.8;padding:13px 17px}.portfolio-table-wrap table{font-size:12px}th,td{padding-left:14px;padding-right:14px}.row-action{min-height:34px;font-size:12px}.wallet-pane{padding:23px 18px 0}.wallet-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.wallet-heading h2{margin:0;font-size:22px;font-weight:650}.wallet-heading>span{font-size:9px;color:#9aa89e}.wallet-balance{display:flex;flex-direction:column;gap:12px;padding:35px 0 25px}.wallet-balance>span{font-size:12px;color:#81958a}.wallet-balance>strong{font-size:38px;font-weight:600;font-variant-numeric:tabular-nums}.wallet-balance small{font-size:11px;color:#9aab9f}.wallet-balance small b{font-weight:500;margin-left:5px}.wallet-assets{display:grid;grid-template-columns:1fr 1fr;gap:25px 15px;padding:23px 0;margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.wallet-assets>div{display:flex;flex-direction:column;gap:10px}.wallet-assets dt{font-size:11px;color:#93a197}.wallet-assets dd{font-size:18px;font-weight:500;margin:0;color:#3a5142;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-section-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 0 8px}.wallet-section-heading h3{font-size:14px;font-weight:600;margin:0}.wallet-section-heading>span{font-size:10px;color:#9dab9f}.wallet-channel{width:100%;display:flex;align-items:center;gap:12px;padding:19px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.wallet-channel>span:nth-child(2){display:flex;flex-direction:column;gap:7px}.wallet-channel b{font-size:14px;font-weight:500;color:#385240}.wallet-channel small{font-size:11px;color:#90a195}.channel-icon{width:41px;height:41px;display:grid;place-items:center;background:#eef5ec;border-radius:5px;color:#63915e;flex-shrink:0}.channel-icon.payment{background:#edf3fa;color:#6592b1}.channel-icon svg{height:21px;width:21px}.wallet-channel .channel-status{font-size:10px;color:#a3afa5;margin-left:auto;white-space:nowrap}.wallet-channel>svg{width:15px;color:#a4b1a7}.wallet-history{display:flex;align-items:center;gap:11px;width:100%;background:none;border:0;padding:23px 0;color:#738e7a}.wallet-history span{font-size:12px}.wallet-history>svg:last-child{margin-left:auto;width:15px;color:#a6b3a9}body:not([data-mobile-view=trade]) .account-band,body:not([data-mobile-view=trade]) .chart-pane,body:not([data-mobile-view=trade]) .order-pane{display:none}body:not([data-mobile-view=positions]) .portfolio-pane{display:none}body[data-mobile-view=wallet] .wallet-pane{display:block}body[data-mobile-view=markets] .market-pane{display:flex;position:relative;inset:auto;width:100%;max-width:none;height:calc(100dvh - 117px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:360px;box-shadow:none;border-right:0}.market-pane .pane-heading{height:64px;min-height:64px;padding:0 18px}.pane-heading h2{font-size:22px}.pane-heading h2 span{font-size:11px}.market-search{margin:0 18px 16px;height:40px;flex-shrink:0}.market-search input{height:38px;font-size:13px}.market-search svg{width:16px}.market-filters{padding:0 18px 12px}.small-tabs{gap:25px}.small-tabs button{font-size:13px;min-height:33px}.market-filters select{font-size:12px;max-width:110px;min-height:33px}.market-columns{font-size:11px;padding:12px 19px}.market-list{height:0;min-height:0}.market-row{min-height:68px;padding:0 18px 0 12px}.market-row.selected{padding-left:10px}.market-select{gap:12px;padding:13px 0}.star-button{width:29px;min-width:29px;height:40px}.star-button svg{height:15px;width:15px}.coin-mini{width:30px;height:30px}.market-identity b{font-size:14px;max-width:150px}.market-identity small{font-size:11px}.market-quote b{font-size:14px}.market-quote small{font-size:12px}.market-foot{font-size:10px;min-height:35px;padding:9px}#toast{bottom:calc(138px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);width:max-content;text-align:center;font-size:12px}body:not([data-mobile-view=trade]) #toast{bottom:calc(83px + env(safe-area-inset-bottom))}dialog{padding:22px;max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.fund-reward strong{font-size:38px}.fund-details{font-size:13px}.fund-message{font-size:12px}.dialog-primary{min-height:45px;font-size:14px}
}
@media(max-width:370px){.account-band{padding-left:16px;padding-right:16px}.account-band strong,.account-band .equity-metric strong{font-size:23px}.instrument-name select{max-width:100px}.instrument-price strong{font-size:19px}.chart-toolbar{gap:5px;padding-left:13px;padding-right:13px}.chart-toolbar .segments button,.chart-toolbar .range-buttons button{padding-left:8px;padding-right:8px}.portfolio-tabs{gap:13px}.portfolio-tabs button{font-size:11px}.wallet-channel{gap:10px}.wallet-channel b{font-size:13px}.wallet-channel small{font-size:10px}.wallet-channel .channel-status{font-size:9px}}
@media(max-width:760px){
  .portfolio-table-wrap{overflow:visible}#portfolio-table,#portfolio-table tbody{display:block;width:100%}#portfolio-table thead{display:none}#portfolio-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 16px;padding:22px 18px;position:relative;border-bottom:6px solid #f3f6f4}#portfolio-table td{display:block;border:0;padding:0;text-align:left;font-size:14px;white-space:normal;overflow-wrap:anywhere;font-weight:500;line-height:1.5;min-width:0}#portfolio-table td::before{content:attr(data-label);display:block;color:#8fa093;font-size:11px;font-weight:400;margin-bottom:8px}#portfolio-table td:first-child{grid-column:1 / -1;padding-right:85px;font-size:16px;min-height:32px}#portfolio-table td:first-child::before{display:none}#portfolio-table .row-coin{font-size:16px;max-width:130px}#portfolio-table td small{font-size:11px;margin-top:5px}#portfolio-table .side-badge{font-size:10px;white-space:nowrap}#portfolio-table:not([data-view=history]) td:last-child{position:absolute;right:18px;top:21px}#portfolio-table:not([data-view=history]) td:last-child::before{display:none}#portfolio-table .row-action{min-width:63px;min-height:35px;font-size:12px}#portfolio-table .risk-meter{margin-left:0;margin-top:6px;width:72px}#portfolio-table[data-view=history] td:first-child{padding-right:0}#portfolio-table[data-view=history] td:last-child{grid-column:1 / -1;font-size:11px;color:#8fa093;display:flex;gap:8px;align-items:center}#portfolio-table[data-view=history] td:last-child::before{display:none}#portfolio-table[data-view=history] td:last-child small{margin-top:0;font-size:11px}#fund-dialog,#confirm-dialog{width:100%;max-width:none;margin:auto 0 0;border-radius:8px 8px 0 0;border-bottom:0;padding-bottom:calc(23px + env(safe-area-inset-bottom))}
}
