/* Original SHELFLINGS shell: calm workspace chrome around the pixel game. */
html[data-ui-theme="binance"] body.shared-theme{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
html[data-ui-theme="binance"] body.shared-theme :is(h1,h2,h3){font-family:inherit;letter-spacing:-.025em}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav{--nav-control-height:44px;--nav-control-radius:8px;border-radius:0;border-width:0 0 1px;padding:10px 28px 0;background:#111519f5;box-shadow:0 4px 24px #0002;gap:8px;backdrop-filter:blur(16px)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;padding:0;gap:18px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .logo{gap:10px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .logo b{font:750 15px/1.2 system-ui,sans-serif;letter-spacing:1.2px;color:var(--sf-text);-webkit-text-fill-color:var(--sf-text)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .logo :is(.brand-logo-slot,.brand-logo){box-shadow:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.links{width:100%;max-width:none;min-width:0;justify-self:stretch;display:flex;justify-content:flex-start;gap:4px;padding:0;border:0;border-top:1px solid #ffffff0b;border-radius:0;background:transparent;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;pointer-events:auto}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.links::-webkit-scrollbar{display:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>:is(a,button){position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:44px;min-height:44px;padding:0 16px;border:0;border-radius:0;background:transparent;font:550 13px/1.5 system-ui,sans-serif;letter-spacing:0;color:var(--sf-muted);white-space:nowrap;box-shadow:none;text-decoration:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>a:hover{background:#ffffff04;color:var(--sf-text)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>a.active{background:transparent;color:var(--sf-primary);box-shadow:inset 0 -2px var(--sf-primary)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>a.active::before{content:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>.nav-mascot{display:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group{display:flex;align-items:center;gap:18px;min-width:0}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group>.logo{flex:none;height:44px;min-height:44px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav :is(#globalMiningRemaining,#globalHashMarket){flex:0 1 240px;width:240px;min-width:206px;max-width:240px;height:44px;min-height:44px;max-height:44px;background:transparent!important;border:0!important;border-left:1px solid var(--sf-border)!important;border-radius:0!important;padding:2px 0 2px 18px;box-shadow:none!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining{gap:4px;align-content:center}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining .mining-pool-metric{margin:0;padding:0;border:0;gap:10px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining small{min-width:0;font-size:10px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining strong{flex-shrink:0}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining strong{font-size:12px;line-height:15px;color:var(--sf-text);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket{flex-basis:204px;width:204px;min-width:188px;max-width:204px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:0;cursor:pointer}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket .hash-market-copy{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;row-gap:4px;min-width:0}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket .hash-market-copy small{font-size:10px;line-height:13px;letter-spacing:.04em}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket .hash-market-copy strong{font-size:13px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;font-weight:600}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket :is(.hash-market-usd,.hash-market-network,em){display:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket .hash-market-test{display:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket:hover .hash-market-copy strong{color:var(--sf-primary)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .community-count{margin:0;padding:0;font-size:11px;color:var(--sf-subtle);white-space:nowrap}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group{display:flex;align-items:center;justify-self:end}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group>.nav-right{display:flex;align-items:center;flex-wrap:nowrap;gap:8px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group :is(#coinPill,#loginBtn,#acctBtn,#acctReverify,#langBtn,#changeRole,.nav-x-link,.social-nav-link){box-sizing:border-box;flex-shrink:0;height:44px;min-height:44px;max-height:44px;padding:0 12px;border-radius:8px!important;font-size:12px;line-height:1.4;white-space:nowrap;transform:none;box-shadow:none}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group :is(.acct-dd,.lang-dd){height:44px;align-items:center}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group :is(#coinPill,#langBtn){border-color:transparent!important;background:transparent!important;color:var(--sf-muted)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #coinPill{min-width:0;max-width:150px;padding-inline:6px;font-weight:500;overflow:hidden}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #coinPill :is(strong,.test-balance-caption){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:16px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #coinPill[data-balance-mode="remembered"]{color:var(--sf-muted);font-size:11px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #acctReverify{background:var(--sf-accent-soft);color:var(--sf-primary);border:1px solid #fcd53540;font-weight:600}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #acctReverify:hover{background:#fcd53524;border-color:var(--sf-primary)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #acctReverify:focus-visible{outline:2px solid var(--sf-primary);outline-offset:2px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #acctBtn{width:44px;min-width:44px;padding:2px}
/* A neutral profile silhouette keeps an account without a companion recognizable. */
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #acctBtn:empty::before,
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #acctAvHead:empty::before{content:"";display:block;width:24px;height:24px;margin:auto;background:radial-gradient(circle at 50% 30%,var(--sf-muted) 0 4px,transparent 4.5px),radial-gradient(ellipse 10px 8px at 50% 100%,var(--sf-muted) 95%,transparent 100%)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #navPill #playGuideToggle{position:relative!important;left:auto!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--sf-muted)!important;box-shadow:none!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav #navPill #playGuideToggle:hover{background:#ffffff06!important;color:var(--sf-text)!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .social-nav-link{border:0;background:transparent;color:var(--sf-muted);font-size:11px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .social-nav-link:hover{background:var(--sf-surface-2);color:var(--sf-primary)}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #loginBtn{padding-inline:16px!important;border-radius:8px!important;font:650 12px/1.5 system-ui,sans-serif;min-width:92px}
html[data-ui-theme="binance"] body.shared-theme :is(.production-dialog,.market-dialog,.account-funds-dialog,.account-finance-dialog,.hash-token-dialog){border-radius:16px;border:1px solid var(--sf-border);box-shadow:0 26px 90px #0009}
html[data-ui-theme="binance"] body.shared-theme :is(.production-dialog,.market-dialog,.account-funds-dialog,.account-finance-dialog,.hash-token-dialog)::backdrop{background:#050709c7;backdrop-filter:blur(8px)}
html[data-ui-theme="binance"] body.shared-theme .enter-card{width:min(850px,100%);padding:34px;border-radius:18px;border-color:var(--sf-border);box-shadow:0 30px 100px #0009;background:linear-gradient(120deg,#24251b 0,#181a20 46%)}
html[data-ui-theme="binance"] body.shared-theme .enter-head{padding:0 0 26px;margin-bottom:24px;border-bottom:1px solid var(--sf-border)}
html[data-ui-theme="binance"] body.shared-theme .enter-head h1{font-size:32px;line-height:1.35;font-weight:600}
html[data-ui-theme="binance"] body.shared-theme .enter-head .eyebrow{font:650 10px/1.5 ui-monospace,monospace;letter-spacing:2px;color:var(--sf-primary)}
html[data-ui-theme="binance"] body.shared-theme .enter-card .empty-pick{border-style:solid;border-radius:12px;background:#111519;padding:35px 24px}
html[data-ui-theme="binance"] body.shared-theme .enter-card .enter-actions{justify-content:flex-end;border:0}
html[data-ui-theme="binance"] body.shared-theme .enter-actions>:is(a,button){flex:0 1 auto;padding:13px 25px;font-size:13px}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>.social-nav-link{margin-left:auto;font-weight:500}
@media(max-width:1200px){
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav{padding:10px 20px 0}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .logo b{display:none}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group{gap:14px}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row{gap:14px}
}
@media(max-width:1000px){
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row:has(>.community-count){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:44px 44px;gap:8px 16px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row .nav-info-group{display:contents!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row .nav-info-group>.logo{grid-column:1!important;grid-row:1!important;justify-self:start;min-width:44px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row>.community-count{display:none}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row>.nav-actions-group{grid-column:1/-1!important;grid-row:1!important;justify-self:end!important;margin:0 0 0 54px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row>.nav-actions-group>.nav-right{flex-wrap:nowrap!important;gap:8px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group>#globalMiningRemaining,
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group>#globalHashMarket{grid-row:2!important;width:100%!important;min-width:0!important;max-width:none!important;height:44px;min-height:44px!important;max-height:44px;justify-self:stretch!important;padding:2px 12px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group>#globalMiningRemaining{grid-column:1!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;border-left:0!important;padding-left:0!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-info-group>#globalHashMarket{grid-column:2!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining>.mining-pool-metric{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:6px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining small{font-size:10px!important;line-height:15px!important;white-space:nowrap}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining strong{font-size:12px!important;line-height:15px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalHashMarket .hash-market-copy strong{font-size:13px!important;line-height:17px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>:is(a,button){padding-inline:14px}
}
@media(max-width:620px){
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav{width:100%;max-width:100%;padding:8px 12px 0;gap:8px}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.nav-top-row:has(>.community-count){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:8px 12px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #coinPill{width:auto!important;min-width:0!important;max-width:84px!important;padding:0 4px!important;font-size:11px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #coinPill[data-balance-mode="remembered"]{display:none!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #langBtn{width:auto!important;min-width:44px!important;padding:0 8px!important;font-size:12px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining small{font-size:9px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav #globalMiningRemaining strong{font-size:11px!important}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>:is(a,button){padding:0 13px;font-size:12px}
 html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group #loginBtn{min-width:76px;padding-inline:12px!important;font-size:12px}
 html[data-ui-theme="binance"] body.shared-theme .enter-card{padding:22px}
 html[data-ui-theme="binance"] body.shared-theme .enter-head h1{font-size:25px}
 html[data-ui-theme="binance"] body.shared-theme .enter-actions>:is(a,button){flex:1;padding:12px 10px}
}
@media(prefers-reduced-motion:reduce){html[data-ui-theme="binance"] body.shared-theme nav.app-nav>.links{scroll-behavior:auto}}
/* Replace template typography in interface chrome; canvas artwork stays pixel-based. */
html[data-ui-theme="binance"] body.shared-theme nav.app-nav :is(a,b,button,small,strong,span){font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>a{font-weight:550!important}
html[data-ui-theme="binance"] body.shared-theme .enter-card :is(h1,p,a,button){font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important}
/* The exploration departure board replaces the reference site's fullscreen planet intro. */
html[data-ui-theme="binance"] body #sceneEntry{inset:0;margin:auto;width:min(800px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);padding:32px 40px;border:1px solid #51482d;border-radius:18px;background:#181a20;text-align:left;color:var(--sf-text);box-shadow:0 28px 100px #0009}
html[data-ui-theme="binance"] body #sceneEntry::backdrop{background:#050709bd;backdrop-filter:blur(8px)}
html[data-ui-theme="binance"] body #sceneEntry[open]{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-areas:"brand brand" "stage tagline" "stage label" "stage name" "stage enter" "back back";column-gap:42px;row-gap:14px;align-items:center;justify-content:normal}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__brand{grid-area:brand;font:700 12px/1.5 system-ui,sans-serif;letter-spacing:2px;color:var(--sf-primary);padding-bottom:20px;border-bottom:1px solid var(--sf-border)}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__tagline{grid-area:tagline;margin:12px 0 4px;font:600 27px/1.45 system-ui,sans-serif;color:var(--sf-text)}
html[data-ui-theme="binance"] body #sceneEntry h2{grid-area:label;margin:0;font:500 13px/1.6 system-ui,sans-serif;color:var(--sf-muted)}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__name{grid-area:name;margin:0;font-size:12px;color:var(--sf-muted)}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__stage{grid-area:stage;width:220px;height:240px;margin:10px auto;border:1px solid #f0b90b36;border-radius:12px;background:linear-gradient(#f0b90b0b 1px,transparent 1px),linear-gradient(90deg,#f0b90b0b 1px,transparent 1px),#121618;background-size:20px 20px;box-shadow:none;animation:none}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__stage img{width:128px;height:128px;object-fit:contain;border-radius:12px;image-rendering:pixelated}
html[data-ui-theme="binance"] body #sceneEntry .world-loading-orbit{display:none}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__arrow{top:auto;bottom:12px;width:44px;height:36px;min-height:36px;background:var(--sf-surface-3);color:var(--sf-primary);border-color:var(--sf-border)}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__arrow.prev{left:12px}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__arrow.next{right:12px}
html[data-ui-theme="binance"] body #sceneEntry .scene-entry__enter{grid-area:enter;width:100%;margin:2px 0 14px;border-radius:8px;font:650 13px/1.5 system-ui,sans-serif!important;background:var(--sf-primary);color:var(--sf-on-accent);border:0}
html[data-ui-theme="binance"] body #sceneEntry>a{grid-area:back;position:static;justify-self:start;padding-top:6px;font-size:12px;color:var(--sf-muted)}
@media(max-width:640px){
 html[data-ui-theme="binance"] body #sceneEntry{padding:24px}
 html[data-ui-theme="binance"] body #sceneEntry[open]{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "tagline" "stage" "label" "name" "enter" "back";gap:10px}
 html[data-ui-theme="binance"] body #sceneEntry .scene-entry__brand{padding-bottom:16px}
 html[data-ui-theme="binance"] body #sceneEntry .scene-entry__tagline{font-size:24px;margin:4px 0}
 html[data-ui-theme="binance"] body #sceneEntry .scene-entry__stage{width:100%;height:170px;margin:4px 0}
 html[data-ui-theme="binance"] body #sceneEntry .scene-entry__enter{margin:4px 0 0}
}
/* Shared control-frame rules use important backgrounds; keep the account CTA legible. */
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group button#loginBtn{background:var(--sf-primary)!important;color:var(--sf-on-accent)!important;border-color:transparent!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group button#loginBtn:hover:not(:disabled){background:var(--sf-primary-hover)!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .nav-actions-group button#loginBtn:disabled{background:var(--sf-surface-3)!important;color:var(--sf-subtle)!important;border-color:var(--sf-border)!important}
html[data-ui-theme="binance"] body.shared-theme nav.app-nav .links>a.active::before{position:static;inset:auto;transform:none;opacity:1}
