/* GlobalCEX 2.2.73 — responsive reference layout. Scoped to customer screens. */
.gcx-product-nav,.gcx-mobile-home,.gcx-mobile-wallet-home,.futures-mobile-book,.gc-book-midprice,.gcx-chart-button,.gcx-menu-theme{display:none}
.exchange-pairbar{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.exchange-pairbar label{flex:1;min-width:0;font-size:12px;color:var(--muted)}
.exchange-pairbar select{width:100%;font-size:16px;min-height:44px}
.exchange-pairbar-price{text-align:right}.exchange-pairbar-price strong{display:block}.exchange-pairbar-price span{font-size:13px}
.exchange-book{grid-column:1/-1}.trade-entry-fields{display:grid;gap:10px;margin:10px 0}.trade-entry-fields label{display:grid;gap:5px}.trade-entry-fields label>span{font-size:12px;color:var(--muted)}
.trade-inputbox{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--panel2)}
.trade-inputbox input{width:100%;min-width:0;border:0!important;background:transparent!important;text-align:center;font-size:16px;padding:10px 4px!important}
.trade-inputbox button{flex:0 0 30px;border:0;background:none;color:var(--muted);height:42px;font-size:22px;padding:0}
.exchange-order-type{grid-template-columns:1fr}.exchange-order-type small{margin-left:8px;font-weight:400}
.gcx-record-tabs{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);margin-bottom:18px}
.gcx-record-tabs>*{font-size:14px;color:var(--muted);padding:13px 0;white-space:nowrap;border-bottom:3px solid transparent}.gcx-record-tabs .active{color:var(--text);border-bottom-color:#f0b90b}
.gcx-empty{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);gap:12px}.gcx-empty svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:2;opacity:.6}.gcx-empty p{font-size:13px;margin:0}
.gcx-isolated{font-size:12px;color:var(--muted)}
/* Desktop retains a wide chart above the futures form. */
@media(min-width:821px){.gcx-futures #mainContent{display:flex;flex-direction:column}.gcx-futures #mainContent>.futures-chart-panel{order:-1}.gcx-futures #mainContent>.futures-head,.gcx-futures #mainContent>.flash{order:-2}.gcx-spot-records{margin-top:16px}.gcx-futures-available{display:none}}
@media(max-width:820px){
 html:has(body.gcx-mobile-page){--gcx-bg:#0b1218;--gcx-surface:#111b23;--gcx-field:#1b2631;--gcx-line:#24303b;--gcx-text:#eef2f6;--gcx-muted:#96a4b3;--gcx-buy:#0ecb81;--gcx-sell:#f6465d;background:var(--gcx-bg)!important}
 html[data-gc-theme="light"]:has(body.gcx-mobile-page){--gcx-bg:#fafbfc;--gcx-surface:#fff;--gcx-field:#edf1f5;--gcx-line:#dce2e9;--gcx-text:#182330;--gcx-muted:#59697a;--gcx-buy:#09986a;--gcx-sell:#d93651}
 html[data-gc-theme="blue"]:has(body.gcx-mobile-page){--gcx-bg:#0b1627;--gcx-surface:#111f34;--gcx-field:#1a2b44;--gcx-line:#293d59}
 html body.gb-simple.gcx-mobile-page,html body.gb-simple.gcx-mobile-page.gb-home{background:var(--gcx-bg)!important;color:var(--gcx-text)!important;font-family:Inter,Arial,sans-serif;--text:var(--gcx-text);--muted:var(--gcx-muted);--line:var(--gcx-line);--panel:var(--gcx-surface);--panel2:var(--gcx-field)}
 body.gcx-mobile-page *,body.gcx-mobile-page *:before,body.gcx-mobile-page *:after{box-sizing:border-box}
 body.gcx-mobile-page .page,body.gcx-mobile-page .home-main{width:100%!important;max-width:100%!important;margin:0!important;padding:0 14px calc(82px + env(safe-area-inset-bottom))!important;min-width:0}
 body.gcx-mobile-page .topbar{position:relative!important;top:auto;min-height:56px!important;height:56px!important;display:flex;gap:10px;padding:9px 14px!important;background:var(--gcx-bg)!important;border-bottom:1px solid var(--gcx-line)!important;box-shadow:none!important}
 body.gcx-mobile-page .brand{flex:1;min-width:0;gap:8px}.gcx-mobile-page .brand small{display:none!important}.gcx-mobile-page .brand b{font-size:19px!important;letter-spacing:-.7px}.gcx-mobile-page .brandmark{width:30px!important;height:30px!important;background:transparent!important;color:#f0b90b!important;border:2px solid #d4a831!important;font-size:20px!important;line-height:1;border-radius:8px!important}
 body.gcx-mobile-page .desktop-nav,body.gcx-mobile-page .topactions .btn,body.gcx-mobile-page .topactions .ghost,body.gcx-mobile-page .gb-quick-lang,body.gcx-mobile-page>.gc-theme-bar{display:none!important}
 body.gcx-mobile-page .topactions{gap:6px}.gcx-mobile-page .notif-bell{background:transparent!important;border:0!important;font-size:19px}.gcx-mobile-page .gb-menu{margin:0!important}.gcx-mobile-page .gb-menu>summary{padding:6px!important;border:0!important;background:none!important;font-size:21px}.gcx-mobile-page .gb-menu>summary span{display:none}.gcx-menu-theme{display:block;padding:12px}
 body.gcx-mobile-page .gb-menu-panel{background:var(--gcx-bg)!important;color:var(--gcx-text)!important;max-width:100vw}
 body.gcx-mobile-page .footer{display:none!important}
 body.gcx-mobile-page .premium-mobilebar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(64px + env(safe-area-inset-bottom))!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;margin:0!important;background:var(--gcx-bg)!important;border:0!important;border-top:1px solid var(--gcx-line)!important;border-radius:0!important;box-shadow:none!important;z-index:70}
 body.gcx-mobile-page .premium-mobilebar a{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:5px!important;font-size:10px!important;line-height:1.2;color:var(--gcx-muted)!important;background:none!important;padding:3px!important;border:0!important;border-radius:0!important}.gcx-mobile-page .premium-mobilebar svg{width:22px!important;height:22px!important;fill:none;stroke:currentColor!important;stroke-width:1.7}.gcx-mobile-page .premium-mobilebar a.active{color:#f0b90b!important}
 body.gcx-mobile-page .gcx-voice-fab{width:32px;height:32px;right:14px;bottom:calc(74px + env(safe-area-inset-bottom));opacity:.85;font-size:17px}
 .gcx-product-nav{display:flex;gap:26px;align-items:center;height:47px;border-bottom:1px solid var(--gcx-line);overflow:auto;scrollbar-width:none}.gcx-product-nav a{color:var(--gcx-muted);font-size:14px;height:100%;display:flex;align-items:center;position:relative;white-space:nowrap}.gcx-product-nav .active{font-weight:700;color:var(--gcx-text)}.gcx-product-nav .active:after{content:'';height:3px;position:absolute;bottom:0;left:0;right:0;background:#f0b90b;border-radius:3px}
 .gcx-mobile-page .exchange-head,.gcx-mobile-page .futures-head{display:none!important}
 body.gcx-mobile-page .exchange-pairbar{padding:11px 0!important;margin:0!important;min-height:61px;gap:10px;border:0!important;border-radius:0!important;position:static!important;background:transparent!important;grid-column:1/-1;grid-row:1}
 .gcx-mobile-page .exchange-pairbar label{display:block;font-size:0!important;margin:0!important;min-width:0}
 body.gcx-mobile-page .exchange-pairbar select{height:36px!important;min-height:36px!important;padding:0 22px 0 0!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:var(--gcx-text)!important;background:var(--gcx-bg)!important;font-size:18px!important;font-weight:700;width:100%;text-overflow:ellipsis}
 .gcx-mobile-page .exchange-pairbar-price strong{display:none}.gcx-mobile-page .exchange-pairbar-price span{font-size:12px;font-weight:600}.gcx-mobile-page .gcx-chart-button{display:block;order:3;flex:0 0 34px;width:34px;height:36px;border:0;background:transparent;color:var(--gcx-text);font-size:24px;padding:0}
 body.gcx-mobile-page .exchange-shell-modern,body.gcx-mobile-page .futures-grid{display:grid!important;grid-template-columns:minmax(0, .40fr) minmax(0,.60fr)!important;gap:0 12px!important;align-items:start!important}
 .gcx-mobile-page .exchange-assets{display:none!important}
 body.gcx-mobile-page .exchange-shell-modern>.panel,body.gcx-mobile-page .futures-grid>.panel{padding:0!important;min-width:0;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;position:static!important;margin:0!important}
 body.gcx-mobile-page .exchange-book{grid-column:1!important;grid-row:2!important;max-height:none;overflow:visible}
 body.gcx-mobile-page .futures-mobile-book{display:block!important;grid-column:1!important;grid-row:1!important}
 body.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-grid{display:flex!important;flex-direction:column!important;gap:0!important}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-title,.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-side h4,.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-tape{display:none!important}
 body.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-side{background:none!important;border:0!important;padding:0!important;border-radius:0!important;min-width:0}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-side:first-child{order:3}.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-side:nth-child(2){order:1}
 body.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-head{display:grid!important;grid-template-columns:1fr 1fr!important;padding:1px 0 8px!important;margin:0!important;border:0!important;font-size:10px!important;color:var(--gcx-muted);gap:3px!important;line-height:1.4}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-head span:nth-child(2){text-align:right}.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-head span:nth-child(3),.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-side:first-child .gc-book-head{display:none!important}
 body.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.8fr)!important;align-items:center;gap:3px!important;padding:0 2px!important;min-height:25px!important;font-size:11px!important;line-height:25px!important;white-space:nowrap;font-variant-numeric:tabular-nums;border:0!important;position:relative;background:linear-gradient(to left,var(--depth-color) var(--depth,0%),transparent var(--depth,0%))!important}
 .gcx-mobile-page .gc-book-row.bid{--depth-color:rgba(14,203,129,.08)}.gcx-mobile-page .gc-book-row.ask{--depth-color:rgba(246,70,93,.08)}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-row:nth-child(n+8){display:none!important}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) [data-book-asks]{display:flex;flex-direction:column-reverse}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-row>span{overflow:hidden;text-overflow:ellipsis;min-width:0}.gcx-mobile-page .gc-book-row>span:nth-child(2){text-align:right;color:var(--gcx-text)!important}
 .gcx-mobile-page .gc-book-row.bid>span:first-child{color:var(--gcx-buy)!important}.gcx-mobile-page .gc-book-row.ask>span:first-child{color:var(--gcx-sell)!important}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-source,.gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-unit{display:none!important}
 body.gcx-mobile-page .gc-book-midprice{display:flex;order:2;flex-direction:column;align-items:flex-start;gap:3px;min-height:62px;justify-content:center;padding:10px 0;min-width:0}
 .gcx-mobile-page .gc-book-midprice b{color:var(--gcx-buy);font-size:19px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis}.gcx-mobile-page .gc-book-midprice small{font-size:10px;color:var(--gcx-muted)}
 .gcx-mobile-page :is(.exchange-book,.futures-mobile-book) .gc-book-note{font-size:10px!important;line-height:1.4;color:var(--gcx-muted);padding:9px 0;border-top:1px solid var(--gcx-line);margin-top:10px;overflow-wrap:anywhere}
 .gcx-mobile-page .book-empty{font-size:11px;line-height:1.5;min-height:160px}
 body.gcx-mobile-page .exchange-order{grid-column:2!important;grid-row:2!important}.gcx-mobile-page .exchange-order-head{display:none!important}
 body.gcx-mobile-page .side-tabs,body.gcx-mobile-page .futures-side{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;border-radius:5px!important;background:var(--gcx-field)!important;margin:0 0 10px!important;padding:0!important}
 body.gcx-mobile-page .side-tab,body.gcx-mobile-page .futures-side span{font-size:14px!important;font-weight:600!important;height:34px;min-height:34px;padding:7px 0!important;border:0!important;background:transparent!important;border-radius:5px!important;color:var(--gcx-muted)!important;display:block;text-align:center}
 body.gcx-mobile-page .side-tab.buy.active,body.gcx-mobile-page .futures-side input:checked+.long{background:var(--gcx-buy)!important;color:#fff!important;clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%)}
 body.gcx-mobile-page .side-tab.sell.active,body.gcx-mobile-page .futures-side input:checked+.short{background:var(--gcx-sell)!important;color:#fff!important;clip-path:polygon(12% 0,100% 0,100% 100%,12% 100%,0 50%)}
 body.gcx-mobile-page .exchange-order-type{display:block;margin:0 0 9px!important}.gcx-mobile-page .exchange-order-type span{padding:8px!important;border:1px solid var(--gcx-line)!important;border-radius:5px!important;background:var(--gcx-field)!important;color:var(--gcx-text)!important;font-size:12px!important;font-weight:500}
 body.gcx-mobile-page .trade-entry-fields{display:contents}.gcx-mobile-page .trade-entry-fields label{display:block;margin:0 0 10px}.gcx-mobile-page .trade-entry-fields label>span{display:block;font-size:11px;margin:0 0 5px;color:var(--gcx-muted)}
 body.gcx-mobile-page .trade-inputbox{border:1px solid var(--gcx-line)!important;background:var(--gcx-field)!important;border-radius:5px!important;min-height:44px;overflow:hidden}
 body.gcx-mobile-page .trade-inputbox input{height:44px!important;min-height:44px!important;font-size:16px!important;font-weight:500!important;color:var(--gcx-text)!important;border:0!important;box-shadow:none!important;outline-offset:-2px}
 .gcx-mobile-page .trade-inputbox button{height:44px!important;font-size:20px}.gcx-mobile-page .trade-inputbox input::placeholder{color:var(--gcx-muted)}
 .gcx-mobile-page .range-label{font-size:10px;margin:0;color:var(--gcx-muted)}.gcx-mobile-page .range-label b{font-size:10px;color:var(--gcx-text)}
 body.gcx-mobile-page .trade-range{padding:0!important;border:0!important;width:100%;height:20px!important;min-height:20px!important;margin:4px 0!important;accent-color:#bac5d1;background:transparent!important}
 .gcx-mobile-page .range-steps{gap:5px;margin-bottom:12px}.gcx-mobile-page .range-steps button{padding:6px 0!important;font-size:10px;border:0!important;border-radius:4px;background:var(--gcx-field);min-width:0}
 .gcx-mobile-page .compact-order-summary{display:none!important}
 body.gcx-mobile-page .order-grid{display:flex!important;flex-direction:column;gap:6px!important;margin:9px 0!important}.gcx-mobile-page .order-grid>div:nth-child(-n+2){display:none!important}
 body.gcx-mobile-page .order-grid>div{display:flex;align-items:center;justify-content:space-between;gap:4px;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important}.gcx-mobile-page .order-grid small{font-size:10px;margin:0}.gcx-mobile-page .order-grid b{font-size:10px;font-weight:500;text-align:right;overflow-wrap:anywhere}
 body.gcx-mobile-page .available-line{display:flex;flex-wrap:wrap;gap:3px;padding:0!important;border:0!important;border-radius:0!important;background:none!important;font-size:10px;margin:9px 0!important;color:var(--gcx-muted)}.gcx-mobile-page .available-line b{font-size:11px;color:var(--gcx-text);font-weight:500;margin-left:auto}
 body.gcx-mobile-page .exchange-submit,body.gcx-mobile-page #futSubmit{width:100%;min-height:44px!important;border:0!important;border-radius:5px!important;background:var(--gcx-buy)!important;color:#fff!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important;padding:10px 4px!important}
 body.gcx-mobile-page .exchange-submit.sell-order,body.gcx-mobile-page #futSubmit.is-short{background:var(--gcx-sell)!important}
 body.gcx-mobile-page .exchange-chart-panel{display:none!important;grid-column:1/-1!important;grid-row:3!important;margin-top:16px!important}.gcx-mobile-page #futuresChartSection{display:none!important}
 body.gcx-mobile-page .exchange-chart-panel.gcx-chart-open,body.gcx-mobile-page #futuresChartSection.gcx-chart-open{display:block!important}
 .gcx-mobile-page .exchange-chart{height:280px!important}.gcx-mobile-page .exchange-quote{flex-direction:row;gap:8px}.gcx-mobile-page .exchange-quote h2{font-size:16px}.gcx-mobile-page .exchange-live-price strong{font-size:20px}.gcx-mobile-page .indicator-toolbar,.gcx-mobile-page .indicator-values{display:none}.gcx-mobile-page .chart-toolbar small{display:none}.gcx-mobile-page .chart-tabs{gap:4px}
 body.gcx-mobile-page .gcx-spot-records{border:0!important;border-top:1px solid var(--gcx-line)!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin-top:20px!important}.gcx-spot-records>.panel-title-row{display:none}.gcx-record-tabs{gap:22px;margin-bottom:0}.gcx-record-tabs>*{font-size:13px;padding:15px 0}.gcx-empty{min-height:180px}
 /* Futures: pair above book/form, full-width positions below. */
 body.gcx-mobile-page .futures-order-panel{grid-column:2!important;grid-row:1!important}.gcx-mobile-page .futures-order-panel>.panel-title-row{display:none!important}
 body.gcx-mobile-page #futuresOrderForm{display:flex!important;flex-direction:column;gap:9px!important;margin:0!important}
 body.gcx-mobile-page #futuresOrderForm>label{display:block!important;font-size:11px!important;color:var(--gcx-muted)!important;margin:0!important}.gcx-mobile-page #futuresOrderForm>label small{font-size:10px}
 body.gcx-mobile-page #futuresOrderForm input:not([type=radio]):not([type=hidden]):not([type=range]),body.gcx-mobile-page #futuresOrderForm select{height:42px!important;min-height:42px!important;width:100%!important;font-size:16px!important;border:1px solid var(--gcx-line)!important;border-radius:5px!important;background:var(--gcx-field)!important;color:var(--gcx-text)!important;padding:7px 8px!important;box-shadow:none!important}
 body.gcx-mobile-page #futuresOrderForm .futures-side{margin:0!important;order:-5}.gcx-mobile-page .gcx-fut-type{order:-4}.gcx-mobile-page .gcx-fut-leverage{order:-3}.gcx-mobile-page #limitWrap{order:-2}.gcx-mobile-page .gcx-fut-margin{order:-1}
 .gcx-mobile-page .lev-control{display:grid!important;grid-template-columns:minmax(0,1fr) 57px!important;gap:8px}.gcx-mobile-page .lev-control input[type=range]{min-width:0;width:100%;min-height:28px!important;height:28px!important;accent-color:#f0b90b;padding:0!important}.gcx-mobile-page .lev-marks{display:none}
 body.gcx-mobile-page .futures-preview{display:flex!important;flex-direction:column;gap:6px;margin:1px 0!important}.gcx-mobile-page .futures-preview>div{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:0!important;border:0!important;background:none!important}.gcx-mobile-page .futures-preview small{font-size:10px!important;margin:0}.gcx-mobile-page .futures-preview b{font-size:10px!important;text-align:right;overflow-wrap:anywhere}
 .gcx-mobile-page .futures-order-panel .calc{display:none}.gcx-mobile-page .futures-note{font-size:10px;line-height:1.45;color:var(--gcx-muted);margin:10px 0}
 body.gcx-mobile-page .gcx-futures-positions{grid-column:1/-1!important;grid-row:2!important;border-top:1px solid var(--gcx-line)!important;margin-top:18px!important}.gcx-mobile-page .gcx-futures-positions>.panel-title-row{display:none}.gcx-mobile-page .empty-state{font-size:13px!important;padding:48px 12px!important;color:var(--gcx-muted)}
 .gcx-mobile-page .fut-pos{padding:12px}.gcx-mobile-page .fut-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gcx-mobile-page .futures-chart-wrap{height:300px}
 /* Reference home: balance, eight shortcuts, dense but readable markets. */
 .gcx-mobile-page .gcx-mobile-home{display:block;padding-top:10px}.gcx-index .home-main>section:not(.gcx-mobile-home){display:none!important}
 .gcx-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 14px;border:1px solid var(--gcx-line);border-radius:14px;background:var(--gcx-surface)}.gcx-balance small{font-size:12px;color:var(--gcx-muted)}.gcx-balance strong{display:block;font-size:27px;letter-spacing:-.7px;font-weight:600;margin:5px 0}.gcx-balance strong span{font-size:13px;letter-spacing:0}.gcx-balance p{font-size:11px;color:var(--gcx-muted);margin:0}.gcx-balance>a{background:#f0b90b;color:#161a1e;border-radius:7px;font-size:13px;font-weight:600;padding:11px 17px}.gcx-hide-balance{background:none;border:0;color:var(--gcx-muted);padding:0 5px}
 .gcx-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 10px;margin:21px 0 23px}.gcx-shortcuts a{display:flex;flex-direction:column;gap:7px;align-items:center;color:var(--gcx-text);font-size:11px;white-space:nowrap}.gcx-shortcuts i{display:grid;place-items:center;width:47px;height:47px;border:1px solid var(--gcx-line);border-radius:14px;background:linear-gradient(135deg,var(--gcx-field),var(--gcx-surface));font-style:normal}.gcx-shortcuts svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .gcx-home-markets{border:1px solid var(--gcx-line);border-radius:13px;padding:0 12px;overflow:hidden}.gcx-home-tabs{display:flex;justify-content:space-between;gap:13px;border-bottom:1px solid var(--gcx-line);overflow:auto;scrollbar-width:none}.gcx-home-tabs>*{padding:15px 0 12px;white-space:nowrap;font-size:12px;color:var(--gcx-muted);border:0;border-bottom:3px solid transparent;background:none;border-radius:0}.gcx-home-tabs .active{color:var(--gcx-text);border-bottom-color:#f0b90b;font-weight:600}.gcx-home-filters{display:flex;gap:7px;padding:12px 0;overflow:auto;scrollbar-width:none}.gcx-home-filters>*{border:1px solid var(--gcx-line);border-radius:6px;background:var(--gcx-field);padding:6px 10px;font-size:11px;color:var(--gcx-muted);white-space:nowrap}.gcx-home-filters .active{border-color:#f0b90b;color:#f0b90b;background:none}
 .gcx-home-list-head,.gcx-home-row{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr) 72px;gap:9px;align-items:center}.gcx-home-list-head{padding:7px 0;color:var(--gcx-muted);font-size:10px}.gcx-home-list-head>span:not(:first-child){text-align:right}.gcx-home-row{padding:12px 0;border-top:1px solid var(--gcx-line);color:var(--gcx-text)}.gcx-home-symbol{display:flex;align-items:center;gap:8px;min-width:0}.gcx-home-row .asseticon{width:29px!important;height:29px!important;flex:0 0 29px;border-radius:50%;overflow:hidden}.gcx-home-symbol b{font-size:13px;font-weight:600}.gcx-home-symbol small{font-size:10px;color:var(--gcx-muted);display:block;margin-top:3px}.gcx-home-price{text-align:right;min-width:0}.gcx-home-price strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.gcx-home-price small{display:block;font-size:9px;color:var(--gcx-muted);margin-top:4px}.gcx-home-change{display:block;border-radius:5px;padding:10px 3px;text-align:center;font-size:12px;font-style:normal;color:#fff!important;background:var(--gcx-buy)}.gcx-home-change.negative{background:var(--gcx-sell)}.gcx-home-more{display:block;text-align:center;padding:16px;color:var(--gcx-muted);font-size:12px}
 /* Wallet stays the wallet; duplicate pretend homepage removed. */
 .gcx-dashboard .portfolio-live-strip{display:none}.gcx-dashboard .premium-sectionhead h1{font-size:24px}.gcx-dashboard .premium-sectionhead p{display:none}
 .gcx-markets .gc-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(60px,.7fr)!important;gap:8px}.gcx-markets .gc-row .gc-trade,.gcx-markets .gc-row .gc-actions{display:none}.gcx-markets .gc-list-head{grid-template-columns:1.3fr 1fr .7fr}.gcx-markets .gc-list-head span:last-child{display:none}.gcx-markets .gc-categories{display:flex;overflow:auto;gap:8px}.gcx-markets .gc-categories a{min-width:max-content}.gcx-markets .gc-price strong{font-size:13px}
}
@media(max-width:360px){body.gcx-mobile-page .page,body.gcx-mobile-page .home-main{padding-left:10px!important;padding-right:10px!important}.gcx-mobile-page .gcx-product-nav{gap:22px}.gcx-mobile-page .gc-book-midprice b{font-size:16px}body.gcx-mobile-page .exchange-shell-modern,body.gcx-mobile-page .futures-grid{gap:0 9px!important}.gcx-home-markets{padding:0 8px}.gcx-home-row,.gcx-home-list-head{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 64px;gap:6px}.gcx-balance strong{font-size:23px}.gcx-shortcuts{gap:16px 5px}}
/* Avoid native hidden being overridden by grid display. */
.gcx-home-row[hidden]{display:none!important}
/* Explicit desktop tracks avoid implicit empty columns from legacy grid rules. */
@media(min-width:1181px){
 body.gcx-exchange .page{width:calc(100% - 40px);max-width:1600px}
 body.gcx-exchange .exchange-shell-modern{grid-template-columns:minmax(205px,.7fr) minmax(0,1.9fr) minmax(290px,1fr)!important;gap:16px!important}
 body.gcx-exchange .exchange-pairbar{grid-column:1/-1;grid-row:1}
 body.gcx-exchange .exchange-assets{grid-column:1!important;grid-row:2/4!important;max-height:1100px}
 body.gcx-exchange .exchange-chart-panel{grid-column:2!important;grid-row:2!important;min-width:0;min-height:0}
 body.gcx-exchange .exchange-order{grid-column:3!important;grid-row:2/4!important;min-width:0;position:sticky;top:85px}
 body.gcx-exchange .exchange-book{grid-column:2!important;grid-row:3!important;margin:0;min-width:0}
 body.gcx-exchange .gc-book-grid{gap:8px}.gcx-exchange .gc-book-side{padding:8px}
 body.gcx-exchange .gc-book-head,body.gcx-exchange .gc-book-row{grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.8fr);gap:5px;font-size:10px}
 body.gcx-exchange .gc-book-row span,body.gcx-exchange .gc-book-source{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.gcx-exchange .gc-tape-head,body.gcx-exchange .gc-tape-row{grid-template-columns:52px 38px minmax(0,1fr) minmax(0,1fr) 66px;gap:5px}
 .gcx-exchange .exchange-chart{height:350px}.gcx-exchange .exchange-live-price strong{font-size:24px}.gcx-exchange .exchange-quote .asset-title h2{font-size:20px}
}
@media(min-width:821px) and (max-width:1180px){
 body.gcx-exchange .exchange-shell-modern{grid-template-columns:minmax(0,1fr) 310px!important;gap:14px!important}
 body.gcx-exchange .exchange-assets{display:none!important}
 body.gcx-exchange .exchange-pairbar{grid-column:1/-1!important;grid-row:1}
 body.gcx-exchange .exchange-chart-panel{grid-column:1!important;grid-row:2!important;min-height:0;min-width:0}
 body.gcx-exchange .exchange-order{grid-column:2!important;grid-row:2/4!important;position:static}
 body.gcx-exchange .exchange-book{grid-column:1!important;grid-row:3!important;margin:0;min-width:0}
 body.gcx-exchange .gc-book-grid{grid-template-columns:1fr!important}
 body.gcx-exchange .exchange-quote{flex-direction:column}.gcx-exchange .exchange-live-price{text-align:left}
 body.gcx-futures .futures-grid{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr)!important}
 .gcx-futures .fut-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:821px){
 body.gcx-mobile-page .panel{min-width:0}
 body.gcx-exchange .exchange-shell-modern .panel{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:none}
 body.gcx-exchange .trade-inputbox input{color:var(--text)!important}
 body.gcx-exchange .exchange-submit.sell-order{background:#f6465d!important;color:#fff!important}
 body.gcx-futures #futSubmit{background:#0ecb81!important;color:#fff!important}body.gcx-futures #futSubmit.is-short{background:#f6465d!important}
 body.gcx-exchange .compact-order-summary{display:none}
 body.gcx-exchange .exchange-order-type .active{background:var(--panel2);color:var(--text)}
 body.gcx-exchange .exchange-book .gc-book-row:nth-child(n+8){display:none}
}
/* Final cascade: legacy component styles must not enlarge the compact controls. */
body.gcx-mobile-page :is(button,input,select,textarea){font-family:Inter,Arial,sans-serif!important}
body.gcx-mobile-page input[type="range"]{appearance:auto!important;-webkit-appearance:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:20px!important;height:20px!important;accent-color:#adbcca}
body.gcx-mobile-page input[type="range"]::-webkit-slider-thumb{appearance:auto!important;-webkit-appearance:auto!important;width:auto!important;height:auto!important;border:0!important;box-shadow:none!important}
body.gcx-mobile-page input[type="range"]::-webkit-slider-runnable-track{background:transparent!important;height:auto!important;border:0!important}
body.gcx-mobile-page .gcx-record-tabs,body.gcx-mobile-page .gcx-spot-records{background:transparent!important}
@media(max-width:820px){
 body.gcx-mobile-page .exchange-shell-modern>.exchange-pairbar{grid-column:1/-1!important}
 body.gcx-mobile-page .exchange-pairbar{min-height:56px!important;padding:8px 0!important}
 body.gcx-mobile-page .gcx-spot-records,body.gcx-mobile-page .gcx-futures-positions{background:transparent!important}
 body.gcx-mobile-page .trade-range{display:block;width:100%!important;margin:10px 0!important}
 body.gcx-mobile-page .range-steps button{background:var(--gcx-field)!important;color:var(--gcx-text)!important}
 body.gcx-mobile-page .gcx-fut-sl small,body.gcx-mobile-page .gcx-fut-tp small{display:none}
 body.gcx-mobile-page .futures-preview>div:first-child{display:none}
 .gcx-futures-risk{font-size:11px;color:var(--gcx-muted);line-height:1.5;margin-top:10px}.gcx-futures-risk summary{cursor:pointer;color:var(--gcx-muted);padding:6px 0}
 body.gcx-mobile-page #futuresOrderForm .lev-control input[type=range]{margin:8px 0!important}
 .gcx-mobile-page .gc-book-note{max-height:44px;overflow:auto}
}
@media(min-width:821px){
 body.gcx-exchange .sectionhead,body.gcx-futures .sectionhead{margin:0 0 14px!important;min-height:0!important;align-items:center!important}
 body.gcx-exchange .sectionhead h1,body.gcx-futures .sectionhead h1{font-size:25px!important;margin:0!important;line-height:1.3!important}
 body.gcx-exchange .sectionhead p,body.gcx-futures .sectionhead p,body.gcx-exchange .sectionhead .eyebrow,body.gcx-futures .sectionhead .eyebrow{display:none!important}
 body.gcx-exchange .page,body.gcx-futures .page{padding-top:12px!important}
 body.gcx-exchange .exchange-pairbar{padding:8px 14px}.gcx-exchange .exchange-pairbar label{display:flex;align-items:center;gap:20px;white-space:nowrap}.gcx-exchange .exchange-pairbar select{max-width:300px;min-height:38px;height:38px}
 body.gcx-exchange .exchange-shell-modern .panel{padding:14px!important}
 body.gcx-exchange .exchange-order-head h3{font-size:20px}.gcx-exchange .side-tab{padding:10px}.gcx-exchange .trade-entry-fields label{margin:0}.gcx-exchange .order-grid{gap:6px}.gcx-exchange .order-grid>div{padding:7px}.gcx-exchange .range-steps button{padding:7px}.gcx-exchange .exchange-order .available-line{padding:8px;margin:10px 0}.gcx-exchange .exchange-order-type{margin-bottom:8px}
 body.gcx-exchange .exchange-quote{padding-bottom:10px;margin-bottom:10px}.gcx-exchange .exchange-quote .asset-title h2{margin:0}.gcx-exchange .exchange-live-price strong{font-size:22px}.gcx-exchange .exchange-live-price b{margin-top:3px;padding:3px 8px}.gcx-exchange .exchange-chart{height:290px!important}.gcx-exchange .indicator-wrap{height:90px!important}.gcx-exchange .indicator-values{margin:6px 0}.gcx-exchange .exchange-assets{max-height:900px}
 body.gcx-futures .page{width:calc(100% - 40px);max-width:1440px}
 body.gcx-futures #mainContent{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,.47fr);gap:14px;align-items:start}
 body.gcx-futures #mainContent>.futures-head{grid-column:1/-1;grid-row:1;order:0}
 body.gcx-futures #mainContent>.flash{grid-column:1/-1;order:0}
 body.gcx-futures #mainContent>.gcx-futures-pair{grid-column:1/-1;grid-row:2;margin:0;padding:8px 14px}
 .gcx-futures-pair label{font-size:12px}.gcx-futures-pair select{max-width:300px;margin-left:12px}
 body.gcx-futures .futures-grid{display:contents!important}
 body.gcx-futures #mainContent>.futures-chart-panel{grid-column:1!important;grid-row:3!important;order:0;margin:0;padding:14px}
 body.gcx-futures .futures-chart-head h2{font-size:18px;margin:0}.gcx-futures .futures-chart-head .eyebrow,.gcx-futures .futures-chart-head .muted{display:none}.gcx-futures .futures-chart-head{margin-bottom:12px}.gcx-futures .futures-chart-wrap{height:300px!important}
 body.gcx-futures .futures-order-panel{grid-column:2;grid-row:3/6;position:sticky;top:85px;padding:16px;margin:0;min-width:0}
 body.gcx-futures .futures-mobile-book{display:block;grid-column:1;grid-row:4;margin:0;padding:14px}
 .gcx-futures .futures-mobile-book .gc-book-row:nth-child(n+8){display:none}
 .gcx-futures .futures-mobile-book .gc-book-row,.gcx-futures .futures-mobile-book .gc-book-head{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.8fr)}
 .gcx-futures .futures-mobile-book .gc-book-row>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.gcx-futures .gcx-futures-positions{grid-column:1;grid-row:5;padding:14px}
 body.gcx-futures #ordersPanel,body.gcx-futures #ordersPanel+section{grid-column:1/-1;margin:0!important}
 .gcx-futures .futures-order-panel .formgrid{grid-template-columns:1fr 1fr;gap:10px}.gcx-futures .futures-order-panel>.panel-title-row h2{font-size:18px}.gcx-futures .futures-order-panel>.panel-title-row .eyebrow{display:none}
 .gcx-futures .futures-preview>div{padding:8px}.gcx-futures .futures-preview b{font-size:12px}.gcx-futures .futures-order-panel label{font-size:12px}.gcx-futures .futures-order-panel input,.gcx-futures .futures-order-panel select{min-height:40px;padding:8px;font-size:14px}.gcx-futures .futures-side span{padding:10px 2px;font-size:13px}
 .gcx-futures .futures-order-panel .calc{font-size:11px}.gcx-futures .futures-order-panel .calc small{font-size:10px}.gcx-futures-risk{font-size:12px;line-height:1.5;color:var(--muted);margin-top:12px}.gcx-futures-risk summary{cursor:pointer}
}
@media(max-width:820px){
 body.gcx-mobile-page .range-steps button{min-height:28px!important;height:28px!important;padding:5px 0!important;font-weight:500!important}
 body.gcx-mobile-page .trade-entry-fields.gcx-total-field{display:block;margin:10px 0!important}
 body.gcx-mobile-page .gcx-futures-pair select{line-height:normal!important;text-indent:0!important}
}
@media(min-width:821px){
 body.gcx-exchange .exchange-pairbar select{padding:6px 12px!important;line-height:24px!important}
 body.gcx-exchange .exchange-order .trade-entry-fields.gcx-total-field{margin-top:12px}
 body.gcx-futures .futures-balance{padding:10px 14px;display:flex;gap:12px;align-items:center}.gcx-futures .futures-balance b{font-size:18px}.gcx-futures .futures-balance small,.gcx-futures .futures-balance span{font-size:11px}
}

/* v2.2.74 · Spot Market / Limit */
.exchange-order-type{grid-template-columns:repeat(2,minmax(0,1fr))}
.exchange-order-type button{display:block;width:100%;text-align:center;padding:10px 8px;background:#10161c;border:1px solid rgba(255,255,255,.08);border-radius:12px;color:#8ea0ac;font:700 12px Inter,sans-serif;cursor:pointer}
.exchange-order-type button.active{background:#161e25;border-color:rgba(230,179,45,.35);color:#f7c94a}
.exchange-order-type button small{display:inline;margin-left:5px;font-weight:400;opacity:.8}
#exchangePriceInput.is-editable-limit{border-color:rgba(240,185,67,.58)!important;box-shadow:0 0 0 2px rgba(240,185,67,.08)!important}
.gcx-limit-cancel-form{margin:0}.gcx-limit-orders .data-table td{white-space:nowrap}
@media(max-width:820px){body.gcx-mobile-page .exchange-order-type{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.gcx-mobile-page .exchange-order-type button{padding:9px 6px!important;border-radius:5px!important;font-size:12px!important}.gcx-limit-orders{padding:12px!important}.gcx-limit-orders .panel-title-row p{font-size:11px}}

/* v2.2.76 · Unified Spot / Metal / Stock / Commodity trade navigation */
.gcx-product-nav{scrollbar-width:none;-ms-overflow-style:none}
.gcx-product-nav::-webkit-scrollbar{display:none}
@media(max-width:820px){
 .gcx-product-nav{gap:22px;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding-right:10px}
 .gcx-product-nav a{scroll-snap-align:start;flex:0 0 auto}
}
@media(min-width:821px){
 body.gcx-exchange .gcx-product-nav,body.gcx-futures .gcx-product-nav{display:flex;align-items:center;gap:24px;min-height:48px;margin:0 0 14px;border-bottom:1px solid var(--line);overflow-x:auto}
 body.gcx-exchange .gcx-product-nav a,body.gcx-futures .gcx-product-nav a{position:relative;display:flex;align-items:center;min-height:48px;white-space:nowrap;color:var(--muted);font-size:14px;font-weight:600}
 body.gcx-exchange .gcx-product-nav a.active,body.gcx-futures .gcx-product-nav a.active{color:var(--text)}
 body.gcx-exchange .gcx-product-nav a.active:after,body.gcx-futures .gcx-product-nav a.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:#f0b90b}
}
