:root{--tabbar-h:56px}
body.has-tabbar{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom))}
body.chat-page.has-tabbar{padding-bottom:0}
body.chat-page.has-tabbar .wrap{height:calc(100dvh - var(--tabbar-h) - env(safe-area-inset-bottom))}
#tabbar .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:flex;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e5e7eb;font:9px/1.2 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:0 -2px 10px rgba(0,0,0,.04)}
#tabbar .tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8b949e;text-decoration:none;background:none;border:0;font:inherit;font-size:9px;padding:0}
#tabbar .tab .ico{display:flex;align-items:center;justify-content:center;height:22px}
#tabbar .tab .ico svg{width:22px;height:22px;display:block}
#tabbar .tab .ico svg path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
#tabbar .tab.active .ico svg path{fill:currentColor;stroke:currentColor}
#tabbar .tab.active{color:#1a7f37;font-weight:700}
#tabbar .tab.active .ico{filter:saturate(1.2)}
@media (min-width:760px){#tabbar .tabbar{max-width:700px;margin:0 auto;border-radius:14px 14px 0 0}}
