/* Five destinations; the priority drinks workspace stays at the geometric center. */
#tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;align-items:end;padding:8px 8px max(12px,env(safe-area-inset-bottom));min-height:88px;background:#fff;backdrop-filter:none}
#tabbar .tab{min-width:0;width:100%;height:64px;min-height:64px;padding:0 2px;gap:4px;justify-content:flex-end;text-align:center;font-size:11px;line-height:14px}
#tabbar .tab>.ti+span{display:flex;align-items:center;justify-content:center;min-height:28px;max-width:100%;overflow-wrap:normal}
/* Unread counts overlay the icon corner, never participate in the label stack. */
#tabbar a.tab>.notification-badge{position:absolute;top:-2px;left:calc(50% + 1px);right:auto;z-index:2;display:grid;place-items:center;box-sizing:border-box;width:max-content;min-width:18px;max-width:calc(50% - 2px);height:18px;min-height:18px;padding:0 3px;border:2px solid var(--white,#fff);border-radius:20px;background:var(--crimson);color:var(--white,#fff);font-size:10px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
#tabbar .tab .ti{flex:0 0 30px}
#tabbar .tab.tab-drinks{color:var(--crimson);font-size:11px;font-weight:800}
#tabbar .tab.tab-drinks .ti{flex:0 0 54px;min-width:54px;width:54px;height:54px;margin-top:-24px;border-radius:18px;background:linear-gradient(135deg,var(--red),var(--crimson));color:#fff;box-shadow:var(--ui-shadow);transition:transform 120ms var(--ui-ease),box-shadow var(--ui-fast) ease}
#tabbar .tab.tab-drinks .ti iconify-icon{font-size:28px}
/* The selected blush material replaces the old decorative center outline. */
#tabbar .tab.tab-drinks:active .ti{transform:scale(.96)}
.app-shell:has(>#tabbar:not([hidden])) #app>:is(.ref-page,.extension-page){padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}
@media(prefers-reduced-motion:reduce){#tabbar .tab.tab-drinks:active .ti{transform:none}}

/* Approved Flow material: never blur or move the reading targets. */
#tabbar{--nav-liquid:#F3CFD6;isolation:isolate}
#tabbar .tab{z-index:1;border-radius:12px;color:#676771;transition:color 140ms ease}
#tabbar .tab:is(.active,.liquid-preview){color:var(--crimson)}
#tabbar .tab.active{font-weight:800}
#tabbar .tab.tab-drinks{color:var(--crimson)}
#tabbar .tab .ti{min-width:38px;height:30px;border-radius:12px;transition:transform 130ms cubic-bezier(.2,.85,.25,1)}
#tabbar .tab .ti iconify-icon{font-size:24px}
#tabbar .tab.tab-drinks .ti{transition:transform 130ms cubic-bezier(.2,.85,.25,1)}
#tabbar .tab:active .ti{transform:scale(.94)}
#tabbar .tab:focus-visible{outline:3px solid var(--crimson);outline-offset:-2px}
#tabbar .liquid-surface{position:absolute;left:0;top:-30px;width:100%;height:120px;pointer-events:none;overflow:visible;z-index:0}
#tabbar .liquid-shapes{fill:var(--nav-liquid)}
@media(prefers-reduced-motion:reduce){#tabbar .liquid-shapes{filter:none}#tabbar .tab,#tabbar .tab .ti{transition:none!important}#tabbar .tab:active .ti{transform:none}}
