/* Pixel Arcade. Product-only presentation; no prices, charts or account data changed. */
@font-face{font-family:LingcePixel;src:url('/static/lingce-pixel-zh.woff2?v=b67eb7aa592622e5bc1152b800d32404bb887a1e3a2e669b0c2a873d388590d6') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body){
 --px-night:#111329;--px-panel:#202440;--px-raised:#2a3052;--px-edge:#6673a0;--px-cream:#fff1d0;--px-mint:#80efcc;--px-gold:#ffe089;--px-pink:#ff94b3;--px-violet:#b8acff;
 --bg:var(--px-night);--surface:var(--px-panel);--surface-2:var(--px-raised);--surface-3:#343d61;--card:var(--px-panel);--card-soft:#252b48;--border:#59658b;--text:var(--px-cream);--text-secondary:#d6d6eb;--muted:#b1bbd6;
 --accent:var(--px-mint);--accent-soft:#243f40;--blue:var(--px-violet);--blue-soft:#323250;--positive:#80efb6;--positive-soft:#1c3b35;--danger:#ff96ac;--danger-soft:#43283d;--warning:var(--px-gold);
 --radius:2px;--ui-radius-control:2px;--ui-line:#59658b;--ui-highlight:#8e9cc24d;--ui-shadow:4px 4px 0 #080b1c;--ui-control-shadow:2px 3px 0 #080b1c;--ui-selected:#33494b;--ui-selected-line:var(--px-mint);--ui-header:#191e36;
 --forge-accent:var(--px-mint);--forge-ink:var(--px-cream);--forge-muted:#b1bbd6;--forge-soft:#243f40;--forge-line:#59658b;--forge-line-strong:#8491bb;--forge-panel:#202440;--forge-shadow:4px 4px 0 #080b1c;
 --wallet-ink:var(--px-cream);--wallet-muted:#b1bbd6;--wallet-line:#59658b;--wallet-soft:#263550;--wallet-accent:var(--px-mint);
 font-family:LingcePixel,'PingFang SC','Microsoft YaHei',sans-serif;font-weight:400;letter-spacing:.02em;color:var(--text);color-scheme:dark;isolation:isolate;
 background-color:var(--px-night);background-image:linear-gradient(#8793d00b 1px,transparent 1px),linear-gradient(90deg,#8793d00b 1px,transparent 1px),radial-gradient(ellipse at 25% 0,#30254a66,transparent 65%);background-size:16px 16px,16px 16px,100% 900px;
}
/* A decorative 8-bit skyline stays behind the interface. It never overlays controls. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body)::after{content:'';position:fixed;pointer-events:none;z-index:-1;inset:auto 0 0;height:160px;background-position:center bottom;background-repeat:repeat-x;background-size:480px 144px;opacity:.65;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='72' viewBox='0 0 240 72' shape-rendering='crispEdges'%3E%3Cpath fill='%231d2544' d='M0 72V43h12V31h12v12h12v29h4V23h8v-9h4v9h12v49h8V39h16V27h8v45h8V15h20v57h8V39h12V31h8v41h12V23h20v49h8V39h12V31h12v41h8V47h16v25Z'/%3E%3Cpath fill='%23374563' d='M6 49h4v4H6zm10-12h4v4h-4zm30-6h4v4h-4zm8 12h4v4h-4zm24 2h4v4h-4zm32-24h4v4h-4zm8 12h4v4h-4zm0 12h4v4h-4zm20 2h4v4h-4zm32-18h4v4h-4zm8 12h4v4h-4zm18 4h4v4h-4zm30 8h4v4h-4z'/%3E%3Cpath fill='%2371bdb9' d='M16 49h4v4h-4zm30-6h4v4h-4zm64-10h4v4h-4zm60 8h4v4h-4zm34 4h4v4h-4z'/%3E%3Cpath fill='%23ba9f65' d='M54 31h4v4h-4zm56 14h4v4h-4zm68-16h4v4h-4z'/%3E%3Cpath fill='%23535178' d='M26 9h2v2h-2zm58-5h2v2h-2zm62 9h2v2h-2zm62-7h2v2h-2z'/%3E%3C/svg%3E")}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(button,a.live-button,input,select,textarea){font-family:inherit;border-radius:2px!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:border-color .12s steps(1,end),color .12s steps(1,end)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(button,a.live-button,[role="button"]){box-shadow:2px 3px 0 #090c1d!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(button,a.live-button,[role="button"]):not(:disabled):active{scale:none!important;translate:0 1px!important;box-shadow:1px 1px 0 #090c1d!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(button,a,input,select,textarea,summary):focus-visible{outline:2px dashed var(--px-gold);outline-offset:4px}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.panel,.portfolio-card,.wallet-card,.market-insight-card,.strategy-running-card,.copy-card,.ai-brief-card,.settings-group,.profile-menu,.profile-shortcut-group,.cl-trader-hero,.cl-follow-form,.cl-activity-section,.strategy-hub-hero,.hp-hero,.home-perpetual-card){border:2px solid var(--px-edge)!important;border-radius:2px!important;background:var(--px-panel)!important;box-shadow:0 -3px 0 -1px #353f65,0 3px 0 -1px #353f65,3px 0 0 -1px #353f65,-3px 0 0 -1px #353f65,5px 6px 0 #080b1c!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.panel,.portfolio-card,.wallet-card,.profile-shortcut-group){margin-bottom:20px}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.polished-profile,.profile-shortcut-groups){background:transparent!important;border:0!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.panel,.wallet-card,.cl-trader-hero,.strategy-hub-hero)>:is(header,h1,h2,h3,.live-title){color:var(--px-cream)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(h1,h2,h3,h4,.platform-wordmark,.nav-label,.strategy-row-name,.home-strategy-name,.profile-shortcut b,.lc-theme-gallery h1){font-family:LingcePixel,'PingFang SC',sans-serif;font-weight:400!important;letter-spacing:.03em}
/* Actual balances, prices and user input use precise tabular glyphs, not tiny pixel text. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(input,textarea,select,.asset-value,.asset-amount,.portfolio-value,.wallet-value,.wallet-equity-value,.wallet-equity-grid strong,.wallet-exchange-value,.home-assets strong,.cfd-metrics strong,.running-stat strong,.cl-leader-profit b,.cl-trader-profit strong,.cl-position-pnl strong,.cl-trade-values b,.market-price,.market-change,.hpc-price,.hpc-change,.home-strategy-return,.strategy-row-metric,.equity-curve text,.bt-metric strong,.account-hub-total strong){font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace!important;font-variant-numeric:tabular-nums;letter-spacing:-.025em;font-weight:600}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(input,textarea,select){background:#141c32!important;color:var(--px-cream)!important;border:1px solid #7887b5!important;box-shadow:inset 2px 2px 0 #080c1b!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(input,textarea)::placeholder{color:#a5aecb!important}
/* Header and five hand-drawn sprite navigation glyphs. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .topbar{background:#191e36!important;border-bottom:2px solid #65739f;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 3px 0 #090c1d}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .topbar :is(.icon-button,.theme-toggle,.mode-pill){background:#29334e!important;color:var(--px-mint)!important;border:1px solid #7c8bb3!important;border-radius:2px!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .topbar .mode-pill{color:var(--px-gold)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .topbar .platform-symbol{border-radius:2px!important;background:#28463f!important;color:var(--px-mint)!important;border:2px solid #92dabf!important;box-shadow:3px 3px 0 #060b1c!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav{background:#1b2139!important;border:2px solid #7a87b4!important;border-radius:2px!important;box-shadow:0 -3px 0 #303a5c,4px 5px 0 #080b1c!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button{--pixel-icon-accent:var(--px-mint);border-radius:0!important;background:transparent!important;color:#c9cde4!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button:nth-child(2){--pixel-icon-accent:var(--px-gold)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button:nth-child(3){--pixel-icon-accent:var(--px-pink)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button:nth-child(4){--pixel-icon-accent:var(--px-violet)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button:nth-child(5){--pixel-icon-accent:#a3d4ff}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav .nav-icon{border-radius:0!important;background:transparent!important;border:0!important;color:var(--pixel-icon-accent);width:42px;height:31px}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button.active .nav-icon{background:#3b4260!important;box-shadow:2px 2px 0 #080b1c!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button.active{color:var(--pixel-icon-accent)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button.active::before{height:3px;width:16px;border-radius:0;background:var(--pixel-icon-accent);box-shadow:4px 3px 0 #0e152a}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) svg[data-lingce-pixel-icon]{fill:currentColor!important;stroke:none!important;stroke-width:0!important;shape-rendering:crispEdges;filter:drop-shadow(1px 1px 0 #080b1c)}
/* Segments are cartridge tabs, with a clear selected strip. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.plaza-tabs,.news-tabs-five,.square-tabs,.home-strategy-tabs,.market-board-tabs,.ab-tabs,.cl-venues,.cl-detail-tabs,.cfd-account-switcher,.perp-account-switcher){border-radius:2px!important;background:#171e34!important;border:1px solid #637099!important;box-shadow:inset 0 -2px 0 #080b1c}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.plaza-tabs,.news-tabs-five,.square-tabs,.home-strategy-tabs,.market-board-tabs,.ab-tabs,.cl-venues,.cl-detail-tabs) button{background:transparent;color:#c9cde4;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.plaza-tabs,.news-tabs-five,.square-tabs,.home-strategy-tabs,.market-board-tabs,.ab-tabs,.cl-venues,.cl-detail-tabs,.cfd-account-switcher) button:is(.active,.is-selected,[aria-selected="true"]){background:#334b47!important;color:var(--px-mint)!important;border:1px solid var(--px-mint)!important;box-shadow:inset 0 -3px 0 #112e2d!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-filters,.market-filters,.copy-filters,.bt-periods,.period-buttons) button{background:#26304d!important;color:#c9cde4;border:1px solid #67749b!important;min-height:32px}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-filters,.market-filters,.copy-filters,.bt-periods,.period-buttons) button:is(.active,.is-selected){color:var(--px-gold)!important;border-color:var(--px-gold)!important;background:#37364a!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.live-button,.primary-action,.cl-save-draft,.community-fab,.ab-primary:not(.ab-danger),.cm-primary:not(.cm-danger)){background:var(--px-mint)!important;color:#102c2b!important;border:2px solid #bbffe2!important;box-shadow:3px 4px 0 #080b1c!important;text-shadow:none}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.live-button.secondary,.secondary-action,.pause-action){background:#303850!important;color:var(--px-cream)!important;border-color:#8995b9!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.live-button.danger,.auth-logout,.ab-danger,.cm-danger){background:#442b3d!important;color:#ffb3c5!important;border-color:#d87b9f!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.live-button,.primary-action,.cl-save-draft):disabled{background:#344052!important;color:#a2afbf!important;border-color:#647286!important;opacity:.65}
/* Strategy cartridges and wallet readouts keep financial colors independent. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link,.running-strategy,.compact-position,.cfd-live-home-row,.strategy-hub-plan-card,.strategy-hub-empty){border-radius:1px!important;background:#252c49!important;border:1px solid #536189!important;box-shadow:2px 3px 0 #10152c!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link){border-left:3px solid var(--px-mint)!important;margin-bottom:8px}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link):nth-child(3n+2){border-left-color:var(--px-gold)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link):nth-child(3n){border-left-color:var(--px-violet)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-type-icon,.home-strategy-thumb,.cl-rank,.strategy-hub-icon,.strategy-hub-plan-mark){border-radius:0!important;color:var(--px-gold)!important;background:#3d354c!important;border:1px solid #baa478!important;box-shadow:2px 2px 0 #10152b!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.home-strategy-list-heading,.home-strategy-footer,.wallet-exchange,.exchange-connection-row,.market-row,.cl-trade-values,.cl-position-times){border-color:#4b587e!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.positive,.profit-positive,.is-positive,.cl-leader-profit:not(.is-negative):not(.is-unknown),.cl-trader-profit:not(.is-negative):not(.is-unknown)){color:var(--positive)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.negative,.profit-negative,.is-negative){color:var(--danger)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.is-unknown,.is-neutral){color:var(--muted)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.home-assets,.wallet-card){background-color:#1e2941!important;background-image:linear-gradient(90deg,#8ce9cc0a 1px,transparent 1px),linear-gradient(#8ce9cc0a 1px,transparent 1px)!important;background-size:12px 12px!important}
/* The default welcome illustration becomes a code-native pixel station; custom banners remain untouched. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.home-ad-carousel,.home-ad-viewport,.home-ad-link,.home-ad-open){border-radius:2px!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-ad-carousel{box-shadow:4px 5px 0 #080b1c!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-ad-dots button span{border-radius:0!important;background:var(--px-gold);transition:none}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner){background:#2b2947!important;border:2px solid #85759f!important;border-radius:2px!important;box-shadow:4px 5px 0 #080b1c!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner) .home-welcome-art{visibility:hidden}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner)::before{inset:0;opacity:1;background-color:transparent;background-position:right 8px center;background-repeat:no-repeat;background-size:120px 96px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='64' viewBox='0 0 80 64' shape-rendering='crispEdges'%3E%3Cpath fill='%23111329' d='M8 54h64v4H8zM16 18h48v36H16z'/%3E%3Cpath fill='%236b78a7' d='M12 16h52v4H12zm0 4h4v28h-4zm52 0h4v28h-4zM16 48h48v4H16zM32 52h16v6H32zM24 58h32v4H24z'/%3E%3Cpath fill='%23203948' d='M20 24h40v20H20z'/%3E%3Cpath fill='%2380efcc' d='M24 32h4v8h-4zm1-4h2v16h-2zM40 27h4v9h-4zm1-4h2v17h-2zM52 24h4v8h-4zm1-4h2v18h-2z'/%3E%3Cpath fill='%23ff94b3' d='M32 30h4v10h-4zm1-4h2v18h-2zM46 30h4v7h-4zm1-5h2v17h-2z'/%3E%3Cpath fill='%23ffe089' d='M67 6h4v4h4v4h-4v4h-4v-4h-4v-4h4zM4 36h3v3h3v3H7v3H4v-3H1v-3h3z'/%3E%3Cpath fill='%23b8acff' d='M20 4h3v3h3v3h-3v3h-3v-3h-3V7h3zM73 42h3v3h-3z'/%3E%3C/svg%3E")}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-broadcast{background:#302f43!important;border:1px solid #b7a278!important;border-radius:0!important;color:var(--px-gold)!important}
/* Community, news and personal tools: flat pixels, preserved media. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-post,.post-detail-article,.conversation-row,.announcement-row,.major-event-row,.news-item,.news-card){background:#1b2139!important;border-radius:0!important;border-color:#4c597f!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-likes-inline,.community-comments-inline,.major-events-calendar,.major-events-date-label){background:#28324d!important;border-radius:0!important;border-color:#67749b!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .major-event-row.is-important{border-left:3px solid var(--px-gold)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.major-events-days button.is-selected,.major-events-today,.major-event-category){color:var(--px-gold)!important;background:#38364a!important;border-color:#b7a278!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut-group>h2{border-bottom:1px dashed #66739d!important;color:var(--px-gold)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut{--pixel-icon-accent:var(--px-mint);border-radius:0!important;background:transparent!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut:nth-child(4n+2){--pixel-icon-accent:var(--px-gold)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut:nth-child(4n+3){--pixel-icon-accent:var(--px-pink)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut:nth-child(4n){--pixel-icon-accent:var(--px-violet)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut-icon{width:32px;height:32px;border-radius:0!important;border:1px solid #64749d!important;background:#2b3451!important;color:var(--pixel-icon-accent)!important;box-shadow:3px 3px 0 #10152b!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .lc-theme-gallery-mark{border-radius:1px!important;border:2px solid #8d9cc4;background:#2c3b4c;box-shadow:3px 3px 0 #080b1c;color:var(--px-mint)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.profile-sheet,.exchange-sheet,.account-hub-drawer){--profile-ink:var(--px-cream);--profile-muted:#b1bbd6;--profile-line:#59658b;--profile-field:#141c32;--profile-accent:var(--px-mint);--hub-bg:var(--px-night);--hub-card:var(--px-panel);--hub-soft:var(--px-raised);--hub-line:#59658b;--hub-text:var(--px-cream);--hub-muted:#b1bbd6;--hub-accent:var(--px-mint);--hub-tint:#243f40}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(dialog#modal,dialog.account-hub-drawer,dialog.lc-theme-picker,.account-drawer,.profile-sheet,.exchange-sheet,#toast){background:#202440!important;color:var(--px-cream);border:2px solid #7786b1!important;border-radius:2px!important;box-shadow:5px 6px 0 #080b1c!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) dialog::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#090d22c9}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-page{--chat-bg:#151b30;--chat-in:#293451;--chat-out:#2c4a46;--chat-bar:#191f36;background-color:#151b30!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-message-content p{border-radius:1px!important;box-shadow:2px 2px 0 #090d22;border:1px solid #697aa1}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-message.out .chat-message-content p{background:#2c4a46!important;color:var(--px-cream)!important;border-color:#76b39f}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.chat-page-header,.chat-page-composer,.chat-page-muted-composer){background:#191f36!important;border-color:#65749b!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* Keep photos, exchange logos, QR codes and data paths untouched. Only known UI sprites are pixelated. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.avatar,.home-user-avatar,.cl-avatar){border-radius:2px!important;border:1px solid #8190b6;box-shadow:2px 2px 0 #10152b}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.live-dot,.status-dot,.cl-status i,.mode-pill::before){border-radius:0!important;box-shadow:2px 2px 0 #0b1225!important}
@media(max-width:360px){:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav .nav-label{font-size:11px}:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner)::before{background-size:100px 80px;background-position:right -3px center}:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .profile-shortcut-icon{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(button,a.live-button,input,select,textarea){transition:none!important}}

/* Arcade v2: the same cartridge materials in every product module. Component
   tokens are overridden locally; authentic images, chart paths and QR quiet zones
   remain owned by their components. Theme-gallery sample interiors are excluded. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body){--negative:var(--danger);--px-line:#64739a;--px-inset:#171e34;--px-soft:#28324d;--px-shadow:#080b1c}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.address-book,.ab-sheet){--ab-soft:var(--px-soft);--ab-line:var(--px-line);--ab-color:var(--px-cream);--ab-tint:#233d3e}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-management{--cm-soft:var(--px-soft);--cm-line:var(--px-line)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-profile,.community-profile-sharing){--profile-line:var(--px-line);--profile-soft:var(--px-soft);--profile-accent:var(--px-mint)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .post-detail{--post-line:var(--px-line);--post-soft:var(--px-soft);--post-accent:var(--px-mint)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.announcement-list,.announcement-detail){--announcement-line:var(--px-line);--announcement-soft:var(--px-soft)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.lcw-entry,.lcw-sheet){--lcw-line:var(--px-line);--lcw-soft:var(--px-soft);--lcw-card:var(--px-panel)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .strategy-history-page{--history-accent:var(--px-violet);--history-soft:var(--px-inset);--history-line:var(--px-line)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ar-page,.ar-home-banner){--ar-ink:var(--px-cream);--ar-soft:#cdd5eb;--ar-muted:#b1bbd6;--ar-line:var(--px-line);--ar-panel:var(--px-panel);--ar-accent:var(--px-mint);--ar-gold:var(--px-gold)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .copy-leaders{--cl-profit:var(--positive)}

/* Raised cartridges: preserve each module's own spacing and responsive grid. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-result-card,.ab-create-banner,.cm-profile,.cm-rows,.cm-permission-list,.cm-request-list,.community-profile-account,.community-profile-strategy-choices,.announcement-article,.cl-trader-content,.strategy-history-card,.strategy-config-fold,.preset-compact-panel,.entry-schedule-panel,.perp-position,.bg-history-row,.mm-account-summary,.mm-positions,.sv-assets,.sv-featured,.sv-holding,.sv-interest-record,.sv-plan,.lcw-entry,.lcw-request,.ar-card,.ar-hero,.ar-home-banner,.ar-invite-summary,.ar-invite-steps,.ar-unlock-condition,.pr-board,.guide-step,.og-card,.og-hero,.exchange-registration-card,.mobile-device,.mobile-ios-guide,.mobile-preferences,.hp-direction,.hp-principles,.hp-process,.hp-related,.sa-hero,.sa-form){border-radius:2px!important;border:1px solid var(--px-line)!important;background:var(--px-panel)!important;box-shadow:3px 4px 0 var(--px-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-create-banner,.sv-assets,.ar-hero,.og-hero,.sa-hero){border-top:3px solid var(--px-gold)!important;background-color:#2a2c46!important;background-image:linear-gradient(90deg,#ffe0890a 1px,transparent 1px),linear-gradient(#ffe0890a 1px,transparent 1px)!important;background-size:12px 12px!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.cl-trader-hero,.community-profile-account,.strategy-history-card){border-top:3px solid var(--px-violet)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.preset-compact-panel,.strategy-config-fold,.mm-account-summary,.sv-featured,.hp-direction){border-top:3px solid var(--px-mint)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-config-fold,.preset-compact-panel,.entry-schedule-panel,.mm-positions,.cl-trader-content,.community-profile-account,.sv-interest-record){overflow-wrap:anywhere}

/* Inset readouts and form groups. Do not draw a second frame around inner fields. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-search,.ab-picker-search,.ab-lookup-control,.ab-request-form,.cm-search,.cm-form,.cl-number-input,.cl-draft-notice,.cl-delay,.cfd-threshold-values,.cfd-live-check,.cfd-live-check-symbol,.cfd-live-attention,.cfd-cooldown-status,.perp-message,.perp-error,.mm-input-wrap,.mm-confirm,.mm-order-notice,.mm-activity-warning,.mm-protection-fields,.sv-amount-control,.sv-estimate,.sv-status,.sv-sheet-amount,.sv-sheet-estimate,.lcw-balance,.lcw-confirm,.lcw-notice,.lcw-permission-blocked,.lcw-exchange-pair,.lcw-history-currency,.ar-invite-code,.ar-progress,.ar-rules-heading,.sa-share-copy,.sa-progress,.og-number,.og-platform,.mobile-notification-status,.community-profile-sharing-accounts,.community-profile-crop-actions,.community-profile-crop-zoom,.post-detail-comment-form,.post-detail-likes,.post-detail-comments){border-radius:1px!important;border:1px solid var(--px-line)!important;background:var(--px-inset)!important;box-shadow:inset 2px 2px 0 var(--px-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-search,.ab-picker-search,.ab-lookup-control,.cm-search,.cl-number-input,.mm-input-wrap,.sv-amount-control,.sv-sheet-amount) :is(input,textarea){background:transparent!important;border:0!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--px-mint);box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(input,select,textarea)[aria-invalid="true"],:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .cl-number-input:has(input[aria-invalid="true"]){border:2px solid var(--danger)!important;outline-color:var(--danger)!important}

/* Cartridge rails, selected tabs and compact badges retain their active states. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-hub-links,.strategy-market-types,.perp-account-tabs,.market-board-filters,.cl-activity-tabs,.ab-find-switch,.community-profile-relations-tabs,.lcw-tabs,.ar-nav,.pr-filters,.mm-intervals,.mm-leverage-options,.mm-margin-modes,.mm-order-type,.mm-percentages,.mm-position-tabs,.chat-expression-tabs){border-radius:1px!important;background:var(--px-inset)!important;border:1px solid var(--px-line)!important;box-shadow:inset 0 -2px 0 var(--px-shadow)!important;backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-hub-links,.strategy-market-types,.perp-account-tabs,.market-board-filters,.cl-activity-tabs,.ab-find-switch,.community-profile-relations-tabs,.lcw-tabs,.ar-nav,.pr-filters,.mm-intervals,.mm-leverage-options,.mm-margin-modes,.mm-order-type,.mm-percentages,.mm-position-tabs,.chat-expression-tabs)>button{box-shadow:none!important;background:transparent!important;color:var(--muted)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-hub-links,.strategy-market-types,.perp-account-tabs,.market-board-filters,.cl-activity-tabs,.ab-find-switch,.community-profile-relations-tabs,.lcw-tabs,.ar-nav,.pr-filters,.mm-intervals,.mm-leverage-options,.mm-margin-modes,.mm-order-type,.mm-percentages,.mm-position-tabs,.chat-expression-tabs)>button:is(.active,.is-active,.is-selected,[aria-selected="true"],[aria-pressed="true"]){background:#344045!important;color:var(--px-gold)!important;border-color:var(--px-gold)!important;box-shadow:inset 0 -2px 0 var(--px-gold)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.cl-follow-modes .is-selected,.cfd-account-option.active,.cfd-account-option.is-selected,.mm-margin-modes .active){background:#263d3e!important;border-color:var(--px-mint)!important;color:var(--px-mint)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.demo-label,.strategy-hub-status,.cfd-live-badge,.cfd-pending-label,.bg-history-side,.cl-read-label,.cl-side,.cl-form-title>span,.ab-status-pill,.community-featured,.community-pin-label,.post-detail-featured,.community-profile-self,.community-profile-snapshot,.community-profile-relation-label,.sv-featured-tag,.lcw-tag,.ar-status,.ar-required,.pr-preview-badge,.mm-source-tag,.major-events-important,.major-event-category){border-radius:0!important;box-shadow:none!important;border:1px solid currentColor;background-color:var(--px-soft)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-featured,.community-pin-label,.post-detail-featured,.sv-featured-tag,.pr-preview-badge,.ar-required){color:var(--px-gold)!important;background:#373249!important}

/* Social pages remain flat reading surfaces; author links are text, not keys. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-user-name,.community-post-open,.community-author,.community-likers-link,.community-more-comments,.community-profile-stat-link,.community-profile-status button,.community-profile-sharing-status button,.account-hub-name,.account-hub-uid,.account-hub-home,.text-action,.news-read-button,.cl-profile-link,.cl-empty-source){background:transparent!important;border:0!important;box-shadow:none!important;translate:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-post header,.community-likes-inline,.community-comments-inline,.post-detail-comment,.post-detail-likes,.community-post-images) button{background:transparent!important;box-shadow:none!important;translate:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-post footer button{box-shadow:none!important;border:1px solid #4d5d83;background:#232c46;color:var(--muted)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-post footer button:is(.liked,[data-community-delete]){color:var(--px-pink)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-post footer .community-pin-action{color:#a7c5ff!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-contact-section,.ab-group-section,.ab-letter-index,.ab-group-main,.ab-person-row,.ab-picker-row,.ab-request-inbox,.cm-person-row,.cm-member-preview,.cm-invite-person,.cm-row,.community-profile-settings-row,.community-profile-relation-row,.community-profile-strategy-row,.guide-list-item,.lcw-channel,.lcw-exchange-entry,.sv-product-row,.og-refresh-note,.hp-contact,.hp-step-number){border-radius:1px!important;border-color:var(--px-line)!important;background-color:var(--px-panel)!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-contact-section>h3,.ab-group-section>h3,.ab-letter-index,.cm-section-link,.community-profile-recommendations-head,.sv-section-title,.guide-list-icon){color:var(--px-gold)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.conversation-swipe,.conversation-swipe-front,.conversation-row,.official-conversation){border-radius:0!important;background:var(--px-panel)!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.conversation-avatar,.ab-avatar,.ab-avatar-group,.cm-avatar,.community-avatar,.community-profile-avatar,.post-detail-avatar,.chat-forward-avatar,.community-profile-relation-avatar,.account-hub-avatar){border-radius:2px!important;background:#2b3655!important;border:1px solid #7d8fbc!important;box-shadow:2px 2px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.social-unread-badge,.announcement-unread-badge){border-radius:2px!important;background:#f68fac!important;color:#291c35!important;border:1px solid #ffd0de;box-shadow:2px 2px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-profile-cover,.community-profile-wallpaper-preview,.community-profile-crop-viewport){border-radius:0!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-profile-frost{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-profile-tabs,.community-profile-recommendations-head){background:var(--px-panel)!important;border-color:var(--px-line)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-profile-tabs>button{box-shadow:none!important;background:transparent!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-profile-tabs>button[aria-selected="true"]{color:var(--px-mint)!important;background:#263d3e!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .community-profile-tabs>button[aria-selected="true"]::after{border-radius:0;box-shadow:3px 2px 0 var(--px-shadow)}

/* Chat: tiled pixel constellations, clear bubbles and square management controls. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-page{background-image:linear-gradient(#94b5d506 1px,transparent 1px),linear-gradient(90deg,#94b5d506 1px,transparent 1px)!important;background-size:16px 16px!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-page::before{background-image:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-page-scroll::before{content:none!important;background-image:none!important;display:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-page-scroll{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' shape-rendering='crispEdges'%3E%3Cg fill='%237e91c3' opacity='.1'%3E%3Cpath d='M20 16h4v4h4v4h-4v4h-4v-4h-4v-4h4zM112 92h4v4h4v4h-4v4h-4v-4h-4v-4h4zM62 112h4v4h-4zM140 30h4v4h-4zM45 58h4v4h-4z'/%3E%3Cpath d='M76 34h20v4H76zm-4 4h4v12h-4zm24 0h4v12h-4zM76 50h20v4H76zm4-8h4v4h-4zm8 0h4v4h-4z'/%3E%3C/g%3E%3C/svg%3E")!important;background-size:160px 160px!important;background-repeat:repeat!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.chat-page-notice,.chat-system-notice,.official-chat-readonly){border-radius:1px!important;background:#29344d!important;color:#d2d6ea!important;border:1px solid #52668a!important;box-shadow:none!important;backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.chat-timestamp,.chat-system-notice>span){border-radius:1px!important;background:#29344d!important;color:#d2d6ea!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-message.in .chat-message-content p::before{transform:none;clip-path:polygon(0 0,100% 0,100% 100%,50% 100%,50% 50%,0 50%)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .chat-message.out .chat-message-content p::after{transform:none;clip-path:polygon(0 0,100% 0,100% 50%,50% 50%,50% 100%,0 100%)}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.chat-input-row,.chat-message-action-menu,.chat-expression-picker,.official-message-card,.chat-forward-target,.social-request){background:var(--px-panel)!important;border-radius:2px!important;border:1px solid var(--px-line)!important;box-shadow:3px 4px 0 var(--px-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.chat-expression-grid button,.chat-message-action,.chat-forward-target){box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .cm-switch{border-radius:1px!important;border:1px solid var(--px-line)!important;background:#41465c!important;box-shadow:inset 1px 1px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .cm-switch.on{background:#2d6657!important;border-color:var(--px-mint)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .cm-switch>i{border-radius:0!important;background:var(--px-cream)!important;box-shadow:1px 1px 0 var(--px-shadow);transition:transform .12s steps(2,end)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-checkbox,.community-profile-sharing-check,.community-profile-choice-check,.sv-plan-check){border-radius:0!important;box-shadow:1px 1px 0 var(--px-shadow)!important}

/* Menus and all secondary dialogs use one opaque, high-contrast pixel shell. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(dialog:not(.admin-modal),.sv-nav-menu,.pr-kind-menu,.mm-symbol-dialog,.mm-account-dialog,.mobile-sheet,.community-profile-wallpaper-sheet,.community-profile-relations-sheet,.community-profile-sharing,.post-detail-delete-sheet){border-radius:2px!important;background:var(--px-panel)!important;color:var(--px-cream)!important;border-color:#8392bd!important;box-shadow:4px 5px 0 var(--px-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.account-hub-header,.account-hub-footer,.profile-info-section,.profile-password-section,.exchange-sheet-header,.mobile-sheet-heading,.sv-sheet-heading){background:var(--px-panel)!important;border-color:var(--px-line)!important;border-radius:1px!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.account-hub-overview,.account-hub-community,.account-hub-shortcuts>button){border-radius:1px!important;background:var(--px-inset)!important;border-color:var(--px-line)!important;box-shadow:2px 3px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.account-hub-overview,.account-hub-community,.account-hub-services,.account-hub-footer)>button{box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(#modal-close,.drawer-close,.account-hub-close,.community-profile-back-icon,.community-profile-settings-button){background:#303b59!important;color:var(--px-cream)!important;border:1px solid #8493bb!important;border-radius:1px!important;box-shadow:2px 2px 0 var(--px-shadow)!important;backdrop-filter:none!important}

/* Colour-coded pixel tokens, without recolouring market direction or brand art. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-create-icon,.ab-discover-icon,.announcement-row-icon,.community-profile-account-icon,.community-profile-strategy-icon,.strategy-history-avatar,.cfd-gold-icon,.cfd-trailing-icon,.cfd-coming-icon,.strategy-hub-empty-icon,.sv-heading-mark,.sv-sheet-icon,.lcw-mark,.lcw-bill-mark,.ar-condition-icon,.pr-heading-mark,.guide-list-icon,.og-group-mark,.hp-contact-icon,.hp-direction-icon,.mobile-sheet-heading>span){border-radius:1px!important;border:1px solid #8791b8!important;background:#30334f!important;color:var(--px-violet)!important;box-shadow:2px 2px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-create-icon,.sv-heading-mark,.lcw-mark,.pr-heading-mark,.guide-list-icon){color:var(--px-gold)!important;background:#3b3548!important;border-color:#b5a174!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.cfd-trailing-icon,.community-profile-account-icon,.og-group-mark,.hp-contact-icon){color:var(--px-mint)!important;background:#263e42!important;border-color:#73b7aa!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.market-board-avatar,.perp-type-icon,.lcw-coin,.sv-coin){border-radius:1px!important;box-shadow:2px 2px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.sv-assets::before,.sv-featured-art i,.ar-banner-orbit,.ar-hero-orbit,.hp-section-index,.hp-step-number,.sv-schedule li>i,.ar-day,.ar-day::before){border-radius:0!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .sv-featured-art{transform:none;opacity:.18}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .sv-featured-art i{transform:translateY(-9px)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .sv-featured-art i:nth-child(2){transform:translate(8px,2px)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .sv-featured-art i:nth-child(3){transform:translate(16px,13px)!important}

/* Actual action keys, transparent text links and trading sides stay distinct. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.sv-primary,.lcw-button:not(.secondary):not(.danger),.og-button-primary,.mobile-button.primary,.community-profile-follow:not(.is-following),.community-profile-edit-save,.mm-leverage-submit,.ar-button:not(.is-secondary)){background:var(--px-mint)!important;color:#102c2b!important;border:1px solid #b3ffe2!important;box-shadow:3px 4px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.mm-buy,.cl-side.is-long){color:var(--positive)!important;border-color:#69b98f!important;background:#24433d!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.mm-sell,.cl-side.is-short,.cm-danger,.ab-danger){color:var(--danger)!important;border-color:#c9829a!important;background:#462e43!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.market-board-change,.market-change-up,.market-change-down,.market-change-flat){border-radius:1px!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .market-change-up{color:var(--positive)!important;background:#24433d!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .market-change-down{color:var(--danger)!important;background:#462e43!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.ab-remove,.cm-danger-link,.chat-message-action.is-danger){color:var(--danger)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.sv-assets-number,.sv-assets-metrics b,.sv-product-apr,.sv-featured-bottom strong,.sv-interest-record strong,.sv-plan strong,.lcw-balance strong,.community-profile-equity strong,.community-profile-account-metrics b,.mm-account-summary strong,.ar-invite-summary strong,.bg-history-total strong){font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:-.025em}

/* Empty/loading states have a quiet cartridge frame. Loaders rotate in discrete
   steps; no live price, PnL, status badge or refreshed row receives an animation. */
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.cl-empty,.ab-loading,.cm-loading,.major-events-empty,.major-events-loading,.market-board-empty,.sv-holdings-empty,.sv-interest-empty,.strategy-history-empty,.strategy-history-error,.strategy-history-loading,.pr-empty,.pr-error,.og-empty,.exchange-registration-empty,.mm-chart-empty){border-radius:1px!important;background:var(--px-inset)!important;border-color:var(--px-line)!important;box-shadow:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.community-profile-spinner,.post-detail-spinner,.announcement-spinner,.pr-loading-spinner,.og-loading-ring,.ab-loading>span,.cm-loading>span){border-radius:0!important;border-color:#50618b!important;border-top-color:var(--px-gold)!important;animation:lc-pixel-loading 1.6s steps(4,end) infinite!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.sv-interest-skeleton i,.pr-skeleton-row,.guide-skeleton,.ar-skeleton){border-radius:1px!important;background:#26304c!important;animation:none!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.portrait-picker,.portrait-camera,.profile-security-icon){border-radius:1px!important;background:#2b3652!important;color:var(--px-mint)!important;border-color:var(--px-edge)!important;box-shadow:2px 2px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) button:is(.portrait-reset,.profile-security-row,.community-user-name,.community-post-open,.community-likers-link,.community-more-comments,.account-hub-name,.account-hub-uid,.account-hub-home,.text-action,.news-read-button){box-shadow:none!important;background:transparent!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .account-hub-drawer .account-hub-profile-shortcuts .profile-shortcut-icon{width:26px;height:26px;box-shadow:2px 2px 0 var(--px-shadow)!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .strategy-hub-art>svg[data-lingce-pixel-icon]{width:96px;height:96px;margin-inline:auto;max-width:100%}
@media(max-width:360px){:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .account-hub-drawer .account-hub-profile-shortcuts .profile-shortcut-icon{width:24px;height:24px}}

/* Sparse motion: one small welcome star, one-off dialog entry, tactile desktop
   hover. No full-screen animation, animated shadows, filters or data-row churn. */
@keyframes lc-pixel-loading{to{transform:rotate(360deg)}}
@keyframes lc-pixel-star{0%,100%{opacity:.45}50%{opacity:.9}}
@keyframes lc-pixel-dialog{from{opacity:.6;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes lc-pixel-tab{from{opacity:.4;scale:.6 1}to{opacity:1;scale:1 1}}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner)::after{content:'';position:absolute;pointer-events:none;right:20px;top:15px;width:4px;height:4px;background:var(--px-gold);box-shadow:-4px 4px 0 var(--px-gold),0 4px 0 var(--px-gold),4px 4px 0 var(--px-gold),0 8px 0 var(--px-gold);animation:lc-pixel-star 5s steps(2,end) infinite}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) dialog[open]{animation:lc-pixel-dialog .18s steps(3,end) both!important}
:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button.active::before{animation:lc-pixel-tab .18s steps(3,end) both}
@media(hover:hover) and (pointer:fine){
 :root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link,.profile-shortcut,.ab-create-banner,.sv-featured,.guide-list-item,.live-button,.sv-primary,.cl-save-draft):not(:disabled){transition:translate .12s steps(2,end),border-color .12s steps(1,end)!important}
 :root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link,.profile-shortcut,.ab-create-banner,.sv-featured,.guide-list-item,.live-button,.sv-primary,.cl-save-draft):not(:disabled):hover{translate:0 -2px;border-color:var(--px-gold)!important;filter:none!important}
 :root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link,.profile-shortcut,.ab-create-banner,.sv-featured,.guide-list-item,.live-button,.sv-primary,.cl-save-draft):not(:disabled):active{translate:0 1px!important}
}
@media(max-width:360px){:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner)::after{animation:none;opacity:.65}}
@media(prefers-reduced-motion:reduce){
 :root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(dialog[open],.community-profile-spinner,.post-detail-spinner,.announcement-spinner,.pr-loading-spinner,.og-loading-ring,.ab-loading>span,.cm-loading>span),:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .home-welcome-banner:not(.home-custom-banner)::after,:root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) .bottom-nav button.active::before{animation:none!important}
 :root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(button,a.live-button,input,select,textarea,.cm-switch>i,.cl-leader-link,.home-strategy-row,.guide-list-item){transition:none!important}
 :root[data-color-theme="pixel"]:not(.auth-pending) body.ui-polished:not(.admin-body) :is(.strategy-market-row,.home-strategy-row,.cl-leader-link,.profile-shortcut,.ab-create-banner,.sv-featured,.guide-list-item,.live-button,.sv-primary,.cl-save-draft):hover{translate:none!important}
}
