.futures-wrap{box-sizing:border-box;color:#e8f1fb;width:100%;max-width:1680px;margin:0 auto;padding:22px 28px 40px;overflow-x:hidden}.futures-wrap>.trade-head{grid-area:1/2;min-width:0;margin:0}.futures-wrap>.trade-head .pair{color:#f4f7fb;align-items:center;gap:10px;font-size:26px;font-weight:800;display:flex}.futures-wrap>.trade-head .price{color:#f7fbff;margin-top:10px;font-size:34px;font-weight:850;line-height:1}.futures-wrap>.trade-head .price .up{color:#34d399;margin-left:10px}.futures-wrap>.trade-head>.muted{color:#7890a8}.market-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.market-stats span{color:#8295aa;box-sizing:border-box;background:#0b1726;border:1px solid #20364d;border-radius:10px;flex-direction:column;justify-content:space-between;gap:8px;min-height:62px;padding:10px;font-size:12px;display:flex}.market-stats b{color:#e8f1fb;font-weight:750}.futures-expand-button{display:none}.market-list.futures-market-list{box-sizing:border-box;background:#09131f;border:1px solid #20364d;border-radius:12px;grid-template-columns:1fr;gap:8px;padding:10px;display:grid}.market-list.futures-market-list button{color:#b8c7d9;min-height:42px;font:inherit;cursor:pointer;background:#0d1b2a;border:1px solid #1d3045;border-radius:9px;align-items:center;gap:8px;padding:9px 11px;font-size:13px;display:flex}.market-list.futures-market-list button:hover{background:#142a43;border-color:#31577e}.market-list.futures-market-list button.selected{color:#fff;background:#12345a;border-color:#2d8cff}.futures-grid,.futures-chart-area{display:contents}.chart.live-chart{box-sizing:border-box;background:#070d15;border:1px solid #20364d;border-radius:14px;width:100%!important;height:390px!important;min-height:390px!important;max-height:390px!important;margin:0!important;overflow:hidden!important}.chart.live-chart .chart-toolbar{background:#0b1624!important;border-bottom:1px solid #20364d!important;height:44px!important;min-height:44px!important}.chart.live-chart .tradingview-widget-container{height:346px!important;max-height:346px!important;overflow:hidden!important}.chart.live-chart iframe{border:0!important;width:100%!important;height:100%!important}.order-panel{box-sizing:border-box;width:100%;background:#0b1726!important;border:1px solid #20364d!important;border-radius:14px!important;align-self:start!important;height:auto!important;min-height:0!important;padding:20px!important;position:static!important}.panel-title,.section-heading{justify-content:space-between;align-items:flex-start;display:flex}.panel-title{margin-bottom:18px}.panel-title h2{margin:10px 0 0;font-size:24px}.order-panel label{color:#aebed0;margin-bottom:16px;font-size:13px;font-weight:650;display:block}.order-panel input,.order-panel select{box-sizing:border-box;color:#eef5ff;width:100%;height:44px;font:inherit;background:#070e17;border:1px solid #263d56;border-radius:10px;outline:none;margin-top:8px;padding:0 13px}.tabs,.order-type-tabs{background:#070e17;border:1px solid #263d56;border-radius:10px;width:100%;display:flex;overflow:hidden}.tabs{border-width:0 0 1px;border-radius:0;margin:8px 0 16px}.tabs button,.order-type-tabs button{color:#91a2b6;min-height:46px;font:inherit;cursor:pointer;background:0 0;border:0;flex:1;font-weight:700}.tabs button.on{color:#fff;border-bottom:2px solid #34d399}.order-type-tabs{margin-bottom:20px}.order-type-tabs button{border-right:1px solid #263d56}.order-type-tabs button:last-child{border-right:0}.order-type-tabs button.on{color:#fff;background:#193452;box-shadow:inset 0 -2px #3b9cff}.percentage-row{grid-template-columns:repeat(4,1fr);gap:7px;margin:-5px 0 16px;display:grid}.percentage-row button{color:#8fa8c2;cursor:pointer;background:#0d1b2a;border:1px solid #29435e;border-radius:8px;height:32px;font-size:11px;font-weight:750}.control-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.balance-strip{color:#8295aa;background:#102a45;border:1px solid #20364d;border-radius:10px;justify-content:space-between;gap:10px;margin-bottom:16px;padding:10px 12px;font-size:12px;display:flex}.balance-strip strong{color:#fff}.field-unit{float:right;color:#66809c;font-size:11px}.order-summary{border-top:1px solid #203247;border-bottom:1px solid #203247;gap:10px;margin-top:20px;padding:15px 0;display:grid}.order-summary div{color:#8497ad;justify-content:space-between;font-size:13px;display:flex}.submit-futures{color:#fff;width:100%;min-height:50px;font:inherit;cursor:pointer;border:0;border-radius:10px;margin-top:18px;font-weight:800}.long-submit{background:#0d9f79}.short-submit{background:#c83b55}.submit-futures:disabled{opacity:.5;cursor:not-allowed}.futures-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid;margin:0!important}.futures-stat{background:linear-gradient(145deg,#0d1b2b,#091321);border:1px solid #1d344c;border-radius:14px;flex-direction:column;justify-content:space-between;min-width:0;min-height:82px;padding:15px 16px;display:flex}.futures-stat-label{letter-spacing:.08em;color:#7890a8;text-transform:uppercase;font-size:10px;line-height:1.25}.futures-stat-value{color:#e5effb;white-space:nowrap;text-overflow:ellipsis;margin-top:10px;font-size:15px;font-weight:700;overflow:hidden}.futures-data-grid{grid-template-columns:1fr 1fr;gap:16px;min-width:0;display:grid}.positions-panel,.market-data-panel,.settlement-panel{box-sizing:border-box;min-width:0;background:linear-gradient(145deg,#0d1b2b,#091321)!important;border:1px solid #20364d!important;border-radius:14px!important;padding:20px!important}.positions-panel h2,.market-data-panel h2,.settlement-panel h2{margin:6px 0 0;font-size:22px}.market-data-panel{min-height:300px}.section-heading{margin-bottom:14px}.section-heading .label{letter-spacing:.1em;color:#7890a8;font-size:10px}.section-live,.testnet-pill{color:#7e9ab5;border:1px solid #23435e;border-radius:999px;padding:5px 9px;font-size:11px}.testnet-pill{color:#8ec5ff;letter-spacing:.08em;font-size:10px;font-weight:800}.book-head,.trades-head,.book-row,.trade-line{align-items:center;gap:12px;font-size:12px;display:grid}.book-head,.book-row{grid-template-columns:1fr 1fr}.trades-head,.trade-line{grid-template-columns:1fr 1fr 72px}.book-head,.trades-head{color:#7890a8;border-bottom:1px solid #1c3044;padding:10px 0}.book-row,.trade-line{color:#b8c8d8;border-bottom:1px solid #14283b;padding:8px 0}.book-row span:last-child,.trade-line span:nth-child(2),.trade-line span:last-child{text-align:right}.book-side.asks span:first-child,.trade-line.down span:first-child{color:#fb7185}.book-side.bids span:first-child,.trade-line.up span:first-child{color:#36d399}.book-mid{text-align:center;color:#8198af;background:#0a1726;border:1px dashed #2b4761;border-radius:9px;margin:8px 0;padding:9px;font-size:11px}.empty-state{color:#6f8499;text-align:center;justify-content:center;align-items:center;min-height:180px;font-size:12px;display:flex}.scroll-table{min-height:230px}.position-tabs{border-bottom:1px solid #203247;gap:20px;margin:18px 0;display:flex}.position-tabs button{color:#7890a8;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 10px;font-weight:750}.position-tabs button.active{color:#fff;border-bottom-color:#3b9cff}.settlement-row{border-bottom:1px solid #14263a;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;display:flex}.settlement-meta{flex-direction:column;gap:5px;min-width:0;display:flex}.settlement-meta strong{color:#e5effb;font-size:13px}.settlement-button{color:#dbeafe;cursor:pointer;font:inherit;white-space:nowrap;background:#10263a;border:1px solid #31506d;border-radius:9px;padding:9px 13px}.settlement-button:hover{background:#173b59}.settlement-button:disabled{opacity:.55;cursor:not-allowed}.settlement-notice{color:#9ec5e8;background:#0a1726;border:1px solid #23435e;border-radius:9px;margin-top:12px;padding:10px 12px;font-size:12px}.market-error{color:#fb7185;margin-bottom:12px;font-size:12px}.up,.positive{color:#34d399!important}.down,.negative{color:#fb7185!important}@media (min-width:1100px){.futures-wrap{grid-template-rows:auto auto auto auto auto!important;grid-template-columns:240px minmax(0,1fr) 360px!important;align-items:start!important;gap:14px 18px!important;display:grid!important}.futures-wrap>.trade-head{grid-area:1/2!important;display:block!important}.futures-wrap>.market-list.futures-market-list,.futures-wrap>.market-list.futures-market-list:not(.expanded){grid-area:1/1/span 5!important;align-self:start!important;width:240px!important;height:calc(100vh - 150px)!important;min-height:480px!important;max-height:none!important;margin-top:0!important;overflow-y:auto!important}.futures-wrap>.futures-grid>.futures-chart-area>.chart.live-chart{grid-area:2/2!important}.futures-wrap>.futures-grid>.futures-chart-area>.futures-stats{grid-area:3/2!important;width:100%!important}.futures-wrap>.futures-grid>.futures-chart-area>.futures-data-grid{grid-area:4/2!important;width:100%!important}.futures-wrap>.futures-grid>.futures-chart-area>.positions-panel{grid-area:5/2!important;width:100%!important;margin:0!important}.futures-wrap>.futures-grid>.order-panel{grid-area:2/3/span 2!important;align-self:start!important;width:100%!important;margin:0!important}.futures-wrap>.futures-grid>.futures-chart-area>.settlement-panel{grid-area:5/3!important;align-self:start!important;width:100%!important;margin:0!important}}@media (max-width:1099px) and (min-width:761px){.futures-wrap,.futures-wrap>.trade-head{display:block!important}.futures-wrap>.market-list.futures-market-list{display:grid!important}.futures-wrap>.futures-grid{grid-template-columns:minmax(0,1fr) 340px!important;display:grid!important}.futures-wrap>.futures-grid>.futures-chart-area{gap:14px;flex-direction:column!important;display:flex!important}.futures-wrap>.futures-grid>.futures-chart-area>.futures-stats{order:2}.futures-wrap>.futures-grid>.futures-chart-area>.futures-data-grid{order:3}.futures-wrap>.futures-grid>.futures-chart-area>.positions-panel{order:4}}@media (max-width:760px){.futures-wrap{padding:18px 14px 90px}.futures-wrap>.trade-head .pair{font-size:22px}.futures-wrap>.trade-head .price{font-size:30px}.market-stats{grid-template-columns:1fr 1fr;margin:14px 0}.futures-wrap>.market-list.futures-market-list{flex-wrap:nowrap;overflow-x:auto;display:flex!important}.futures-wrap>.market-list.futures-market-list button{min-width:132px}.futures-grid,.futures-chart-area{flex-direction:column;gap:14px;display:flex!important}.futures-data-grid,.futures-stats{grid-template-columns:1fr 1fr;gap:10px}.order-panel,.positions-panel,.market-data-panel,.settlement-panel{padding:18px!important}.settlement-row{flex-direction:column;align-items:flex-start}.settlement-button{width:100%}}.futures-wrap>.trade-head{box-sizing:border-box!important;background:linear-gradient(135deg,#0b1b2b 0%,#081522 100%)!important;border:1px solid #203d59!important;border-radius:28px!important;padding:28px 36px 0!important;overflow:hidden!important}.futures-wrap>.trade-head>div{grid-template-rows:auto auto!important;grid-template-columns:minmax(0,1.15fr) minmax(360px,1fr)!important;align-items:center!important;column-gap:34px!important;display:grid!important}.futures-wrap>.trade-head .pair{grid-area:1/1}.futures-wrap>.trade-head .price{grid-area:2/1;letter-spacing:-.04em!important;margin-top:18px!important;font-size:62px!important}.futures-wrap>.trade-head .market-stats{grid-area:1/2/span 2;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-self:center!important;gap:0!important;margin:0!important;display:grid!important}.futures-wrap>.trade-head .market-stats span{background:0 0!important;border:0!important;border-left:1px solid #24445f!important;border-radius:0!important;justify-content:center!important;gap:16px!important;min-height:0!important;padding:14px 22px!important;font-size:15px!important}.futures-wrap>.trade-head .market-stats span:first-child{border-left:0!important}.futures-wrap>.trade-head .market-stats b{font-size:20px!important}.futures-wrap>.trade-head>.muted{grid-area:3/1/auto/-1;text-align:center!important;border-top:1px solid #203d59!important;margin:28px -36px 0!important;padding:14px 20px 16px!important}@media (max-width:1099px){.futures-wrap>.trade-head{padding:24px 26px 0!important}.futures-wrap>.trade-head>div{grid-template-rows:auto!important;grid-template-columns:1fr!important;row-gap:16px!important}.futures-wrap>.trade-head .pair,.futures-wrap>.trade-head .price,.futures-wrap>.trade-head .market-stats{grid-area:auto/1!important}.futures-wrap>.trade-head .price{margin-top:0!important;font-size:48px!important}.futures-wrap>.trade-head .market-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.futures-wrap>.trade-head>.muted{margin-left:-26px!important;margin-right:-26px!important}}@media (max-width:560px){.futures-wrap>.trade-head{border-radius:20px!important;padding:20px 18px 0!important}.futures-wrap>.trade-head .pair{font-size:22px!important}.futures-wrap>.trade-head .price{font-size:38px!important}.futures-wrap>.trade-head .market-stats{grid-template-columns:1fr!important}.futures-wrap>.trade-head .market-stats span{border-top:1px solid #203d59!important;border-left:0!important;padding:12px 0!important}.futures-wrap>.trade-head .market-stats span:first-child{border-top:0!important}.futures-wrap>.trade-head>.muted{margin-left:-18px!important;margin-right:-18px!important;font-size:11px!important}}@media (max-width:760px){.futures-wrap{flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:12px 4px 70px!important;display:flex!important}.futures-wrap>.market-list.futures-market-list{flex-direction:column!important;order:1!important;gap:4px!important;width:100%!important;min-width:0!important;height:auto!important;max-height:330px!important;margin:0!important;padding:8px 4px!important;display:flex!important;overflow:hidden auto!important}.futures-wrap>.market-list.futures-market-list button{box-sizing:border-box!important;flex:0 0 48px!important;width:100%!important;min-width:0!important;min-height:48px!important}.futures-wrap>.trade-head{order:2!important;width:100%!important;min-width:0!important}.futures-wrap>.futures-expand-button{order:3!important}.futures-wrap>.futures-grid{order:4!important;width:100%!important;min-width:0!important}}
