/* PostouImob — app no celular: menu de baixo, folha "Mais" e convite para instalar */
.pi-bottom-nav,.pi-sheet,.pi-install{display:none}
@media (max-width:1020px){
  body.has-bottom-nav{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  body.has-bottom-nav .mobile-shortcuts{display:none!important}
  .pi-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;position:fixed;left:0;right:0;bottom:0;z-index:9000;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e3eaee;
    box-shadow:0 -6px 20px rgba(21,59,78,.06);backdrop-filter:blur(8px);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
  .pi-bottom-nav a,.pi-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 2px;
    border:0;background:none;color:#6b7f8c;font:600 11px/1.2 inherit;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .pi-bottom-nav svg{width:23px;height:23px}
  .pi-bottom-nav .is-active{color:#c2410c}
  .pi-bottom-nav .pi-new-bubble{display:grid;place-items:center;width:50px;height:50px;margin-top:-24px;border-radius:17px;background:#ff690b;color:#fff;box-shadow:0 6px 16px rgba(255,105,11,.35);font-style:normal}.pi-bottom-nav .pi-new-bubble svg{width:26px!important;height:26px!important;color:#fff;stroke:#fff}
  .pi-bottom-nav .pi-bottom-new{color:#c2410c}
  .pi-sheet:not([hidden]){display:block;position:fixed;inset:0;z-index:9500}
  .pi-sheet-backdrop{position:absolute;inset:0;background:rgba(10,30,45,.45)}
  .pi-sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:80vh;overflow-y:auto;background:#fff;border-radius:20px 20px 0 0;
    padding:8px 14px calc(18px + env(safe-area-inset-bottom));font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;animation:pi-up .2s ease-out}
  @keyframes pi-up{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
  .pi-sheet-handle{width:42px;height:5px;border-radius:5px;background:#dbe3e8;margin:4px auto 10px}
  .pi-sheet-panel a,.pi-sheet-panel button{display:flex;align-items:center;gap:14px;width:100%;min-height:50px;padding:10px 12px;border:0;border-radius:12px;background:none;
    color:#153b4e;font:600 15.5px/1.3 inherit;text-decoration:none;text-align:left;cursor:pointer}
  .pi-sheet-panel a[hidden],.pi-sheet-panel button[hidden]{display:none}
  .pi-sheet-panel a:active,.pi-sheet-panel button:active{background:#f1f5f8}
  .pi-sheet-panel svg{width:21px;height:21px;color:#7f93a1;flex-shrink:0}
  .pi-sheet-install{color:#c2410c!important}.pi-sheet-install svg{color:#ff690b!important}
  .pi-sheet-group{margin:12px 12px 4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9aa9b5}
  .pi-install:not([hidden]){display:flex;align-items:center;gap:12px;position:fixed;left:12px;right:12px;z-index:8900;
    bottom:calc(84px + env(safe-area-inset-bottom));padding:12px 10px 12px 12px;background:#fff;border:1px solid #f4d2bb;border-radius:16px;
    box-shadow:0 10px 30px rgba(21,59,78,.16);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
  .pi-install img{border-radius:11px;flex-shrink:0;box-shadow:0 2px 6px rgba(21,59,78,.12)}
  .pi-install div{flex:1;min-width:0}
  .pi-install strong{display:block;font-size:14px;color:#153b4e}
  .pi-install span{display:block;font-size:12.5px;color:#5d7181;line-height:1.4;margin-top:2px}
  .pi-install-go{border:0;border-radius:10px;background:#ff690b;color:#fff;font:700 13.5px/1 inherit;padding:11px 14px;cursor:pointer}
  .pi-install-go[hidden]{display:none}
  .pi-install-x{border:0;background:none;color:#8a9caa;padding:6px;cursor:pointer}.pi-install-x svg{width:18px;height:18px}
  /* o botão do chat sobe para não ficar em cima do menu */
  body.has-bottom-nav #pi-chat-launcher{bottom:calc(86px + env(safe-area-inset-bottom))!important}
  body.has-bottom-nav #pi-chat-teaser{bottom:calc(150px + env(safe-area-inset-bottom))!important}
  html.is-app body.has-bottom-nav #pi-chat-teaser{display:none!important}
  body.pi-install-open #pi-chat-launcher{bottom:calc(160px + env(safe-area-inset-bottom))!important}
  body.pi-install-open #pi-chat-teaser{display:none!important}
}
