/* ============================================================
   Site do Toca: a MESMA interface do app.
   - computador: igual ao app do PC, sem a barra de título do Windows
   - celular (html.mobile): igual ao app Android (mobile.css)
   ============================================================ */
html.web,
html.web body {
  height: 100%;
}
html.web #titlebar {
  display: none;
}
html.web:not(.mobile) #app {
  height: 100vh;
  height: 100dvh;
}
/* telas que no app começam abaixo da barra de título (30px) */
html.web #auth,
html.web .settings {
  inset: 0;
}
/* botões que só existem na tela de celular */
html.web:not(.mobile) .m-back,
html.web:not(.mobile) .m-send,
html.web:not(.mobile) .m-shade {
  display: none !important;
}

/* rodapé da tela de entrar: instalar o app / baixar para Windows */
.web-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border, rgba(127, 127, 127, 0.2));
}
.web-foot .btn.link {
  font-size: 13px;
  text-decoration: none;
}

/* pergunta das notificações */
.web-ask {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100vw - 24px);
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg-floating, #1e1f24);
  color: var(--text, #fff);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  animation: web-ask-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes web-ask-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}
