/* Dealify phone menu on Community and Learn (web/phonebar.js). Phone width only, signed-in members only. */
.phbar,.phme{display:none}
@media (max-width:700px){
  body.hasphbar{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
  body.hasphbar .phbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:30;
    padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
    background:#0C1311;border-top:1px solid #1E2A26}
  .phbar .pbb{display:grid;justify-items:center;gap:3px;min-height:52px;align-content:center;color:#93A09A;text-decoration:none;font:600 11px/1.1 "Geist",-apple-system,"Segoe UI",system-ui,sans-serif;-webkit-tap-highlight-color:transparent;min-width:0}
  .phbar .pbb span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .phbar .pbb svg{width:22px;height:22px}
  .phbar .pbb.on{color:#fff}
  .phbar .pbplus{justify-self:center;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#B8F04A;color:#0C1311;-webkit-tap-highlight-color:transparent;transition:transform 140ms cubic-bezier(.2,.8,.2,1)}
  .phbar .pbplus svg{width:26px;height:26px;stroke-width:2.3}
  .phbar a:active{transform:scale(.94)}
  .phbar a:focus-visible{outline:2px solid #fff;outline-offset:2px}
  body.hasphbar .phme{display:grid;place-items:center;flex:none;width:40px;height:40px;margin-right:-2px;border-radius:50%;background:#F4F6F5;color:#0C1311;text-decoration:none;transition:transform 160ms cubic-bezier(.2,.8,.2,1)}
  .phme:active{transform:scale(.94)}.phme svg{width:20px;height:20px}
  body.hasphbar header.top .logo{margin-right:auto}
  body.hasphbar #acct{display:none}
  body.hasphbar .toast,body.hasphbar .fab{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.phbar a,.phme{transition:none}}

/* Stop iPhone Safari enlarging text (Lee 3 Dec, Inbox previews drawn huge). */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
