/* NOMADSFLOW · ajustes móviles v1 (se carga el último, solo afecta a <=600px) */
@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }

  /* Formularios de los modales (Crear plan, Perfil...) : nada se sale */
  #qp-title, #qp-description, #qp-start, #qp-location, #qp-max,
  .radar-menu-button, #qp-save-btn { max-width: 100%; }
  #qp-save-btn { width: 100%; display: block; }
  input[type="file"] { max-width: 100%; font-size: 12px; }
  input, select, textarea { font-size: 16px; } /* evita el zoom automático de iOS */

  /* Filtros de usuarios / eventos */
  #nomadsflow-filters-container .filters-title h2,
  .events-filters-title h2, .filters-title h2 { font-size: 22px; line-height: 1.2; }
  #nomadsflow-filters-container select { height: 44px; line-height: 1.2; }

  /* Tarjetas de usuarios / coworking / coliving: la foto no desborda */
  .nomadsflow-card { max-width: 100%; }
  .nomadsflow-card img, .coliving-photo.card, .coworking-photo.card {
    max-width: 100%; width: 100%; height: auto; object-fit: cover;
  }
  .nomadsflow-card-body { padding-left: 14px; padding-right: 14px; }

  /* Nomad Tracks: filtros de año y tarjetas de parada */
  .tracks-layout { max-width: 100%; overflow-x: hidden; }
  .tracks-layout .year-checkbox { min-width: 20px; min-height: 20px; }
  .tracks-layout .track-card { flex-wrap: wrap; max-width: 100%; }
  .tracks-layout .track-card-actions {
    position: static !important; margin-top: 8px; width: 100%;
    display: flex; justify-content: flex-end; gap: 8px;
  }
  .tracks-layout .track-card-actions button { width: 40px; height: 40px; }
  .tracks-layout .timeline-inputs input { font-size: 16px; }

  /* Altura real en móvil (barra del navegador) */
  #cinematic-overlay, .cinematic-container { height: 100dvh; }
}