/* GlobalCEX v2.2.75. Shared customer layout, after legacy theme/component rules. */
html:has(body.gcx-mobile-page){--gcx-bg:#0b1218;--gcx-surface:#111b23;--gcx-field:#1b2631;--gcx-line:#29343e;--gcx-text:#eef2f6;--gcx-muted:#9ba9b7;--gcx-buy:#0ecb81;--gcx-sell:#f6465d;color-scheme:dark}
html[data-gc-theme="blue"]:has(body.gcx-mobile-page){--gcx-bg:#0b1627;--gcx-surface:#111f34;--gcx-field:#1a2b44;--gcx-line:#293d59}
html[data-gc-theme="light"]:has(body.gcx-mobile-page){--gcx-bg:#f5f7fa;--gcx-surface:#fff;--gcx-field:#edf1f5;--gcx-line:#dce2e9;--gcx-text:#182330;--gcx-muted:#59697a;--gcx-buy:#07855d;--gcx-sell:#d93651;color-scheme:light}
html body.gb-simple.gcx-mobile-page{--text:var(--gcx-text);--muted:var(--gcx-muted);--line:var(--gcx-line);--panel:var(--gcx-surface);--panel2:var(--gcx-field);--green:var(--gcx-buy);--red:var(--gcx-sell);background:var(--gcx-bg)!important;color:var(--gcx-text)!important;font-family:Inter,Arial,sans-serif}
body.gcx-mobile-page *,body.gcx-mobile-page *::before,body.gcx-mobile-page *::after{box-sizing:border-box}
body.gcx-mobile-page [hidden]{display:none!important}
html body.gb-simple.gcx-mobile-page :is(.panel,.gc-market-panel,.gc-company-panel,.tool-card){background:var(--gcx-surface)!important;border:1px solid var(--gcx-line)!important;border-radius:12px;box-shadow:none;min-width:0}
html body.gb-simple.gcx-mobile-page :is(input,select,textarea){color:var(--gcx-text);background-color:var(--gcx-field);border-color:var(--gcx-line);max-width:100%;min-width:0}
html body.gb-simple.gcx-mobile-page :is(.ghost,.gc-trade){background:var(--gcx-field)!important;color:var(--gcx-text)!important;border-color:var(--gcx-line)!important}
body.gcx-mobile-page :is(h1,h2,h3,b,strong){font-family:inherit}
body.gcx-mobile-page :is(button,a,input,select):focus-visible{outline:2px solid #d8ac47!important;outline-offset:3px}
body.gcx-mobile-page .page{min-width:0}
body.gcx-mobile-page .table-scroll{max-width:100%;overflow-x:auto}
body.gcx-mobile-page :is(.two-col,.formgrid,.panel-title-row)>*{min-width:0}
/* Catalog: one predictable row model for crypto, metal, stock and commodity. */
body.gcx-markets .gc-catalog{--gc-line:var(--gcx-line);--gc-muted:var(--gcx-muted);--gc-surface:var(--gcx-surface);max-width:1400px;margin:0 auto}
body.gcx-markets .gc-heading{margin:8px 0 18px;gap:12px}
body.gcx-markets .gc-heading h1{font-size:26px!important;margin:5px 0!important}
body.gcx-markets .gc-heading p{font-size:12px;line-height:1.5}
html body.gb-simple.gcx-markets .gc-categories{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:24px;margin:0 0 16px;padding:0;background:transparent!important;border-radius:0;border-bottom:1px solid var(--gcx-line);overflow-x:auto;scrollbar-width:thin}
html body.gb-simple.gcx-markets .gc-categories a{flex:0 0 auto;min-height:46px;padding:10px 0;border-radius:0;background:transparent!important;font-size:13px;gap:6px;color:var(--gcx-muted)}
html body.gb-simple.gcx-markets .gc-categories a[aria-current]{color:var(--gcx-text);border-bottom:2px solid #e1b443;background:transparent!important}
body.gcx-markets .gc-categories span{padding:2px 5px;background:var(--gcx-field);color:var(--gcx-muted)}
body.gcx-markets .gc-tools{display:flex;flex-wrap:nowrap;gap:12px;padding:14px 16px;align-items:center}
html body.gb-simple.gcx-markets .gc-search{flex:1;max-width:none;width:auto;min-width:0;margin:0;padding:0 10px;background:var(--gcx-field)!important;border:1px solid var(--gcx-line);border-radius:7px}
body.gcx-markets .gc-search input{height:40px;min-height:40px;font-size:13px!important;color:var(--gcx-text)!important}
body.gcx-markets .gc-sort{flex:0 1 auto;min-width:0;margin:0;font-size:11px}
body.gcx-markets .gc-sort select{min-width:0;max-width:210px;min-height:40px;height:40px;padding:6px 24px 6px 8px!important;font-size:12px!important}
body.gcx-markets :is(.gc-list-head,.gc-row){display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(90px,.65fr) 96px!important;gap:16px;padding:13px 16px;min-height:0}
body.gcx-markets .gc-list-head{font-size:11px;background:var(--gcx-field)!important}
body.gcx-markets .gc-row{border-color:var(--gcx-line);align-items:center}
body.gcx-markets .gc-row>*{grid-row:auto;grid-column:auto;min-width:0}
body.gcx-markets .gc-asset{gap:10px}
body.gcx-markets .gc-asset b{color:var(--gcx-text);font-size:13px;line-height:1.4}
body.gcx-markets .gc-asset small{font-size:10px;line-height:1.4;color:var(--gcx-muted)}
body.gcx-markets .gc-asset .asseticon{width:32px!important;height:32px!important;min-width:32px;flex:0 0 32px}
body.gcx-markets .gc-price strong{font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
body.gcx-markets .gc-row .move-arrow{font-size:12px;background:transparent!important;white-space:nowrap}
body.gcx-markets .gc-trade{min-height:36px;padding:7px 9px;font-size:11px}
body.gcx-markets .gc-list-foot{padding:12px 16px}
body.gcx-markets .gc56-types{padding:0 16px;margin:12px 0;gap:8px;flex-wrap:wrap}
body.gcx-markets .gc56-types button{font-size:12px;padding:8px 12px;background:var(--gcx-field);color:var(--gcx-text);border-color:var(--gcx-line)}
body.gcx-markets .gc56-types button[aria-pressed=true]{background:#e1b443;color:#111}
body.gcx-mobile-page .gc56-notice{padding:10px 14px;margin:12px 0;background:var(--gcx-field);border-color:var(--gcx-line);color:var(--gcx-muted);font-size:12px;line-height:1.5}
body.gcx-mobile-page .gc56-notice b{color:var(--gcx-text)}
body.gcx-markets .gc56-notice{margin:12px 16px}
.gcx-market-info{padding:10px 16px;border-bottom:1px solid var(--gcx-line);font-size:12px;color:var(--gcx-muted)}
.gcx-market-info summary{cursor:pointer;padding:4px 0}
body.gcx-markets .gcx-market-info p{padding:0;margin:8px 0;font-size:12px;line-height:1.6}
/* Public quote detail retains chart controls and has a visible trade entry. */
.gcx-detail-nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:12px;font-size:13px;color:var(--gcx-muted)}
.gcx-trade-link{background:var(--gcx-buy);color:#062c20!important;padding:10px 20px;border-radius:7px;font-weight:700}
body.gcx-market .market-detail-head{display:flex;flex-direction:row;align-items:center;gap:20px;margin:8px 0 18px;padding:16px;background:var(--gcx-surface);border:1px solid var(--gcx-line);border-radius:12px}
body.gcx-market .asset-title{min-width:0;gap:12px}
body.gcx-market .asset-title h1{font-size:24px;margin:5px 0;line-height:1.25;overflow-wrap:anywhere}
body.gcx-market .bigicon{width:42px;height:42px;flex:0 0 42px}
body.gcx-market .detail-quote{min-width:0;flex-shrink:0;font-size:12px}
body.gcx-market .detail-quote strong{font-size:25px;line-height:1.3;font-variant-numeric:tabular-nums}
body.gcx-market .chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}
body.gcx-market .chart-panel{padding:16px;min-height:0;min-width:0}
body.gcx-mobile-page :is(.chart-tabs,.chart-timeframes){display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.gcx-mobile-page .chart-timeframes{margin:10px 0;padding:10px 0;border-bottom:1px solid var(--gcx-line)}
body.gcx-mobile-page :is(.chart-tab,.chart-tf,.indicator-toggle){appearance:none;background:var(--gcx-field)!important;color:var(--gcx-muted)!important;border:1px solid var(--gcx-line)!important;border-radius:6px;padding:7px 10px!important;min-height:34px;font:500 12px Inter,Arial,sans-serif!important;line-height:1.3;cursor:pointer}
body.gcx-mobile-page :is(.chart-tab,.chart-tf,.indicator-toggle).active{color:var(--gcx-text)!important;border-color:#997b3a!important;background:var(--gcx-surface)!important}
body.gcx-mobile-page .chart-feed-badge{width:auto;margin-left:auto;font-size:10px;max-width:100%;overflow-wrap:anywhere}
body.gcx-mobile-page .indicator-toolbar{display:flex;gap:6px;flex-wrap:wrap}
body.gcx-mobile-page .indicator-values{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}
body.gcx-mobile-page .indicator-values span{padding:5px 7px;font-size:10px;border-radius:5px}
body.gcx-market .chart-wrap{height:360px;margin-top:12px}
body.gcx-market .indicator-wrap{height:100px}
body.gcx-market .trade-side{padding:18px}
body.gcx-market .trade-side h2{font-size:23px;overflow-wrap:anywhere}
body.gcx-market .quote-grid{grid-template-columns:1fr;margin:14px 0}
body.gcx-market .quote-grid>div{display:flex;justify-content:space-between;align-items:center;padding:10px;gap:10px;font-size:12px}
body.gcx-market .quote-grid small{margin:0}
body.gcx-market .market-action-stack{display:grid;gap:8px}
body.gcx-market .market-action-stack a{min-height:40px;padding:10px;font-size:12px;text-align:center}
body.gcx-market .gc-global-book{margin-top:16px;padding:16px}
body.gcx-market .gc-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.gcx-market .gc-book-side{min-width:0}
body.gcx-market :is(.gc-book-head,.gc-book-row){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.7fr);gap:8px;font-size:12px}
body.gcx-market :is(.gc-book-row,.gc-tape-row)>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Wallet: summary first; compact address, copy action and holdings. */
body.gcx-dashboard .gc41-page-links{display:flex;justify-content:flex-end;margin:12px 0 0}
body.gcx-dashboard .gc41-page-links a{padding:8px 12px;font-size:12px}
body.gcx-dashboard .premium-sectionhead{display:flex;flex-direction:row;align-items:center;gap:12px;margin:14px 0}
body.gcx-dashboard .premium-sectionhead h1{font-size:26px;margin:4px 0}
body.gcx-dashboard .premium-sectionhead .eyebrow{font-size:10px}
body.gcx-dashboard .portfolio-summary{padding:18px;margin-bottom:14px}
body.gcx-dashboard .portfolio-summary-head{margin-bottom:12px}
body.gcx-dashboard .portfolio-summary-head h3{font-size:18px;margin:5px 0}
body.gcx-dashboard .portfolio-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
body.gcx-dashboard .summary-row{min-width:0;padding:12px 0;gap:12px;border-bottom:1px solid var(--gcx-line)}
body.gcx-dashboard .summary-row>span{font-size:12px;line-height:1.5}
body.gcx-dashboard .summary-money{min-width:0;text-align:right}
body.gcx-dashboard .summary-money strong{font-size:17px;overflow-wrap:anywhere}
body.gcx-dashboard .summary-money small{font-size:11px}
body.gcx-dashboard .gcx-wallet-address{padding:16px}
body.gcx-dashboard .gcx-wallet-address :is(h3,p){margin:5px 0}
body.gcx-dashboard .gcx-wallet-address h3{font-size:16px}
body.gcx-dashboard .gcx-wallet-address p{font-size:12px;line-height:1.5}
body.gcx-dashboard .gcx-wallet-address .eyebrow{display:none}
body.gcx-dashboard .gcx-wallet-address .copyrow{display:flex;flex-direction:row;gap:8px}
body.gcx-dashboard .copyrow input{font-size:13px;min-height:40px;padding:9px 10px}
body.gcx-dashboard .gcx-wallet-address .btn{flex:0 0 auto;width:auto;font-size:12px;padding:9px 12px;min-height:40px}
body.gcx-dashboard .holding{gap:12px;align-items:center}
body.gcx-dashboard .holding>div{min-width:0}
body.gcx-dashboard .holding b{font-size:13px;overflow-wrap:anywhere}
body.gcx-dashboard .holding small{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
/* Form corrections apply to all asset types without changing order behavior. */
body.gcx-exchange .exchange-order-type button{background:var(--gcx-field)!important;color:var(--gcx-muted)!important;border-color:var(--gcx-line)!important}
body.gcx-exchange .exchange-order-type button.active{background:var(--gcx-surface)!important;color:var(--gcx-text)!important;border-color:#997b3a!important}
body.gcx-exchange :is(.exchange-order-type button small,.exchange-order-head .eyebrow){display:none}
body.gcx-exchange .exchange-submit{min-height:44px!important}
body.gcx-exchange .exchange-asset{min-width:0;gap:8px;grid-template-columns:28px minmax(0,1fr)}
body.gcx-exchange .exchange-asset .asseticon{width:28px;height:28px}
body.gcx-exchange .exchange-asset-price{grid-column:2;text-align:left;display:flex;flex-wrap:wrap;gap:5px 10px}
body.gcx-exchange .exchange-asset b{font-size:12px;overflow-wrap:anywhere}
body.gcx-exchange .exchange-asset strong{font-size:12px}
body.gcx-exchange .exchange-assets{max-height:850px;overflow-y:auto}
body.gcx-mobile-page .gcx-voice-fab{width:32px;height:32px;font-size:16px;opacity:.7}
@media(min-width:821px){
 body.gcx-mobile-page .page{width:calc(100% - 40px);max-width:1440px;padding-top:16px}
 html body.gb-simple.gcx-mobile-page .topbar{background:var(--gcx-bg)!important;border-color:var(--gcx-line)}
 body.gcx-mobile-page .topbar{gap:16px}
 body.gcx-mobile-page .desktop-nav{gap:14px;flex-wrap:wrap}
 body.gcx-mobile-page .desktop-nav a{font-size:12px}
 body.gcx-mobile-page .gcx-voice-fab{bottom:18px;right:18px}
}
@media(min-width:821px) and (max-width:1100px){body.gcx-mobile-page .desktop-nav{display:none!important}}
@media(max-width:820px){
 html body.gb-simple.gcx-mobile-page .panel{padding:14px;border-radius:10px}
 body.gcx-mobile-page :is(.two-col,.portfolio-columns){grid-template-columns:minmax(0,1fr)}
 body.gcx-mobile-page .page{padding-top:8px!important}
 body.gcx-markets .gc-heading{margin:8px 0 12px}
 body.gcx-markets .gc-heading h1{font-size:22px!important}
 body.gcx-markets .gc-heading :is(p,.gc-kicker){display:none}
 body.gcx-markets .gc-heading .ghost{padding:8px 10px;font-size:11px}
 html body.gb-simple.gcx-markets .gc-categories{gap:20px;margin-bottom:12px}
 html body.gb-simple.gcx-markets .gc-categories a{font-size:12px;min-height:42px}
 body.gcx-markets .gc-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
 body.gcx-markets .gc-search{grid-column:1/-1;width:100%}
 body.gcx-markets .gc-sort{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;font-size:10px}
 body.gcx-markets .gc-sort select{max-width:100%;width:100%;flex:auto;font-size:11px!important}
 body.gcx-markets :is(.gc-list-head,.gc-row){grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 68px!important;gap:8px;padding:12px;min-height:0}
 body.gcx-markets .gc-list-head{font-size:10px;padding-block:10px}
 body.gcx-markets .gc-list-head span:nth-child(3){display:block}
 body.gcx-markets .gc-list-head span:last-child{display:none}
 body.gcx-markets .gc-row>.gc-asset{grid-column:1;grid-row:1}
 body.gcx-markets .gc-row>.gc-price{grid-column:2;grid-row:1}
 body.gcx-markets .gc-row>.move-arrow{grid-column:3;grid-row:1;font-size:10px}
 body.gcx-markets .gc-row .gc-trade,body.gcx-markets .gc-row .gc-actions{display:none}
 body.gcx-markets .gc-asset{gap:7px}
 body.gcx-markets .gc-asset .asseticon{width:26px!important;height:26px!important;min-width:26px;flex-basis:26px}
 body.gcx-markets .gc-asset b{font-size:11px}
 body.gcx-markets .gc-asset small{font-size:9px}
 body.gcx-markets .gc-price strong{font-size:11px;line-height:1.5}
 body.gcx-markets .gc-price-note{font-size:9px}
 body.gcx-markets .gc-list-foot{padding:12px;font-size:10px}
 body.gcx-market .market-detail-head{display:grid;grid-template-columns:minmax(0,1fr);padding:12px;margin:4px 0 12px;gap:12px}
 body.gcx-market .asset-title h1{font-size:20px}
 body.gcx-market .asset-title .eyebrow{font-size:10px}
 body.gcx-market .detail-quote{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;text-align:left;flex-shrink:1}
 body.gcx-market .detail-quote strong{font-size:24px;width:100%}
 body.gcx-market .chart-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 body.gcx-market .chart-wrap{height:280px}
 body.gcx-mobile-page :is(.chart-tab,.chart-tf,.indicator-toggle){font-size:11px!important;padding:6px 8px!important;min-height:32px}
 body.gcx-market .indicator-toolbar{display:flex!important}
 body.gcx-market .indicator-values{display:flex!important}
 body.gcx-market .trade-side>small,body.gcx-market .trade-side>h2,body.gcx-market .trade-side>#sideUSDT{display:none}
 body.gcx-market .quote-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 12px}
 body.gcx-market .quote-grid>div{display:grid;gap:6px}
 body.gcx-market .market-action-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.gcx-market .market-action-stack>.btn{grid-column:1/-1}
 body.gcx-market .gc-book-grid{grid-template-columns:minmax(0,1fr)}
 body.gcx-market :is(.gc-book-head,.gc-book-row){font-size:11px}
 body.gcx-market .gc-book-title h3{font-size:15px}
 body.gcx-market .gc-tape-head,body.gcx-market .gc-tape-row{grid-template-columns:45px 30px minmax(0,1fr) minmax(0,1fr) 50px;gap:5px;font-size:10px}
 body.gcx-dashboard .premium-sectionhead{flex-wrap:wrap}
 body.gcx-dashboard .premium-sectionhead .sectionhead-actions{flex-wrap:wrap;gap:8px}
 body.gcx-dashboard .premium-sectionhead .btn{padding:9px 12px;font-size:12px}
 body.gcx-dashboard .portfolio-summary-list{grid-template-columns:minmax(0,1fr)}
 body.gcx-dashboard .summary-row{padding:10px 0;display:flex;justify-content:space-between;align-items:center}
 body.gcx-dashboard .summary-money strong{font-size:16px}
 body.gcx-dashboard .gcx-wallet-address .panel-title-row{flex-wrap:wrap;gap:8px}
 body.gcx-dashboard .gcx-wallet-address .panel-title-row .ghost{font-size:11px;padding:8px 10px}
 body.gcx-dashboard .gcx-wallet-address .copyrow{flex-wrap:wrap}
 body.gcx-dashboard .gcx-wallet-address input{flex:1 1 100%;font-size:12px}
 body.gcx-dashboard .gcx-wallet-address .copyrow .btn{width:100%}
 body.gcx-exchange .exchange-order .order-grid b,body.gcx-exchange .available-line b{font-size:10px!important;overflow-wrap:anywhere}
 body.gcx-exchange #exchangeOrderForm>label{font-size:11px;line-height:1.5}
 body.gcx-exchange .exchange-order-type button{min-height:36px;font-size:12px!important}
 body.gcx-exchange .trade-entry-fields input{font-size:16px!important;height:42px!important;min-height:42px!important}
 body.gcx-exchange .gc-book-row{font-variant-numeric:tabular-nums}
 body.gcx-mobile-page .gcx-record-tabs{overflow-x:auto}
}
@media(max-width:360px){
 body.gcx-markets :is(.gc-list-head,.gc-row){grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 56px!important;gap:6px;padding-inline:8px}
 body.gcx-markets .gc-categories span{display:none}
 body.gcx-markets .gc-asset .asseticon{width:22px!important;height:22px!important;min-width:22px;flex-basis:22px}
 body.gcx-markets .gc-price strong{font-size:10px}
 body.gcx-market .gc-tape-head,body.gcx-market .gc-tape-row{grid-template-columns:40px 26px minmax(0,1fr) minmax(0,1fr) 42px;font-size:9px;gap:3px}
}
/* Unified wallet, based on the supplied assets reference. */
body.gcx-dashboard .gcx-wallet{max-width:1040px;margin:0 auto}
.gcx-wallet-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 26px}
body.gcx-dashboard .gcx-wallet-heading h1{font-size:20px;font-weight:600;margin:0}
.gcx-wallet-heading>a{font-size:27px;color:var(--gcx-muted)}
.gcx-wallet-hero{padding:20px 24px 24px;border-bottom:1px solid var(--gcx-line)}
.gcx-wallet-name{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--gcx-text)}
.gcx-wallet-dot{display:grid;place-items:center;font-weight:700;font-size:12px;width:22px;height:22px;background:#5c4b27;border-radius:50%;color:#edc876}
.gcx-wallet-name button{border:0;background:transparent;color:var(--gcx-muted);font-size:17px;cursor:pointer;padding:5px}
.gcx-wallet-total-label{display:block;margin-top:15px;color:var(--gcx-muted);font-size:11px}
body.gcx-dashboard .gcx-wallet-total{display:block;font-size:38px;line-height:1.2;font-weight:700;letter-spacing:-1px;margin:6px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gcx-wallet-caption{font-size:11px;color:var(--gcx-muted);line-height:1.6;margin:8px 0}
.gcx-wallet-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px;max-width:520px}
.gcx-wallet-actions a{display:flex;align-items:center;flex-direction:column;gap:10px;font-size:12px;color:var(--gcx-text);text-align:center}
.gcx-wallet-actions i{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--gcx-field);font-style:normal}
.gcx-wallet-actions svg{width:25px;height:25px;fill:none;stroke:var(--gcx-text);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gcx-wallet-actions svg path{stroke:currentColor}.gcx-wallet-actions i{color:#e1c375}
.gcx-wallet-assets{padding:0 24px 20px}
.gcx-wallet-tabs{display:flex;gap:24px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;border-bottom:1px solid var(--gcx-line)}
.gcx-wallet-tabs button{position:relative;flex:0 0 auto;min-height:50px;padding:14px 0;border:0;border-radius:0;background:none;color:var(--gcx-muted);font:500 13px Inter,Arial,sans-serif;cursor:pointer}
.gcx-wallet-tabs button[aria-pressed=true]{color:var(--gcx-text)}
.gcx-wallet-tabs button[aria-pressed=true]::after{content:'';position:absolute;bottom:0;left:0;width:24px;height:3px;background:#e1b443;border-radius:2px}
.gcx-wallet-list-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;color:var(--gcx-muted);font-size:12px}
.gcx-wallet-list-tools>span small{display:block;font-size:10px;margin-top:5px}
.gcx-wallet-list-tools label{display:flex;align-items:center;gap:6px;font-size:11px;cursor:pointer}
body.gcx-dashboard .gcx-wallet-list-tools input[type=checkbox]{appearance:auto!important;width:14px;height:14px;min-height:0;padding:0;accent-color:#e1b443}
.gcx-wallet-search{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--gcx-line);border-radius:7px;background:var(--gcx-field)}
body.gcx-dashboard .gcx-wallet-search input{background:transparent!important;border:0!important;box-shadow:none!important;min-height:36px;padding:8px 0;font-size:13px}
body.gcx-dashboard .holding.gcx-wallet-row{display:grid;grid-template-columns:36px minmax(0,1fr) minmax(100px,.7fr);gap:12px;align-items:center;padding:18px 0;border:0;border-bottom:1px solid var(--gcx-line);text-decoration:none;color:var(--gcx-text)}
.gcx-wallet-row .asseticon{width:36px!important;height:36px!important;min-width:36px;border-radius:50%!important}
.gcx-wallet-row .asseticon img{border-radius:50%!important}
body.gcx-dashboard .gcx-cash-icon{background:#26a17b!important;color:#fff;font-size:24px}
.gcx-wallet-identity,.gcx-wallet-position{min-width:0}
body.gcx-dashboard .gcx-wallet-identity>b{font-size:14px;display:block;font-weight:600}
.gcx-wallet-identity>small{display:block;color:var(--gcx-muted);font-size:10px!important;margin:3px 0}
.gcx-wallet-market{display:flex;flex-wrap:wrap;gap:4px 7px;color:var(--gcx-muted);font-size:11px;font-variant-numeric:tabular-nums}
.gcx-wallet-position{text-align:right;display:flex;flex-direction:column;gap:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.gcx-dashboard .gcx-wallet-position>b{font-size:15px;line-height:1.4;font-weight:500}
.gcx-wallet-position>b small{font-size:10px!important;color:var(--gcx-muted);font-weight:400}
.gcx-wallet-position>span,.gcx-wallet-position>small{font-size:12px!important;color:var(--gcx-muted)}
.gcx-wallet-empty{padding:30px 12px;text-align:center;font-size:13px;color:var(--gcx-muted)}
.gcx-wallet-details{margin:0 24px 20px;font-size:12px;color:var(--gcx-muted);border-top:1px solid var(--gcx-line)}
.gcx-wallet-details>summary{padding:15px 0;cursor:pointer}
.gcx-wallet-detail-content{display:flex;gap:8px;flex-wrap:wrap}
.gcx-wallet-detail-content label{display:grid;gap:7px;width:100%}
.gcx-wallet-detail-content input{font-size:13px}
.gcx-wallet-detail-content .ghost{font-size:12px;padding:10px}
@media(min-width:821px){
 .gcx-wallet{display:grid;grid-template-columns:310px minmax(0,1fr);gap:0 20px;align-items:start}
 .gcx-wallet-hero{position:sticky;top:90px;padding:20px 16px;border:1px solid var(--gcx-line);border-radius:12px;background:var(--gcx-surface)}
 body.gcx-dashboard .gcx-wallet-total{font-size:30px}
 .gcx-wallet-actions{gap:8px}.gcx-wallet-actions a{font-size:11px}
 .gcx-wallet-assets{padding:0 0 20px;min-width:0}
 .gcx-wallet-details{grid-column:1/-1;margin:0 0 20px}
}
@media(max-width:820px){
 body.gcx-dashboard #mainContent{padding-left:0!important;padding-right:0!important}
 .gcx-wallet-hero{padding:14px 16px 22px}
 .gcx-wallet-heading{margin:0 0 20px}
 body.gcx-dashboard .gcx-wallet-total{font-size:32px}
 .gcx-wallet-actions{max-width:none;gap:12px;margin-top:22px}
 .gcx-wallet-assets{padding:0 16px 16px}
 .gcx-wallet-tabs{gap:20px}.gcx-wallet-tabs button{font-size:12px}
 body.gcx-dashboard .holding.gcx-wallet-row{grid-template-columns:30px minmax(0,1fr) minmax(88px,.85fr);gap:10px;padding:16px 0}
 .gcx-wallet-row .asseticon{width:30px!important;height:30px!important;min-width:30px}
 body.gcx-dashboard .gcx-wallet-identity>b{font-size:13px}
 body.gcx-dashboard .gcx-wallet-position>b{font-size:13px}
 .gcx-wallet-market{font-size:10px}.gcx-wallet-position>span{font-size:11px!important}
 .gcx-wallet-details{margin:0 16px 20px}
}
/* Reference wallet: flat surface, four shortcuts, single unified list. */
html[data-gc-theme="black"]:has(body.gcx-dashboard){--gcx-bg:#1d2933;--gcx-surface:#1d2933;--gcx-field:#24333e;--gcx-line:#2c3943;--gcx-muted:#9caab5}
body.gcx-dashboard .gcx-wallet-total{margin-top:8px}
.gcx-wallet-section-title{padding:18px 0 12px;font-size:14px;position:relative}
.gcx-wallet-section-title:after{content:'';position:absolute;bottom:0;left:0;width:24px;height:3px;background:#e1b443}
.gcx-wallet-filter-toggle{border:0;background:transparent;color:var(--gcx-muted);padding:8px;cursor:pointer}
.gcx-wallet-filter-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4}
.gcx-wallet-zero{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--gcx-muted);padding:12px 0}
body.gcx-dashboard .gcx-wallet-zero input{appearance:auto!important;width:14px;height:14px;min-height:0;accent-color:#e1b443}
body.gcx-dashboard .holding.gcx-wallet-row{border-bottom:0}
@media(max-width:820px){
 body.gcx-dashboard .topbar{height:48px!important;min-height:48px!important}
 .gcx-wallet-heading{display:none}
 .gcx-wallet-hero{padding-top:12px}
 .gcx-wallet-name{font-size:13px}
 .gcx-wallet-list-tools{padding:12px 0 4px}
 body.gcx-dashboard .gcx-wallet-total{font-size:34px}
}
@media(max-width:820px){
 html body.gb-simple.gcx-exchange .exchange-shell-modern>.panel,html body.gb-simple.gcx-futures .futures-grid>.panel{background:transparent!important;border:0!important;border-radius:0!important}
}
.gcx-wallet-topbar-title,.gcx-wallet-topbar-history{display:none}
@media(max-width:820px){
 body.gcx-dashboard .topbar{justify-content:space-between}
 body.gcx-dashboard .topbar .brand,body.gcx-dashboard .topbar .topactions{display:none!important}
 body.gcx-dashboard .topbar .gb-menu{order:-1}
 body.gcx-dashboard .gcx-wallet-topbar-title{display:block;font-size:16px;font-weight:600;position:absolute;left:50%;transform:translateX(-50%)}
 body.gcx-dashboard .gcx-wallet-topbar-history{display:block;order:3;font-size:26px;line-height:1;color:var(--gcx-text)}
 body.gcx-dashboard .premium-mobilebar{background:var(--gcx-bg)!important}
}
body.gcx-mobile-page :is(.gc-book-side,.gc-book-tape){background:var(--gcx-bg);border-color:var(--gcx-line);border-radius:8px}
body.gcx-mobile-page .book-empty{min-height:0;padding:16px 4px;font-size:11px}


/* v2.2.77 · Hisse/Emtia mobile trade + full bottom bar + reference wallet */
@media(max-width:820px){
  body.gcx-exchange .gc56-notice{padding:10px 12px!important;margin:8px 0!important;border-radius:8px!important;font-size:11px!important;line-height:1.45!important}
  body.gcx-exchange .gc56-notice b{font-weight:600!important}
  body.gcx-exchange .gc56-notice + p.muted{margin:7px 0 6px!important;font-size:10px!important;line-height:1.4!important;overflow-wrap:anywhere}
  body.gcx-exchange .gcx-product-nav{gap:17px!important;min-width:0;width:100%;padding-right:4px!important}
  body.gcx-exchange .gcx-product-nav a{font-size:13px!important}
  body.gcx-exchange .exchange-shell-modern{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(0,38fr) minmax(0,62fr)!important;grid-template-areas:"pair pair" "book order" "chart chart"!important;column-gap:10px!important;row-gap:0!important;overflow:visible!important}
  body.gcx-exchange .exchange-shell-modern>.exchange-pairbar{grid-area:pair!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important}
  body.gcx-exchange .exchange-shell-modern>.exchange-book{grid-area:book!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important;max-width:none!important}
  body.gcx-exchange .exchange-shell-modern>.exchange-order{grid-area:order!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important;max-width:none!important;align-self:start!important}
  body.gcx-exchange .exchange-shell-modern>.exchange-chart-panel{grid-area:chart!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important;max-width:none!important}
  body.gcx-exchange .exchange-pairbar label{flex:1 1 auto!important;width:auto!important;min-width:120px!important;max-width:none!important}
  body.gcx-exchange .exchange-pairbar select{width:100%!important;max-width:none!important;min-width:0!important;text-overflow:ellipsis!important}
  body.gcx-exchange .exchange-pairbar-price{flex:0 0 auto!important;min-width:54px!important}
  body.gcx-exchange .exchange-book .gc-book-row,body.gcx-exchange .exchange-book .gc-book-head{width:100%!important;min-width:0!important}
  body.gcx-exchange .exchange-book .gc-book-row>span{font-size:10.5px!important}
  body.gcx-exchange .exchange-order form,body.gcx-exchange .exchange-order .trade-entry-fields,body.gcx-exchange .exchange-order .trade-inputbox{width:100%!important;min-width:0!important;max-width:100%!important}
  body.gcx-exchange .exchange-order-type{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  body.gcx-exchange .exchange-order-type button{min-width:0!important;white-space:normal!important;line-height:1.2!important}
  body.gcx-exchange .side-tabs{width:100%!important}
  body.gcx-mobile-page nav.mobilebar.premium-mobilebar.gcx-exchange-mobilebar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;justify-content:stretch!important;align-items:stretch!important;left:0!important;right:0!important;width:100%!important}
  body.gcx-mobile-page nav.mobilebar.premium-mobilebar.gcx-exchange-mobilebar>a{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0!important;width:auto!important;max-width:none!important;flex:none!important;overflow:visible!important}
  body.gcx-mobile-page nav.mobilebar.premium-mobilebar.gcx-exchange-mobilebar>a span{display:block!important;white-space:nowrap!important;font-size:10px!important;max-width:none!important}

  body.gcx-dashboard #mainContent{background:var(--gcx-bg)!important}
  body.gcx-dashboard .gcx-wallet{width:100%!important;max-width:100%!important;margin:0!important}
  body.gcx-dashboard .gcx-wallet-hero{padding:17px 20px 25px!important;border-bottom:1px solid var(--gcx-line)!important}
  body.gcx-dashboard .gcx-wallet-name{font-size:13px!important;margin-top:1px}
  body.gcx-dashboard .gcx-wallet-total{font-size:34px!important;line-height:1.14!important;margin:15px 0 3px!important;letter-spacing:-.7px!important}
  body.gcx-dashboard .gcx-wallet-local{display:block;color:var(--gcx-muted);font-size:12px;margin-top:4px;font-variant-numeric:tabular-nums}
  body.gcx-dashboard .gcx-wallet-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-top:27px!important;max-width:none!important}
  body.gcx-dashboard .gcx-wallet-actions a{gap:8px!important;font-size:11px!important;min-width:0!important}
  body.gcx-dashboard .gcx-wallet-actions i{width:48px!important;height:48px!important;border-radius:12px!important;background:var(--gcx-field)!important}
  body.gcx-dashboard .gcx-wallet-actions svg{width:24px!important;height:24px!important}
  body.gcx-dashboard .gcx-wallet-assets{padding:0 20px 20px!important}
  body.gcx-dashboard .gcx-wallet-tabs{display:flex!important;gap:25px!important;width:100%!important;overflow-x:auto!important;border-bottom:1px solid var(--gcx-line)!important;scrollbar-width:none}
  body.gcx-dashboard .gcx-wallet-tabs::-webkit-scrollbar{display:none}
  body.gcx-dashboard .gcx-wallet-tabs button{font-size:12px!important;min-height:50px!important;padding:15px 0!important}
  body.gcx-dashboard .gcx-wallet-list-tools{padding:16px 0 7px!important;align-items:center!important}
  body.gcx-dashboard .gcx-wallet-list-tools>span{font-size:12px!important;color:var(--gcx-muted)!important}
  body.gcx-dashboard .gcx-wallet-zero{padding:0!important;font-size:11px!important;white-space:nowrap!important}
  body.gcx-dashboard .gcx-wallet-row[hidden]{display:none!important}
  body.gcx-dashboard .holding.gcx-wallet-row{grid-template-columns:31px minmax(0,1fr) minmax(94px,.86fr)!important;gap:12px!important;padding:16px 0!important;border-bottom:1px solid rgba(255,255,255,.035)!important}
  body.gcx-dashboard .gcx-wallet-position>b{font-size:13px!important}
  body.gcx-dashboard .gcx-wallet-position>span{font-size:11px!important}
}
@media(max-width:370px){
  body.gcx-exchange .exchange-shell-modern{grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important;column-gap:8px!important}
  body.gcx-exchange .exchange-pairbar label{min-width:100px!important}
  body.gcx-dashboard .gcx-wallet-hero,body.gcx-dashboard .gcx-wallet-assets{padding-left:14px!important;padding-right:14px!important}
  body.gcx-dashboard .gcx-wallet-actions{gap:8px!important}
  body.gcx-dashboard .gcx-wallet-actions i{width:44px!important;height:44px!important}
}


/* v2.2.78 mobile hardening: category trade and five-item bottom navigation. */
@media(max-width:920px){
 body.gcx-mobile-page.gcx-exchange nav.mobilebar.premium-mobilebar.gcx-exchange-mobilebar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:hidden!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100vw!important}
 body.gcx-mobile-page.gcx-exchange nav.mobilebar.premium-mobilebar.gcx-exchange-mobilebar>a{display:flex!important;visibility:visible!important;opacity:1!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important;overflow:hidden!important;align-items:center!important;justify-content:center!important}
 body.gcx-mobile-page.gcx-exchange nav.mobilebar.premium-mobilebar.gcx-exchange-mobilebar>a span{display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}


/* v2.2.79 · Mobile Spot is identical to Metal/Hisse/Emtia trade layout. */
@media(max-width:920px){
  body.gcx-exchange .exchange-shell-modern[data-trade-category]{display:flex!important;flex-flow:row wrap!important;align-items:flex-start!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:0 10px!important;overflow:visible!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-pairbar{order:1!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-assets{display:none!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-book{order:2!important;flex:0 0 calc(36% - 5px)!important;width:calc(36% - 5px)!important;max-width:calc(36% - 5px)!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-order{order:3!important;flex:0 0 calc(64% - 5px)!important;width:calc(64% - 5px)!important;max-width:calc(64% - 5px)!important;min-width:0!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-chart-panel{order:4!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-top:14px!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category] .exchange-order form,body.gcx-exchange .exchange-shell-modern[data-trade-category] .side-tabs,body.gcx-exchange .exchange-shell-modern[data-trade-category] .exchange-order-type,body.gcx-exchange .exchange-shell-modern[data-trade-category] .trade-inputbox,body.gcx-exchange .exchange-shell-modern[data-trade-category] .range-steps,body.gcx-exchange .exchange-shell-modern[data-trade-category] .available-line{width:100%!important;max-width:100%!important;min-width:0!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category] .trade-inputbox input{min-width:0!important;width:100%!important;font-size:15px!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category] .gc-book-grid,body.gcx-exchange .exchange-shell-modern[data-trade-category] .gc-book-side,body.gcx-exchange .exchange-shell-modern[data-trade-category] [data-book-bids],body.gcx-exchange .exchange-shell-modern[data-trade-category] [data-book-asks]{width:100%!important;max-width:100%!important;min-width:0!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category] .gc-book-row{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)!important}
  body.gcx-exchange .exchange-shell-modern[data-trade-category] .gc-book-row>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
@media(max-width:370px){body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-book{flex-basis:calc(38% - 4px)!important;width:calc(38% - 4px)!important;max-width:calc(38% - 4px)!important}body.gcx-exchange .exchange-shell-modern[data-trade-category]>.exchange-order{flex-basis:calc(62% - 4px)!important;width:calc(62% - 4px)!important;max-width:calc(62% - 4px)!important}body.gcx-exchange .exchange-shell-modern[data-trade-category]{gap:0 8px!important}}

/* Wallet privacy: values remain live underneath, visual output becomes stars. */
.gcx-wallet-privacy-toggle{border:0;background:transparent;color:var(--gcx-muted);padding:4px 6px;font-size:17px;line-height:1;cursor:pointer;vertical-align:middle}
.gcx-wallet-private-hidden [data-wallet-private]{position:relative;color:transparent!important;text-shadow:none!important;user-select:none}
.gcx-wallet-private-hidden [data-wallet-private] *{visibility:hidden!important}
.gcx-wallet-private-hidden [data-wallet-private]::after{content:'******';visibility:visible!important;position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-start;color:var(--gcx-text)!important;letter-spacing:2px;font-weight:700;white-space:nowrap}
.gcx-wallet-private-hidden .gcx-wallet-position[data-wallet-private]::after{justify-content:flex-end}

/* QR scanner mobile surface. */
#qrVideo{display:block;width:100%;max-width:100%;aspect-ratio:4/3;object-fit:cover;background:#05080b;border:1px solid var(--gcx-line,var(--line));border-radius:10px;margin-top:10px}
#qrVideo[hidden]{display:none!important}
.gcx-qr-scan-status{display:block;min-height:18px;margin-top:7px;color:var(--gcx-muted,var(--muted));font-size:11px;line-height:1.4}
