/* NAONDE · barras do celular (até 600 px). No computador nada disso aparece.
   Embaixo: barra preta com Início, NADE Play, Direct, Lupa, NADE TV e Perfil, e uma aba que puxa a gaveta preta
   (Chamadas, Mensagens, E-mail, Loja, Comunidade e o seu perfil com o saldo).
   Em cima: + (foto, vídeos, ao vivo) à esquerda, NAONDE no meio, coração e perfil à direita. */
.nd-mb, #ndMbMais, #ndMbCoracao, #ndMbGaveta, #ndMbFundo, #ndMbCriar { display: none; }

@media (max-width: 600px) {
  /* ---------- barra de baixo ---------- */
  html body header.navbar nav.nav-center { background: #000 !important; border-top: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html body header.navbar nav.nav-center > a { display: none !important; }
  html body header.navbar nav.nav-center > .nd-mb { display: flex; position: relative; align-items: stretch; justify-content: space-around; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
  .nd-mb-bt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; padding: 0 0 2px; -webkit-tap-highlight-color: transparent; }
  .nd-mb-bt > svg.nd-ic { width: 25px; height: 25px; color: #fff; overflow: visible; }
  .nd-mb-bt > svg.nd-ic * { animation: none !important; transition: none !important; }
  .nd-mb-bt.on > svg.nd-ic .sh { fill: currentColor; }
  .nd-mb-bt.on > svg.nd-ic .ln { stroke: #000; }
  .nd-mb-bt.on[data-k="direct"] > svg.nd-ic .ln, .nd-mb-bt.on[data-k="lupa"] > svg.nd-ic .ln { stroke: #fff; }
  .nd-mb-bt.on[data-k="lupa"] > svg.nd-ic .sh { fill: none; stroke-width: 2.6; }
  .nd-mb-bt.on[data-k="lupa"] > svg.nd-ic .ln { stroke-width: 2.6; }
  .nd-mb-bt > span.nd-mb-rot { font-size: 10.5px; font-weight: 500; line-height: 1.1; color: rgba(255, 255, 255, .72); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .nd-mb-bt.on > span.nd-mb-rot { color: #fff; font-weight: 700; }
  .nd-mb-bt > .nd-mb-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background-size: cover; background-position: center; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }
  .nd-mb-bt.on > .nd-mb-av { box-shadow: 0 0 0 2px #fff; }
  .nd-mb-bt:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 10px; }
  /* aba acima da barra: puxe (ou toque) para abrir a gaveta */
  .nd-mb-aba { position: absolute; left: 50%; top: -15px; width: 64px; height: 16px; margin-left: -32px; border: 0; padding: 0; background: #000; border-radius: 12px 12px 0 0; cursor: grab; display: grid; place-items: center; touch-action: none; -webkit-tap-highlight-color: transparent; }
  .nd-mb-aba::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .6); margin-top: 3px; }
  .nd-mb-aba:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  html.nd-mbg-aberta .nd-mb-aba { visibility: hidden; }

  /* ---------- gaveta ---------- */
  #ndMbFundo { display: block; position: fixed; left: 0; right: 0; top: 0; z-index: 9490; background: #000; opacity: 0; touch-action: none; }
  #ndMbFundo[hidden] { display: none; }
  #ndMbGaveta { display: block; position: fixed; left: 0; right: 0; z-index: 9500; height: 0; overflow: hidden; background: #000; color: #fff; border-radius: 22px 22px 0 0; touch-action: none; }
  #ndMbGaveta[hidden] { display: none; }
  #ndMbGaveta.nd-mbg-solta, #ndMbFundo.nd-mbg-solta { transition: height .2s cubic-bezier(.2, .8, .2, 1), opacity .2s linear, bottom .2s cubic-bezier(.2, .8, .2, 1); }
  .nd-mbg-in { position: absolute; left: 0; right: 0; top: 0; padding: 8px 14px 14px; }
  .nd-mbg-topo { padding: 2px 0 6px; touch-action: none; }
  .nd-mbg-pega { width: 40px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .45); margin: 2px auto 12px; }
  .nd-mbg-eu { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: #1c1c1e; color: #fff; font: inherit; text-align: left; padding: 10px 12px; border-radius: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .nd-mbg-eu .nd-mbg-av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: #fff; background-size: cover; background-position: center; box-shadow: 0 0 0 2px #fff; }
  .nd-mbg-eu .nd-mbg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .nd-mbg-eu .nd-mbg-tx b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nd-mbg-eu .nd-mbg-tx small { font-size: 13px; color: rgba(255, 255, 255, .72); }
  .nd-mbg-eu .nd-mbg-tx small b { font-size: 13px; color: #30d158; font-weight: 700; }
  .nd-mbg-eu > svg { flex: none; width: 20px; height: 20px; color: rgba(255, 255, 255, .7); }
  .nd-mbg-eu[aria-expanded="true"] > svg { transform: rotate(180deg); }
  .nd-mbg-pf { margin-top: 10px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; border-radius: 16px; }
  .nd-mbg-pf[hidden] { display: none; }
  #ndMbGaveta #dropPerfil { position: static !important; display: block !important; inset: auto !important; width: auto !important; max-height: none !important; margin: 0 !important; opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; box-shadow: none !important; border-radius: 16px !important; }
  .nd-mbg-grade { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin: 12px -6px 0; }
  .nd-mbg-op { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 0; background: none; color: #fff; font: inherit; padding: 8px 2px; border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .nd-mbg-op > span.nd-mbg-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #1c1c1e; }
  .nd-mbg-op svg.nd-ic { width: 25px; height: 25px; color: #fff; overflow: visible; }
  .nd-mbg-op > span.nd-mbg-rot { font-size: 10.5px; font-weight: 600; letter-spacing: -.1px; color: #fff; white-space: nowrap; }
  .nd-mbg-op:active > span.nd-mbg-ic, .nd-mbg-eu:active { background: #2c2c2e; }
  .nd-mbg-op:focus-visible, .nd-mbg-eu:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

  /* ---------- barra de cima ---------- */
  html body header.navbar .search-wrap, html body header.navbar #menuBtn, html body header.navbar .nav-right > :not(#btnPerfil):not(#ndMbCoracao):not(.menu-drop):not(#ndMbCriar) { display: none !important; }
  html body header.navbar .nav-left { position: static !important; }
  html:not(.nd-espelho) body header.navbar a#logo.logo, html body header.navbar .nav-left .logo { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important; z-index: 1; }
  html body header.navbar .nav-left .logo img { height: 20px !important; width: auto !important; }
  html body header.navbar #ndMbMais { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 66px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; position: relative; z-index: 2; -webkit-tap-highlight-color: transparent; }
  html body header.navbar .nav-right { margin-left: auto !important; gap: 6px !important; position: relative; z-index: 2; }
  html body header.navbar #ndMbCoracao { display: grid; place-items: center; position: relative; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  #ndMbMais svg.nd-ic, #ndMbCoracao svg.nd-ic { width: 26px; height: 26px; color: currentColor; overflow: visible; }
  #ndMbCoracao .nd-mb-badge { position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff3040; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--nd-papel-topo, #fff); }
  #ndMbCoracao .nd-mb-badge[hidden] { display: none; }
  html body header.navbar #btnPerfil { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; min-width: 0 !important; }
  html body header.navbar #btnPerfil > :not(.avatar) { display: none !important; }
  html body header.navbar #btnPerfil > .avatar { width: 32px !important; height: 32px !important; }
  /* menu do + */
  #ndMbCriar { display: block; position: fixed; top: 60px; left: 70px; z-index: 9600; min-width: 200px; background: #fff; color: #050505; border-radius: 16px; padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
  #ndMbCriar[hidden] { display: none; }
  #ndMbCriar button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 600; padding: 12px; border-radius: 12px; cursor: pointer; text-align: left; }
  #ndMbCriar button:active, #ndMbCriar button:hover { background: #f0f2f5; }
  #ndMbCriar svg.nd-ic { width: 22px; height: 22px; flex: none; }
  html.nd-escuro #ndMbCriar { background: #1c1c1e; color: #f5f5f7; }
  html.nd-escuro #ndMbCriar button:active, html.nd-escuro #ndMbCriar button:hover { background: #2c2c2e; }
}
