/* The app's bottom menu on EVERY app screen in the home screen's look (2026-12-06, Milo): the floating rounded green bar of pages/dev2.php
   (.d2-tabs in assets/dev2/dev2.css). The same rules the Feed screen got in zzzz-feed-home.css, without the limit to the Feed. Only in the app. */
html.is-app .tabbar.ap-tabs{position:fixed!important;left:50%!important;right:auto!important;bottom:calc(6px + var(--ap-sab))!important;transform:translateX(-50%);
  width:min(420px,calc(100vw - 24px))!important;height:62px!important;padding:0 8px!important;align-items:center;
  border-radius:34px 42px 34px 44px / 32px 36px 30px 36px!important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-61.5 -116.2 150.5 95.7' fill='%23A3E635'%3E%3Cg opacity='.16'%3E%3Cg transform='rotate(-45) scale(.6) translate(0 -86)'%3E%3Cpath fill-opacity='.6' d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 C-4,-52 -20,-44 -26,-28 C-34,-6 -26,22 0,32 Z'/%3E%3Cpath d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 Q2,-14 0,32 Z'/%3E%3C/g%3E%3Cg transform='rotate(35) translate(0 -86)'%3E%3Cpath fill-opacity='.6' d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 C-4,-52 -20,-44 -26,-28 C-34,-6 -26,22 0,32 Z'/%3E%3Cpath d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 Q2,-14 0,32 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") right -18px center / 150px auto no-repeat,
    radial-gradient(160px 90px at 88% -30%,rgba(253,224,71,.28),transparent 70%),radial-gradient(220px 120px at 70% -40%,rgba(163,230,53,.34),transparent 65%),
    radial-gradient(200px 110px at 0% 130%,rgba(132,204,22,.3),transparent 65%),linear-gradient(110deg,#166534 0%,#15803D 55%,#4D7C0F 100%)!important;
  box-shadow:0 18px 40px -14px rgba(22,101,52,.75),inset 0 1px 0 rgba(255,255,255,.14)!important}
html.is-app .ap-tabs>a,html.is-app .ap-tabs>button{height:100%}
html.is-app .ap-tabs>a.on{color:#D9F99D!important}
/* the page you are on (2026-12-06 later, Milo): its icon in pale green and a little bigger (not filled), no dot under it */
html.is-app .ap-tabs>a.on::after{content:none!important;display:none!important}
html.is-app body .ap-tabs>a.on .tab-ico{fill:none!important;transform:scale(1.2)}
/* app-mode.css is read after these files and painted the bar plain dark green (background:var(--forest), background-image:none): "body" in
   the selector makes the home screen's green win on every screen (the map too) */
html.is-app body .tabbar.ap-tabs{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-61.5 -116.2 150.5 95.7' fill='%23A3E635'%3E%3Cg opacity='.16'%3E%3Cg transform='rotate(-45) scale(.6) translate(0 -86)'%3E%3Cpath fill-opacity='.6' d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 C-4,-52 -20,-44 -26,-28 C-34,-6 -26,22 0,32 Z'/%3E%3Cpath d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 Q2,-14 0,32 Z'/%3E%3C/g%3E%3Cg transform='rotate(35) translate(0 -86)'%3E%3Cpath fill-opacity='.6' d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 C-4,-52 -20,-44 -26,-28 C-34,-6 -26,22 0,32 Z'/%3E%3Cpath d='M0,32 C28,22 36,-8 26,-30 C18,-46 10,-52 6,-60 Q2,-14 0,32 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") right -18px center / 150px auto no-repeat,
    radial-gradient(160px 90px at 88% -30%,rgba(253,224,71,.28),transparent 70%),radial-gradient(220px 120px at 70% -40%,rgba(163,230,53,.34),transparent 65%),
    radial-gradient(200px 110px at 0% 130%,rgba(132,204,22,.3),transparent 65%),linear-gradient(110deg,#166534 0%,#15803D 55%,#4D7C0F 100%)!important;
  box-shadow:0 18px 40px -14px rgba(22,101,52,.75),inset 0 1px 0 rgba(255,255,255,.14)!important}
html.is-app .ap-tabs .tab-dot{border-color:#15803D}
/* the map fills the screen under the floating menu; its buttons and the place card sit above the menu */
html.is-app body.map2-page{padding-bottom:0!important}
html.is-app body.map2-page .map-wrap.m2{position:fixed;left:0;right:0;bottom:0;top:calc(50px + env(safe-area-inset-top));height:auto!important}
html.is-app .m2 .maplibregl-ctrl-bottom-right{bottom:calc(78px + var(--ap-sab))}
html.is-app .m2 .maplibregl-ctrl-bottom-left{bottom:calc(74px + var(--ap-sab))}
html.is-app .m2-card{bottom:calc(80px + var(--ap-sab))}
html.is-app .m2:has(.m2-card:not([hidden])) .maplibregl-ctrl-bottom-right{bottom:calc(210px + var(--ap-sab))}
