/* Ajustes comunes del sitio propio (se cargan en todas las apps). */

/* Pantalla fija en celular: sin zoom con doble toque ni al escribir en un campo. */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 820px) {
  input, select, textarea { font-size: 16px !important; }
}

/* Botón flotante AT para volver al Universo (mismo estilo que el del Universo). */
.at-volver {
  position: fixed; z-index: 2147482000;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(209, 28, 33, .28), 0 2px 6px rgba(21, 17, 19, .12);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s;
}
.at-volver img { width: 52px; height: 52px; border-radius: 50%; display: block; }
.at-volver:focus-visible { outline: 2px solid #D11C21; outline-offset: 3px; }
@media (hover: hover) {
  .at-volver:hover { transform: scale(1.1) rotate(-6deg); box-shadow: 0 10px 26px rgba(209, 28, 33, .36), 0 3px 8px rgba(21, 17, 19, .14); }
}
@media print { .at-volver { display: none; } }
