/* Hello Bubba nav for the public pages (/about, /privacy, /terms): the app's tabs as a floating bottom bar.
   Namespaced .hb-nav*; the page's own .tabs/.nav/.top/.btn/.card/.chip styles are never used or touched.
   A direct child of <body> (outside any transformed or overflow-clipped section), above the About header (50) and
   progress bar (60 stays above it). The body keeps room at the bottom so footer links are never covered. */
:root{--hb-nav-h:74px;--hb-nav-space:calc(var(--hb-nav-h) + 24px + env(safe-area-inset-bottom,0px))}
body{padding-bottom:var(--hb-nav-space)}
.hb-nav{position:fixed;z-index:55;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);box-sizing:border-box;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;width:min(500px,calc(100% - 24px));height:var(--hb-nav-h);padding:7px;margin:0;border:1px solid #f0dccb;border-radius:28px;background:#fffdf9f5;box-shadow:0 8px 32px #59392e24;font-family:ui-rounded,"SF Pro Rounded","Nunito","Quicksand",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.hb-nav-item{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:56px;padding:6px 2px;border-radius:21px;color:#59392e;font-size:11px;font-weight:700;line-height:1.25;text-align:center;text-decoration:none;white-space:nowrap}
.hb-nav-item img{display:block;width:23px;height:23px;max-width:none}
.hb-nav-item:hover{background:#fff1dc}
.hb-nav-item[aria-current="page"]{background:#ffd58c}
.hb-nav-item:focus-visible{outline:3px solid #b5792f;outline-offset:-3px}
@media(max-width:359px){.hb-nav-item{font-size:10px;padding-inline:0}.hb-nav{padding:6px}}
/* The About page's sticky phone (from 1024) fits above the bar. */
@media(min-width:1024px){.sticky-phone{height:calc(100vh - var(--hb-nav-space))}}
@media(forced-colors:active){.hb-nav{border:1px solid CanvasText}.hb-nav-item[aria-current="page"]{outline:2px solid Highlight}}

/* Option M "Sunset Bloom" glass, matching the app's nav: the current page sits on a white glass bubble. */
.hb-nav{padding:7px;gap:0;border:0;border-radius:37px;background:radial-gradient(120% 160% at 15% 0%,rgba(255,214,170,.85),transparent 55%),radial-gradient(120% 160% at 85% 100%,rgba(196,178,255,.85),transparent 60%),linear-gradient(100deg,rgba(255,190,214,.75),rgba(220,190,255,.75));-webkit-backdrop-filter:blur(20px) saturate(190%);backdrop-filter:blur(20px) saturate(190%);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.95),inset 0 12px 16px -12px rgba(255,255,255,.95),inset 0 -2px 0 rgba(255,255,255,.45),inset 0 -8px 14px -8px rgba(90,50,80,.22),inset 0 0 0 .5px rgba(255,255,255,.6),0 2px 3px rgba(70,40,40,.10),0 14px 28px -6px rgba(70,40,60,.30),0 26px 44px -20px rgba(70,40,60,.34);transform:translateX(-50%) translateY(-3px);isolation:isolate}
.hb-nav::after{content:"";position:absolute;left:7%;right:7%;top:3px;height:44%;border-radius:34px 34px 50% 50%/34px 34px 100% 100%;background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,0));pointer-events:none}
.hb-nav-item{position:relative;margin:0 2px;padding:6px 2px;min-height:0;height:100%;border-radius:30px;color:#4a2c22;font-weight:800;background:none;transition:transform .3s cubic-bezier(.2,.9,.3,1.35),background .2s,box-shadow .2s}
.hb-nav-item:hover{background:none}
.hb-nav-item:active{transform:scale(.92)}
.hb-nav-item[aria-current="page"]{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.62));box-shadow:inset 0 1.5px 0 #fff,inset 0 -3px 5px rgba(120,70,90,.14),inset 0 0 0 .5px rgba(255,255,255,.8),0 4px 10px rgba(80,40,60,.20),0 1px 2px rgba(80,40,60,.12)}
@media(hover:hover){.hb-nav-item:not([aria-current="page"]):hover{background:rgba(255,255,255,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 2px 6px rgba(80,40,60,.10)}}
@media(max-width:359px){.hb-nav{padding:7px}.hb-nav-item{margin:0 1px}}
@media(prefers-reduced-motion:reduce){.hb-nav-item{transition:none}}
/* Tiny EN · PT language toggle on the public pages (filled by /assets/i18n-public.js). Positioned absolutely so the
   page's own layout never moves: beside the wordmark in the About header, top right of the legal pages' header. */
.hb-lang{display:inline-flex;align-items:center;gap:1px;font:600 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#a3826e;white-space:nowrap}
.hb-lang button{all:unset;cursor:pointer;min-width:24px;min-height:24px;display:inline-grid;place-items:center;padding:0 3px;border-radius:7px;letter-spacing:.04em}
.hb-lang button[aria-pressed="true"]{color:#59392e;background:#ffffffb3}
.hb-lang button:focus-visible{outline:2px solid #b7792b;outline-offset:1px}
.hb-lang span{opacity:.6}
.top .hb-lang{position:absolute;top:50%;translate:0 -50%;left:calc(max(16px,(100% - var(--max,1180px))/2) + 118px)}
/* Phones: only the other language shows (one tiny button), in the gap between the wordmark and Open Hello Bubba. */
@media (max-width:440px){.top .hb-lang button[aria-pressed="true"],.top .hb-lang span{display:none}.top .hb-lang{left:128px}.top .hb-lang button{padding:0 1px}}
@media (max-width:359px){.top .hb-lang{left:111px}}
main>header{position:relative}
main>header .hb-lang{position:absolute;right:0;top:50%;translate:0 -50%}
