/* Floating navigation, shared by mobile web and installed PWA. */
body .pwa-bottom-nav{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));width:auto;max-width:620px;margin-inline:auto;border:1px solid #ffffff2b;border-radius:24px;padding:8px;gap:3px;background:#202329;color:#e9edf2;box-shadow:0 12px 40px #0005;isolation:isolate}
body .pwa-bottom-nav:before{content:'';position:absolute;inset:0;border-radius:inherit;z-index:-1;pointer-events:none}
body .pwa-bottom-nav[data-style=tricolor]{background:linear-gradient(115deg,#3b3524,#1b362d 55%,#39252e);border-color:#c4d2bb55}
body .pwa-bottom-nav[data-style=tricolor]:before{border-top:2px solid #d5cc69}
body .pwa-bottom-nav[data-style=glass]{background:#232a32db;backdrop-filter:blur(22px);border-color:#d2e0f44d}
body .pwa-bottom-nav[data-style=light]{background:#fff;color:#263846;border-color:#bdcbd8;box-shadow:0 10px 35px #26384626}
body .pwa-bottom-nav a{color:#c6d1db;min-height:48px;padding:8px 2px;border-radius:17px;font-size:10px;line-height:1.4;align-content:center;gap:5px}
body .pwa-bottom-nav a.is-active{background:#ffffff16;color:#f0da85}
body .pwa-bottom-nav[data-style=light] a{color:#425666}body .pwa-bottom-nav[data-style=light] a.is-active{background:#e6f1e9;color:#205d3a}
html.light-theme body .pwa-bottom-nav:not([data-style=graphite]){background:#fffffff2;border-color:#c3cfda;box-shadow:0 10px 35px #26384624}html.light-theme body .pwa-bottom-nav:not([data-style=graphite]) a{color:#425666}html.light-theme body .pwa-bottom-nav:not([data-style=graphite]) a.is-active{background:#e6f1e9;color:#205d3a}
body.has-mobile-dock{padding-bottom:calc(var(--mobile-dock-space,100px) + env(safe-area-inset-bottom))!important}
body.has-mobile-dock footer{scroll-margin-bottom:var(--mobile-dock-space,100px)}
@media(max-width:1024px){body .pwa-bottom-nav{display:grid}}
/* Profile panel is above the dock, scrolls inside the visible viewport and reserves safe-area space. */
header.navbar.header-solid:has([data-header-account][open]){z-index:10020!important}
header.navbar.header-solid .header-account-links.account-panel{padding-bottom:max(14px,env(safe-area-inset-bottom));scroll-padding-block:14px}
@media(max-width:1024px){header.navbar.header-solid .header-account-links.account-panel{max-height:calc(var(--profile-viewport-height,100dvh) - var(--header-height,70px) - 20px);overflow-y:auto}.account-panel-exit{position:sticky;bottom:-14px;background:inherit}.account-panel-exit a{min-height:48px!important}body:has([data-header-account][open]) .pwa-bottom-nav{visibility:hidden;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.pwa-bottom-nav *{transition:none!important}}
