/* dv-carregando.css · A TELA DE "CARREGANDO O SISTEMA" do app instalado (pedido do Jhow, 11/11/2026)
   Aparece por cima de tudo enquanto o app abre (dv-abrir.html, m.html e dv-celular.html) e some com um
   esmaecer quando o sistema está pronto (dv-carregando.js decide quando). Mesma cor do fundo da tela do
   Android (manifest.json, background_color #14203A), pra emendar sem piscar. */
#dv-carregando {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(120% 90% at 50% 35%, #1d2c4d 0%, #14203a 55%, #0e172b 100%);
  color: #f3f0e8;
  font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#dv-carregando.saindo {
  opacity: 0;
  visibility: hidden;
}
#dv-carregando .dv-car-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1e2d4f, #101a31);
  box-shadow: 0 0 0 1px rgba(233, 217, 168, 0.18), 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  animation: dvCarPulso 1.6s ease-in-out infinite;
}
#dv-carregando .dv-car-logo svg {
  width: 56px;
  height: 56px;
}
#dv-carregando .dv-car-nome {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 34px;
  letter-spacing: 0.5px;
  line-height: 1;
}
#dv-carregando .dv-car-txt {
  font-size: 13.5px;
  color: rgba(243, 240, 232, 0.72);
  min-height: 18px;
}
#dv-carregando .dv-car-barra {
  position: relative;
  width: 160px;
  height: 3px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(243, 240, 232, 0.14);
}
#dv-carregando .dv-car-barra i {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #b08d2e, #f2c94c, #b08d2e);
  animation: dvCarBarra 1.15s ease-in-out infinite;
}
@keyframes dvCarPulso {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(233, 217, 168, 0.18), 0 0 0 0 rgba(242, 201, 76, 0.28);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 1px rgba(233, 217, 168, 0.3), 0 0 0 14px rgba(242, 201, 76, 0);
  }
}
@keyframes dvCarBarra {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}
/* quem pediu menos movimento no celular vê a tela parada */
@media (prefers-reduced-motion: reduce) {
  #dv-carregando .dv-car-logo,
  #dv-carregando .dv-car-barra i {
    animation: none;
  }
  #dv-carregando .dv-car-barra i {
    left: 30%;
  }
}
