.tabbar { position: fixed; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, var(--phone-width)); display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px #243f650d; }
.tabbar[hidden] { display: none; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; color: var(--muted); font-size: 11px; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--blue); }
.app.has-tabbar { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
