/* The one stylesheet for the site header and its menu (HEADER_UNIFY_PLAN step 2).
   Part 1: header rules that used to live in ui-spec.css. Part 2: the former header-mobile-menu.css.
   Loaded once, by _web_header_common.html, after web-header.css; nothing loaded later styles the header. */
html body header[data-web-header]{height:64px!important;min-height:64px!important;top:16px!important;padding:0 12px 0 20px!important;gap:16px!important;border-radius:999px!important;background:var(--ui-glass)!important;border:1px solid var(--ui-pill-line)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;color:var(--bb-theme-ink)!important;flex-wrap:nowrap!important}
html body header[data-web-header] .web-brand{width:88px!important;max-width:88px!important;flex:0 0 88px!important}
html body header[data-web-header] .web-brand .web-arena-mark{width:88px!important;height:28px!important;max-width:88px!important}
html body header[data-web-header] .web-region-nav{position:relative!important;gap:4px!important;margin:0 auto!important;justify-content:center!important}
html body header[data-web-header] .web-region-nav>a{height:40px!important;min-height:40px!important;padding:0 14px!important;gap:8px!important;border-radius:999px!important;font-size:14px!important;font-weight:500!important;color:var(--bb-theme-ink)!important;position:relative;z-index:1;white-space:nowrap;background:transparent!important;box-shadow:none!important}
html body header[data-web-header] .web-region-nav>a svg{width:20px!important;height:20px!important;flex:none}
html body header[data-web-header] .web-region-nav>a:hover{background:var(--ui-hover)!important}
html body header[data-web-header] .web-region-nav>a[aria-current=page]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--bb-theme-ink)!important;font-weight:600!important}
html body header[data-web-header] .bb-nav-indicator{height:40px!important;background:var(--ui-pill)!important;border:1px solid var(--ui-pill-line)!important;box-shadow:0 1px 2px rgba(0,0,0,.06)!important;border-radius:999px!important;z-index:0!important;pointer-events:none;transition:left .25s cubic-bezier(.2,.8,.2,1),width .25s cubic-bezier(.2,.8,.2,1)}
html body header[data-web-header] .web-header-actions{display:flex!important;align-items:center!important;width:244px!important;min-width:244px!important;max-width:244px!important;gap:8px!important;flex:0 0 244px!important}
html body header[data-web-header] .web-primary-slot{position:relative;width:148px;flex:0 0 148px;min-width:0;height:40px}
html body header[data-web-header] .web-primary-slot .web-account-bar{margin:0!important;padding:0!important;border:0!important;width:148px!important;height:40px!important}
html body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button){display:flex!important;align-items:center!important;justify-content:center!important;width:148px!important;min-width:148px!important;max-width:148px!important;height:40px!important;min-height:40px!important;padding:0 8px!important;gap:10px!important;border-radius:999px!important;border:0!important;background:var(--ui-primary)!important;color:var(--ui-on-primary)!important;font-size:14px!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap!important;position:relative;overflow:hidden;box-sizing:border-box}
html body header[data-web-header] .web-primary-slot .web-login svg{display:none}
html body header[data-web-header] .web-primary-slot .web-account-label{color:inherit!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font:inherit!important;min-width:0!important;max-width:100%!important}
html body header[data-web-header] .web-primary-slot :is([data-arena-state],[data-arena-extra],.web-deposit){display:none!important}
html body header[data-web-header] .web-primary-slot [hidden]{display:none!important}
html body header[data-web-header]:not([data-auth=member]) .web-primary-slot .web-account-bar{display:none!important}
html body header[data-web-header][data-auth=member] .web-primary-slot .web-login{display:none!important}
html body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button)::after{content:'';position:absolute;top:0;bottom:0;width:33%;left:-40%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);animation:ui-cta-sweep 3s infinite}
html[data-bigbit-theme=dark] body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button)::after{background:linear-gradient(90deg,transparent,rgba(0,0,0,.14),transparent)}
html body header[data-web-header] .web-opening-progress-mini{display:flex;gap:3px;min-width:62px;width:62px;flex:0 0 62px;margin:0!important}
html body header[data-web-header] .web-opening-progress-mini i{flex:0 0 10px;width:10px;min-width:10px;height:4px;border-radius:2px;background:var(--ui-seg-off)!important;box-shadow:none!important}
html body header[data-web-header] .web-opening-progress-mini [data-step-state=complete]{background:var(--ui-seg-done)!important}
html body header[data-web-header] :is(.web-notifications,.web-settings-trigger,.web-menu-trigger,.web-avatar>summary){width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:50%!important;border:1px solid var(--ui-pill-line)!important;background:var(--ui-pill)!important;color:var(--bb-theme-ink)!important;display:grid;place-items:center}
html body header[data-web-header] .web-avatar>summary{border:0!important}
html body header[data-web-header] .web-avatar>summary [data-web-display-name]{display:none!important}
html body header[data-web-header] .web-header-actions [hidden]{display:none!important}
html body header[data-web-header] .web-primary-slot button:hover{filter:brightness(.92)}
html body header[data-web-header] .web-primary-slot button:active{transform:scale(.98)}
html body header[data-web-header] .web-primary-slot button:disabled{opacity:.4;cursor:default}
@media(max-width:1300px){html body header[data-web-header] .web-region-nav{display:none!important}html body header[data-web-header] .web-menu-trigger:not([hidden]){display:grid!important}html body header[data-web-header] .web-notifications{display:none!important}html body header[data-web-header] .web-header-actions{margin-left:auto}}
@media(max-width:540px){html body header[data-web-header]{height:56px!important;min-height:56px!important;top:16px!important;left:16px!important;right:16px!important;gap:8px!important;padding:0 12px!important}html body header[data-web-header] .web-header-actions{width:180px!important;min-width:180px!important;max-width:180px!important;flex-basis:180px!important}html body header[data-web-header] .web-primary-slot{width:132px;flex-basis:132px}html body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button,.web-account-bar){width:132px!important;min-width:132px!important;max-width:132px!important}html body header[data-web-header] :is(.web-settings-trigger,.web-avatar){display:none!important}}
@media(prefers-reduced-motion:reduce){html body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button)::after{animation:none!important;display:none}}
html body header[data-web-header][data-nav-collapsed] .web-region-nav{display:none!important}
html body header[data-web-header][data-nav-collapsed] .web-menu-trigger:not([hidden]){display:grid!important}
html body header[data-web-header][data-nav-collapsed] .web-notifications{display:none!important}
html body header[data-web-header] .web-brand>span{display:none!important}
html body header[data-web-header] .web-region-nav{flex:1 1 0!important;min-width:0!important;margin:0!important;display:flex!important;overflow:visible!important;justify-content:center!important}
html body header[data-web-header] .web-region-nav>[hidden]{display:none!important}
html body header[data-web-header] .web-region-nav>a{flex:0 0 auto!important;text-overflow:clip!important;overflow:visible!important;border:0!important}
html body header[data-web-header] .web-header-actions{width:272px!important;min-width:272px!important;max-width:272px!important;flex:0 0 272px!important;margin-left:0!important;justify-content:flex-start!important}
html body header[data-web-header] .web-primary-slot{width:168px!important;flex:0 0 168px!important}
html body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button,.web-account-bar){width:168px!important;min-width:168px!important;max-width:168px!important}
html body header[data-web-header] .web-primary-slot .web-account-label{overflow:visible!important;text-overflow:clip!important}
html body header[data-web-header] .web-settings-trigger{width:72px!important;min-width:72px!important;max-width:72px!important;border-radius:999px!important;display:flex!important;gap:6px!important;justify-content:center!important;font-size:13px!important;font-weight:600!important}
html body header[data-web-header] .web-settings-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75}
html body header[data-web-header] .web-notifications:not([hidden]){display:grid!important}
html body header[data-web-header] .web-menu-trigger{display:none!important;position:absolute;right:12px;top:11px}
html body header[data-web-header][data-nav-collapsed] .web-region-nav{display:none!important}
html body header[data-web-header][data-nav-collapsed] .web-header-actions{margin-left:auto!important;padding-right:48px!important;box-sizing:content-box!important}
html body header[data-web-header][data-nav-collapsed] .web-menu-trigger:not([hidden]){display:grid!important}
html body header[data-web-header][data-nav-collapsed] .web-notifications:not([hidden]){display:grid!important}
.web-more-trigger{display:flex;align-items:center;justify-content:center;height:40px;padding:0 14px;gap:8px;border:0;border-radius:999px;background:transparent;color:var(--bb-theme-ink);font:500 14px inherit;white-space:nowrap;flex:0 0 auto}
.web-more-trigger svg{width:20px;height:20px;fill:currentColor}
html body .web-header-popover,html body .web-avatar-panel{position:fixed!important;right:auto!important;bottom:auto!important;margin:0!important;box-sizing:border-box;background:var(--bb-theme-surface)!important;color:var(--bb-theme-ink)!important;border:1px solid var(--bb-theme-line)!important;border-radius:20px!important;padding:8px!important;box-shadow:0 8px 32px rgba(0,0,0,.14);z-index:1001;overflow:auto;max-width:calc(100vw - 32px);animation:web-fg-pop-in .15s ease-out}
html body .web-header-popover[hidden]{display:none!important}
html body .web-header-popover::backdrop{background:transparent}
html body .web-header-popover.web-closing{animation:web-fg-pop-out .15s ease-in forwards}
html body :is(.web-header-popover,.web-avatar-panel) :is(button,a){display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 8px;border:0;border-radius:12px;background:transparent;color:var(--bb-theme-ink);font-family:inherit;font-size:14px;text-decoration:none;box-sizing:border-box;white-space:nowrap}
html body :is(.web-header-popover,.web-avatar-panel) :is(button,a):hover{background:var(--bb-theme-inset)}
html body :is(.web-header-popover,.web-full-inline) [aria-pressed=true]{background:var(--bb-theme-inset);font-weight:600}
body.web-full-menu-open{overflow:hidden!important}
html body .web-full-menu{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--bb-theme-canvas)!important;color:var(--bb-theme-ink)!important;overflow:hidden!important;animation:web-fg-menu-in .2s ease-out!important;transform:none!important}
html body .web-full-menu[open]{display:flex!important;flex-direction:column}
html body .web-full-menu::backdrop{background:var(--bb-theme-canvas)}
html body .web-full-menu.web-closing{animation:web-fg-menu-out .2s ease-in forwards!important}
.web-full-top{position:relative;flex:0 0 auto;min-height:56px}
.web-full-brand{position:absolute;display:block;width:88px;height:28px}
.web-full-brand img{width:88px;height:28px}
.web-full-top [data-web-close]{position:absolute;width:40px;height:40px;padding:10px;border:0;background:transparent;color:inherit}
.web-full-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75}
html body .web-full-scroll{overflow:auto;flex:1;min-height:0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
html body .web-full-primary{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 20px 16px;width:calc(100% - 40px);height:48px;border:0;border-radius:999px;background:var(--ui-primary);color:var(--ui-on-primary);font:600 14px inherit}
.web-full-primary .web-opening-progress-mini{display:flex;gap:3px;width:62px;flex:0 0 62px}
.web-full-primary .web-opening-progress-mini i{display:block;width:10px;height:4px;border-radius:2px;background:var(--ui-seg-off)}
.web-full-primary .web-opening-progress-mini [data-step-state=complete]{background:var(--ui-seg-done)}
html body .web-full-account{display:flex;align-items:center;gap:12px;min-height:56px;margin:0 20px 16px;color:inherit;text-decoration:none}
.web-full-account small{margin-left:auto;border-radius:999px;background:var(--bb-theme-inset);padding:4px 8px;font-size:12px}
html body .web-mobile-nav{display:flex!important;flex-direction:column;gap:0!important;margin:0!important;padding:0!important}
html body .web-mobile-nav>a{display:flex!important;align-items:center;gap:12px!important;height:52px!important;min-height:52px!important;padding:0 20px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--bb-theme-ink)!important;font-size:18px!important;font-weight:500!important;text-decoration:none}
html body .web-mobile-nav>a svg{width:20px;height:20px;flex:none}
.web-mobile-nav>a[aria-current=page]{font-weight:600!important}
.web-mobile-nav>a[aria-current=page]::after{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#B8FF3D;margin-left:auto}
.web-full-separator{height:1px;margin:8px 20px;background:var(--bb-theme-line)}
html body .web-full-setting,html body .web-full-logout{display:flex;align-items:center;width:100%;height:52px;gap:12px;padding:0 20px;background:transparent;border:0;border-radius:0;color:var(--bb-theme-ink);font-family:inherit;font-size:18px;font-weight:500;text-decoration:none;text-align:left}
.web-full-setting>svg,.web-full-logout>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;flex:none}
.web-full-setting small{margin-left:auto;font-size:14px;color:var(--bb-theme-muted)}
.web-full-setting .web-full-chevron{width:16px;height:16px;transition:transform .15s}
.web-full-setting[aria-expanded=true] .web-full-chevron{transform:rotate(-90deg)}
html body .web-full-inline button{display:flex;align-items:center;gap:8px;padding:0 20px 0 52px;width:100%;height:44px;border:0;background:transparent;color:var(--bb-theme-ink);font-family:inherit;font-size:16px;text-align:left;border-radius:0}
.web-full-inline button[aria-pressed=true]{background:transparent;font-weight:600}
.web-full-inline .web-currency-mark+span{font-size:16px}
.web-full-inline .web-currency-mark+span small{display:inline;font-size:12px}
.web-full-inline .web-currency-mark+span small::before{content:' '}
html body .web-full-menu [hidden]{display:none!important}
html body .web-full-logout{font-size:14px;color:var(--bb-theme-muted)}
@keyframes web-fg-pop-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@keyframes web-fg-pop-out{to{opacity:0;transform:translateY(-4px)}}
@keyframes web-fg-menu-in{from{opacity:0}to{opacity:1}}
@keyframes web-fg-menu-out{to{opacity:0}}
@media(max-width:540px){html body header[data-web-header] .web-header-actions{width:196px!important;min-width:196px!important;max-width:196px!important;flex:0 0 196px!important;margin-left:auto!important;padding-right:0!important;box-sizing:border-box!important}html body header[data-web-header] .web-primary-slot{width:148px!important;flex:0 0 148px!important}html body header[data-web-header] .web-primary-slot :is(.web-login,.web-account-button,.web-account-bar){width:148px!important;min-width:148px!important;max-width:148px!important}html body header[data-web-header] :is(.web-settings-trigger,.web-avatar,.web-notifications){display:none!important}html body header[data-web-header] .web-menu-trigger{position:static!important;display:grid!important;flex:0 0 40px}html body header[data-web-header]{padding:0 12px!important;gap:8px!important}html body header[data-web-header] .web-brand{flex:0 0 88px!important}html body .web-header-popover.web-language-popover[open]{width:calc(100vw - 32px)!important}}
@media(prefers-reduced-motion:reduce){html body :is(.web-full-menu,.web-header-popover){animation:none!important}.web-full-chevron{transition:none!important}}
html body header[data-web-header][data-nav-collapsed] .web-header-actions{width:272px!important;min-width:272px!important;max-width:272px!important;padding-right:0!important;box-sizing:border-box!important}
html body header[data-web-header][data-nav-collapsed] :is(.web-settings-trigger,.web-notifications){display:none!important}
html body header[data-web-header][data-nav-collapsed] .web-menu-trigger:not([hidden]){position:static!important;display:grid!important;flex:0 0 40px!important}
@media(max-width:540px){html body header[data-web-header][data-nav-collapsed] .web-header-actions{width:196px!important;min-width:196px!important;max-width:196px!important;flex-basis:196px!important;padding-right:0!important;box-sizing:border-box!important}}
html body header[data-web-header] .web-more-trigger{font-family:inherit;font-size:14px;font-weight:500}
html body .web-full-primary{font-family:inherit;font-size:14px;font-weight:600}
html body header[data-web-header] .web-header-actions .web-settings-trigger{width:72px!important;min-width:72px!important;max-width:72px!important;flex:0 0 72px!important}
html body header[data-web-header] .web-header-actions .web-settings-trigger:not([hidden]){display:flex!important}
html body header[data-web-header] .web-header-actions .web-settings-trigger[hidden]{display:none!important}
html body header[data-web-header] .web-nav-menu-slot{display:flex!important;justify-content:center;align-items:center;flex:1 1 0;min-width:40px}
html body header[data-web-header] .web-nav-menu-slot[hidden]{display:none!important}
html body header[data-web-header] .web-nav-menu-slot .web-menu-trigger:not([hidden]){display:grid!important;position:static!important;flex:0 0 40px!important}
@media(min-width:541px){html body header[data-web-header][data-nav-collapsed] .web-header-actions .web-notifications:not([hidden]){display:grid!important}html body header[data-web-header][data-nav-collapsed] .web-header-actions{margin-left:0!important}}
@media(max-width:540px){html body header[data-web-header] .web-header-actions .web-settings-trigger:not([hidden]){display:none!important}html body header[data-web-header] .web-nav-menu-slot{display:none!important}}
html body header[data-web-header] .web-more-trigger[data-active-section]{font-weight:600;position:relative;z-index:1}
html body dialog.web-full-menu.web-drawer[data-web-drawer]{background:var(--bb-theme-canvas)!important;border-radius:0!important;box-shadow:none!important}
html body dialog.web-full-menu[data-web-drawer] button.web-full-primary{background:var(--ui-primary)!important;color:var(--ui-on-primary)!important;border:0!important;border-radius:999px!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;height:48px!important;min-height:48px!important;padding:0 20px!important;margin-top:8px!important}
html body dialog.web-full-menu[data-web-drawer] :is(button.web-full-setting,.web-full-inline button){background:transparent!important;color:var(--bb-theme-ink)!important;border:0!important;border-radius:0!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-top button[data-web-close]{background:transparent!important;border:0!important;width:40px!important;height:40px!important;padding:10px!important;box-sizing:border-box!important;display:grid!important;place-items:center!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-top button[data-web-close] svg{width:20px!important;height:20px!important;flex:none!important}
html body dialog.web-full-menu[data-web-drawer] nav.web-mobile-nav>a[aria-current=page]{background:transparent!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-brand img.arena-logo-black{display:inline-block!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-brand img.arena-logo-white{display:none!important}
html[data-bigbit-theme=dark] body dialog.web-full-menu[data-web-drawer] .web-full-brand img.arena-logo-black{display:none!important}
html[data-bigbit-theme=dark] body dialog.web-full-menu[data-web-drawer] .web-full-brand img.arena-logo-white{display:inline-block!important}
@media(max-width:540px){html body header[data-web-header][data-nav-collapsed] .web-header-actions .web-notifications:not([hidden]){display:none!important}}
html body dialog.web-full-menu[data-web-drawer] button.web-full-setting{height:52px!important;min-height:52px!important;padding:0 20px!important;font-family:inherit!important;font-size:18px!important;font-weight:500!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-inline button{height:44px!important;min-height:44px!important;padding:0 20px 0 52px!important;font-family:inherit!important;font-size:16px!important;font-weight:400!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-inline button[aria-pressed=true]{font-weight:600!important}
html body dialog.web-full-menu[data-web-drawer] .web-full-logout{height:52px!important;padding:0 20px!important;font-size:18px!important;color:var(--bb-theme-muted)!important}

/* ---- Part 2 ---- */
/* Owner's combined mobile account/navigation menu, UI_SPEC 2026-10-06. */
.web-avatar-menu-mark{display:none}
html body .web-mobile-member{padding:0 20px}
html body .web-mobile-member .account-avatar-panel{position:static;width:100%;max-width:none;max-height:none;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
html body .web-mobile-member .account-avatar-who{padding:0;height:72px}
html body .web-mobile-member .account-avatar-face,html body .web-mobile-member .account-avatar-face .bb-identity{--bb-identity-size:40px!important;width:40px!important;min-width:40px!important;height:40px!important;flex:0 0 40px!important}
html body .web-mobile-member .account-avatar-who .account-icon-button{width:44px;min-width:44px;height:44px;flex:0 0 44px;padding:0;display:grid;place-items:center}
html body .web-mobile-member .account-avatar-who .account-icon-button svg{width:16px;min-width:16px;flex:none}
html body .web-mobile-member .account-avatar-group{margin:0;padding:4px 0;border:0}
html body .web-mobile-member .account-avatar-group .account-nav-row{height:52px;min-height:52px;padding:0;gap:12px;font-size:18px;font-weight:500;background:transparent;border-radius:0}
html body .web-mobile-member .account-avatar-funding{padding:4px 0 12px}
html body .web-mobile-member .account-avatar-funding .account-button{min-height:44px}
html body .web-mobile-member .account-avatar-funding .account-button-primary{background:var(--ui-primary,#111)!important;color:var(--ui-on-primary,#fff)!important;border-color:var(--bb-theme-line)!important;border-radius:999px}
@media(max-width:800px){
 html body header[data-web-header]{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;height:56px!important;min-height:56px!important;padding:0 12px!important;gap:8px!important}
 html body header[data-web-header] .web-brand{width:88px!important;min-width:88px!important;flex:0 0 88px!important;margin-right:auto!important}
 html body header[data-web-header] .web-region-nav{display:none!important}
 html body header[data-web-header] .web-header-actions{width:auto!important;min-width:0!important;flex:0 0 auto!important;gap:8px!important;margin-left:auto!important}
 html body header[data-web-header] .web-primary-slot{width:148px!important;min-width:148px!important;flex:0 0 148px!important}
 html body header[data-web-header] .opening-button{width:148px!important}
 html body header[data-web-header] .web-settings-trigger{display:none!important}
 html body header[data-web-header][data-auth=member] .web-menu-trigger{display:none!important}
 html body header[data-web-header][data-auth=member] .web-avatar{display:block!important;position:relative!important;width:40px!important;height:40px!important;flex:0 0 40px!important}
 html body header[data-web-header] .web-avatar summary{position:relative!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:50%!important}
 html body header[data-web-header] .web-avatar summary::after{display:none!important}
 html body header[data-web-header] .web-avatar summary [data-web-display-name]{display:none!important}
 html body header[data-web-header] .web-avatar .account-avatar-panel{display:none!important}
 html body header[data-web-header] .web-avatar-menu-mark{position:absolute;display:grid;place-items:center;right:-3px;bottom:-3px;width:18px;height:18px;border-radius:50%;background:#fff;border:1px solid #E3E3E6;color:#111;pointer-events:none}
 html body header[data-web-header] .web-avatar-menu-mark svg{width:11px;height:11px;stroke-width:2.2}
 html body header[data-web-header] .web-menu-trigger{width:40px!important;min-width:40px!important;height:40px!important;flex:0 0 40px!important}
}
/* Owner 2026-10-07: on a phone the header is one flat bar flush with the top, the same colour as the status area above it, on every page
   (ui-spec.css loads after this file on some pages and used to float it 16px down). The menu's top row matches the header. */
@media(max-width:800px){
 html body header[data-web-header][data-web-header]{top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;height:56px!important;min-height:56px!important;padding:0 12px!important;gap:8px!important;background:var(--bb-theme-surface)!important;border:0!important;border-bottom:1px solid var(--bb-theme-line)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html body header[data-web-header][data-web-header] .web-avatar summary{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
 html body dialog.web-full-menu[data-web-drawer] .web-full-top{background:var(--bb-theme-surface)!important;border-bottom:1px solid var(--bb-theme-line)}
}
/* Same distance from the header to the first line of every page (104 from the top, as on the home page). */
@media(max-width:800px){
 html body section#hero.bbp-hero .account-center{padding-top:12px!important}
 html body section#hero.bbp-hero .partner-intro{padding-top:7px!important}
 html body section#hero.bbp-hero .website-opening>h1:first-child{margin-top:12px!important}
}
/* Owner 2026-10-07: opening the menu must not swap the header. The page header stays where it is; the menu opens under it. */
@media(max-width:800px){
 html body dialog.web-full-menu.web-drawer[data-web-drawer]{inset:56px 0 0 0!important;top:56px!important;height:calc(100dvh - 56px)!important;max-height:calc(100dvh - 56px)!important;animation:none!important}
 html body dialog.web-full-menu[data-web-drawer]::backdrop{background:transparent!important}
 html body dialog.web-full-menu[data-web-drawer] .web-full-top{display:none!important}
 html body dialog.web-full-menu[data-web-drawer][open] .web-full-scroll{animation:web-menu-content-in .2s ease-out}
}
@keyframes web-menu-content-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html body dialog.web-full-menu[data-web-drawer][open] .web-full-scroll{animation:none!important}}
/* The header above already carries the primary button; the menu does not repeat it. The current row keeps the text colour. */
@media(max-width:800px){
 html body dialog.web-full-menu[data-web-drawer] button.web-full-primary{display:none!important}
 html body dialog.web-full-menu[data-web-drawer] .web-full-scroll{padding-top:8px}
}
html body dialog.web-full-menu[data-web-drawer] nav.web-mobile-nav>a[aria-current=page]{color:var(--bb-theme-ink)!important}
html body dialog.web-full-menu[data-web-drawer] nav.web-mobile-nav>a[aria-current=page] svg{color:var(--bb-theme-ink)!important;stroke:currentColor}
/* Owner 2026-10-07: like the web header, content scrolling under the bar shows through (frosted). At the top of a page it still reads as the bar colour. */
@media(max-width:800px){
 /* At the top of the page the bar is solid (same as the status area). Only once the page is scrolled does content show through. */
 html body header[data-web-header][data-web-header]{transition:background-color .2s ease}
 html body header[data-web-header][data-web-header][data-scrolled]{background:color-mix(in srgb,var(--bb-theme-surface) 90%,transparent)!important;backdrop-filter:saturate(1.6) blur(20px)!important;-webkit-backdrop-filter:saturate(1.6) blur(20px)!important}
 html body dialog.web-full-menu[data-web-drawer] nav.web-mobile-nav>a:is(:focus,:focus-visible){outline:0!important;box-shadow:none!important}
}
@supports not (background:color-mix(in srgb,#fff 50%,transparent)){@media(max-width:800px){html body header[data-web-header][data-web-header][data-scrolled]{background:var(--bb-theme-surface)!important}}}
/* The server draws the header in its final state (HEADER_UNIFY_PLAN step 1); nothing on the right side is hidden or faded in on load. */
/* Hidden from the very first paint (the script may run a frame late); a failsafe shows it if the script never runs. */
/* Members: until the button's text is final the real button is not shown; the text from last time stands in its place. */
html body header[data-web-header].web-label-pending .web-primary-slot{position:relative}
html body header[data-web-header].web-label-pending .web-primary-slot>*{visibility:hidden!important}
html body header[data-web-header].web-label-pending .web-primary-slot[data-cached-label]::after{content:attr(data-cached-label);position:absolute;inset:0;display:grid;place-items:center;border-radius:999px;background:var(--ui-primary,#111);color:var(--ui-on-primary,#fff);font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden}

/* Owner 2026-10-07: going from one page to another (home -> account -> home) must not redraw the header.
   The browser keeps the old page on screen until the new one is ready, and the header is carried across as one piece. */
@media(min-width:681px){@view-transition{navigation:auto}}
@media(max-width:680px){@view-transition{navigation:none}}
html body header[data-web-header]{view-transition-name:site-header}
::view-transition-group(site-header){animation-duration:0s}
::view-transition-old(site-header){display:none}
::view-transition-new(site-header){animation:none}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}
@media(min-width:681px){html body .account-center-nav{view-transition-name:site-sidebar}}
::view-transition-group(site-sidebar){animation-duration:0s}
::view-transition-old(site-sidebar){display:none}
::view-transition-new(site-sidebar){animation:none}
/* Phone menu: the current section keeps its highlight (the menu rows are otherwise flat). */
html body .web-mobile-member .account-avatar-group .account-nav-row[aria-current="page"]{background:var(--ac-inner, var(--bb-theme-inset, #F5F5F7))!important;font-weight:600!important}
/* A member's button is not painted with the raw markup text in the frame before header-fg.js runs; the stand-in takes over at once. */
html body header[data-web-header][data-auth="member"]:not(.web-header-ready) .web-primary-slot>*{visibility:hidden}

/* drawer-glass-panels-v1 (owner 2026-10-08): on phones the menu is a frosted panel on the right taking 84% of the width (360 at most);
   the page shows through, dimmed, on the left and a tap there closes the menu. */
@media(max-width:680px){
html body dialog.web-full-menu[data-web-drawer]{left:auto!important;right:0!important;width:min(84vw,360px)!important;max-width:min(84vw,360px)!important;border-radius:24px 0 0 24px!important;background:rgba(240,240,243,.72)!important;-webkit-backdrop-filter:blur(26px) saturate(170%)!important;backdrop-filter:blur(26px) saturate(170%)!important;border-left:1px solid rgba(255,255,255,.7)!important;box-shadow:-24px 0 60px -24px rgba(17,17,19,.35)!important}
html[data-bigbit-theme=dark] body dialog.web-full-menu[data-web-drawer]{background:rgba(22,22,26,.72)!important;border-left-color:rgba(255,255,255,.1)!important}
html body dialog.web-full-menu[data-web-drawer][open]{animation:web-drawer-in .42s cubic-bezier(.2,.85,.2,1)}
html body dialog.web-full-menu[data-web-drawer]::backdrop{background:rgba(17,17,19,.28)!important}
}
@keyframes web-drawer-in{from{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){html body dialog.web-full-menu[data-web-drawer][open]{animation:none}}

/* The --glass-* tokens live in bigbit-theme-colors.css (single source). */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer]{inset:56px 0 0 auto!important;left:auto!important;right:0!important;width:min(84vw,360px)!important;max-width:min(84vw,360px)!important;border-radius:24px 0 0 24px!important;background:var(--glass-bg-panel)!important;-webkit-backdrop-filter:var(--glass-filter-panel)!important;backdrop-filter:var(--glass-filter-panel)!important;border-left:1px solid var(--glass-edge-soft)!important;box-shadow:-24px 0 60px -24px rgba(17,17,19,.35)!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer]::backdrop{background:var(--glass-scrim)!important}
}

/* flip-back-drawer45-v1 (owner 2026-10-08): the phone menu opens to 45% of the screen width */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer]{width:45vw!important;max-width:45vw!important;min-width:172px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-scroll{padding-left:8px!important;padding-right:8px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] :is(.web-mobile-nav a,.web-full-setting,.account-nav-row){padding-left:10px!important;padding-right:8px!important;gap:10px!important;font-size:15px!important;min-width:0}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting small{display:none!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-funding{flex-direction:column!important;gap:8px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who{flex-wrap:wrap}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-primary{font-size:14px!important;padding-left:8px!important;padding-right:8px!important}
}

.web-skin-label{display:block;padding:10px 12px 4px;font-size:12px;color:var(--bb-theme-muted,#8a8a90)}
/* phone menu width, second try (owner): 55% */
@media(max-width:680px){html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer]{width:55vw!important;max-width:55vw!important;min-width:200px!important}}

/* glass-skin-v2: phone menu rows line up on the left at 55% width and show their current value again; the skin's ground is a little stronger */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting{justify-content:flex-start!important;text-align:left!important;width:100%!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting small{display:inline!important;margin-left:auto!important;font-size:13px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting .web-full-chevron{margin-left:6px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-inline button{justify-content:space-between!important;text-align:left!important;padding-left:38px!important}
}

/* drawer-member-v1 (owner's phone screenshot): the member block in the phone menu. Row 1: avatar, name (two lines at most), copy.
   Row 2: the status chips, small. Row 3: withdraw and deposit side by side. Nothing overlaps at 55% width. */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who{display:grid!important;grid-template-columns:40px minmax(0,1fr) 32px!important;grid-template-areas:"face name copy" "chips chips chips"!important;gap:8px 10px!important;align-items:center!important;height:auto!important;min-height:0!important;padding:12px 10px 4px!important;flex-wrap:nowrap!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face{grid-area:face;width:40px!important;height:40px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face :is(.bb-identity,img){width:40px!important;height:40px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-person{display:contents!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-person strong{grid-area:name;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;text-overflow:clip;font-size:15px!important;line-height:20px!important;font-weight:600;min-width:0;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-chips{grid-area:chips;display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;position:static!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-chips>*{min-height:22px!important;height:22px!important;padding:0 10px!important;font-size:11px!important;line-height:20px!important;box-shadow:none!important;white-space:nowrap}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who .account-icon-button{grid-area:copy;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border-radius:50%!important;border:1px solid var(--glass-edge-soft,rgba(17,17,19,.12))!important;outline:0!important;box-shadow:none!important;display:grid!important;place-items:center}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who .account-icon-button svg{width:16px!important;height:16px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-funding{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:8px 10px 10px!important;margin:0!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-funding .account-button{height:40px!important;min-height:40px!important;padding:0 8px!important;font-size:14px!important;border-radius:20px!important;width:auto!important;min-width:0!important}
}

/* drawer-member-v2 (owner: stop squeezing the phone menu's content into a narrow middle strip). The layers inside the menu no longer
   each add their own side padding: content runs from 12px inside the left edge to 12px inside the right edge. */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-scroll{padding-left:0!important;padding-right:0!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-mobile-member{padding:4px 12px 0!important;margin:0!important;width:auto!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-panel{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who{padding:10px 0 4px!important;grid-template-columns:44px minmax(0,1fr) 34px!important;gap:8px 10px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face,html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face :is(.bb-identity,img){width:44px!important;height:44px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-person strong{font-size:16px!important;line-height:22px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-funding{padding:8px 0 10px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-funding .account-button{height:44px!important;min-height:44px!important;border-radius:22px!important;font-size:15px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-group{margin:0 -4px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] :is(.account-nav-row,.web-mobile-nav a,.web-full-setting){padding-left:8px!important;padding-right:8px!important;gap:12px!important;font-size:16px!important;min-height:48px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-mobile-nav,html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting,html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-inline{margin-left:8px!important;margin-right:8px!important;width:auto!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-separator{margin-left:12px!important;margin-right:12px!important}
}

/* drawer-member-v3 (owner): a name is one line, however long — the rest is cut with an ellipsis. Setting rows (language, currency,
   appearance) are the same full-width rows as the menu entries: icon, label, current value at the right, chevron last. */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-person strong{display:block!important;-webkit-line-clamp:unset!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:calc(100% - 16px)!important;box-sizing:border-box!important;min-height:48px!important;height:48px!important;padding:0 8px!important;gap:12px!important;font-size:16px!important;font-weight:500!important;text-align:left!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:12px!important;transform:none!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting>svg:first-child{width:20px!important;height:20px!important;flex:none!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting>span{flex:none!important;font-size:16px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting>small{margin-left:auto!important;font-size:13px!important;color:var(--bb-theme-muted,#8a8a90)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting>.web-full-chevron{flex:none!important;width:16px!important;height:16px!important;margin-left:4px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-setting:not(:has(small:not(:empty)))>.web-full-chevron{margin-left:auto!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-inline button{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:44px!important;padding:0 12px 0 40px!important;font-size:15px!important;font-weight:400!important;text-align:left!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;border-radius:12px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-full-inline button[aria-pressed=true]{font-weight:600!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .web-skin-label{padding:8px 12px 2px 40px!important}
}

/* drawer-member-v4 (owner): the member block is one strip the height of the avatar. To the avatar's right: the name on the first
   line, the status chips on the second — a single line, never wrapping — and the copy button at the far right. Nothing sits below. */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who{grid-template-columns:44px minmax(0,1fr) 32px!important;grid-template-rows:22px 20px!important;grid-template-areas:"face name copy" "face chips copy"!important;gap:2px 10px!important;align-items:center!important;padding:10px 0 6px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face{grid-area:face!important;align-self:center}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-person strong{grid-area:name!important;font-size:15px!important;line-height:22px!important;align-self:end}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-chips{grid-area:chips!important;flex-wrap:nowrap!important;overflow:hidden!important;gap:4px!important;align-self:start;min-width:0}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-chips>*{flex:none!important;min-height:18px!important;height:18px!important;padding:0 6px!important;font-size:10px!important;line-height:16px!important;border-radius:9px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who .account-icon-button{grid-area:copy!important;align-self:center}
}

/* drawer-member-v5 (owner): round things are true circles — equal width and height, never stretched by the row they sit in. */
@media(max-width:680px){
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face,html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face :is(.bb-identity,img,span,canvas,svg){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;flex:none!important;box-sizing:border-box!important;object-fit:cover}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-face{display:block!important;overflow:hidden!important;padding:0!important;line-height:44px!important}
html body dialog#web-menu-drawer.web-full-menu.web-drawer[data-web-drawer] .account-avatar-who .account-icon-button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;aspect-ratio:1/1!important;border-radius:50%!important;padding:0!important;justify-self:end}
}
/* everywhere: avatar holders, round icon buttons and the header's round controls keep a 1:1 box */
html body :is(.account-avatar-face,.account-person-face,.web-avatar>summary,.account-icon-button,.web-menu-trigger,.arena-ref-flag){aspect-ratio:1/1!important;border-radius:50%!important;flex-shrink:0!important}
