[data-market-navigation-added],.market-mobile-header .market-mobile-brand{display:none}
.market-content-header{box-sizing:border-box;display:flex;position:sticky;top:0;z-index:100;align-items:center;gap:12px;min-height:64px;padding:12px 24px;border-bottom:1px solid #7774;background:#111;color:#f5f5f5;font:14px/1.4 system-ui,sans-serif}
.market-content-header a{color:inherit;text-decoration:none}.market-content-brand{font-size:20px;font-weight:600}.market-content-links{display:flex;align-items:center;gap:20px;flex:1;padding-left:16px}.market-content-header>button{border:1px solid #7778;border-radius:8px;padding:8px 12px;background:transparent;color:inherit;cursor:pointer;font:inherit}.market-content-header>[data-market-account]{background:#2081e2;border-color:#2081e2;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.market-content-header :is(a,button):focus-visible{outline:2px solid #60a5fa;outline-offset:3px}.market-content-skip{position:absolute;left:16px;top:-100px;padding:8px 12px;background:#111}.market-content-skip:focus{top:8px;z-index:2}
@media(min-width:1025px){.market-content-header>[data-market-navigation-part]:not(.market-mobile-account):not([data-market-balance]){display:none}.market-content-header>.market-mobile-brand{display:none}}
.market-header-balance{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:34px;margin-left:12px;padding:7px 10px;border:1px solid #7773;border-radius:8px;background:transparent;color:inherit;font:500 12px/18px "Segoe UI",sans-serif;white-space:nowrap;cursor:pointer;font-variant-numeric:tabular-nums}
.market-header-balance svg{display:block;flex:none}.market-header-balance:focus-visible{outline:2px solid #2081e2;outline-offset:3px}.market-header-balance:disabled{opacity:.6;cursor:wait}
/* Captured rails keep the title transparent while collapsed; hide its exact
   Resources icon/control before the navigation enhancement removes the row. */
nav :is(a,button,[role="button"]):is([aria-label="Resources"],[data-nav="resources"],:has(svg[aria-label="Resources"]),:has(svg path[d^="M400-400h160v-80H400v80Z"])) {display:none!important}
.market-mobile-navigation{box-sizing:border-box;width:min(100vw,420px);height:100dvh;max-height:100dvh;max-width:100vw;margin:0;padding:0;border:0;border-radius:0;background:rgb(var(--color-bg-primary,17 17 17));color:inherit;overflow:hidden}
.market-mobile-navigation::backdrop{background:#0008}.market-mobile-navigation header{height:76px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #7773}.market-mobile-brand{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none;font-size:21px;font-weight:600}.market-mobile-brand svg{width:30px;height:30px}.market-mobile-navigation header button{width:40px;height:40px;border:1px solid #7773;background:transparent;border-radius:50%;color:inherit;font-size:25px;cursor:pointer}.market-navigation-content{height:calc(100dvh - 76px);overflow:auto;overscroll-behavior:contain;padding:8px 16px 32px}.market-navigation-content nav{display:grid}.market-navigation-content nav a{min-height:70px;display:flex;align-items:center;gap:16px;color:inherit;text-decoration:none;font-size:14px;font-weight:500}.market-navigation-icon{display:grid;place-items:center;width:46px;height:46px;border:1px solid #7772;border-radius:50%;flex-shrink:0}.market-navigation-icon svg{width:22px;height:22px}.market-navigation-content a[aria-current=page]{color:#2081e2}.market-navigation-content a:hover{background:#7771}.market-navigation-actions{border-top:1px solid #7773;margin-top:12px;padding-top:12px;display:grid;gap:8px}.market-navigation-actions button,.market-navigation-content>button{padding:14px 12px;border:1px solid #7773;border-radius:8px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.market-navigation-content>p{padding:16px;font-size:14px}.market-mobile-navigation :is(button,a):focus-visible,.market-mobile-header :is(button,a):focus-visible{outline:2px solid #2081e2;outline-offset:3px}@media(max-width:1024px){[data-market-navigation-header-parent]{display:contents!important}.market-mobile-header{display:flex!important;align-items:center!important;gap:8px;padding:0 12px!important;height:64px!important;min-height:64px;max-width:100%;width:100%!important;box-sizing:border-box;overflow:hidden;position:sticky;top:0;background:rgb(var(--color-bg-primary,17 17 17));z-index:100}.market-mobile-header>:not([data-market-navigation-part]){display:none!important}.market-mobile-header [data-market-navigation-added],.market-mobile-header [data-market-navigation-search]{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:0;padding:0;background:transparent;color:inherit}.market-mobile-header .market-mobile-brand{display:flex;min-width:0;flex:1;font-size:20px}.market-mobile-account{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}.market-mobile-header>button.market-mobile-account{padding:8px 12px;border:0;border-radius:99px;background:#2081e2;color:#fff;font:inherit;font-size:12px}.market-mobile-navigation{width:100vw}}

.market-mobile-brand svg{order:0}.market-mobile-brand>span{order:1}@media(max-width:1024px){.market-mobile-header [data-market-navigation-account-path]>:not([data-market-navigation-account-path]):not([data-market-navigation-account-button]){display:none!important}.market-mobile-header .market-mobile-account{padding:0!important;width:auto!important;justify-content:flex-end}.market-mobile-header [data-market-navigation-account-button]{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 12px!important;border:0!important;border-radius:99px!important;background:#2081e2!important;color:#fff!important;font-size:12px!important}}
@media(max-width:1024px){.market-mobile-header>.market-header-balance{margin-left:0;padding:6px 8px;font-size:11px;gap:5px}.mp-profile-route .market-mobile-header .mp-chrome-actions>[data-profile-cash][type=button]{display:flex!important}}
@media(max-width:480px){.market-mobile-header:has(>[data-market-balance]) .market-mobile-brand>span{display:none}.market-mobile-header:has(>[data-market-balance]) [data-market-navigation-account-button]{max-width:80px}}
@media(max-width:360px){.market-mobile-header:has(>[data-market-balance]) .market-mobile-brand{display:none}.market-mobile-header:has(>[data-market-balance]) [data-market-navigation-account-button]{max-width:64px}}
/* Pointer/touch opening focuses Close; keep a visible ring for keyboard users. */
.market-mobile-navigation .market-mobile-brand:focus:not(:focus-visible){outline:none;box-shadow:none}
/* The source homepage rail owns a fixed layer; the mobile Menu must stay above it. */
@media(max-width:1024px){.topbar.market-mobile-header{z-index:1100!important}}
@media(max-width:1024px){.topbar.market-mobile-header{margin-left:0!important;left:0;right:0}.market-mobile-header{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}.market-mobile-navigation header{padding-top:env(safe-area-inset-top);height:calc(76px + env(safe-area-inset-top))}.market-navigation-content{box-sizing:border-box;height:calc(100dvh - 76px - env(safe-area-inset-top));padding-bottom:max(32px,env(safe-area-inset-bottom))}}
/* Phone chrome shares the homepage proportions across captured and adapted routes. */
@media(max-width:640px){
 html{--spacing-sm-top-nav:63px}
 body [data-market-mobile-shell]{box-sizing:border-box;height:63px!important;min-height:63px!important;max-width:100%;padding:0 max(14px,env(safe-area-inset-left)) 0 max(14px,env(safe-area-inset-right))!important;border-bottom:1px solid #ffffff14;background:rgb(var(--color-bg-primary,16 16 16));background-image:none;gap:8px}
 body [data-market-mobile-shell]>.mx-auto{padding-left:0;padding-right:0;min-width:0}
 body [data-market-mobile-shell] a[aria-label="Bonodex home"]{flex-shrink:0}
 body [data-market-mobile-shell] a[aria-label="Bonodex home"] svg[viewBox="0 0 30 30"],body [data-market-mobile-shell] .market-mobile-brand>img{width:30px;height:30px;flex-shrink:0}
 body [data-market-mobile-shell] a[aria-label="Bonodex home"] svg[viewBox="0 0 794 178"]{width:80px;height:24px}
 body [data-market-mobile-shell].market-mobile-header{overflow:visible}
 body:not([data-home-transfer="true"]) [data-market-mobile-shell].market-mobile-header .market-mobile-brand{display:flex!important;align-items:center;gap:8px;flex:1 1 auto;min-width:0;font-size:20px;line-height:24px;font-weight:600;white-space:nowrap}
 body [data-market-mobile-shell].market-mobile-header [data-market-navigation-added],body [data-market-mobile-shell].market-mobile-header [data-market-navigation-search]{width:28px;height:36px;flex:0 0 28px}
 body [data-market-mobile-shell].market-mobile-header>.market-mobile-account{flex:0 1 auto;min-width:0;max-width:100px;order:3}
 body [data-market-mobile-shell].market-mobile-header [data-market-navigation-search]{order:2;margin-left:auto}
 body [data-market-mobile-shell].market-mobile-header [data-market-navigation-account-button],body [data-market-mobile-shell].market-mobile-header>button.market-mobile-account{box-sizing:border-box;min-height:32px;max-width:100px;line-height:18px;padding:7px 10px!important;border-radius:6px!important;background:#fff!important;color:#111!important;font-size:13px!important}
 body [data-market-mobile-shell].market-mobile-header>.market-header-balance{max-width:110px;min-width:0;padding:6px;gap:4px;overflow:hidden;font-size:10px}
 body [data-market-mobile-shell].market-mobile-header>.market-header-balance span{overflow:hidden;text-overflow:ellipsis}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header{background:#101010}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header>.market-mobile-brand{display:flex!important;flex:1}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header>div:has(.mp-chrome-actions){flex:0 1 auto!important;min-width:0;order:3}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header .mp-chrome-actions{gap:8px!important}
 body .market-mobile-navigation{width:min(100vw,420px);max-width:100vw}
 body .market-mobile-navigation header{height:calc(63px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;gap:12px}
 body .market-mobile-navigation header .market-mobile-brand{min-width:0;overflow-wrap:anywhere}
 body .market-mobile-navigation header>button{flex:none}
 body .market-navigation-content{height:calc(100dvh - 63px - env(safe-area-inset-top));padding-left:14px;padding-right:14px;min-width:0}
 body .market-navigation-content nav a{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:640px){
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header{padding:0 max(14px,env(safe-area-inset-left)) 0 max(14px,env(safe-area-inset-right))!important}
}
@media(max-width:640px){
 /* A full balance and account actions must not consume the logo/search space. */
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header:has(.mp-chrome-actions)>.market-mobile-brand{flex:0 0 30px;min-width:30px}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header:has(.mp-chrome-actions)>.market-mobile-brand>span{display:none}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header .mp-chrome-actions{display:flex;flex:0 1 auto;min-width:0;max-width:132px;gap:6px!important}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header .mp-chrome-actions>[data-profile-cash]{display:inline-flex!important;align-items:center;gap:4px;min-width:0;max-width:72px;padding:4px;border:1px solid #ffffff20;border-radius:6px}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header .mp-chrome-actions>[data-profile-cash]>span{min-width:0;max-width:44px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header .mp-chrome-actions>:not([data-profile-cash]){flex:0 0 24px;width:24px;padding:0}
 body.mp-profile-route [data-market-mobile-shell].market-mobile-header .mp-chrome-actions svg{flex:none;width:18px;height:18px}
}
@media(max-width:640px){
 /* Natural captured headers keep nested account controls instead of synthetic parts. */
 body [data-market-mobile-shell]:not(.market-mobile-header)>.mx-auto{display:flex;gap:8px;max-width:100%}
 body [data-market-mobile-shell]:not(.market-mobile-header)>.mx-auto>div:first-child{flex:0 0 auto;min-width:0;gap:8px}
 body [data-market-mobile-shell]:not(.market-mobile-header)>.mx-auto>div:last-child{display:flex;flex:1 1 0;justify-content:flex-end;min-width:0;max-width:100%;gap:8px}
 body [data-market-mobile-shell]:not(.market-mobile-header)>.mx-auto>div:last-child>button{flex:0 1 64px;min-width:0;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body [data-market-mobile-shell]:not(.market-mobile-header)>.mx-auto>div:last-child>button:has(svg):not(.market-header-balance){flex:0 0 24px;width:24px;padding:0}
 body [data-market-mobile-shell]:not(.market-mobile-header) .market-header-balance{flex:0 1 72px;min-width:0;max-width:72px;margin-left:0;padding:6px;gap:4px;font-size:10px}
 body [data-market-mobile-shell]:not(.market-mobile-header) .market-header-balance>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:640px){
 body [data-market-mobile-shell]:not(.market-mobile-header)>.mx-auto>div:last-child>button:not(:has(svg)){display:block;text-align:left;line-height:18px;padding:6px 10px}
}
/* Reference navigation shared by the homepage rail and captured page shells. */
body .market-reference-navigation{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important;padding:14px 6px!important;background:#131313;color:#f5f5f5;overflow-x:hidden;overflow-y:auto}
.market-reference-brand{display:flex!important;align-items:center;gap:8px;height:36px;margin:0 3px 9px;color:#fff;text-decoration:none;font:bold 20px/24px Arial,sans-serif;flex:none}.market-reference-brand img{width:30px;height:30px;flex:none}
.market-reference-list{display:flex!important;flex-direction:column;gap:8px;width:100%;flex:none}
body :is(.market-reference-navigation,.market-mobile-navigation) .market-reference-item{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:36px;height:36px;width:100%;padding:7px 9px;border:0;border-radius:6px;background:transparent;color:#f5f5f5;text-decoration:none;text-align:left;font:400 16px/22px Arial,sans-serif;cursor:pointer;white-space:nowrap}
body :is(.market-reference-navigation,.market-mobile-navigation) .market-reference-item svg{width:18px;height:18px;flex:none;color:#aaa}
body :is(.market-reference-navigation,.market-mobile-navigation) .market-reference-item:is(:hover,[aria-current=page]){background:#28292e;color:#fff}.market-reference-item[aria-current=page] svg{color:#fff!important}.market-reference-item:focus-visible{outline:2px solid #2081e2;outline-offset:-2px}
body .market-mobile-navigation{background:#131313}body .market-mobile-navigation header{border-bottom:0;height:59px;min-height:59px;padding-left:9px}body .market-mobile-navigation header>button{border:0;background:transparent}body .market-navigation-content{padding:0 6px 20px;height:calc(100dvh - 59px)}
body .sidebar-drawer .brand,body .sidebar-drawer .brand-wordmark{color:#fff!important}body .market-reference-brand{color:#fff!important}

/* Hide only controls synthesized for the phone toolbar after returning to desktop. */
@media(min-width:1025px){[data-market-navigation-search],[data-market-navigation-account-added]{display:none!important}}
/* Desktop rails expand over the page while their narrow layout space stays fixed. */
@media(min-width:1025px){
 body .market-reference-navigation:not(#nav){width:52px!important;min-width:52px!important;position:fixed!important;inset:0 auto 0 0!important;z-index:110;transition:width 180ms ease}
 body .market-reference-navigation:not(#nav):is(:hover,:focus-within){width:219px!important}
 body .sidebar-drawer,body .sidebar-drawer[hidden]{box-sizing:border-box;width:51px!important;padding:14px 6px!important;background:#131313;align-items:stretch!important;overflow:hidden}
 body .sidebar-drawer:is(:hover,:focus-within){width:219px!important}
 body .sidebar-drawer #nav.market-reference-navigation{width:100%!important;padding:0!important}
 body .sidebar-drawer .brand{display:flex;width:100%!important;height:36px;justify-content:flex-start!important;gap:8px!important;margin:0 3px 9px;padding:0!important;overflow:hidden}
 body .sidebar-drawer .brand-wordmark{display:block!important;width:80px;height:24px;flex:none;opacity:0;transition:opacity 180ms ease}
 body .sidebar-drawer:is(:hover,:focus-within) .brand-wordmark{opacity:1}
 body :is(.market-reference-navigation:not(#nav),.sidebar-drawer):not(:hover):not(:focus-within) .market-reference-item{gap:0}
 body :is(.market-reference-navigation,.sidebar-drawer) .market-reference-item>span{overflow:hidden;transition:opacity 180ms ease}
 body :is(.market-reference-navigation:not(#nav),.sidebar-drawer):not(:hover):not(:focus-within) .market-reference-item>span{width:0;opacity:0}
 body .market-reference-brand{gap:8px;overflow:hidden}
 body .market-reference-brand img{order:0!important}
 body .market-reference-brand>span{order:1;transition:opacity 180ms ease}
 body .market-reference-navigation:not(:hover):not(:focus-within) .market-reference-brand{gap:0}
 body .market-reference-navigation:not(:hover):not(:focus-within) .market-reference-brand>span{width:0;opacity:0}
 body div:has(>aside>nav.market-reference-navigation){min-width:52px!important;width:52px;flex:0 0 52px}
 body:has(.market-reference-navigation:not(#nav)){--spacing-side-nav:52px}
 body:has(.market-reference-navigation:not(#nav)) main{margin-left:0}
 body:has(.sidebar-drawer) #app{margin-left:51px!important}
 body:has(.sidebar-drawer) .statusbar{left:51px!important}
 body:has(.sidebar-drawer) .topbar{margin-left:51px!important;width:calc(100% - 51px)!important}
}
@media(min-width:1025px) and (prefers-reduced-motion:reduce){body .market-reference-navigation,body .sidebar-drawer,body .market-reference-item>span,body .market-reference-brand>span,body .sidebar-drawer .brand-wordmark{transition:none}}
