/* The app's top bar on Map, Feed and Me (2026-12-06, Milo): the same bar as the home screen (inc/appbar.php, assets/dev2/dev2.css):
   heart + clips left, the logo in the middle, messages + notifications right, a yellow light when something is new. Only in the app (header.ap-d2). */
html.is-app header.abar.ap-bar.ap-d2{display:block!important;height:auto!important;min-height:0!important;padding:0!important;background:var(--ap-bg,#F7F5EE)!important;
  border:0!important;box-shadow:none!important;position:sticky;top:0;z-index:1050}
.ap-d2 .d2-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;max-width:640px;margin:0 auto;padding:calc(6px + env(safe-area-inset-top)) 10px 4px}
.ap-d2 .d2-bar-l{display:flex;align-items:center;gap:2px;justify-self:start}
.ap-d2 .d2-bar-r{display:flex;align-items:center;gap:0;justify-self:end}
.ap-d2 .d2-bar-logo{display:flex;justify-content:center}
.ap-d2 .d2-bar-logo svg{width:40px;height:40px}
.ap-d2 .d2-bar-b{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#0E2A16;font-size:19px}
.ap-d2 .d2-bar-b:active{background:rgba(20,83,45,.1)}
.ap-d2 .d2-ic-heart{color:#E11D48}
.ap-d2 .d2-bar-login{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;background:var(--forest,#14532D);color:#fff;font:700 13.5px/1 var(--ui,system-ui),sans-serif}
/* the yellow light for something new, like .d1-glow on the home screen (the app's live count adds a .abar-dot) */
.ap-d2 .d1-glow,.ap-d2 .d2-bar-b .abar-dot{position:absolute!important;top:6px!important;right:6px!important;left:auto!important;bottom:auto!important;display:block!important;
  width:9px!important;height:9px!important;min-width:0!important;padding:0!important;border-radius:50%!important;background:#FACC15!important;color:transparent!important;
  font-size:0!important;line-height:0!important;overflow:hidden;box-shadow:0 0 0 2px #fff,0 0 9px 3px rgba(250,204,21,.85)!important;animation:apGlow 1.8s ease-in-out infinite!important}
@keyframes apGlow{50%{box-shadow:0 0 0 2px #fff,0 0 14px 6px rgba(250,204,21,.55);transform:scale(1.15)}}
@media (max-width:350px){.ap-d2 .d2-bar-b{width:36px}}
@media (prefers-reduced-motion:reduce){.ap-d2 .d1-glow,.ap-d2 .d2-bar-b .abar-dot{animation:none!important}}
