/* V53 · espacio móvil ajustado a la altura real de las barras visibles */
@media (max-width: 920px) {
  :root {
    --gtic-mobile-content-clearance: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  html {
    scroll-padding-bottom: calc(var(--gtic-mobile-content-clearance) + 8px) !important;
  }

  body.gtic-app-page {
    padding-bottom: 0 !important;
    min-height: 100dvh !important;
  }

  .gtic-main {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }

  .gtic-container {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }

  .gtic-page-content {
    min-height: 0 !important;
    padding-bottom: var(--gtic-mobile-content-clearance) !important;
  }

  .gtic-page-content::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .gtic-page-content > :last-child,
  .gtic-page-content > .card:last-child,
  .gtic-page-content > section:last-child,
  .gtic-page-content > form:last-child,
  .gtic-page-content > div:last-child {
    margin-bottom: 0 !important;
  }

  .gtic-page-content button,
  .gtic-page-content a,
  .gtic-page-content input,
  .gtic-page-content textarea,
  .gtic-page-content select,
  .gtic-page-content summary,
  .gtic-page-content [tabindex] {
    scroll-margin-bottom: calc(var(--gtic-mobile-content-clearance) + 8px) !important;
  }
}
