:root{--hub-footer-height:84px}
.hub-quick-footer{position:fixed;z-index:1050;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,160px));justify-content:center;gap:6px;height:calc(var(--hub-footer-height) + env(safe-area-inset-bottom));box-sizing:border-box;padding:8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));background:#0a192d;border-top:1px solid #2a405b}
html body.hub-mode #hub-shell .hub-quick-footer a,html body.hub-mode #hub-shell .hub-quick-footer button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:0;height:68px;box-sizing:border-box;padding:6px 2px;border:1px solid transparent;border-radius:12px;background:transparent;color:#d0dceb!important;font:600 14px/1.15 Arial,sans-serif;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .12s ease,color .12s ease}
.hub-quick-footer svg{display:block;flex:none;width:24px;height:24px}
.hub-quick-footer span{display:flex;align-items:center;justify-content:center;min-height:30px;text-align:center}
html body.hub-mode #hub-shell .hub-quick-footer a[aria-current="page"]{background:#142e4b;color:#a6dcff!important}
.hub-quick-footer [aria-current="page"]::before{content:"";position:absolute;top:0;left:calc(50% - 12px);width:24px;height:3px;border-radius:0 0 3px 3px;background:#7ccaff}
html body.hub-mode #hub-shell .hub-quick-footer [data-hub-footer-buy]{border-color:#7c6840;background:#2c2b25;color:#ffe1a0!important}
html body.hub-mode #hub-shell .hub-quick-footer a:active,html body.hub-mode #hub-shell .hub-quick-footer button:active{background:#254565;color:#fff!important}
.hub-quick-footer :focus-visible{outline:3px solid #7ccaff;outline-offset:-3px}
@media(hover:hover){html body.hub-mode #hub-shell .hub-quick-footer a:hover,html body.hub-mode #hub-shell .hub-quick-footer button:hover{background:#1b3654;color:#fff!important}}
@media(prefers-reduced-motion:reduce){.hub-quick-footer a,.hub-quick-footer button{transition:none}}
@media(max-width:360px){
 .hub-quick-footer{gap:2px;padding-left:4px;padding-right:4px}
 html body.hub-mode #hub-shell .hub-quick-footer a,html body.hub-mode #hub-shell .hub-quick-footer button{padding-left:0;padding-right:0;font-size:13px}
}
body.hub-mode #hub-shell{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
/* The ticket reminder must clear every fixed navigation layer. */
body.hub-mode #hub-shell .hub-owned-tickets{bottom:calc(var(--hub-footer-height,84px) + 12px + env(safe-area-inset-bottom))}
body.hub-mode #hub-shell:has(.hub-prize-dock) .hub-owned-tickets{bottom:calc(var(--hub-footer-height,84px) + 96px + env(safe-area-inset-bottom))}
body.hub-mode .hub-assistant-launcher,body.hub-mode .hub-assistant-toggle{bottom:calc(86px + env(safe-area-inset-bottom))!important}
@media(max-width:700px){
 html body.hub-mode #hub-shell .hub-nav-inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px!important}
 html body.hub-mode #hub-shell .hub-nav-inner > a,html body.hub-mode #hub-shell .hub-nav-inner > button,html body.hub-mode #hub-shell .hub-nav-inner > .hub-theme-toggle{width:100%!important;min-width:0!important;min-height:46px!important;padding:8px!important;margin:0!important;justify-content:center!important;font-size:17px!important;text-align:center!important;line-height:1.25!important}
 html body.hub-mode #hub-shell .hub-nav-inner > .hub-header-wallet{grid-column:1 / -1!important;min-height:48px!important}
 html body.hub-mode #hub-shell .hub-nav-inner .hub-theme-toggle em{font-size:17px!important}
 html body.hub-mode #hub-shell .hub-nav-inner > .hub-nav-status,html body.hub-mode #hub-shell .hub-nav-inner > .hub-nav-note{grid-column:1 / -1!important}
 #hub-shell .hub-wallet-float-panel{max-height:calc(100dvh - 160px)!important;bottom:80px!important}
 #hub-shell .hub-amounts{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 #hub-shell .hub-amount-button{min-height:40px!important;font-size:18px!important}
 #hub-shell .hub-ticket-button strong{white-space:normal!important;line-height:1.4!important}
}

#hub-shell:has([data-hub-purchase-gift]) .hub-quick-footer{display:none}
body.hub-mode #hub-assistant-root{bottom:calc(86px + env(safe-area-inset-bottom))!important}
@media(max-width:700px){body.hub-mode .hub-assistant-panel{bottom:calc(150px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 165px)!important}}

