/* Installed app surface: compact legal footer and persistent primary navigation. */
.app-legal,.app-tabbar{display:none}
@media (display-mode:standalone),(display-mode:fullscreen),(display-mode:minimal-ui){
 html{scroll-padding-top:86px;scroll-padding-bottom:84px}
 body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 .topline{display:none}
 .site-header{position:sticky;top:0;z-index:70;height:62px;padding:0 14px;background:#071c26f2;border-bottom:1px solid #27434d;backdrop-filter:blur(14px)}
 .site-header>.brand{margin-right:auto}
 .site-header .brand img.brand-logo{width:116px;height:39px;max-height:39px;object-fit:contain}
 .site-header>.mobile-install,.site-header .header-suggestions{display:none!important}
 .site-header .header-actions{display:flex;align-items:center;gap:8px}
 .site-header .header-actions .account{min-height:38px;height:38px;padding:0 10px;font-size:11px}
 .site-header .app-notifications{min-height:38px;height:38px;padding:0 9px}
 .site-header .mobile-menu{width:38px;height:38px;font-size:20px}
 .site-header #main-nav{top:62px;max-height:calc(100dvh - 62px);padding:12px 20px 22px;background:#0c2935f5;backdrop-filter:blur(14px)}
 .wrap{width:calc(100% - 28px)}
 .section{padding-top:36px;padding-bottom:36px}
 .page-intro{padding:30px 0 20px}
 .footer{padding:22px 0 12px;margin-bottom:0}
 .footer-grid,.footer-bottom{display:none!important}
 .app-legal{display:flex;justify-content:center;align-items:center;gap:8px 18px;flex-wrap:wrap;padding:8px 0;color:#a9bdc1;font-size:11px}
 .app-legal a{color:inherit;text-decoration:none;padding:8px 0}
 .app-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:90;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #34515a;background:#091f29f5;backdrop-filter:blur(18px)}
 .app-tabbar a{display:grid;justify-items:center;align-content:center;gap:3px;min-height:48px;color:#afc5c9;text-decoration:none;border-radius:11px}
 .app-tabbar a:active,.app-tabbar a:focus-visible{background:#173843;color:#79e1d0;outline:none}
 .app-tabbar a[aria-current="page"]{color:#79e1d0}
 .app-tabbar a[aria-current="page"] span{filter:drop-shadow(0 0 5px #79e1d077)}
 .app-tabbar a span{display:grid;place-items:center;width:24px;height:22px}
 .app-tabbar a svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .app-tabbar a small{font-size:10px;line-height:1.2}
 .toast{bottom:calc(78px + env(safe-area-inset-bottom))}
 .back-to-top{bottom:calc(78px + env(safe-area-inset-bottom))}
}

